// menu.js
/* ヘッダーメニュー読み込み */
/*
	読み込み時にID指定してフォーカスを設定
	id:メニュー
	 1:ニュース
	 2:会社概要
	 3:事業紹介
	 4:製品情報
	 5:株主・IR情報
	 6:採用情報
	 7:お問合せ
	 8:サイトマップ
*/

function LoadMenu(id){

//メニュー数
arrImg = new Array(10);
for(i=1; i < arrImg.length; i++){
	arrImg[i] = new Array(1);
	arrImg[i][0] = "m0" + i;
	arrImg[i][1] = "m0" + i + "_on";
	if(i == id){
		arrImg[i][0] = "m0" + i + "_st";
		arrImg[i][1] = "m0" + i + "_st";
	}
}
document.write('<!-- MENU00 -->');
document.write('<ul id="menu00">');
document.write('<li><a href="/news/2012/?bn=news_top" onmouseover="changeImages(\'m01\',\'/images/cmn_' + arrImg[1][1] + '.gif\');" onmouseout="changeImages(\'m01\',\'/images/cmn_' + arrImg[1][0] + '.gif\');">');
document.write('<img name="m01" src="/images/cmn_' + arrImg[1][0] + '.gif" alt="ニュース" width="61" height="19"></a></li>');
document.write('<li class="bar">&nbsp;</li>');
document.write('<li><a href="/information/2012/?bn=info_top" onmouseover="changeImages(\'m09\',\'/images/cmn_' + arrImg[9][1] + '.gif\');" onmouseout="changeImages(\'m09\',\'/images/cmn_' + arrImg[9][0] + '.gif\');">');
document.write('<img name="m09" src="/images/cmn_' + arrImg[9][0] + '.gif" alt="インフォメーション" width="121" height="19"></a></li>');
document.write('<li class="bar">&nbsp;</li>');
document.write('<li><a href="/company/?bn=co_top" onmouseover="changeImages(\'m02\',\'/images/cmn_' + arrImg[2][1] + '.gif\');" onmouseout="changeImages(\'m02\',\'/images/cmn_' + arrImg[2][0] + '.gif\');">');
document.write('<img name="m02" src="/images/cmn_' + arrImg[2][0] + '.gif" alt="会社情報" width="64" height="19"></a></li>');
document.write('<li class="bar">&nbsp;</li>');
document.write('<li><a href="/business/" onmouseover="changeImages(\'m03\',\'/images/cmn_' + arrImg[3][1] + '.gif\');" onmouseout="changeImages(\'m03\',\'/images/cmn_' + arrImg[3][0] + '.gif\');">');
document.write('<img name="m03" src="/images/cmn_' + arrImg[3][0] + '.gif" alt="事業紹介" width="65" height="19"></a></li>');
document.write('<li class="bar">&nbsp;</li>');
document.write('<li><a href="/product/?bn=pro_top" onmouseover="changeImages(\'m04\',\'/images/cmn_' + arrImg[4][1] + '.gif\');" onmouseout="changeImages(\'m04\',\'/images/cmn_' + arrImg[4][0] + '.gif\');">');
document.write('<img name="m04" src="/images/cmn_' + arrImg[4][0] + '.gif" alt="製品情報" width="67" height="19"></a></li>');
document.write('<li class="bar">&nbsp;</li>');
document.write('<li><a href="/ir/?bn=ir_top" onmouseover="changeImages(\'m05\',\'/images/cmn_' + arrImg[5][1] + '.gif\');" onmouseout="changeImages(\'m05\',\'/images/cmn_' + arrImg[5][0] + '.gif\');">');
document.write('<img name="m05" src="/images/cmn_' + arrImg[5][0] + '.gif" alt="株主・IR情報" width="86" height="19"></a></li>');
document.write('<li class="bar">&nbsp;</li>');
document.write('<li><a href="/recruit/?bn=rec_top" onmouseover="changeImages(\'m06\',\'/images/cmn_' + arrImg[6][1] + '.gif\');" onmouseout="changeImages(\'m06\',\'/images/cmn_' + arrImg[6][0] + '.gif\');">');
document.write('<img name="m06" src="/images/cmn_' + arrImg[6][0] + '.gif" alt="採用情報" width="67" height="19"></a></li>');
document.write('<li class="bar">&nbsp;</li>');
document.write('<li><a href="/contact/?bn=info_top" onmouseover="changeImages(\'m07\',\'/images/cmn_' + arrImg[7][1] + '.gif\');" onmouseout="changeImages(\'m07\',\'/images/cmn_' + arrImg[7][0] + '.gif\');">');
document.write('<img name="m07" src="/images/cmn_' + arrImg[7][0] + '.gif" alt="お問い合わせ" width="90" height="19"></a></li>');
document.write('<li class="bar">&nbsp;</li>');
document.write('<li><a href="/sitemap/?bn=map_top" onmouseover="changeImages(\'m08\',\'/images/cmn_' + arrImg[8][1] + '.gif\');" onmouseout="changeImages(\'m08\',\'/images/cmn_' + arrImg[8][0] + '.gif\');">');
document.write('<img name="m08" src="/images/cmn_' + arrImg[8][0] + '.gif" alt="サイトマップ" width="85" height="19"></a></li>');
document.write('</ul>');
document.write('<div class="clr"></div>');
document.write('<!-- /MENU00 -->');
}

/* 右文字抜き用の関数 */
function right( str, n ) {
    l = str.length;
    if (n>l) n=l;
    return( str.substring(l-n,l) );
}


/* NEWSサイドメニュー読み込み ☆１階層　*/
function LoadMenuNews(id){
var intNo;
intNo = 2002;

//メニュー数
arrImg = new Array(30);
for(i=1; i < arrImg.length; i++){
	arrImg[i] = new Array(1);
	arrImg[i][0] = "m" + intNo;
	arrImg[i][1] = "m" + intNo + "_on";
	if(intNo == id){
		arrImg[i][0] = "m" + intNo + "_on";
	}
	intNo++;
}
document.write('<!-- LEFT MENU -->');
document.write('<ul>');
document.write('<li><img name="ml00" src="../images/news_m00.gif" width="161" height="38" alt="ニュース MENU INDEX"></li>');
document.write('<li><img name="ml01" src="../images/news_m01.gif" width="161" height="31" alt="バックナンバー"></li>');
document.write('<li><a href="../2012/" onmouseover="changeImages(\'ml2012\', \'../images/news_' + arrImg[11][1] + '.gif\');" onmouseout="changeImages(\'ml2012\', \'../images/news_' + arrImg[11][0] + '.gif\');">');
document.write('<img name="ml2012" src="../images/news_' + arrImg[11][0] + '.gif" width="161" height="30" alt="2012年"></a></li>');
document.write('<li><a href="../2011/" onmouseover="changeImages(\'ml2011\', \'../images/news_' + arrImg[10][1] + '.gif\');" onmouseout="changeImages(\'ml2011\', \'../images/news_' + arrImg[10][0] + '.gif\');">');
document.write('<img name="ml2011" src="../images/news_' + arrImg[10][0] + '.gif" width="161" height="30" alt="2011年"></a></li>');
document.write('<li><a href="../2010/" onmouseover="changeImages(\'ml2010\', \'../images/news_' + arrImg[9][1] + '.gif\');" onmouseout="changeImages(\'ml2010\', \'../images/news_' + arrImg[9][0] + '.gif\');">');
document.write('<img name="ml2010" src="../images/news_' + arrImg[9][0] + '.gif" width="161" height="30" alt="2010年"></a></li>');
document.write('<li><a href="../2009/" onmouseover="changeImages(\'ml2009\', \'../images/news_' + arrImg[8][1] + '.gif\');" onmouseout="changeImages(\'ml2009\', \'../images/news_' + arrImg[8][0] + '.gif\');">');
document.write('<img name="ml2009" src="../images/news_' + arrImg[8][0] + '.gif" width="161" height="30" alt="2009年"></a></li>');
document.write('<li><a href="../2008/" onmouseover="changeImages(\'ml2008\', \'../images/news_' + arrImg[7][1] + '.gif\');" onmouseout="changeImages(\'ml2008\', \'../images/news_' + arrImg[7][0] + '.gif\');">');
document.write('<img name="ml2008" src="../images/news_' + arrImg[7][0] + '.gif" width="161" height="30" alt="2008年"></a></li>');
document.write('</ul>');
document.write('<!-- /LEFT MENU -->');
}

/* INFORMATIONサイドメニュー読み込み ☆１階層　*/
function LoadMenuInfo(id,path){
var intNo;
strPath = "../";
intNo = 2008;

//メニュー数
arrImg = new Array(30);
for(i=1; i < arrImg.length; i++){
	arrImg[i] = new Array(1);
	arrImg[i][0] = "m" + intNo;
	arrImg[i][1] = "m" + intNo + "_on";
	if(intNo == id){
		arrImg[i][0] = "m" + intNo + "_on";
	}
	intNo++;
}

if(path == 'second'){
	strPath = strPath + "../";
}

document.write('<!-- LEFT MENU -->');
document.write('<ul>');
document.write('<li><img name="ml00" src="' + strPath + 'images/news_m00.gif" width="161" height="38" alt="インフォメーション MENU INDEX"></li>');
//document.write('<li><img name="ml01" src="' + strPath + 'images/news_m01.gif" width="161" height="31" alt="過去のインフォメーション"></li>');
document.write('<li><a href="' + strPath + '2012/" onmouseover="changeImages(\'ml2012\', \'' + strPath + 'images/news_' + arrImg[5][1] + '.gif\');" onmouseout="changeImages(\'ml2012\', \'' + strPath + 'images/news_' + arrImg[5][0] + '.gif\');">');
document.write('<img name="ml2012" src="' + strPath + 'images/news_' + arrImg[5][0] + '.gif" width="161" height="30" alt="2012年"></a></li>');
document.write('<li><a href="' + strPath + '2011/" onmouseover="changeImages(\'ml2011\', \'' + strPath + 'images/news_' + arrImg[4][1] + '.gif\');" onmouseout="changeImages(\'ml2011\', \'' + strPath + 'images/news_' + arrImg[4][0] + '.gif\');">');
document.write('<img name="ml2011" src="' + strPath + 'images/news_' + arrImg[4][0] + '.gif" width="161" height="30" alt="2011年"></a></li>');
document.write('<li><a href="' + strPath + '2010/" onmouseover="changeImages(\'ml2010\', \'' + strPath + 'images/news_' + arrImg[3][1] + '.gif\');" onmouseout="changeImages(\'ml2010\', \'' + strPath + 'images/news_' + arrImg[3][0] + '.gif\');">');
document.write('<img name="ml2010" src="' + strPath + 'images/news_' + arrImg[3][0] + '.gif" width="161" height="30" alt="2010年"></a></li>');
document.write('</ul>');
document.write('<!-- /LEFT MENU -->');
}

/* COMPANYサイドメニュー読み込み ☆１階層　*/
/* ★重要！！！公告ページは階層が違うためHTMLにそのまま記述してある　*/

function LoadMenuCmp(id){
var strNo;

//メニュー数
arrImg = new Array(13);
for(i=1; i < arrImg.length; i++){
	arrImg[i] = new Array(1);
	strNo = right("0" + i,2);
	arrImg[i][0] = "m" + strNo;
	arrImg[i][1] = "m" + strNo + "_on";
	if(i == id){
		arrImg[i][0] = "m" + strNo + "_on";
	}
}
document.write('<!-- LEFT MENU -->');
document.write('<ul>');
document.write('<li><a href="../" onmouseover="changeImages(\'ml00\', \'../images/cmp_m00_on.gif\');" onmouseout="changeImages(\'ml00\', \'../images/cmp_m00.gif\');">');
document.write('<img name="ml00" src="../images/cmp_m00.gif" width="161" height="38" alt="会社情報 MENU INDEX"></a></li>');
document.write('<li><a href="../02/" onmouseover="changeImages(\'ml01\', \'../images/cmp_' + arrImg[1][1] + '.gif\');" onmouseout="changeImages(\'ml01\', \'../images/cmp_' + arrImg[1][0] + '.gif\');">');
document.write('<img name="ml01" src="../images/cmp_' + arrImg[1][0] + '.gif" width="161" height="30" alt="会社概要"></a></li>');
document.write('<li><a href="../01/" onmouseover="changeImages(\'ml02\', \'../images/cmp_' + arrImg[2][1] + '.gif\');" onmouseout="changeImages(\'ml02\', \'../images/cmp_' + arrImg[2][0] + '.gif\');">');
document.write('<img name="ml02" src="../images/cmp_' + arrImg[2][0] + '.gif" width="161" height="30" alt="企業理念・トップメッセージ"></a></li>');
document.write('<li><a href="../03/" onmouseover="changeImages(\'ml03\', \'../images/cmp_' + arrImg[3][1] + '.gif\');" onmouseout="changeImages(\'ml03\', \'../images/cmp_' + arrImg[3][0] + '.gif\');">');
document.write('<img name="ml03" src="../images/cmp_' + arrImg[3][0] + '.gif" width="161" height="30" alt="グローバル展開"></a></li>');
document.write('<li><a href="../04/" onmouseover="changeImages(\'ml04\', \'../images/cmp_' + arrImg[4][1] + '.gif\');" onmouseout="changeImages(\'ml04\', \'../images/cmp_' + arrImg[4][0] + '.gif\');">');
document.write('<img name="ml04" src="../images/cmp_' + arrImg[4][0] + '.gif" width="161" height="30" alt="研究開発"></a></li>');
document.write('<li><a href="../05/" onmouseover="changeImages(\'ml05\', \'../images/cmp_' + arrImg[5][1] + '.gif\');" onmouseout="changeImages(\'ml05\', \'../images/cmp_' + arrImg[5][0] + '.gif\');">');
document.write('<img name="ml05" src="../images/cmp_' + arrImg[5][0] + '.gif" width="161" height="30" alt="組織体制"></a></li>');
document.write('<li><a href="../06/" onmouseover="changeImages(\'ml06\', \'../images/cmp_' + arrImg[6][1] + '.gif\');" onmouseout="changeImages(\'ml06\', \'../images/cmp_' + arrImg[6][0] + '.gif\');">');
document.write('<img name="ml06" src="../images/cmp_' + arrImg[6][0] + '.gif" width="161" height="30" alt="社会との共生"></a></li>');
document.write('<li><a href="../10/" onmouseover="changeImages(\'ml10\', \'../images/cmp_' + arrImg[10][1] + '.gif\');" onmouseout="changeImages(\'ml10\', \'../images/cmp_' + arrImg[10][0] + '.gif\');">');
document.write('<img name="ml10" src="../images/cmp_' + arrImg[10][0] + '.gif" width="161" height="30" alt="コンプライアンス経営"></a></li>');
document.write('<li><a href="../09/" onmouseover="changeImages(\'ml09\', \'../images/cmp_' + arrImg[9][1] + '.gif\');" onmouseout="changeImages(\'ml09\', \'../images/cmp_' + arrImg[9][0] + '.gif\');">');
document.write('<img name="ml09" src="../images/cmp_' + arrImg[9][0] + '.gif" width="161" height="30" alt="沿革"></a></li>');
document.write('<li><a href="../07/" onmouseover="changeImages(\'ml07\', \'../images/cmp_' + arrImg[7][1] + '.gif\');" onmouseout="changeImages(\'ml07\', \'../images/cmp_' + arrImg[7][0] + '.gif\');">');
document.write('<img name="ml07" src="../images/cmp_' + arrImg[7][0] + '.gif" width="161" height="30" alt="所在地（国内）"></a></li>');
document.write('<li><a href="../08/" onmouseover="changeImages(\'ml08\', \'../images/cmp_' + arrImg[8][1] + '.gif\');" onmouseout="changeImages(\'ml08\', \'../images/cmp_' + arrImg[8][0] + '.gif\');">');
document.write('<img name="ml08" src="../images/cmp_' + arrImg[8][0] + '.gif" width="161" height="30" alt="所在地（海外）"></a></li>');
document.write('<li><a href="../11/" onmouseover="changeImages(\'ml11\', \'../images/cmp_' + arrImg[11][1] + '.gif\');" onmouseout="changeImages(\'ml11\', \'../images/cmp_' + arrImg[11][0] + '.gif\');">');
document.write('<img name="ml11" src="../images/cmp_' + arrImg[11][0] + '.gif" width="161" height="30" alt="公告"></a></li>');
document.write('<li><a href="../12/" onmouseover="changeImages(\'ml12\', \'../images/cmp_' + arrImg[12][1] + '.gif\');" onmouseout="changeImages(\'ml12\', \'../images/cmp_' + arrImg[12][0] + '.gif\');">');
document.write('<img name="ml12" src="../images/cmp_' + arrImg[12][0] + '.gif" width="161" height="30" alt="プライバシーポリシー"></a></li>');
document.write('</ul>');
document.write('<!-- /LEFT MENU -->');
}

/* BUSINNESサイドメニュー読み込み ☆２階層　*/
function LoadMenuBus(id){
var strNo;
var k=1;
arrImg = new Array(15);

//メニュー数
arrCnt = new Array(5);
arrCnt[1] = 2;
arrCnt[2] = 4;
arrCnt[3] = 3;
arrCnt[4] = 1;

for(i=1; i < arrCnt.length; i++){
	for(j=0; j <= arrCnt[i]; j++){
		arrImg[k] = new Array(1);
		strNo = right("0" + i,2) + "_" + right("0" + j,2) ;
		arrImg[k][0] = "m" + strNo;
		arrImg[k][1] = "m" + strNo + "_on";
		if(strNo == id){
			arrImg[k][0] = "m" + strNo + "_on";
		}
		k++;
	}
}
document.write('<!-- LEFT MENU -->');
document.write('<ul>');
document.write('<li><a href="../" onmouseover="changeImages(\'ml00\', \'../images/bus_m00_on.gif\');" onmouseout="changeImages(\'ml00\', \'../images/bus_m00.gif\');">');
document.write('<img name="ml00" src="../images/bus_m00.gif" width="161" height="38" alt="事業紹介 MENU INDEX"></a></li>');
document.write('<li><a href="../01/?bn=bus_shoes_01" onmouseover="changeImages(\'ml01\', \'../images/bus_' + arrImg[1][1] + '.gif\');" onmouseout="changeImages(\'ml01\', \'../images/bus_' + arrImg[1][0] + '.gif\');">');
document.write('<img name="ml01" src="../images/bus_' + arrImg[1][0] + '.gif" width="161" height="33" alt="シューズ部門"></a></li>');
document.write('<li class="gray"><a href="../01/?bn=bus_shoes_01#01" onmouseover="changeImages(\'ml02\', \'../images/bus_' + arrImg[2][1] + '.gif\');" onmouseout="changeImages(\'ml02\', \'../images/bus_' + arrImg[2][0] + '.gif\');">');
document.write('<img name="ml02" src="../images/bus_' + arrImg[2][0] + '.gif" width="161" height="23" alt="シューズ事業部"></a></li>');
document.write('<li><a href="../02/" onmouseover="changeImages(\'ml04\', \'../images/bus_' + arrImg[4][1] + '.gif\');" onmouseout="changeImages(\'ml04\', \'../images/bus_' + arrImg[4][0] + '.gif\');">');
document.write('<img name="ml04" src="../images/bus_' + arrImg[4][0] + '.gif" width="161" height="32" alt="プラスチック部門"></a></li>');
document.write('<li class="gray"><a href="../02/?bn=bus_pra_01#01" onmouseover="changeImages(\'ml05\', \'../images/bus_' + arrImg[5][1] + '.gif\');" onmouseout="changeImages(\'ml05\', \'../images/bus_' + arrImg[5][0] + '.gif\');">');
document.write('<img name="ml05" src="../images/bus_' + arrImg[5][0] + '.gif" width="161" height="23" alt="車輌資材事業部"></a></li>');
document.write('<li class="gray"><a href="../02/?bn=bus_pra_02#02" onmouseover="changeImages(\'ml06\', \'../images/bus_' + arrImg[6][1] + '.gif\');" onmouseout="changeImages(\'ml06\', \'../images/bus_' + arrImg[6][0] + '.gif\');">');
document.write('<img name="ml06" src="../images/bus_' + arrImg[6][0] + '.gif" width="161" height="23" alt="化成品事業部"></a></li>');
document.write('<li class="gray"><a href="../02/?bn=bus_pra_03#03" onmouseover="changeImages(\'ml07\', \'../images/bus_' + arrImg[7][1] + '.gif\');" onmouseout="changeImages(\'ml07\', \'../images/bus_' + arrImg[7][0] + '.gif\');">');
document.write('<img name="ml07" src="../images/bus_' + arrImg[7][0] + '.gif" width="161" height="23" alt="建装事業部"></a></li>');
document.write('<li class="gray"><a href="../02/?bn=bus_pra_04#04" onmouseover="changeImages(\'ml08\', \'../images/bus_' + arrImg[8][1] + '.gif\');" onmouseout="changeImages(\'ml08\', \'../images/bus_' + arrImg[8][0] + '.gif\');">');
document.write('<img name="ml08" src="../images/bus_' + arrImg[8][0] + '.gif" width="161" height="25" alt="引布販売部"></a></li>');
document.write('<li><a href="../03/" onmouseover="changeImages(\'ml09\', \'../images/bus_' + arrImg[9][1] + '.gif\');" onmouseout="changeImages(\'ml09\', \'../images/bus_' + arrImg[9][0] + '.gif\');">');
document.write('<img name="ml09" src="../images/bus_' + arrImg[9][0] + '.gif" width="161" height="32" alt="産業資材部門"></a></li>');
document.write('<li class="gray"><a href="../03/?bn=bus_san_01#01" onmouseover="changeImages(\'ml10\', \'../images/bus_' + arrImg[10][1] + '.gif\');" onmouseout="changeImages(\'ml10\', \'../images/bus_' + arrImg[10][0] + '.gif\');">');
document.write('<img name="ml10" src="../images/bus_' + arrImg[10][0] + '.gif" width="161" height="23" alt="ウレタン事業部"></a></li>');
document.write('<li class="gray"><a href="../03/?bn=bus_san_02#02" onmouseover="changeImages(\'ml11\', \'../images/bus_' + arrImg[11][1] + '.gif\');" onmouseout="changeImages(\'ml11\', \'../images/bus_' + arrImg[11][0] + '.gif\');">');
document.write('<img name="ml11" src="../images/bus_' + arrImg[11][0] + '.gif" width="161" height="23" alt="断熱資材事業部"></a></li>');
document.write('<li class="gray"><a href="../03/?bn=bus_san_03#03" onmouseover="changeImages(\'ml12\', \'../images/bus_' + arrImg[12][1] + '.gif\');" onmouseout="changeImages(\'ml12\', \'../images/bus_' + arrImg[12][0] + '.gif\');">');
document.write('<img name="ml12" src="../images/bus_' + arrImg[12][0] + '.gif" width="161" height="25" alt="工業資材事業部"></a></li>');
document.write('<li><a href="../04/" onmouseover="changeImages(\'ml13\', \'../images/bus_' + arrImg[13][1] + '.gif\');" onmouseout="changeImages(\'ml13\', \'../images/bus_' + arrImg[13][0] + '.gif\');">');
document.write('<img name="ml13" src="../images/bus_' + arrImg[13][0] + '.gif" width="161" height="32" alt="チーム・プロジェクト"></a></li>');
document.write('<li class="gray"><a href="../04/?bn=bus_pj_01#01" onmouseover="changeImages(\'ml14\', \'../images/bus_' + arrImg[14][1] + '.gif\');" onmouseout="changeImages(\'ml14\', \'../images/bus_' + arrImg[14][0] + '.gif\');">');
document.write('<img name="ml14" src="../images/bus_' + arrImg[14][0] + '.gif" width="161" height="25" alt="STEPプロジェクト"></a></li>');
document.write('</ul>');
document.write('<!-- /LEFT MENU -->');
}

/* RECRUITサイドメニュー読み込み ☆２階層　*/
function LoadMenuRec(id){
var strNo;
var k=1;

arrImg = new Array(6);

 //メニュー数　
arrCnt = new Array(3);
arrCnt[1] = 4;
arrCnt[2] = 1;

for(i=1; i < arrCnt.length; i++){
	for(j=0; j <= arrCnt[i]; j++){
		arrImg[k] = new Array(1);
		strNo = right("0" + i,2) + "_" + right("0" + j,2) ;
		arrImg[k][0] = "m" + strNo;
		arrImg[k][1] = "m" + strNo + "_on";
		if(strNo == id){
			arrImg[k][0] = "m" + strNo + "_on";
		}
		k++;
	}
}
document.write('<!-- LEFT MENU -->');
document.write('<ul>');
document.write('<li><a href="../" onmouseover="changeImages(\'ml00\', \'../images/rec_m00_on.gif\');" onmouseout="changeImages(\'ml00\', \'../images/rec_m00.gif\');">');
document.write('<img name="ml00" src="../images/rec_m00.gif" width="161" height="38" alt="採用情報 MENU INDEX"></a></li>');
document.write('<li><img name="ml01" src="../images/rec_' + arrImg[1][0] + '.gif" width="161" height="32" alt="新卒採用情報"></li>');
document.write('<!--');
document.write('<li class="gray"><a href="../01/01.html" onmouseover="changeImages(\'ml02\', \'../images/rec_' + arrImg[2][1] + '.gif\');" onmouseout="changeImages(\'ml02\', \'../images/rec_' + arrImg[2][0] + '.gif\');">');
document.write('<img name="ml02" src="../images/rec_' + arrImg[2][0] + '.gif" width="161" height="23" alt="学生の皆さんへ"></a></li>');
document.write('-->');
document.write('<li class="gray"><a href="../01/02.html" onmouseover="changeImages(\'ml03\', \'../images/rec_' + arrImg[3][1] + '.gif\');" onmouseout="changeImages(\'ml03\', \'../images/rec_' + arrImg[3][0] + '.gif\');">');
document.write('<img name="ml03" src="../images/rec_' + arrImg[3][0] + '.gif" width="161" height="23" alt="新卒採用情報"></a></li>');
document.write('<!--');
document.write('<li class="gray"><a href="../01/03.html" onmouseover="changeImages(\'ml04\', \'../images/rec_' + arrImg[4][1] + '.gif\');" onmouseout="changeImages(\'ml04\', \'../images/rec_' + arrImg[4][0] + '.gif\');">');
document.write('<img name="ml04" src="../images/rec_' + arrImg[4][0] + '.gif" width="161" height="23" alt="先輩の仕事"></a></li>');
document.write('<li class="gray"><a href="http://www.rikunabi.com/" target="_blank" onmouseover="changeImages(\'ml05\', \'../images/rec_' + arrImg[5][1] + '.gif\');" onmouseout="changeImages(\'ml05\', \'../images/rec_' + arrImg[5][0] + '.gif\');">');
document.write('<img name="ml05" src="../images/rec_' + arrImg[5][0] + '.gif" width="161" height="24" alt="エントリーフォーム"></a></li>');
document.write('-->');

document.write('<!--');
document.write('<li><a href="../" onmouseover="changeImages(\'ml00\', \'../images/rec_m00_on.gif\');" onmouseout="changeImages(\'ml00\', \'../images/rec_m00.gif\');">');
document.write('<img name="ml00" src="../images/rec_m00.gif" width="161" height="38" alt="採用情報 MENU INDEX"></a></li>');
document.write('<li><a href="../02/01.html" onmouseover="changeImages(\'ml06\', \'../images/rec_' + arrImg[6][1] + '.gif\');" onmouseout="changeImages(\'ml06\', \'../images/rec_' + arrImg[6][0] + '.gif\');"><img name="ml06" src="../images/rec_' + arrImg[6][0] + '.gif" width="161" height="32" alt="キャリア採用情報"></a></li>');
document.write('-->');

document.write('</ul>');
document.write('<!-- /LEFT MENU -->');
}

/* IRサイドメニュー読み込み ☆２階層　*/
function LoadMenuIR(id){
var strNo;
var k=1;
arrImg = new Array(26);

//メニュー数
arrCnt = new Array(9);
arrCnt[1] = 0; //
arrCnt[2] = 8; //
arrCnt[3] = 4; //　
arrCnt[4] = 4; //　
arrCnt[5] = 0; //　
arrCnt[6] = 0; //　
arrCnt[7] = 0; //　
arrCnt[8] = 0; //

for(i=1; i < arrCnt.length; i++){
	for(j=0; j <= arrCnt[i]; j++){
		arrImg[k] = new Array(1);
		strNo = right("0" + i,2) + "_" + right("0" + j,2) ;
		arrImg[k][0] = "m" + strNo;
		arrImg[k][1] = "m" + strNo + "_on";
		if(strNo == id){
			arrImg[k][0] = "m" + strNo + "_on";
		}
		k++;
	}
}
document.write('<!-- LEFT MENU -->');
document.write('<ul>');
document.write('<li><a href="../" onmouseover="changeImages(\'ml00\', \'../images/ir_m00_on.gif\');" onmouseout="changeImages(\'ml00\', \'../images/ir_m00.gif\');">');
document.write('<img name="ml00" src="../images/ir_m00.gif" width="161" height="38" alt="株主・IR情報 MENU INDEX"></a></li>');
document.write('<li class="gray"><a href="../01/" onmouseover="changeImages(\'ml01\', \'../images/ir_' + arrImg[1][1] + '.gif\');" onmouseout="changeImages(\'ml01\', \'../images/ir_' + arrImg[1][0] + '.gif\');">');
document.write('<img name="ml01" src="../images/ir_' + arrImg[1][0] + '.gif" width="161" height="32" alt="株主・投資家の皆様へ"></a></li>');
document.write('<li><img name="ml11" src="../images/ir_' + arrImg[11][0] + '.gif" width="161" height="32" alt="財務情報"></li>');
document.write('<li class="gray"><a href="../03/01.html" onmouseover="changeImages(\'ml12\', \'../images/ir_' + arrImg[12][1] + '.gif\');" onmouseout="changeImages(\'ml12\', \'../images/ir_' + arrImg[12][0] + '.gif\');">');
document.write('<img name="ml12" src="../images/ir_' + arrImg[12][0] + '.gif" width="161" height="23" alt="決算短信・四半期業績概況"></a></li>');
document.write('<li class="gray"><a href="../03/02.html" onmouseover="changeImages(\'ml13\', \'../images/ir_' + arrImg[13][1] + '.gif\');" onmouseout="changeImages(\'ml13\', \'../images/ir_' + arrImg[13][0] + '.gif\');">');
document.write('<img name="ml13" src="../images/ir_' + arrImg[13][0] + '.gif" width="161" height="23" alt="有価証券報告書"></a></li>');
document.write('<li class="gray"><a href="../03/03.html" onmouseover="changeImages(\'ml14\', \'../images/ir_' + arrImg[14][1] + '.gif\');" onmouseout="changeImages(\'ml14\', \'../images/ir_' + arrImg[14][0] + '.gif\');">');
document.write('<img name="ml14" src="../images/ir_' + arrImg[14][0] + '.gif" width="161" height="23" alt="過去５年間業績推移（連結）"></a></li>');
document.write('<li class="gray"><a href="../03/04.html" onmouseover="changeImages(\'ml15\', \'../images/ir_' + arrImg[15][1] + '.gif\');" onmouseout="changeImages(\'ml15\', \'../images/ir_' + arrImg[15][0] + '.gif\');">');
document.write('<img name="ml15" src="../images/ir_' + arrImg[15][0] + '.gif" width="161" height="23" alt="過去５年間業績推移（個別）"></a></li>');
document.write('<li><img name="ml16" src="../images/ir_' + arrImg[16][0] + '.gif" width="161" height="32" alt="株主情報"></li>');
document.write('<li class="gray"><a href="../04/01.html" onmouseover="changeImages(\'ml17\', \'../images/ir_' + arrImg[17][1] + '.gif\');" onmouseout="changeImages(\'ml17\', \'../images/ir_' + arrImg[17][0] + '.gif\');">');
document.write('<img name="ml17" src="../images/ir_' + arrImg[17][0] + '.gif" width="161" height="23" alt="株主情報"></a></li>');
document.write('<li class="gray"><a href="../04/02.html" onmouseover="changeImages(\'ml18\', \'../images/ir_' + arrImg[18][1] + '.gif\');" onmouseout="changeImages(\'ml18\', \'../images/ir_' + arrImg[18][0] + '.gif\');">');
document.write('<img name="ml18" src="../images/ir_' + arrImg[18][0] + '.gif" width="161" height="23" alt="期報告書"></a></li>');
document.write('<li class="gray"><a href="../04/03.html" onmouseover="changeImages(\'ml19\', \'../images/ir_' + arrImg[19][1] + '.gif\');" onmouseout="changeImages(\'ml19\', \'../images/ir_' + arrImg[19][0] + '.gif\');">');
document.write('<img name="ml19" src="../images/ir_' + arrImg[19][0] + '.gif" width="161" height="23" alt="株式事務手続"></a></li>');
document.write('<li class="gray"><a href="../04/04.html" onmouseover="changeImages(\'ml20\', \'../images/ir_' + arrImg[20][1] + '.gif\');" onmouseout="changeImages(\'ml20\', \'../images/ir_' + arrImg[20][0] + '.gif\');">');
document.write('<img name="ml20" src="../images/ir_' + arrImg[20][0] + '.gif" width="161" height="23" alt="株主総会"></a></li>');
document.write('<li class="gray"><a href="../05/" onmouseover="changeImages(\'ml21\', \'../images/ir_' + arrImg[21][1] + '.gif\');" onmouseout="changeImages(\'ml21\', \'../images/ir_' + arrImg[21][0] + '.gif\');">');
document.write('<img name="ml21" src="../images/ir_' + arrImg[21][0] + '.gif" width="161" height="32" alt="株価チャート・IRカレンダー"></a></li>');
document.write('<li class="gray"><a href="../06/" onmouseover="changeImages(\'ml22\', \'../images/ir_' + arrImg[22][1] + '.gif\');" onmouseout="changeImages(\'ml22\', \'../images/ir_' + arrImg[22][0] + '.gif\');">');
document.write('<img name="ml22" src="../images/ir_' + arrImg[22][0] + '.gif" width="161" height="32" alt="IRポリシー"></a></li>');
document.write('</ul>');
document.write('<!-- /LEFT MENU -->');
}


/* ************************************************ */
/* English版                                        */
/* ************************************************ */

/* English版ヘッダーメニュー読み込み */
/*
	読み込み時にID指定してフォーカスを設定
	id:メニュー
	 1:Corporate Profile
	 2:Business Contents
	 3:Related Link
	 4:Contact Us
	 5:Sitemap
*/

function LoadEnMenu(id){

//メニュー数
arrImg = new Array(6);
for(i=1; i < arrImg.length; i++){
	arrImg[i] = new Array(1);
	arrImg[i][0] = "m0" + i;
	arrImg[i][1] = "m0" + i + "_on";
	if(i == id){
		arrImg[i][0] = "m0" + i + "_st";
		arrImg[i][1] = "m0" + i + "_st";
	}
}
document.write('<!-- MENU00 -->');
document.write('<ul id="menu00">');
document.write('<li class="En"><a href="/english/company/" onmouseover="changeImages(\'m01\',\'/english/images/cmn_' + arrImg[1][1] + '.gif\');" onmouseout="changeImages(\'m01\',\'/english/images/cmn_' + arrImg[1][0] + '.gif\');">');
document.write('<img name="m01" src="/english/images/cmn_' + arrImg[1][0] + '.gif" alt="Company Information" width="129" height="19"></a></li>');
document.write('<li class="barEn">&nbsp;</li>');
document.write('<li class="En"><a href="/english/business/" onmouseover="changeImages(\'m02\',\'/english/images/cmn_' + arrImg[2][1] + '.gif\');" onmouseout="changeImages(\'m02\',\'/english/images/cmn_' + arrImg[2][0] + '.gif\');">');
document.write('<img name="m02" src="/english/images/cmn_' + arrImg[2][0] + '.gif" alt="Business Contents" width="121" height="19"></a></li>');
document.write('<li class="barEn">&nbsp;</li>');
document.write('<li class="En"><a href="/english/link/" onmouseover="changeImages(\'m03\',\'/english/images/cmn_' + arrImg[3][1] + '.gif\');" onmouseout="changeImages(\'m03\',\'/english/images/cmn_' + arrImg[3][0] + '.gif\');">');
document.write('<img name="m03" src="/english/images/cmn_' + arrImg[3][0] + '.gif" alt="Related Link" width="84" height="19"></a></li>');
document.write('<li class="barEn">&nbsp;</li>');
document.write('<li class="En"><a href="https://www.achilles.jp/FS-APL/FS-Form/form.cgi?Code=en_info" onmouseover="changeImages(\'m04\',\'/english/images/cmn_' + arrImg[4][1] + '.gif\');" onmouseout="changeImages(\'m04\',\'/english/images/cmn_' + arrImg[4][0] + '.gif\');">');
document.write('<img name="m04" src="/english/images/cmn_' + arrImg[4][0] + '.gif" alt="Contact Us" width="76" height="19"></a></li>');
document.write('<li class="barEn">&nbsp;</li>');
document.write('<li class="En"><a href="/english/sitemap/" onmouseover="changeImages(\'m05\',\'/english/images/cmn_' + arrImg[5][1] + '.gif\');" onmouseout="changeImages(\'m05\',\'/english/images/cmn_' + arrImg[5][0] + '.gif\');">');
document.write('<img name="m05" src="/english/images/cmn_' + arrImg[5][0] + '.gif" alt="Sitemap" width="57" height="19"></a></li>');
document.write('</ul>');
document.write('<div class="clr"></div>');
document.write('<!-- /MENU00 -->');
}

/* English COMPANYサイドメニュー読み込み ☆１階層　*/
function LoadEnMenuCmp(id){
var strNo;

//メニュー数
arrImg = new Array(13);
for(i=1; i < arrImg.length; i++){
	arrImg[i] = new Array(1);
	strNo = right("0" + i,2);
	arrImg[i][0] = "m" + strNo;
	arrImg[i][1] = "m" + strNo + "_on";
	if(i == id){
		arrImg[i][0] = "m" + strNo + "_on";
	}
}
document.write('<!-- LEFT MENU -->');
document.write('<ul>');
document.write('<li><a href="../" onmouseover="changeImages(\'ml00\', \'../images/cmp_m00_on.gif\');" onmouseout="changeImages(\'ml00\', \'../images/cmp_m00.gif\');">');
document.write('<img name="ml00" src="../images/cmp_m00.gif" width="161" height="38" alt="MENU INDEX"></a></li>');
document.write('<li><a href="../01/" onmouseover="changeImages(\'ml01\', \'../images/cmp_' + arrImg[1][1] + '.gif\');" onmouseout="changeImages(\'ml01\', \'../images/cmp_' + arrImg[1][0] + '.gif\');">');
document.write('<img name="ml01" src="../images/cmp_' + arrImg[1][0] + '.gif" width="161" height="30" alt="Corporate Data"></a></li>');
document.write('<li><a href="../02/" onmouseover="changeImages(\'ml02\', \'../images/cmp_' + arrImg[2][1] + '.gif\');" onmouseout="changeImages(\'ml02\', \'../images/cmp_' + arrImg[2][0] + '.gif\');">');
document.write('<img name="ml02" src="../images/cmp_' + arrImg[2][0] + '.gif" width="161" height="36" alt="Corporate Philosophy ＆ President’s Message"></a></li>');
document.write('<li><a href="../03/" onmouseover="changeImages(\'ml03\', \'../images/cmp_' + arrImg[3][1] + '.gif\');" onmouseout="changeImages(\'ml03\', \'../images/cmp_' + arrImg[3][0] + '.gif\');">');
document.write('<img name="ml03" src="../images/cmp_' + arrImg[3][0] + '.gif" width="161" height="30" alt="Global Expansion"></a></li>');
document.write('<li><a href="../04/" onmouseover="changeImages(\'ml04\', \'../images/cmp_' + arrImg[4][1] + '.gif\');" onmouseout="changeImages(\'ml04\', \'../images/cmp_' + arrImg[4][0] + '.gif\');">');
document.write('<img name="ml04" src="../images/cmp_' + arrImg[4][0] + '.gif" width="161" height="30" alt="R&D"></a></li>');
document.write('<li><a href="../05/" onmouseover="changeImages(\'ml05\', \'../images/cmp_' + arrImg[5][1] + '.gif\');" onmouseout="changeImages(\'ml05\', \'../images/cmp_' + arrImg[5][0] + '.gif\');">');
document.write('<img name="ml05" src="../images/cmp_' + arrImg[5][0] + '.gif" width="161" height="30" alt="Corporate Structure"></a></li>');
document.write('<li><a href="../06/" onmouseover="changeImages(\'ml06\', \'../images/cmp_' + arrImg[6][1] + '.gif\');" onmouseout="changeImages(\'ml06\', \'../images/cmp_' + arrImg[6][0] + '.gif\');">');
document.write('<img name="ml06" src="../images/cmp_' + arrImg[6][0] + '.gif" width="161" height="30" alt="Living with Society"></a></li>');
document.write('<li><a href="../09/" onmouseover="changeImages(\'ml09\', \'../images/cmp_' + arrImg[9][1] + '.gif\');" onmouseout="changeImages(\'ml09\', \'../images/cmp_' + arrImg[9][0] + '.gif\');">');
document.write('<img name="ml09" src="../images/cmp_' + arrImg[9][0] + '.gif" width="161" height="30" alt="History"></a></li>');
document.write('<li><a href="../10/" onmouseover="changeImages(\'ml10\', \'../images/cmp_' + arrImg[10][1] + '.gif\');" onmouseout="changeImages(\'ml10\', \'../images/cmp_' + arrImg[10][0] + '.gif\');">');
document.write('<img name="ml10" src="../images/cmp_' + arrImg[10][0] + '.gif" width="161" height="30" alt="Compliance"></a></li>');
document.write('<li><a href="../07/" onmouseover="changeImages(\'ml07\', \'../images/cmp_' + arrImg[7][1] + '.gif\');" onmouseout="changeImages(\'ml07\', \'../images/cmp_' + arrImg[7][0] + '.gif\');">');
document.write('<img name="ml07" src="../images/cmp_' + arrImg[7][0] + '.gif" width="161" height="30" alt="Location(Japan)"></a></li>');
document.write('<li><a href="../08/" onmouseover="changeImages(\'ml08\', \'../images/cmp_' + arrImg[8][1] + '.gif\');" onmouseout="changeImages(\'ml08\', \'../images/cmp_' + arrImg[8][0] + '.gif\');">');
document.write('<img name="ml08" src="../images/cmp_' + arrImg[8][0] + '.gif" width="161" height="30" alt="Location(Global)"></a></li>');
document.write('<li><a href="../12/" onmouseover="changeImages(\'ml12\', \'../images/cmp_' + arrImg[12][1] + '.gif\');" onmouseout="changeImages(\'ml12\', \'../images/cmp_' + arrImg[12][0] + '.gif\');">');
document.write('<img name="ml12" src="../images/cmp_' + arrImg[12][0] + '.gif" width="161" height="30" alt="Location(Global)"></a></li>');
document.write('</ul>');
document.write('<!-- /LEFT MENU -->');
}

/* English BUSINNESサイドメニュー読み込み ☆１階層　*/
function LoadEnMenuBus(id){
var strNo;

//メニュー数
arrImg = new Array(5);
for(i=1; i < arrImg.length; i++){
	arrImg[i] = new Array(1);
	strNo = right("0" + i,2);
	arrImg[i][0] = "m" + strNo;
	arrImg[i][1] = "m" + strNo + "_on";
	if(i == id){
		arrImg[i][0] = "m" + strNo + "_on";
	}
}
document.write('<!-- LEFT MENU -->');
document.write('<ul>');
document.write('<li><a href="../" onmouseover="changeImages(\'ml00\', \'../images/bus_m00_on.gif\');" onmouseout="changeImages(\'ml00\', \'../images/bus_m00.gif\');">');
document.write('<img name="ml00" src="../images/bus_m00.gif" width="161" height="38" alt="Business MENU INDEX"></a></li>');
document.write('<li><a href="../01/" onmouseover="changeImages(\'ml01\', \'../images/bus_' + arrImg[1][1] + '.gif\');" onmouseout="changeImages(\'ml01\', \'../images/bus_' + arrImg[1][0] + '.gif\');">');
document.write('<img name="ml01" src="../images/bus_' + arrImg[1][0] + '.gif" width="161" height="33" alt="Shoes"></a></li>');
document.write('<li><a href="../02/" onmouseover="changeImages(\'ml02\', \'../images/bus_' + arrImg[2][1] + '.gif\');" onmouseout="changeImages(\'ml02\', \'../images/bus_' + arrImg[2][0] + '.gif\');">');
document.write('<img name="ml02" src="../images/bus_' + arrImg[2][0] + '.gif" width="161" height="32" alt="Plastic"></a></li>');
document.write('<li><a href="../03/" onmouseover="changeImages(\'ml03\', \'../images/bus_' + arrImg[3][1] + '.gif\');" onmouseout="changeImages(\'ml03\', \'../images/bus_' + arrImg[3][0] + '.gif\');">');
document.write('<img name="ml03" src="../images/bus_' + arrImg[3][0] + '.gif" width="161" height="32" alt="Industrial Materials"></a></li>');
document.write('<li><a href="../04/" onmouseover="changeImages(\'ml04\', \'../images/bus_' + arrImg[4][1] + '.gif\');" onmouseout="changeImages(\'ml04\', \'../images/bus_' + arrImg[4][0] + '.gif\');">');
document.write('<img name="ml04" src="../images/bus_' + arrImg[4][0] + '.gif" width="161" height="32" alt="STEP project"></a></li>');
document.write('</ul>');
document.write('<!-- /LEFT MENU -->');
}


















