var size = ' width="325" height="215" ';
var c13=String.fromCharCode(10);
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
   var plugin2 = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 6;
   if(!plugin2) {
	   plugin = plugin.description.substring(0,plugin.description.indexOf("."));
	   plugin = parseInt(plugin.substring(plugin.lastIndexOf(" "))) >= 6;
   } else {
	   plugin = plugin2;
   }
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0)) {
	document.write('<scr'+'ipt type="text/vbscr'+'ipt"> '+c13);
	document.write('Function VBGetSwfVer(i) '+c13);
	document.write('on error resume next '+c13);
	document.write('Dim swControl, swVersion '+c13);
	document.write('swVersion = 0 '+c13);
	document.write('set swControl = CreateObject("ShockwaveFlash.ShockwaveFlash." + CStr(i)) '+c13);
	document.write('if (IsObject(swControl)) then '+c13);
	document.write('swVersion = swControl.GetVariable("$version") '+c13);
	document.write('end if '+c13);
	document.write('VBGetSwfVer = swVersion '+c13);
	document.write('End Function '+c13);
	document.write('</sc'+'ript> '+c13);
	function cycleSwfVers(min,max) {
		for(var i=max;i>min;i--) {
			if(VBGetSwfVer(i)!=0) return i;
		}
		return 0;
	}
	plugin = cycleSwfVers(6,12);
}
if ( plugin && navigator.userAgent ) {
	var flashObj='';
	flashObj+='<div class="flash"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';
	flashObj+='codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ';
	flashObj+=' ' + size + ' ID=file>';
	var seed=Math.round(Math.random()*65535);
	flashObj+=' <param name="movie" value="/img/swf/map.swf"><param name="quality" VALUE="high"><param name="wmode" VALUE="transparent">';
	flashObj+=' <embed src="/img/swf/map.swf" quality="high" wmode="transparent" ';
	flashObj+=' ' + size + ' swLiveConnect="false"';
	flashObj+=' type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">';
	flashObj+=' </embed>';
	flashObj+=' </object></div>';	
	document.write(flashObj);
	flashObj='';
}
else if (	!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0) )
	{document.write('<div class="logo"></div>');
}
