
//総合サイトメニュー

var hposi;
var hposi2;
//ファイルパスの設定

function setpath(filepath){

if(filepath == 0){ hposi = ""; }
else if(filepath == 1){ hposi = "../"; hposi2 = ""; }
else if(filepath == 2){ hposi = "../../"; hposi2 = "../"; }
else if(filepath == 3){ hposi = "../../../"; hposi2 = "../../"; }
}

//工事中
function part2(){
	window.alert("８月１日に公開致します。\nしばらくお待ちください。")
}
function part3(){
	window.alert("９月１日に公開致します。\nしばらくお待ちください。")
}

//漁業事業部メニュー

function fishNavi(categori,posiinfo){	//

if(categori == 1 || categori == 5 || categori == 6 || categori == 7 ){ hposi2 = "../fishery/"; }
else if(categori == 9 ) { hposi2 = "fishery/"; }

document.write("<div style='position:absolute; z-index:4;'>");
document.write("<table border='0' cellspacing='0' cellpadding='0' id='navi_fish01' class='navi_fish01' style='height:26px;'><tr>");
if(categori == 1 ){ document.write("<td valign='top' class='fish01'>新着情報</td>"); }
	else { document.write("<td valign='top'><a href='"+hposi+"pgdata/whats_index.php?fish&present=1'>新着情報</a></td>"); }
if(categori == 10 ){ document.write("<td valign='top' class='fish01'>ホクモウマリナーズ</td>"); }
	else { document.write("<td valign='top'><a href='"+hposi2+"special/special00.html'>ホクモウマリナーズ</a></td>"); }
/*
if(categori == 2 ){ document.write("<td valign='top' class='fish01'>事業案内</td>"); }
	else { document.write("<td valign='top'><a href='"+hposi2+"field/index.html'>事業案内</a></td>"); }
if(categori == 3 ){ document.write("<td valign='top' class='fish01'>製品案内</td>"); }
	else { document.write("<td valign='top'><a href='"+hposi2+"products/index.html'>製品案内</a></td>"); }
*/
if(categori == 4 ){ document.write("<td valign='top' class='fish01'>教育研修</td>"); }
	else { document.write("<td valign='top'><a href='"+hposi2+"education/index.html'>教育研修</a></td>"); }
if(categori == 5 ){ document.write("<td valign='top' class='fish01'>お問い合わせ</td>"); }
	else { document.write("<td valign='top'><a href='"+hposi+"inquiry/index.html?fish'>お問い合わせ</a></td>"); }
if(categori == 6 ){ document.write("<td valign='top' class='fish01'>会社案内</td>"); }
	else { document.write("<td valign='top'><a href='"+hposi+"company/index.html?fish'>会社案内</a></td>"); }
if(categori == 7 ){ document.write("<td valign='top' class='fish01'>採用情報</td>"); }
	else { document.write("<td valign='top'><a href='"+hposi+"recruit/index.html?fish'>採用情報</a></td>"); }
if(categori == 8 ){ document.write("<td valign='top' class='fish01'>TOP</td>"); }
	else { document.write("<td valign='top'><a href='"+hposi2+"index.html?fish'>TOP</a></td>"); }

document.write("</tr><tr><td></td>");
if(categori == 10 ){ document.write("<td style='height:2px; background-color:#26ad5c;'><img src='"+hposi+"cmnimg/spacer.gif' width='1' height='2' alt=''></td>"); }
	else { document.write("<td></td>"); }
/*
if(categori == 2 ){ document.write("<td style='height:2px; background-color:#26ad5c;'><img src='"+hposi+"cmnimg/spacer.gif' width='1' height='2' alt=''></td>"); }
	else { document.write("<td></td>"); }
if(categori == 3 ){ document.write("<td style='height:2px; background-color:#26ad5c;'><img src='"+hposi+"cmnimg/spacer.gif' width='1' height='2' alt=''></td>"); }
	else { document.write("<td></td>"); }
*/
if(categori == 4 ){ document.write("<td style='height:2px; background-color:#26ad5c;'><img src='"+hposi+"cmnimg/spacer.gif' width='1' height='2' alt=''></td>"); }
	else { document.write("<td></td>"); }

document.write("<td></td>");
if(categori == 6 ){ document.write("<td style='height:2px; background-color:#26ad5c;'><img src='"+hposi+"cmnimg/spacer.gif' width='1' height='2' alt=''></td>"); }
	else { document.write("<td></td>"); }
if(categori == 7 ){ document.write("<td style='height:2px; background-color:#26ad5c;'><img src='"+hposi+"cmnimg/spacer.gif' width='1' height='2' alt=''></td>"); }
	else { document.write("<td></td>"); }

document.write("<td></td></tr></table></div>");
document.write("<div style='position:absolute; z-index:2;'><img src='"+hposi+"cmnimg/bar_blue.gif' width='670' height='24' alt='' galleryimg='no'></div>");
document.write("<div><img src='"+hposi+"cmnimg/spacer.gif' width='670' height='24' alt='' galleryimg='no'></div>");


//【特集】サブメニュー
if(categori == 10 ){ 

	//	submenu01
	document.write("<div id='submenu01' style='position:absolute; z-index:4;  visibility: hidden;'>");
	document.write("<div id='head3' class='head3' style='position:absolute; left:0px; top:20px; width:120px; height:40px;'>");
//	document.write("<div><a href='special00.html' target='_blank' onMouseOver='timehide(1);' onMouseOut ='timehide(0);'>プロローグ</a></div>");
	document.write("<div><a href='special01.html' target='_blank' onMouseOver='timehide(1);' onMouseOut ='timehide(0);'>三重県片田定置網</a></div>");
//		document.write("<div><a href='special02.html' target='_blank' onMouseOver='timehide(1);' onMouseOut ='timehide(0);'>鹿児島県松島定置網</a></div>");
	document.write("</div></div>");
	//	submenu02
	document.write("<div id='submenu02' style='position:absolute; z-index:4; visibility: hidden;'>");
	document.write("<div id='head3' class='head3' style='position:absolute; left:86px; top:20px; width:87px; height:40px;'>");
	document.write("<div><a href='jellyfish01.html' target='_blank' onMouseOver='timehide(3);' onMouseOut ='timehide(2);'>クラゲ対策</a></div>");
	document.write("<div><a href='disaster01.html' target='_blank' onMouseOver='timehide(3);' onMouseOut ='timehide(2);'>急潮対策</a></div>");
	document.write("</div></div>");
	//
	document.write("<div style='position:absolute; margin-top:2px;'>");
	document.write("<table border='0' cellspacing='0' cellpadding='0' id='navi_fish02' class='navi_fish02' style='height:18px;'><tr>");
	if(posiinfo == 2 ){ document.write("<td class='fish02'>漁場再生事例</td>"); }
		else { document.write("<td ><a href='javascript:void(0);' onMouseOver='timehide(1);' onMouseOut ='timehide(0);'>漁場再生事例</a></td>"); }
	if(posiinfo == 3 ){ document.write("<td class='fish02'>災害対策事例</td>"); }
		else { document.write("<td><a href='javascript:void(0);' onMouseOver='timehide(3);' onMouseOut ='timehide(2);'>災害対策事例</a></td>"); }
	if(posiinfo == 1 ){ document.write("<td class='fish02'>特集TOP</td>"); }
//		else { document.write("<td><a href='index.html'>特集TOP</a></td>"); }
		else { document.write("<td><a href='special00.html'>特集TOP</a></td>"); }
	document.write("</tr></table></div>");
	document.write("<div style='background-color:#26ad5c; margin-top:2px;'>");
	document.write("<img src='"+hposi+"cmnimg/spacer.gif' width='670' height='18' alt='' galleryimg='no'></div>");
}	//END 【特集】サブメニュー

//事業案内サブメニュー
if(categori == 2 ){ 
	document.write("<div style='position:absolute; margin-top:2px;'>");
	document.write("<table border='0' cellspacing='0' cellpadding='0' id='navi_fish02' class='navi_fish02' style='height:18px;'><tr>");
	if(posiinfo == 1 ){ document.write("<td class='fish02'>事業概要</td>"); }
		else { document.write("<td ><a href='index.html'>事業概要</a></td>"); }
	if(posiinfo == 2 ){ document.write("<td class='fish02'>漁場調査</td>"); }
		else { document.write("<td><a href='field01.html'>漁場調査</a></td>"); }
	if(posiinfo == 3 ){ document.write("<td class='fish02'>漁場診断</td>"); }
		else { document.write("<td><a href='field02.html'>漁場診断</a></td>"); }
	if(posiinfo == 4 ){ document.write("<td class='fish02'>設計</td>"); }
		else { document.write("<td><a href='field03.html'>設計</a></td>"); }
	if(posiinfo == 5 ){ document.write("<td class='fish02'>製造</td>"); }
		else { document.write("<td><a href='field04.html'>製造</a></td>"); }
	if(posiinfo == 6 ){ document.write("<td class='fish02'>敷設</td>"); }
		else { document.write("<td><a href='field05.html'>敷設</a></td>"); }
/*	if(posiinfo == 9 ){ document.write("<td class='fish02'>操業管理</td>"); }
		else { document.write("<td><a href=''>操業管理</a></td>"); }
	if(posiinfo == 10 ){ document.write("<td class='fish02'>漁場管理</td>"); }
		else { document.write("<td><a href=''>漁場管理</a></td>"); }	*/
	if(posiinfo == 7 ){ document.write("<td class='fish02'>コンサルティング</td>"); }
		else { document.write("<td><a href='field06.html'>コンサルティング</a></td>"); }
	if(posiinfo == 8 ){ document.write("<td class='fish02'>メンテナンス</td>"); }
		else { document.write("<td><a href='field07.html'>メンテナンス</a></td>"); }
	document.write("</tr></table></div>");
	document.write("<div style='background-color:#26ad5c; margin-top:2px;'>");
	document.write("<img src='"+hposi+"cmnimg/spacer.gif' width='670' height='18' alt='' galleryimg='no'></div>");
}	//END 事業案内サブメニュー

//製品案内サブメニュー
if(categori == 3 ){ 
	document.write("<div style='position:absolute; margin-top:2px;'>");
	document.write("<table border='0' cellspacing='0' cellpadding='0' id='navi_fish02' class='navi_fish02' style='height:18px;'><tr>");
	if(posiinfo == 1 ){ document.write("<td class='fish02'>取扱い一覧</td>"); }
		else { document.write("<td ><a href='index.html'>取扱い一覧</a></td>"); }
	if(posiinfo == 2 ){ document.write("<td class='fish02'>漁網</td>"); }
		else { document.write("<td><a href='products01.html'>漁網</a></td>"); }
	if(posiinfo == 3 ){ document.write("<td class='fish02'>副資材</td>"); }
		else { document.write("<td><a href='products02.html'>副資材</a></td>"); }
	if(posiinfo == 4 ){ document.write("<td class='fish02'>船舶</td>"); }
		else { document.write("<td><a href='products03.html'>船舶</a></td>"); }
//	if(posiinfo == 5 ){ document.write("<td class='fish02'>その他</td>"); }
//		else { document.write("<td><a href='products04.html'>その他</a></td>"); }
	document.write("</tr></table></div>");
	document.write("<div style='background-color:#26ad5c; margin-top:2px;'>");
	document.write("<img src='"+hposi+"cmnimg/spacer.gif' width='670' height='18' alt='' galleryimg='no'></div>");
}	//END 製品案内サブメニュー

//教育研修サブメニュー
if(categori == 4 ){ 
	document.write("<div style='position:absolute; margin-top:2px;'>");
	document.write("<table border='0' cellspacing='0' cellpadding='0' id='navi_fish02' class='navi_fish02' style='height:18px;'><tr>");
	if(posiinfo == 1 ){ document.write("<td class='fish02'>教育研修</td>"); }
		else { document.write("<td ><a href='index.html'>教育研修</a></td>"); }
	if(posiinfo == 2 ){ document.write("<td class='fish02'>施設概要</td>"); }
		else { document.write("<td><a href='education01.html'>施設概要</a></td>"); }

	if(posiinfo == 3 ){ document.write("<td class='fish02'>実習漁場</td>"); }
		else { document.write("<td><a href='education02.html'>実習漁場</a></td>"); }
	if(posiinfo == 4 ){ document.write("<td class='fish02'>研修内容</td>"); }
		else { document.write("<td><a href='education03.html'>研修内容</a></td>"); }
	if(posiinfo == 5 ){ document.write("<td class='fish02'>研修レポート</td>"); }
		else { document.write("<td><a href='education04.html'>研修レポート</a></td>"); }
	document.write("</tr></table></div>");
	document.write("<div style='background-color:#26ad5c; margin-top:2px;'>");
	document.write("<img src='"+hposi+"cmnimg/spacer.gif' width='670' height='18' alt='' galleryimg='no'></div>");
}	//END 教育研修サブメニュー

//会社案内サブメニュー
if(categori == 6 ){ 
	document.write("<div style='position:absolute; margin-top:2px;'>");
	document.write("<table border='0' cellspacing='0' cellpadding='0' id='navi_fish02' class='navi_fish02' style='height:18px;'><tr>");
//	if(posiinfo == 4 ){ document.write("<td class='fish02'>企業理念</td>"); }
//		else { document.write("<td ><a href='concept.html?fish'>企業理念</a></td>"); }
	if(posiinfo == 1 ){ document.write("<td class='fish02'>企業概要</td>"); }
		else { document.write("<td ><a href='index.html?fish'>企業概要</a></td>"); }
	if(posiinfo == 2 ){ document.write("<td class='fish02'>ネットワーク</td>"); }
		else { document.write("<td><a href='network.html?fish'>ネットワーク</a></td>"); }
	if(posiinfo == 3 ){ document.write("<td class='fish02'>沿革</td>"); }
		else { document.write("<td><a href='history.html?fish'>沿革</a></td>"); }
	document.write("</tr></table></div>");
	document.write("<div style='background-color:#26ad5c; margin-top:2px;'>");
	document.write("<img src='"+hposi+"cmnimg/spacer.gif' width='670' height='18' alt='' galleryimg='no'></div>");
}	//END 会社案内サブメニュー

//採用情報サブメニュー
if(categori == 7 ){ 
	document.write("<div style='position:absolute; margin-top:2px;'>");
	document.write("<table border='0' cellspacing='0' cellpadding='0' id='navi_fish02' class='navi_fish02' style='height:18px;'><tr>");
	if(posiinfo != 4 ){ document.write("<td class='fish02'>新卒採用</td>"); }
		else { document.write("<td class='fish02' style='background-color:#26ad5c;'>新卒採用</td>"); }
	if(posiinfo == 1 ){ document.write("<td class='fish02'>募集要項</td>"); }
		else { document.write("<td ><a href='index.html?fish'>募集要項</a></td>"); }
	if(posiinfo == 2 ){ document.write("<td class='fish02'>先輩社員</td>"); }
		else { document.write("<td><a href='senior.html?fish'>先輩社員</a></td>"); }
	if(posiinfo == 3 ){ document.write("<td class='fish02'>エントリー</td>"); }
		else { document.write("<td><a href='entory.html?fish'>エントリー</a></td>"); }
	if(posiinfo == 4 ){ document.write("<td class='fish02'>中途採用</td>"); }
		else { document.write("<td><a href='career.html?fish'>中途採用</a></td>"); }
	document.write("</tr></table></div>");
	document.write("<div style='background-color:#26ad5c; margin-top:2px;'>");
	document.write("<img src='"+hposi+"cmnimg/spacer.gif' width='670' height='18' alt='' galleryimg='no'></div>");
}	//END 採用情報サブメニュー


}