var Site = {
	 
	// initialisation function
	start : function(){
		Site.behaviour();
	},
	// apply behaviours to elements via CSS selectors	
	behaviour : function() {
	
		if (location.href.replace(baseURL,"") == "") {
			var so = new SWFObject("flash/application/home_banner.swf", "solamere", "823", "189", "7", "#FFFFFF");
			so.addParam("allowScriptAccess", "always");
			so.write("flash_content");
		}
		
		if(document.all) fixIE6flicker(true)
	}
		
};
 
document.observe('dom:loaded', Site.start);


function setHeight(h)
{
	$('solamere').style.height = parseInt(h)+80 + "px";
}

function fixIE6flicker(fix) {
	try {
	document.execCommand("BackgroundImageCache", false, fix);
	} catch(err) { }
}