//MMスクリプト

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}







/*ランダム*/
var ImgNo;
ImgNo = Math.ceil(Math.random()*5);

//ImgNo =5;


//トップヘッダメニュー
function topheader(){
document.write('<table width="920" border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td height="150" valign="top" background="shared/img/tophead'+ImgNo+'/head_bg.jpg"><table border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td width="26"><img src="shared/img/clear.gif" alt="" width="26" height="1"></td>');
document.write('<td><table border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td><table border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td><img src="shared/img/tophead'+ImgNo+'/head_logo.jpg" alt="Ｏリング、高機能ゴム製品開発の日本シール精工株式会社" width="248" height="78"></td>');
document.write('<td valign="top"><a href="index.html" onMouseOver="MM_swapImage(\'headhome\',\'\',\'shared/img/tophead'+ImgNo+'/head_home_over.jpg\',1)" onMouseOut="MM_swapImgRestore()"><img src="shared/img/tophead'+ImgNo+'/head_home.jpg" alt="ホーム" name="headhome" width="57" height="50" border="0" id="headhome"></a></td>');
document.write('<td valign="top"><a href="toiawase/index.html" onMouseOver="MM_swapImage(\'headtoiawase\',\'\',\'shared/img/tophead'+ImgNo+'/head_toiawase_over.jpg\',1)" onMouseOut="MM_swapImgRestore()"><img src="shared/img/tophead'+ImgNo+'/head_toiawase.jpg" alt="お問い合せ" name="headtoiawase" width="86" height="50" border="0" id="headtoiawase"></a></td>');
document.write('<td valign="top"><a href="sitemap/index.html" onMouseOver="MM_swapImage(\'headsitemap\',\'\',\'shared/img/tophead'+ImgNo+'/head_sitemap_over.jpg\',1)" onMouseOut="MM_swapImgRestore()"><img src="shared/img/tophead'+ImgNo+'/head_sitemap.jpg" alt="サイトマップ" name="headsitemap" width="86" height="50" border="0" id="headsitemap"></a></td>');
document.write('<td valign="top"><a href="'+__path+'uc.asp" onMouseOver="MM_swapImage(\'headchina\',\'\',\'shared/img/tophead'+ImgNo+'/head_china_over.jpg\',1)" onMouseOut="MM_swapImgRestore()" target="_blank"><img src="shared/img/tophead'+ImgNo+'/head_china.jpg" alt="中文" name="headchina" width="65" height="50" border="0" id="headchina"></a></td>');
document.write('<td valign="top"><a href="'+__path+'uc.asp" onMouseOver="MM_swapImage(\'headenglish\',\'\',\'shared/img/tophead'+ImgNo+'/head_english_over.jpg\',1)" onMouseOut="MM_swapImgRestore()" target="_blank"><img src="shared/img/tophead'+ImgNo+'/head_english.jpg" alt="English" name="headenglish" width="77" height="50" border="0" id="headenglish"></a></td>');
document.write('<td valign="top"><a href="http://www.japanseal.cn/" onMouseOver="MM_swapImage(\'headshanhai\',\'\',\'shared/img/tophead'+ImgNo+'/head_shanhai_over.jpg\',1)" onMouseOut="MM_swapImgRestore()" target="_blank"><img src="shared/img/tophead'+ImgNo+'/head_shanhai.jpg" alt="上海" name="headshanhai" width="91" height="50" border="0" id="headshanhai"></a></td>');
document.write('</tr>');
document.write('</table></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td><img src="shared/img/clear.gif" width="1" height="92"></td>');
document.write('</tr>');
document.write('</table></td>');
document.write('</tr>');
document.write('</table></td>');
document.write('</tr>');
document.write('</table>');
}














//セカンドヘッダメニュー
function header(){
document.write('<div align="center">');
document.write('<table width="920" border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td height="100" valign="top" background="'+__path+'shared/img/tophead'+ImgNo+'/head_bg2nd.jpg"><table border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td width="26"><img src="'+__path+'shared/img/clear.gif" alt="" width="26" height="100"></td>');
document.write('<td valign="top"><table border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td><table border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td><a href="'+__path+'index.html"><img src="'+__path+'shared/img/tophead'+ImgNo+'/head_logo.jpg" alt="Ｏリング、高機能ゴム製品開発の日本シール精工株式会社" width="248" height="78" border="0"></a></td>');
document.write('<td valign="top"><a href="'+__path+'index.html" onMouseOver="MM_swapImage(\'headhome\',\'\',\''+__path+'shared/img/tophead'+ImgNo+'/head_home_over.jpg\',1)" onMouseOut="MM_swapImgRestore()"><img src="'+__path+'shared/img/tophead'+ImgNo+'/head_home.jpg" alt="ホーム" name="headhome" width="57" height="50" border="0" id="headhome"></a></td>');
document.write('<td valign="top"><a href="'+__path+'toiawase/index.html" onMouseOver="MM_swapImage(\'headtoiawase\',\'\',\''+__path+'shared/img/tophead'+ImgNo+'/head_toiawase_over.jpg\',1)" onMouseOut="MM_swapImgRestore()"><img src="'+__path+'shared/img/tophead'+ImgNo+'/head_toiawase.jpg" alt="お問い合せ" name="headtoiawase" width="86" height="50" border="0" id="headtoiawase"></a></td>');
document.write('<td valign="top"><a href="'+__path+'sitemap/index.html" onMouseOver="MM_swapImage(\'headsitemap\',\'\',\''+__path+'shared/img/tophead'+ImgNo+'/head_sitemap_over.jpg\',1)" onMouseOut="MM_swapImgRestore()"><img src="'+__path+'shared/img/tophead'+ImgNo+'/head_sitemap.jpg" alt="サイトマップ" name="headsitemap" width="86" height="50" border="0" id="headsitemap"></a></td>');
document.write('<td valign="top"><a href="'+__path+'uc.asp" onMouseOver="MM_swapImage(\'headchina\',\'\',\''+__path+'shared/img/tophead'+ImgNo+'/head_china_over.jpg\',1)" onMouseOut="MM_swapImgRestore()" target="_blank"><img src="'+__path+'shared/img/tophead'+ImgNo+'/head_china.jpg" alt="中文" name="headchina" width="65" height="50" border="0" id="headchina"></a></td>');
document.write('<td valign="top"><a href="'+__path+'uc.asp" onMouseOver="MM_swapImage(\'headenglish\',\'\',\''+__path+'shared/img/tophead'+ImgNo+'/head_english_over.jpg\',1)" onMouseOut="MM_swapImgRestore()" target="_blank"><img src="'+__path+'shared/img/tophead'+ImgNo+'/head_english.jpg" alt="English" name="headenglish" width="77" height="50" border="0" id="headenglish"></a></td>');
document.write('<td valign="top"><a href="http://www.japanseal.cn/" onMouseOver="MM_swapImage(\'headshanhai\',\'\',\''+__path+'shared/img/tophead'+ImgNo+'/head_shanhai_over.jpg\',1)" onMouseOut="MM_swapImgRestore()" target="_blank"><img src="'+__path+'shared/img/tophead'+ImgNo+'/head_shanhai.jpg" alt="上海" name="headshanhai" width="91" height="50" border="0" id="headshanhai"></a></td>');
document.write('</tr>');
document.write('</table></td>');
document.write('</tr>');
document.write('</table></td>');
document.write('</tr>');
document.write('</table></td>');
document.write('</tr>');
document.write('</table>');
document.write('<table width="920" border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td><a href="'+__path+'kaisha/index.html" onMouseOver="MM_swapImage(\'menu5\',\'\',\''+__path+'shared/img/menu5_over.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src="'+__path+'shared/img/menu5.gif" alt="" name="menu5" width="155" height="35" border="0" id="menu5"></a></td>');
document.write('<td><a href="'+__path+'products/index.html" onMouseOver="MM_swapImage(\'menu1\',\'\',\''+__path+'shared/img/menu1_over.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src="'+__path+'shared/img/menu1.gif" alt="" name="menu1" width="154" height="35" border="0" id="menu1"></a></td>');
document.write('<td><a href="'+__path+'oring/z11.htm" onMouseOver="MM_swapImage(\'menu2\',\'\',\''+__path+'shared/img/menu2_over.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src="'+__path+'shared/img/menu2.gif" alt="" name="menu2" width="155" height="35" border="0" id="menu2"></a></td>');
document.write('<td><a href="http://www.oring-search.com/" onMouseOver="MM_swapImage(\'menu3\',\'\',\''+__path+'shared/img/menu3_over.gif\',1)" onMouseOut="MM_swapImgRestore()" target="_blank"><img src="'+__path+'shared/img/menu3.gif" alt="" name="menu3" width="145" height="35" border="0" id="menu3"></a></td>');
document.write('<td><a href="'+__path+'factory/index.html" onMouseOver="MM_swapImage(\'menu4\',\'\',\''+__path+'shared/img/menu4_over.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src="'+__path+'shared/img/menu4.gif" alt="" name="menu4" width="155" height="35" border="0" id="menu4"></a></td>');
document.write('<td><a href="'+__path+'group/index.html" onMouseOver="MM_swapImage(\'menu6\',\'\',\''+__path+'shared/img/menu6_over.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src="'+__path+'shared/img/menu6.gif" alt="" name="menu6" width="156" height="35" border="0" id="menu6"></a></td>');
document.write('</tr>');
document.write('</table>');
}



//フッタ
function footer(){
document.write('<div id="foot">');
document.write('<table width="920" border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td bgcolor="#999999"><table width="100%" border="0" cellspacing="1" cellpadding="0">');
document.write('<tr>');
document.write('<td background="'+__path+'shared/img/foot_bg.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td><table border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td><img src="'+__path+'shared/img/clear.gif" alt="" width="17" height="1"></td>');
document.write('<td><a href="'+__path+'policy/index.html" onMouseOver="MM_swapImage(\'foot1\',\'\',\''+__path+'shared/img/foot_1_over.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src="'+__path+'shared/img/foot_1.gif" alt="環境への取組み" name="foot1" width="233" height="28" border="0" id="foot1"></a></td>');
document.write('<td><a href="'+__path+'policy/izumi.html" onMouseOver="MM_swapImage(\'foot2\',\'\',\''+__path+'shared/img/foot_2_over.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src="'+__path+'shared/img/foot_2.gif" alt="環境への取組み" name="foot2" width="120" height="28" border="0" id="foot2"></a></td>');
document.write('<td><a href="'+__path+'kojin/index.html" onMouseOver="MM_swapImage(\'foot3\',\'\',\''+__path+'shared/img/foot_3_over.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src="'+__path+'shared/img/foot_3.gif" alt="個人情報の取扱い" name="foot3" width="145" height="28" border="0" id="foot3"></a></td>');
document.write('</tr>');
document.write('</table></td>');
document.write('<td align="right"><a href="'+__path+'index.html"><img src="'+__path+'shared/img/foot_logo.gif" alt="Ｏリング,大口径Ｏリング,高機能ゴム製品の製造販売 日本シール精工株式会社" width="146" height="28" border="0"></a></td>');
document.write('</tr>');
document.write('</table></td>');
document.write('</tr>');
document.write('</table></td>');
document.write('</tr>');
document.write('</table>');
document.write('</div>');
}


