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)) {



	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag



	document.write('on error resume next \n');



	document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');



	document.write('</SCR' + 'IPT\> \n');



}



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=8,0,0,0" ');



	document.write(' ID="top" WIDTH="804" HEIGHT="394" ALIGN="">');



	document.write(' <PARAM NAME=movie VALUE="concept.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <param name="wmode" value="transparent">'); 



	document.write(' <EMBED src="concept.swf" quality=high bgcolor=#FFFFFF wmode=transparent');



	document.write(' swLiveConnect=FALSE WIDTH="804" HEIGHT="394" NAME="hamano01-07" 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="images/index/images/top_image.jpg" usemap="#Map" />');
	/*document.write('<map name="Map" id="Map">');
	document.write('<area shape="rect" coords="859,14,984,49" href="message/index.html" alt="メッセージ" />');
	document.write('<area shape="rect" coords="859,50,984,85" href="example_detail/example/index.html" alt="施工事例" />');
	document.write('<area shape="rect" coords="860,88,983,122" href="voice/index.html" alt="お客様の声" />');
　　document.write('<area shape="rect" coords="860,125,983,157" href="concept/index.html" alt="性能" />');
　　document.write('<area shape="rect" coords="861,158,984,191" href="about/index.html" alt="会社情報" />');
　　document.write('<area shape="rect" coords="861,197,983,228" href="http://www.joyhome-nr.com/blog/yamazaki/" alt="ブログ" />');
　　document.write('<area shape="rect" coords="860,232,983,267" href="about/staff/index.html" alt="スタッフ" />');
　　document.write('<area shape="rect" coords="860,276,983,306" href="http://www.joyhome-nr.com/event_news/event/" alt="イベント・ニュース" />');
　　document.write('</map>');　　
*/

}
