﻿var mapSelector = "#map";

// Hide elements until the flash is loaded.
document.write('<style type="text/css">');
document.write(mapSelector + " {visibility: hidden;}");
document.write('</style>');


function doVideoReplace(flashPath){
	var el = $(mapSelector)[0];

	var width = "690";
	var height = "540";
	


	writeFlash(el, "map/map.swf", width, height, {flashvars: "xmlFile=/_resx/js/flash/map/config.xml"});
}

$(doVideoReplace);
