fpchk = 0;//フラッシュプラグイン チェックフラグ

//DOM対応チェック：layers ネスケ、all IE、getElementByID 標準規格
if(document.layers || document.all || document.getElementById){
	//IEの場合はOperaは除いて、プラグイン対応とする
	if(document.all && !window.opera){
		fpchk = 1;
	//それ意外はプラグインをチェック
	}else if(navigator.plugins['Shockwave Flash']){
		fpchk = 1;
	}
}

//対応状況で表示を切り替える
if(fpchk == 0){
		//フラッシュ非対応
	document.write("<div align='center'>\n");
	document.write("<table width='700' border='0' cellspacing='0' cellpadding='0'>\n");
	document.write("<tr>\n");
	document.write("<td><img src='images/noflash/frm1.gif' width='183' height='128'></td>\n");
	document.write("<td><img src='images/noflash/frm2.gif' width='334' height='128'></td>\n");
	document.write("<td><img src='images/noflash/frm3.gif' width='183' height='128'></td>\n");
	document.write("</tr>\n");
	document.write("<tr>\n");
	document.write("<td><img src='images/noflash/frm4.gif' width='183' height='91'></td>\n");
	document.write("<td><img src='images/noflash/frm5.gif' alt='Ideas win' width='334' height='91'></td>\n");
	document.write("<td><img src='images/noflash/frm6.gif' width='183' height='91'></td>\n");
	document.write("</tr>\n");
	document.write("<tr>\n");
	document.write("<td><img src='images/noflash/frm7.gif' width='183' height='151'></td>\n");
	document.write("<td><img src='images/noflash/frm8.gif' width='334' height='151'></td>\n");
	document.write("<td><img src='images/noflash/frm9.gif' width='183' height='151'></td>\n");
	document.write("</tr>\n");
	document.write("</table>\n");
	document.write("\n");
	document.write("<div class='mg-t12'>\n");
	document.write("<table width='615' border='0' cellpadding='0' cellspacing='0'>\n");
	document.write("<tr>\n");
	document.write("<td><a href='profile/philosophy.html' onMouseOver='MM_swapImage(\"menu1\",\"\",\"images/noflash/menu1_2.gif\",1)' onMouseOut='MM_swapImgRestore()'><img src='images/noflash/menu1.gif' alt='企業情報' name='menu1' width='150' height='24' border='0' class='mg-r5' id='menu1'></a></td>\n");
	document.write("<td><a href='business/domain.html' onMouseOver='MM_swapImage(\"menu2\",\"\",\"images/noflash/menu2_2.gif\",1)' onMouseOut='MM_swapImgRestore()'><img src='images/noflash/menu2.gif' alt='事業ドメイン' name='menu2' width='150' height='24' border='0' class='mg-r5' id='menu2'></a></td>\n");
	document.write("<td><a href='history/history.html' onMouseOver='MM_swapImage(\"menu3\",\"\",\"images/noflash/menu3_2.gif\",1)' onMouseOut='MM_swapImgRestore()'><img src='images/noflash/menu3.gif' alt='HISTORY' name='menu3' width='150' height='24' border='0' class='mg-r5' id='menu3'></a></td>\n");
	document.write("<td><a href='entry/recruit.html' onMouseOver='MM_swapImage(\"menu4\",\"\",\"images/noflash/menu4_2.gif\",1)' onMouseOut='MM_swapImgRestore()'><img src='images/noflash/menu4.gif' alt='採用情報' name='menu4' width='150' height='24' border='0' id='menu4'></a></td>\n");
	document.write("</tr>\n");
	document.write("</table>\n");
	document.write("</div>\n");
	document.write("</div>\n");
}else{
	//フラッシュ対応
	document.write("<div>\n");
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='700' height='410'>\n");
	document.write("<param name='movie' value='swf/top.swf'>\n");
	document.write("<param name=quality value=high>\n");
	document.write("<embed src='swf/top.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='700' height='410'></embed>\n");
	document.write("</object>\n");
	document.write("</div>\n");
}

