function layerlevel(level) {
	var sec;
	
	switch (level) {
	case "0":
		sec = "";
		break;
	case "1":
		sec = "../";
		break;
	case "2":
		sec = "../../";
		break;
	case "3":
		sec = "../../../";
		break;
	case "cgi":
		sec = "/";
		break;
		
	}
	document.write("<div id=LayerCompany style=\"Z-INDEX: 1; LEFT: 200px; VISIBILITY: hidden; WIDTH: 100px; POSITION: absolute; TOP: 61px; HEIGHT: 161px\">");
	  document.write("<tr>"); 
	    document.write("<td valign=\"top\" width=\"100\">");
	      document.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100\">");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "company/index.htm\" onmouseover=\"MM_showHideLayers('LayerCompany','','show');MM_nbGroup('over','chs_gaiyou','" + sec + "images/chs2_gaiyou.gif','" + sec + "images/chs2_gaiyou.gif',1)\" onmouseout=\"MM_showHideLayers('LayerCompany','','hide');MM_nbGroup('out');\"><img height=23 alt=会社概要 src=\"" + sec + "images/chs1_gaiyou.gif\" width=100 border=0 name=chs_gaiyou></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "company/policy.htm\" onmouseover=\"MM_showHideLayers('LayerCompany','','show');MM_nbGroup('over','chs_policy','" + sec + "images/chs2_policy.gif','" + sec + "images/chs1_policy.gif',1)\" onmouseout=\"MM_showHideLayers('LayerCompany','','hide');MM_nbGroup('out');\"><img height=23 alt=経営方針 src=\"" + sec + "images/chs1_policy.gif\" width=100 border=0 name=chs_policy></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "company/enkaku.htm\" onmouseover=\"MM_showHideLayers('LayerCompany','','show');MM_nbGroup('over','chs_enkaku','" + sec + "images/chs2_enkaku.gif','" + sec + "images/chs1_enkaku.gif',1)\" onmouseout=\"MM_showHideLayers('LayerCompany','','hide');MM_nbGroup('out');\"><img height=23 alt=沿革 src=\"" + sec + "images/chs1_enkaku.gif\" width=100 border=0 name=chs_enkaku></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "company/syozai.htm\" onmouseover=\"MM_showHideLayers('LayerCompany','','show');MM_nbGroup('over','chs_syozai','" + sec + "images/chs2_syozai.gif','" + sec + "images/chs1_syozai.gif',1)\" onmouseout=\"MM_showHideLayers('LayerCompany','','hide');MM_nbGroup('out');\"><img height=23 alt=所在地 src=\"" + sec + "images/chs1_syozai.gif\" width=100 border=0 name=chs_syozai></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "company/map.htm\" onmouseover=\"MM_showHideLayers('LayerCompany','','show');MM_nbGroup('over','chs_access','" + sec + "images/chs2_access.gif','" + sec + "images/chs1_access.gif',1)\" onmouseout=\"MM_showHideLayers('LayerCompany','','hide');MM_nbGroup('out');\"><img height=23 alt=アクセス src=\"" + sec + "images/chs1_access.gif\" width=100 border=0 name=chs_access></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "company/jigyou.htm\" onmouseover=\"MM_showHideLayers('LayerCompany','','show');MM_nbGroup('over','chs_jigyou','" + sec + "images/chs2_jigyou.gif','" + sec + "images/chs1_jigyou.gif',1)\" onmouseout=\"MM_showHideLayers('LayerCompany','','hide');MM_nbGroup('out');\"><img height=23 alt=事業案内 src=\"" + sec + "images/chs1_jigyou.gif\" width=100 border=0 name=chs_jigyou></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "company/kankyo.htm\" onmouseover=\"MM_showHideLayers('LayerCompany','','show');MM_nbGroup('over','chs_kankyo','" + sec + "images/chs2_kankyo.gif','" + sec + "images/chs1_kankyo.gif',1)\" onmouseout=\"MM_showHideLayers('LayerCompany','','hide');MM_nbGroup('out');\"><img height=23 alt=環境活動 src=\"" + sec + "images/chs1_kankyo.gif\" width=100 border=0 name=chs_kankyo></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "company/iso.htm\" onmouseover=\"MM_showHideLayers('LayerCompany','','show');MM_nbGroup('over','chs_iso','" + sec + "images/chs2_iso.gif','" + sec + "images/chs1_iso.gif',1)\" onmouseout=\"MM_showHideLayers('LayerCompany','','hide');MM_nbGroup('out');\"><img height=23 alt=ISO src=\"" + sec + "images/chs1_iso.gif\" width=100 border=0 name=chs_iso></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "company/kanren.htm\" onmouseover=\"MM_showHideLayers('LayerCompany','','show');MM_nbGroup('over','chs_kanren','" + sec + "images/chs2_kanren.gif','" + sec + "images/chs1_kanren.gif',1)\" onmouseout=\"MM_showHideLayers('LayerCompany','','hide');MM_nbGroup('out');\"><img height=23 alt=関連会社 src=\"" + sec + "images/chs1_kanren.gif\" width=100 border=0 name=chs_kanren></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "company/privacy.htm\" onmouseover=\"MM_showHideLayers('LayerCompany','','show');MM_nbGroup('over','chs_privacy','" + sec + "images/chs2_privacy.gif','" + sec + "images/chs1_privacy.gif',1)\" onmouseout=\"MM_showHideLayers('LayerCompany','','hide');MM_nbGroup('out');\"><img height=23 alt=個人情報保護方針 src=\"" + sec + "images/chs1_privacy.gif\" width=100 border=0 name=chs_privacy></a></td>");
	        document.write("</tr>");
	      document.write("</table>");
	    document.write("</td>");
	  document.write("</tr>");
	document.write("</div>");
	document.write("<div id=LayerProducts style=\"Z-INDEX: 2; LEFT: 300px; VISIBILITY: hidden; WIDTH: 100px; POSITION: absolute; TOP: 61px; HEIGHT: 161px\">");
	  document.write("<tr>");
	    document.write("<td valign=\"top\" width=\"100\">");
	      document.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100\">");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "products/index.htm\" onmouseover=\"MM_showHideLayers('LayerProducts','','show');MM_nbGroup('over','chs_newseihin','" + sec + "images/chs2_newseihin.gif','" + sec + "images/chs2_newseihin.gif',1)\" onmouseout=\"MM_showHideLayers('LayerProducts','','hide');MM_nbGroup('out');\"><img height=23 alt=新製品情報 src=\"" + sec + "images/chs1_newseihin.gif\" width=100 border=0 name=chs_newseihin></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "products/index.htm#syoukai\" onmouseover=\"MM_showHideLayers('LayerProducts','','show');MM_nbGroup('over','chs_seihinsyoukai','" + sec + "images/chs2_seihinsyoukai.gif','" + sec + "images/chs1_seihinsyoukai.gif',1)\" onmouseout=\"MM_showHideLayers('LayerProducts','','hide');MM_nbGroup('out');\"><img height=23 alt=製品紹介 src=\"" + sec + "images/chs1_seihinsyoukai.gif\" width=100 border=0 name=chs_seihinsyoukai></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "products/ichiran.htm\" onmouseover=\"MM_showHideLayers('LayerProducts','','show');MM_nbGroup('over','chs_seihinichiran','" + sec + "images/chs2_seihinichiran.gif','" + sec + "images/chs1_seihinichiran.gif',1)\" onmouseout=\"MM_showHideLayers('LayerProducts','','hide');MM_nbGroup('out');\"><img height=23 alt=製品一覧 src=\"" + sec + "images/chs1_seihinichiran.gif\" width=100 border=0 name=chs_seihinichiran></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "products/lan/index.htm\" onmouseover=\"MM_showHideLayers('LayerProducts','','show');MM_nbGroup('over','chs_lanm','" + sec + "images/chs2_lanm.gif','" + sec + "images/chs1_lanm.gif',1)\" onmouseout=\"MM_showHideLayers('LayerProducts','','hide');MM_nbGroup('out');\"><img height=23 alt=LAN関連ケーブル(メタル) src=\"" + sec + "images/chs1_lanm.gif\" width=100 border=0 name=chs_lanm></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "products/lanh/index.htm\" onmouseover=\"MM_showHideLayers('LayerProducts','','show');MM_nbGroup('over','chs_lanh','" + sec + "images/chs2_lanh.gif','" + sec + "images/chs1_lanh.gif',1)\" onmouseout=\"MM_showHideLayers('LayerProducts','','hide');MM_nbGroup('out');\"><img height=23 alt=LAN関連ケーブル(光) src=\"" + sec + "images/chs1_lanh.gif\" width=100 border=0 name=chs_lanh></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "products/syoubou/index.htm\" onmouseover=\"MM_showHideLayers('LayerProducts','','show');MM_nbGroup('over','chs_syoubou','" + sec + "images/chs2_syoubou.gif','" + sec + "images/chs1_syoubou.gif',1)\" onmouseout=\"MM_showHideLayers('LayerProducts','','hide');MM_nbGroup('out');\"><img height=23 alt=消防用ケーブル src=\"" + sec + "images/chs1_syoubou.gif\" width=100 border=0 name=chs_syoubou></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "products/tusin/index.htm\" onmouseover=\"MM_showHideLayers('LayerProducts','','show');MM_nbGroup('over','chs_tushin','" + sec + "images/chs2_tushin.gif','" + sec + "images/chs1_tushin.gif',1)\" onmouseout=\"MM_showHideLayers('LayerProducts','','hide');MM_nbGroup('out');\"><img height=23 alt=通信ケーブル src=\"" + sec + "images/chs1_tushin.gif\" width=100 border=0 name=chs_tushin></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "products/doujiku/index.htm\" onmouseover=\"MM_showHideLayers('LayerProducts','','show');MM_nbGroup('over','chs_doujiku','" + sec + "images/chs2_doujiku.gif','" + sec + "images/chs1_doujiku.gif',1)\" onmouseout=\"MM_showHideLayers('LayerProducts','','hide');MM_nbGroup('out');\"><img height=23 alt=同軸ケーブル src=\"" + sec + "images/chs1_doujiku.gif\" width=100 border=0 name=chs_doujiku></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "products/bunki/index.htm\" onmouseover=\"MM_showHideLayers('LayerProducts','','show');MM_nbGroup('over','chs_bunki','" + sec + "images/chs2_bunki.gif','" + sec + "images/chs1_bunki.gif',1)\" onmouseout=\"MM_showHideLayers('LayerProducts','','hide');MM_nbGroup('out');\"><img height=23 alt=分岐付ケーブル src=\"" + sec + "images/chs1_bunki.gif\" width=100 border=0 name=chs_bunki></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "products/kakou/index.htm\" onmouseover=\"MM_showHideLayers('LayerProducts','','show');MM_nbGroup('over','chs_kakou','" + sec + "images/chs2_kakou.gif','" + sec + "images/chs1_kakou.gif',1)\" onmouseout=\"MM_showHideLayers('LayerProducts','','hide');MM_nbGroup('out');\"><img height=23 alt=コネクタ付製品 src=\"" + sec + "images/chs1_kakou.gif\" width=100 border=0 name=chs_kakou></a></td>");
	        document.write("</tr>");
	      document.write("</table>");
	    document.write("</td>");
	  document.write("</tr>");
	document.write("</div>");
	document.write("<div id=LayerRecruit style=\"Z-INDEX: 1; LEFT: 400px; VISIBILITY: hidden; WIDTH: 100px; POSITION: absolute; TOP: 61px; HEIGHT: 161px\">");
	  document.write("<tr>");
	    document.write("<td valign=\"top\" width=\"100\">");
	      document.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100\">");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "recruit/index.htm\" onmouseover=\"MM_showHideLayers('LayerRecruit','','show');MM_nbGroup('over','chs_bosyu','" + sec + "images/chs2_bosyu.gif','" + sec + "images/chs1_bosyu.gif',1)\" onmouseout=\"MM_showHideLayers('LayerRecruit','','hide');MM_nbGroup('out');\"><img height=23 alt=募集要項 src=\"" + sec + "images/chs1_bosyu.gif\" width=100 border=0 name=chs_bosyu></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "recruit/taigu.htm\" onmouseover=\"MM_showHideLayers('LayerRecruit','','show');MM_nbGroup('over','chs_taigu','" + sec + "images/chs2_taigu.gif','" + sec + "images/chs1_taigu.gif',1)\" onmouseout=\"MM_showHideLayers('LayerRecruit','','hide');MM_nbGroup('out');\"><img height=23 alt=待遇 src=\"" + sec + "images/chs1_taigu.gif\" width=100 border=0 name=chs_taigu></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "recruit/oubo.htm\" onmouseover=\"MM_showHideLayers('LayerRecruit','','show');MM_nbGroup('over','chs_oubo','" + sec + "images/chs2_oubo.gif','" + sec + "images/chs1_oubo.gif',1)\" onmouseout=\"MM_showHideLayers('LayerRecruit','','hide');MM_nbGroup('out');\"><img height=23 alt=応募方法 src=\"" + sec + "images/chs1_oubo.gif\" width=100 border=0 name=chs_oubo></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"https://www.tokyo-fuji.co.jp/inquiry/saiyou.htm\" onmouseover=\"MM_showHideLayers('LayerRecruit','','show');MM_nbGroup('over','chs_otoiawase','" + sec + "images/chs2_otoiawase.gif','" + sec + "images/chs1_otoiawase.gif',1)\" onmouseout=\"MM_showHideLayers('LayerRecruit','','hide');MM_nbGroup('out');\"><img height=23 alt=お問い合わせ src=\"" + sec + "images/chs1_otoiawase.gif\" width=100 border=0 name=chs_otoiawase></a></td>");
	        document.write("</tr>");
	      document.write("</table>");
	    document.write("</td>");
	  document.write("</tr>");
	document.write("</div>");
	document.write("<div id=LayerContact style=\"Z-INDEX: 1; LEFT: 500px; VISIBILITY: hidden; WIDTH: 100px; POSITION: absolute; TOP: 61px; HEIGHT: 161px\">");
	  document.write("<tr>");
	    document.write("<td valign=\"top\" width=\"100\">");
	      document.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100\">");
	        document.write("<tr>");
	          document.write("<td><a href=\"https://www.tokyo-fuji.co.jp/inquiry/seihin.htm\" onmouseover=\"MM_showHideLayers('LayerContact','','show');MM_nbGroup('over','chs_otoiseihin','" + sec + "images/chs2_otoiseihin.gif','" + sec + "images/chs2_otoiseihin.gif',1)\" onmouseout=\"MM_showHideLayers('LayerContact','','hide');MM_nbGroup('out');\"><img height=23 alt=製品に関して src=\"" + sec + "images/chs1_otoiseihin.gif\" width=100 border=0 name=chs_otoiseihin></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "contact/hanbai.htm\" onmouseover=\"MM_showHideLayers('LayerContact','','show');MM_nbGroup('over','chs_otoihanbai','" + sec + "images/chs2_otoihanbai.gif','" + sec + "images/chs1_otoihanbai.gif',1)\" onmouseout=\"MM_showHideLayers('LayerContact','','hide');MM_nbGroup('out');\"><img height=23 alt=販売に関して src=\"" + sec + "images/chs1_otoihanbai.gif\" width=100 border=0 name=chs_otoihanbai></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"https://www.tokyo-fuji.co.jp/inquiry/saiyou.htm\" onmouseover=\"MM_showHideLayers('LayerContact','','show');MM_nbGroup('over','chs_otoisaiyou','" + sec + "images/chs2_otoisaiyou.gif','" + sec + "images/chs1_otoisaiyou.gif',1)\" onmouseout=\"MM_showHideLayers('LayerContact','','hide');MM_nbGroup('out');\"><img height=23 alt=採用に関して src=\"" + sec + "images/chs1_otoisaiyou.gif\" width=100 border=0 name=chs_otoisaiyou></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"mailto:webadmin@fuji.swcc.co.jp\" onmouseover=\"MM_showHideLayers('LayerContact','','show');MM_nbGroup('over','chs_otoihp','" + sec + "images/chs2_otoihp.gif','" + sec + "images/chs1_otoihp.gif',1)\" onmouseout=\"MM_showHideLayers('LayerContact','','hide');MM_nbGroup('out');\"><img height=23 alt=ＨＰに関して src=\"" + sec + "images/chs1_otoihp.gif\" width=100 border=0 name=chs_otoihp></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"https://www.tokyo-fuji.co.jp/inquiry/catalog.htm\" onmouseover=\"MM_showHideLayers('LayerContact','','show');MM_nbGroup('over','chs_catalogdown','" + sec + "images/chs2_catalogdown.gif','" + sec + "images/chs1_catalogdown.gif',1)\" onmouseout=\"MM_showHideLayers('LayerContact','','hide');MM_nbGroup('out');\"><img height=23 alt=カタログダウンロード src=\"" + sec + "images/chs1_catalogdown.gif\" width=100 border=0 name=chs_catalogdown></a></td>");
	        document.write("</tr>");
	        document.write("<tr>");
	          document.write("<td><a href=\"" + sec + "faq/index.htm\" onmouseover=\"MM_showHideLayers('LayerContact','','show');MM_nbGroup('over','chs_faq','" + sec + "images/chs2_faq.gif','" + sec + "images/chs1_faq.gif',1)\" onmouseout=\"MM_showHideLayers('LayerContact','','hide');MM_nbGroup('out');\"><img height=23 alt=よくある質問 src=\"" + sec + "images/chs1_faq.gif\" width=100 border=0 name=chs_faq></a></td>");
	        document.write("</tr>");
	      document.write("</table>");
	    document.write("</td>");
	  document.write("</tr>");
	document.write("</div>");
}