url = location.href;

if(0 < url.indexOf("/others/",0)){ dir = "../"; }
else if(0 < url.indexOf("/news/",0)){ dir = "../"; }
else if(0 < url.indexOf("/catalog/",0)){ dir = "../"; }
else if(0 < url.indexOf("/maker/",0)){ dir = "../"; }
else if(0 < url.indexOf("/brand/$",0)){ dir = "../"; }
else if(0 < url.indexOf("/brand/index.html",0)){ dir = "../"; }
else{ dir = "../../"; }


if(dir == '../'){
document.write(
'<a name="top"></a>',
'<div class="head">',
'<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">',
'<tr>',
'<td><a href="../index.html"><img src="../image/logo.gif" alt="株式会社プロト" width="320" height="96" border="0"></a></td>',
'<td align="right" valign="bottom"><table width="450" border="0" cellpadding="0" cellspacing="0">',
'<tr>',
'<td class="font_s"><a href="http://www.plotjapan.com/" target="_blank" class="black"><img src="../image/point03.gif" alt=" " width="9" height="9" hspace="3" border="0" align="absmiddle">PLOT.Inc</a>　　　<a href="../others/sitemap.html" class="black"><img src="../image/point03.gif" alt=" " width="9" height="9" hspace="3" border="0" align="absmiddle">サイトマップ</a>　　　<a href="https://x443.secure.ne.jp/~x443015/plot_form/index.html" class="black"><img src="../image/point03.gif" alt=" " width="9" height="9" hspace="3" border="0" align="absmiddle">お問い合せ</a></td>',
'<td align="right"><a href="../index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'home\',\'\',\'../image/bt_home_ov.jpg\',1)"><img src="../image/bt_home.jpg" alt="HOME" name="home" width="78" height="22" hspace="20" vspace="8" border="0"></a></td>',
'</tr>',
'</table></td>',
'</tr>',
'</table>',

'<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">',
'<tr>',
'<td><a href="../others/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'menu01\',\'\',\'../image/bt_menu01_ov.jpg\',1)"><img src="../image/bt_menu01.jpg" alt="PLOTについて" name="menu01" width="206" height="44" border="0"></a></td>',
'<td><a href="../brand/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'menu02\',\'\',\'../image/bt_menu02_ov.jpg\',1)"><img src="../image/bt_menu02.jpg" alt="商品情報" name="menu02" width="154" height="44" border="0"></a></td>',
'<td><a href="../others/customer.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'menu03\',\'\',\'../image/bt_menu03_ov.jpg\',1)"><img src="../image/bt_menu03.jpg" alt="お客様へ" name="menu03" width="153" height="44" border="0"></a></td>',
'<td><a href="../catalog/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'menu04\',\'\',\'../image/bt_menu04_ov.jpg\',1)"><img src="../image/bt_menu04.jpg" alt="ダウンロード" name="menu04" width="186" height="44" border="0"></a></td>',
'<td><a href="../maker/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'menu05\',\'\',\'../image/bt_menu05_ov.jpg\',1)"><img src="../image/bt_menu05.jpg" alt="取り扱いメーカー一覧" name="menu05" width="251" height="44" border="0"></a></td>',
'</tr>',
'</table>',
'</div>'
);

}

else{

document.write(
'<a name="top"></a>',
'<div class="head">',
'<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">',
'<tr>',
'<td><a href="../../index.html"><img src="../../image/logo.gif" alt="株式会社プロト" width="320" height="96" border="0"></a></td>',
'<td align="right" valign="bottom"><table width="450" border="0" cellpadding="0" cellspacing="0">',
'<tr>',
'<td class="font_s"><a href="http://www.plotjapan.com/" target="_blank" class="black"><img src="../../image/point03.gif" alt=" " width="9" height="9" hspace="3" border="0" align="absmiddle">PLOT.Inc</a>　　　<a href="../../others/sitemap.html" class="black"><img src="../../image/point03.gif" alt=" " width="9" height="9" hspace="3" border="0" align="absmiddle">サイトマップ</a>　　　<a href="https://x443.secure.ne.jp/~x443015/plot_form/index.html" class="black"><img src="../../image/point03.gif" alt=" " width="9" height="9" hspace="3" border="0" align="absmiddle">お問い合せ</a></td>',
'<td align="right"><a href="../../index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'home\',\'\',\'../../image/bt_home_ov.jpg\',1)"><img src="../../image/bt_home.jpg" alt="HOME" name="home" width="78" height="22" hspace="20" vspace="8" border="0"></a></td>',
'</tr>',
'</table></td>',
'</tr>',
'</table>',
'<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">',
'<tr>',
'<td><a href="../../others/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'menu01\',\'\',\'../../image/bt_menu01_ov.jpg\',1)"><img src="../../image/bt_menu01.jpg" alt="PLOTについて" name="menu01" width="206" height="44" border="0"></a></td>',
'<td><a href="../../brand/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'menu02\',\'\',\'../../image/bt_menu02_ov.jpg\',1)"><img src="../../image/bt_menu02.jpg" alt="商品情報" name="menu02" width="154" height="44" border="0"></a></td>',
'<td><a href="../../others/customer.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'menu03\',\'\',\'../../image/bt_menu03_ov.jpg\',1)"><img src="../../image/bt_menu03.jpg" alt="お客様へ" name="menu03" width="153" height="44" border="0"></a></td>',
'<td><a href="../../catalog/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'menu04\',\'\',\'../../image/bt_menu04_ov.jpg\',1)"><img src="../../image/bt_menu04.jpg" alt="ダウンロード" name="menu04" width="186" height="44" border="0"></a></td>',
'<td><a href="../../maker/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'menu05\',\'\',\'../../image/bt_menu05_ov.jpg\',1)"><img src="../../image/bt_menu05.jpg" alt="取り扱いメーカー一覧" name="menu05" width="251" height="44" border="0"></a></td>',
'</tr>',
'</table>',
'</div>'
);

}
