<!--
var plugin;
var pluginVer;
var pluginCheck = false;

function CK() {
var brAgent = navigator.userAgent.toUpperCase();
var brVer = parseInt(navigator.appVersion);
this.NC = ((brAgent.indexOf('MOZILLA') != -1) && ((brAgent.indexOf('SPOOFER')
== -1) && (brAgent.indexOf('COMPATIBLE') == -1)));
this.IE = (brAgent.indexOf("MSIE") != -1);
this.IE4 = (this.IE && (brVer >= 4));
this.macIE =(brAgent.indexOf("MAC") != -1 && (brAgent.indexOf("MSIE 4.5") != -1 || brAgent.indexOf("MSIE 4.0") != -1 ));
this.win = (brAgent.indexOf("WIN") != -1);
}

var CK = new CK();

if(!CK.macIE && !(CK.win && CK.IE)){
	plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
  if(plugin){
		pluginVer=parseInt(plugin.description.substring(plugin.description.indexOf(".")-1));
	}
  if((pluginVer >= 6) && plugin){
		pluginCheck = true;
	}
}

if(CK.IE4 && CK.win){
	document.write('<SCRIPT LANGUAGE="VB'+'Script"\>\n');
	document.write('on error resume next \n');
	document.write('Dim flash \n');
	document.write('Dim getVer \n');
	document.write('flash=IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash"))\n');
	document.write('getVer=Left(Hex(Int(CreateObject("ShockwaveFlash.ShockwaveFlash").FlashVersion)),1)\n');
	document.write('If (flash) Then \n');
	document.write('If getVer>=6 Then \n');
	document.write('pluginCheck=true \n');
	document.write('End If\n');
	document.write('End If\n');
	document.write('</S'+'CRIPT\> \n');
}

if(pluginCheck){
	//FlashPlayerがある場合の処理
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,65,0" width="570" height="200" id="menu" align="">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
	document.write('<param name="movie" value="http://www.hoken-web.jp/top.swf" /><param name="loop" value="false" />\n');
	document.write('<param name="menu" value="false" /><param name="quality" value="high" />\n');
	document.write('<param name="wmode" value="opaque" /><param name="bgcolor" value="#ffffff" />\n');
	document.write('<embed src="http://www.hoken-web.jp/top.swf" loop="false" menu="false" quality="high" wmode="opaque" bgcolor="#ffffff" width="570" height="200" name="menu" align="" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\n');
	document.write('</object>\n');
}else{
	//FlashPlayerがない場合の処理
	document.write('<div><img src="http://www.hoken-web.jp/img/top.gif" width="570" height="200" border="0" />\n');
	document.write('</div>\n');
}
//-->

