// Hide these elements until the flash is loaded.
document.write('<style type="text/css" media="screen">');
document.write('#interactive_map {visibility: hidden}');
document.write('</style>');


function doMapReplace(){
	//var b = $("#interactive_map").get[0];
	//writeFlash(b, "maps/map.swf", "457", "400" );
	var att = { data: "/_resx/js/flash/maps/map.swf", width: 550, height: 400 };
	var pars = {wmode: "transparent"};  
	
	var flashObject = swfobject.createSWF(att, pars, "interactive_map");
	$(flashObject).css("visibility", "visible");
}

$(doMapReplace);    
