
(function(){
	var d = dojo;
	var theme = "soria";//nihilo";//tundra
	var themeCss = d.moduleUrl("dijit.themes",theme+"/"+theme+".css");
	var themeCssRtl = d.moduleUrl("dijit.themes",theme+"/"+theme+"_rtl.css");
	document.write('<link rel="stylesheet" type="text/css" href="'+themeCss+'" />');
	document.write('<link rel="stylesheet" type="text/css" href="'+themeCssRtl+'" />');

	d.addOnLoad(function() {
		// set the classes
		if(!d.hasClass(d.body(),theme)){ d.addClass(d.body(),theme); }
		if(dojo.config._deferParsing){ d.parser.parse(d.body()); }
	});
})();
dojo.require('smart.BannerImageBox');
dojo.require('smart.BannerSimple');
dojo.require('smart.BannerStoerer');
dojo.require('smart.BannerMultipleImageBox');

dojo.addOnLoad(function() {
	if(dojo.hasClass("smartwrapper", "banner_1")) {
		var n = new smart.BannerSimple({whiteContainer:dojo.byId("whiteContainer")}, 'smartwrapper');
	}
	if(dojo.hasClass("smartwrapper", "banner_2")) {
		var n = new smart.BannerSimple({whiteContainer:dojo.byId("whiteContainer")}, 'smartwrapper');
	}
	if(dojo.hasClass("smartwrapper", "banner_3")) {
		var n = new smart.BannerImageBox({whiteContainer:dojo.byId("whiteContainer")}, 'smartwrapper');
	}
	if(dojo.hasClass("smartwrapper", "banner_4")) {
		var n = new smart.BannerSimple({whiteContainer:dojo.byId("whiteContainer"),
										whiteEasing:true},
										'smartwrapper');
	}
	if(dojo.hasClass("smartwrapper", "banner_5")) {
		var n = new smart.BannerStoerer({whiteContainer:dojo.byId("whiteContainer")}, 'smartwrapper');
	}

	if(dojo.hasClass("smartwrapper", "banner_6")) {
		var n = new smart.BannerMultipleImageBox({whiteContainer:dojo.byId("whiteContainer")}, 'smartwrapper');
	}
});
