var MM_contentVersion = 6;
var MM_FlashCanPlay = 0;

function flashDetect() {
	var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
	if ( plugin ) {
			var words = navigator.plugins["Shockwave Flash"].description.split(" ");
		    for (var i = 0; i < words.length; ++i)
		    {
			if (isNaN(parseInt(words[i])))
			continue;
			var MM_PluginVersion = words[i]; 
		    }
		MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
	}
	if ( MM_FlashCanPlay ) {
			document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
		document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
		document.write(' ID="FLASHCNT01" WIDTH="980" HEIGHT="320" ALIGN="">');
		document.write(' <PARAM NAME=movie VALUE="/gfx/swf_flashintro.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#333333>  '); 
		document.write(' <EMBED src="/gfx/swf_flashintro.swf" quality=high bgcolor=#333333  ');
		document.write(' swLiveConnect=FALSE WIDTH="980" HEIGHT="320" NAME="FLASHCNT01" ALIGN=""');
		document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
		document.write(' </EMBED>');
		document.write(' </OBJECT>');
	} else{
		document.write('<IMG SRC="/gfx/img_flashintro.jpg" WIDTH="980" HEIGHT="320" usemap="#FLASHCNT01" BORDER=0>');
	}
}