/****************************************/
/*グローバルメニュー*/
/****************************************/

document.write('<div class="stheadbox1"><a href="http://www.sankyotateyama-al.co.jp/" target="_blank"><img src="http://www.genkan.net/cimg/st_logo.gif" alt="三協立山アルミ株式会社" class="stheadimg1" width="164" height="17"></a><a href="http://www.sankyotateyama-al.co.jp/branch/sitemap.html" target="_blank"><img src="http://www.genkan.net/cimg/goto_stm.gif" alt="三協立山アルミサイトマップ" class="stheadimg2" width="156" height="16" border="0"></a></div>');
document.write('<div class="space"><div class="stheadbox2"><img src="/cimg/spacer.gif" height="3" width="1"></div>');
document.write('</div>');
document.write('<div id="bgHeader">');
document.write('	<div class="headerTitle">');
document.write('		<h1><a href="/index.html"><img src="/top_img/title.gif" width="227" height="39" alt="住宅建材サイト"></a></h1>');
document.write('	</div>');

var filename = (location.pathname).split("/");

if ((filename[1].match(/pro/)) || (filename[1].match(/download/)) ||(filename[1].match(/hk_mite/)) ||(filename[1].match(/manual/)) ||(filename[1].match(/bouka/))) {
	document.write('	<div class="headerLink"><a href="/index.html"><img src="/top_img/link_header02.gif" width="165" height="30" alt="一般のお客様はこちら"></a></div>');
} else {
	document.write('	<div class="headerLink"><a href="/pro/index.html"><img src="/top_img/link_header01.gif" width="206" height="28" alt="建築・設計関係の方はこちら"></a></div>');
}

document.write('	<br clear="all">');
document.write('	<div align="left">');
document.write('		<table width="750" height="41" border="0" cellspacing="0" cellpadding="0" class="headTblBg">');
document.write('			<tr>');

/* HOME */
document.write('			<td class="menu01"><a href="/index.html"><img src="/top_img/menu_home_off.gif" alt="HOME" width="125" height="41"></a></td>');

/* 商品ガイド */
if ((filename[1].match(/guide/)) || (filename[1].match(/details/))) {
	document.write('			<td><a href="/guide/index.html"><img src="/top_img/menu_guide_on.gif" alt="商品ガイド" width="125" height="41"></a></td>');
} else {
	document.write('			<td class="menu02"><a href="/guide/index.html"><img src="/top_img/menu_guide_off.gif" alt="商品ガイド" width="125" height="41"></a></td>');
}

/* カタログ */
if (filename[1].match(/catalog/)){
	document.write('			<td><a href="/catalog/index.html"><img src="/top_img/menu_catalog_on.gif" alt="カタログ" width="125" height="41"></a></td>');
} else {
	document.write('			<td class="menu03"><a href="/catalog/index.html"><img src="/top_img/menu_catalog_off.gif" alt="カタログ" width="125" height="41"></a></td>');
}

/* 住まいとお手入れの基礎知識 */
if ((filename[1].match(/care/)) || (filename[1].match(/ffourstar/)) || (filename[1].match(/tyousei/)) || (filename[1].match(/mame/)) || (filename[1].match(/4voc/))) {
	document.write('			<td><a href="/care/index.html"><img src="/top_img/menu_about_on.gif" alt="住まいとお手入れの基礎知識" width="125" height="41"></a></td>');
} else {
	document.write('			<td class="menu04"><a href="/care/index.html"><img src="/top_img/menu_about_off.gif" alt="住まいとお手入れの基礎知識"" width="125" height="41"></a></td>');
}

document.write('			<td class="menu05"><a href="http://www.sankyotateyama-al.co.jp/office/index1_1.html" target="_blank"><img src="/top_img/menu_show_off.gif" alt="ショウルーム" width="125" height="41"></a></td>');
document.write('			<td class="menu06"><a href="http://www.sankyotateyama-al.co.jp/inquiry/index.html" target="_blank"><img src="/top_img/menu_support_off.gif" alt="お客様サポート" width="125" height="41"></a></td>');
document.write('			</tr>');
document.write('		</table>');
document.write('	</div>');
document.write('</div>');
document.write('<div id="bgHeader02">&nbsp;</div>');

