//メニューのALT用配列
NaviAlt = new Array();
NaviAlt[1] = "日本工業検査の非破壊検査";
NaviAlt[2] = "事業内容";
NaviAlt[3] = "新技術・実績";
NaviAlt[4] = "企業情報";
NaviAlt[5] = "採用情報";
NaviAlt[6] = "お問い合わせ";

//メニューの横幅用配列
NaviW = new Array();
NaviW[1] = "204";
NaviW[2] = "121";
NaviW[3] = "121";
NaviW[4] = "113";
NaviW[5] = "121";
NaviW[6] = "129";

//メニューのリンク用配列
NaviLink = new Array();
NaviLink[1] = "http://www.nikkoken.com/nondestructiveness/index.html";
NaviLink[2] = "http://www.nikkoken.com/business/index.html";
NaviLink[3] = "http://www.nikkoken.com/works/index.html";
NaviLink[4] = "http://www.nikkoken.com/corporate/index.html";
NaviLink[5] = "http://www.nikkoken.com/recruit/index.html";
NaviLink[6] = "https://x346.secure.ne.jp/~x346032/inquiry/";

//アクティブ画像用の配列
ActiveNavi = new Array();
ActiveNavi[1] = "";
ActiveNavi[2] = "";
ActiveNavi[3] = "";
ActiveNavi[4] = "";
ActiveNavi[5] = "";
ActiveNavi[6] = "";

//アクティブ画像の設定
	for (i=1; i<=6; i++){
		
		if (i==ActiveNaviIMG){
			ActiveNavi[i] = "o";
		}else{ActiveNavi[i] = ""}
		
	}



//リンク及び画像パスの設定。トップページのみ変更
	IL_path();

//ヘッダの書き出し開始


document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.write("<tr>");
document.write("<td valign=\"top\" style=\"padding:0 0 0 0; height:" + bgHigh + "px;\"><div style=\"width:576px;\"><a href=\"" + Lpath + "index.html\"><img src=\"" + Lpath + "/common/images/logo.gif\" alt=\"日本工業検査株式会社\" width=\"220\" height=\"50\" border=\"0\"></a></div>");

if (PtopPath == 0){

	document.write("<div style=\"padding:45px 0 0 38px;\"><img src=\"images/copy.gif\" alt=\"未来への生活に欠かせない安全と品質保証その実現が私たちの使命です。－ 非破壊検査による社会への貢献 －\" width=\"320\" height=\"64\" border=\"0\"></div>");

}

document.write("</td>");

document.write("<td valign=\"top\"><a href=\"" + Lpath + "index.html\"><img src=\"" + Lpath + "/common/images/btn01.gif\" alt=\"HOME\" width=\"50\" height=\"26\" border=\"0\"></a></td>");
document.write("<td valign=\"top\"><a href=\"" + Lpath + "sitemap/index.html\"><img src=\"" + Lpath + "/common/images/btn02.gif\" alt=\"サイトマップ\" width=\"65\" height=\"26\" border=\"0\"></a></td>");
document.write("<td valign=\"top\"><img src=\"" + Lpath + "/common/images/btn03.gif\" alt=\"文字のサイズ\" width=\"65\" height=\"26\"></td>");


//フォントサイズ変更部分

	syou = "btn04";
	dai = "btn05"; 
	
	UDData   = "";
	UDName   = "vpfs=";
	theCookie = document.cookie+";";
	start = theCookie.indexOf(UDName);
	if (start != -1)
	{
		end = theCookie.indexOf(";",start);
		UDData = unescape(theCookie.substring(start+UDName.length,end));
		if (UDData == "small"){syou = "btn04a"}
		else{dai = "btn05a"}
	}else{syou = "btn04a"}


document.write("<td valign=\"top\"><a href=\"javascript:saveData('small')\"><img src=\"" + Lpath + "/common/images/" + syou + ".gif\" alt=\"標準\" width=\"38\" height=\"26\" border=\"0\"></a></td>");
document.write("<td valign=\"top\"><a href=\"javascript:saveData('large')\"><img src=\"" + Lpath + "/common/images/" + dai + ".gif\" alt=\"大\" width=\"38\" height=\"26\" border=\"0\"></a></td>");


document.write("</tr>");
document.write("</table>");


//ナビゲーション部分書き出し

document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.write("<tr>");
document.write("<td><img src=\"" + Lpath + "/common/images/menu_side01.gif\" alt=\"\" width=\"20\" height=\"46\"></td>");


for (i=1; i<=6; i++){

document.write("<td><a href=\""+ NaviLink[i] + "\" onMouseOver=\"MM_swapImage('menu0" + i + "','','" + Lpath + "/common/images/menu_0" + i + "o.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src=\"" + Lpath + "/common/images/menu_0" + i + ActiveNavi[i] + ".gif\" alt=\"" + NaviAlt[i] + "\" name=\"menu0" + i + "\" width=\"" + NaviW[i] + "\" height=\"46\" border=\"0\" id=\"menu0" + i + "\"></a></td>");

}

document.write("<td><img src=\"" + Lpath + "/common/images/menu_side02.gif\" alt=\"\" width=\"19\" height=\"46\"></td>");
document.write("</tr>");
document.write("</table>");



