// loads the homepage flash once the page has loaded
// this should keep the page load times down

function  loadContentFlash() {
	var elementID = "contentFlashCTA";
	if(document.getElementById(elementID)){
		var flashvars = {};
		var params = {
			wmode: "transparent"
		};
		var attributes = {};
		swfobject.embedSWF("/flash/content-cta.swf", elementID, "514", "69", "9.0.0","expressInstall.swf", flashvars, params, attributes);
		//mouseover event is required for FF click to activate bug when scrolling window
		document.getElementById(elementID).onmouseover = function() {
		this.style.backgroundImage = "url(/images/transparent.gif)";
		setTimeout('revertBg("'+this.getAttribute("id")+'")',1);
		}
	}
}

addLoadEvent(loadContentFlash);
