<!--//
//get myUrl
if(location.href.indexOf("http") > 0){
	var myUrl_split_s = location.href.indexOf("http");
}else if(location.href.indexOf("file") > 0){
	var myUrl_split_s = location.href.indexOf("file");
}
var myUrl_split_e = location.href.indexOf("kikan.html");
var myUrl = location.href.substring(myUrl_split_s,myUrl_split_e);
//-->

<!--//
//Tree Menu
var trList = new Array("treeMenu1","treeMenu2","treeMenu3","treeMenu4","treeMenu5","treeMenu6");	//　ツリーメニューのリスト
function exMenu(tName)
{
	for (i=0; i<trList.length; i++) document.getElementById(trList[i]).style.display = "none";
	var tMenu=(document.all)?document.all(tName).style:document.getElementById(tName).style;
	(tMenu.display=='none')?tMenu.display="block":tMenu.display="none";
}
//-->

<!--//
//RollOver Images

if (document.images) {

		hn01off = new Image();   hn01off.src = myUrl+"img/common/h_navi11.gif";
		hn02off = new Image();   hn02off.src = myUrl+"img/common/h_navi21.gif";
		hn03off = new Image();   hn03off.src = myUrl+"img/common/h_navi31.gif";
		hn04off = new Image();   hn04off.src = myUrl+"img/common/h_navi41.gif";
		hn05off = new Image();   hn05off.src = myUrl+"img/common/h_navi51.gif";
		hn06off = new Image();   hn06off.src = myUrl+"img/common/h_navi61.gif";
		hn07off = new Image();   hn07off.src = myUrl+"img/common/h_navi71.gif";

		hn01on = new Image();   hn01on.src = myUrl+"img/common/h_navi12.gif";
		hn02on = new Image();   hn02on.src = myUrl+"img/common/h_navi22.gif";
		hn03on = new Image();   hn03on.src = myUrl+"img/common/h_navi32.gif";
		hn04on = new Image();   hn04on.src = myUrl+"img/common/h_navi42.gif";
		hn05on = new Image();   hn05on.src = myUrl+"img/common/h_navi52.gif";
		hn06on = new Image();   hn06on.src = myUrl+"img/common/h_navi62.gif";
		hn07on = new Image();   hn07on.src = myUrl+"img/common/h_navi72.gif";

		homeon = new Image();   homeon.src = myUrl+"img/common/header22_2.gif";
		homeoff = new Image();   homeoff.src = myUrl+"img/common/header22.gif";

		toi_on = new Image();   toi_on.src = myUrl+"img/common/header23_2.gif";
		toi_off = new Image();   toi_off.src = myUrl+"img/common/header23.gif";

		bnr01on = new Image();   bnr01on.src = myUrl+"img/common/bnr12.gif";
		bnr02on = new Image();   bnr02on.src = myUrl+"img/common/bnr22.gif";
		bnr03on = new Image();   bnr03on.src = myUrl+"img/common/bnr32.gif";
		bnr04on = new Image();   bnr04on.src = myUrl+"img/common/bnr42.gif";
		bnr05on = new Image();   bnr05on.src = myUrl+"img/common/bnr52.gif";
		bnr07on = new Image();   bnr07on.src = myUrl+"img/common/bnr72.gif";


		bnr01off = new Image();   bnr01off.src = myUrl+"img/common/bnr11.gif";
		bnr02off = new Image();   bnr02off.src = myUrl+"img/common/bnr21.gif";
		bnr03off = new Image();   bnr03off.src = myUrl+"img/common/bnr31.gif";
		bnr04off = new Image();   bnr04off.src = myUrl+"img/common/bnr41.gif";
		bnr05off = new Image();   bnr05off.src = myUrl+"img/common/bnr51.gif";
		bnr07off = new Image();   bnr07off.src = myUrl+"img/common/bnr71.gif";

		menu2_btn01on = new Image();   menu2_btn01on.src = myUrl+"img/common/menu2_btn12.gif";
		menu2_btn02on = new Image();   menu2_btn02on.src = myUrl+"img/common/menu2_btn22.gif";
		menu2_btn03on = new Image();   menu2_btn03on.src = myUrl+"img/common/menu2_btn32.gif";
		menu2_btn04on = new Image();   menu2_btn04on.src = myUrl+"img/common/menu2_btn42.gif";
		menu2_btn05on = new Image();   menu2_btn05on.src = myUrl+"img/common/menu2_btn52.gif";
		menu2_btn06on = new Image();   menu2_btn06on.src = myUrl+"img/common/menu2_btn62.gif";
		menu2_btn07on = new Image();   menu2_btn07on.src = myUrl+"img/common/menu2_btn72.gif";
		menu2_btn08on = new Image();   menu2_btn08on.src = myUrl+"img/common/menu2_btn82.gif";
		menu2_btn09on = new Image();   menu2_btn09on.src = myUrl+"img/common/menu2_btn92.gif";
		menu2_btn10on = new Image();   menu2_btn10on.src = myUrl+"img/common/menu2_btn102.gif";
		menu2_btn11on = new Image();   menu2_btn11on.src = myUrl+"img/common/menu2_btn112.gif";
　　　　　　　　　　　　 menu2_btn12on = new Image();   menu2_btn12on.src = myUrl+"img/common/menu2_btn122.gif";

		menu2_btn01off = new Image();   menu2_btn01off.src = myUrl+"img/common/menu2_btn11.gif";
		menu2_btn02off = new Image();   menu2_btn02off.src = myUrl+"img/common/menu2_btn21.gif";
		menu2_btn03off = new Image();   menu2_btn03off.src = myUrl+"img/common/menu2_btn31.gif";
		menu2_btn04off = new Image();   menu2_btn04off.src = myUrl+"img/common/menu2_btn41.gif";
		menu2_btn05off = new Image();   menu2_btn05off.src = myUrl+"img/common/menu2_btn51.gif";
		menu2_btn06off = new Image();   menu2_btn06off.src = myUrl+"img/common/menu2_btn61.gif";
		menu2_btn07off = new Image();   menu2_btn07off.src = myUrl+"img/common/menu2_btn71.gif";
		menu2_btn08off = new Image();   menu2_btn08off.src = myUrl+"img/common/menu2_btn81.gif";
		menu2_btn09off = new Image();   menu2_btn09off.src = myUrl+"img/common/menu2_btn91.gif";
		menu2_btn10off = new Image();   menu2_btn10off.src = myUrl+"img/common/menu2_btn101.gif";
　　　　　　　　　　　　　 menu2_btn11off = new Image();   menu2_btn11off.src = myUrl+"img/common/menu2_btn111.gif";
　　　　　　　　　　　　 menu2_btn12off = new Image();   menu2_btn12off.src = myUrl+"img/common/menu2_btn121.gif";

		menu3_btn01on = new Image();   menu3_btn01on.src = myUrl+"img/common/menu3_btn12.gif";
		menu3_btn02on = new Image();   menu3_btn02on.src = myUrl+"img/common/menu3_btn22.gif";
		menu3_btn03on = new Image();   menu3_btn03on.src = myUrl+"img/common/menu3_btn32.gif";

		menu3_btn01off = new Image();   menu3_btn01off.src = myUrl+"img/common/menu3_btn11.gif";
		menu3_btn02off = new Image();   menu3_btn02off.src = myUrl+"img/common/menu3_btn21.gif";
		menu3_btn03off = new Image();   menu3_btn03off.src = myUrl+"img/common/menu3_btn31.gif";

		menu4_btn01on = new Image();   menu4_btn01on.src = myUrl+"img/common/menu4_btn12.gif";
		menu4_btn02on = new Image();   menu4_btn02on.src = myUrl+"img/common/menu4_btn22.gif";
		menu4_btn03on = new Image();   menu4_btn03on.src = myUrl+"img/common/menu4_btn32.gif";
		menu4_btn04on = new Image();   menu4_btn04on.src = myUrl+"img/common/menu4_btn42.gif";
		menu4_btn05on = new Image();   menu4_btn05on.src = myUrl+"img/common/menu4_btn52.gif";
		menu4_btn06on = new Image();   menu4_btn06on.src = myUrl+"img/common/menu4_btn62.gif";
		menu4_btn07on = new Image();   menu4_btn07on.src = myUrl+"img/common/menu4_btn72.gif";
		menu4_btn08on = new Image();   menu4_btn08on.src = myUrl+"img/common/menu4_btn82.gif";
		menu4_btn09on = new Image();   menu4_btn09on.src = myUrl+"img/common/menu4_btn92.gif";
		menu4_btn10on = new Image();   menu4_btn10on.src = myUrl+"img/common/menu4_btn102.gif";

		menu4_btn01off = new Image();   menu4_btn01off.src = myUrl+"img/common/menu4_btn11.gif";
		menu4_btn02off = new Image();   menu4_btn02off.src = myUrl+"img/common/menu4_btn21.gif";
		menu4_btn03off = new Image();   menu4_btn03off.src = myUrl+"img/common/menu4_btn31.gif";
		menu4_btn04off = new Image();   menu4_btn04off.src = myUrl+"img/common/menu4_btn41.gif";
		menu4_btn05off = new Image();   menu4_btn05off.src = myUrl+"img/common/menu4_btn51.gif";
		menu4_btn06off = new Image();   menu4_btn06off.src = myUrl+"img/common/menu4_btn61.gif";
		menu4_btn07off = new Image();   menu4_btn07off.src = myUrl+"img/common/menu4_btn71.gif";
		menu4_btn08off = new Image();   menu4_btn08off.src = myUrl+"img/common/menu4_btn81.gif";
		menu4_btn09off = new Image();   menu4_btn09off.src = myUrl+"img/common/menu4_btn91.gif";
		menu4_btn10off = new Image();   menu4_btn10off.src = myUrl+"img/common/menu4_btn101.gif";

		menu5_btn01on = new Image();   menu5_btn01on.src = myUrl+"img/common/menu5_btn12.gif";
		menu5_btn02on = new Image();   menu5_btn02on.src = myUrl+"img/common/menu5_btn22.gif";
		menu5_btn06on = new Image();   menu5_btn06on.src = myUrl+"img/common/menu5_btn62.gif";
		menu5_btn07on = new Image();   menu5_btn07on.src = myUrl+"img/common/menu5_btn72.gif";
		menu5_btn03on = new Image();   menu5_btn03on.src = myUrl+"img/common/menu5_btn32.gif";
		menu5_btn05on = new Image();   menu5_btn05on.src = myUrl+"img/common/menu5_btn52.gif";
		menu5_btn04on = new Image();   menu5_btn04on.src = myUrl+"img/common/menu5_btn42.gif";
		menu5_btn08on = new Image();   menu5_btn08on.src = myUrl+"img/common/menu5_btn82.gif";


		menu5_btn01off = new Image();   menu5_btn01off.src = myUrl+"img/common/menu5_btn11.gif";
		menu5_btn02off = new Image();   menu5_btn02off.src = myUrl+"img/common/menu5_btn21.gif";
		menu5_btn06off = new Image();   menu5_btn06off.src = myUrl+"img/common/menu5_btn61.gif";
		menu5_btn07off = new Image();   menu5_btn07off.src = myUrl+"img/common/menu5_btn71.gif";
		menu5_btn03off = new Image();   menu5_btn03off.src = myUrl+"img/common/menu5_btn31.gif";
　　　　　　　　　　　    menu5_btn05off = new Image();   menu5_btn05off.src = myUrl+"img/common/menu5_btn51.gif";
		menu5_btn04off = new Image();   menu5_btn04off.src = myUrl+"img/common/menu5_btn41.gif";
		menu5_btn08off = new Image();   menu5_btn08off.src = myUrl+"img/common/menu5_btn81.gif";

		menu6_btn01on = new Image();   menu6_btn01on.src = myUrl+"img/common/menu6_btn12.gif";
		menu6_btn02on = new Image();   menu6_btn02on.src = myUrl+"img/common/menu6_btn22.gif";
		menu6_btn03on = new Image();   menu6_btn03on.src = myUrl+"img/common/menu6_btn32.gif";

		menu6_btn01off = new Image();   menu6_btn01off.src = myUrl+"img/common/menu6_btn11.gif";
		menu6_btn02off = new Image();   menu6_btn02off.src = myUrl+"img/common/menu6_btn21.gif";
		menu6_btn03off = new Image();   menu6_btn03off.src = myUrl+"img/common/menu6_btn31.gif";
}

function imgOn(imgName) {
		if (document.images) {
				document[imgName].src = eval(imgName + "on.src");
		}
}

function imgOff(imgName) {
		if (document.images) {
				document[imgName].src = eval(imgName + "off.src");
		}
}
//-->



<!--//
//NN4用にResize時にReloadする

reloadCnt = 0;
function MyReload(){
	if(document.layers) {
		var appVer = navigator.appVersion;
		reloadCnt ++;
		if( appVer.indexOf("Macintosh") != -1	||
			appVer.indexOf("4.0") == -1			||
			( appVer.indexOf("4.0") != -1 && reloadCnt > 2 )
		) {
			reloadCnt = 0;
			location.reload();
		}
	}
}
//-->