var djConfig;

// Make sure that module files are loaded with correct protocol
(function() {
var ver = "1.6.0";
var protocol = document.URL.match(/^[^:]+/)[0]; // Avoiding .location due to IE6/7 problems with document.domain
var baseurl = protocol + "://ajax.googleapis.com/ajax/libs/dojo/" + ver;

djConfig = {
	baseUrl: "/",
	modulePaths: {
		dojo: baseurl + "/dojo",
		dijit: baseurl + "/dijit",
		dojox: baseurl + "/dojox",
		tse: "/tse/js"
	},
	blankGif: "/tse/img/backgrounds/blank.gif",
	locale: "sv-se",
	parseOnLoad: true
};
// Could have included files in the basepage but better to keep together with djConfig for now...
document.write("<link rel='stylesheet' href='" + baseurl + "/dijit/themes/dijit.css'>");
document.write("<" + "script src='" + baseurl + "/dojo/dojo.xd.js' type='text/javascript'></" + "script>");
})();

