var MM_contentVersion = 8;
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];
	    }
	var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
   && (navigator.appVersion.indexOf("Win") != -1)) {
        var MM_FlashVersion = new ActiveXObject ("ShockwaveFlash.ShockwaveFlash").FlashVersion();
	var MM_FlashCanPlay = MM_FlashVersion >= MM_contentVersion * 0x10000;
	}
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" ');
	document.write(' ID="top" WIDTH="745" HEIGHT="348" ALIGN="middle">');
	document.write(' <PARAM NAME=movie VALUE="swf-geki/key_visual.swf');
	document.write(' "><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF>');
	document.write(' <EMBED src="swf-geki/key_visual.swf');
	document.write(' " quality=high bgcolor=#FFFFFF  ');
	document.write(' swLiveConnect=FALSE WIDTH="745" HEIGHT="348" NAME="top" ALIGN="middle"');
	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="../js/img/key_viasual.jpg" alt="ゲキチェン！" width="745" height="348">');

}