
//************************************************************//
//MouseOver//
//************************************************************//
function MouseOver(TargetImage,ImageName){
	document.images[TargetImage].src=ImageName;
	document.body.style.cursor='hand';
}

//************************************************************//
//MouseOut//
//************************************************************//
function MouseOut(TargetImage,ImageName){
	document.images[TargetImage].src=ImageName;
	document.body.style.cursor='default';
}
//************************************************************//
//scrollMsg//
//************************************************************//
var msg = "　　　　" + 
			"環境放射線等モニタリングデータ公開システム/テスト公開中…" +
			"　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　";
var delay = 400; //  ここの数字を変えることによって表示速度を調整します
var timerId;
var inzfg = 0;
function scrollMsg() {
	document.form.scrolltext.value = msg;
	msg = msg.substring (1, msg.length) + msg.substring (0, 1);
	if(inzfg == 1) {
		alert("!");
		inzfg = 1;
		clearTimeout(timerId);
	}
	timerId = setTimeout("scrollMsg()", delay);
}

//************************************************************//
//changeContents(menu⇒)//
// 011	利尻
// 031	竜飛岬
// 081	筑波
// 151	佐渡関
// 181	越前岬
// 211	伊自良湖
// 321	隠岐
// 322	蟠竜湖
// 391	梼原
// 421	対馬
// 422	五島
// 471	辺戸岬
//************************************************************//
function changeContents(c) {
	switch (c) {
	case 0:
		parent.menu.location="000_menu.html";
		parent.menu2.location="000/000_Map_menu.html";
		parent.main.location="000/Map/000_Map_01.html";
		break;
	case 1:
		parent.menu.location="011_menu.html";
		parent.menu2.location="011/011_AL_01d_menu.html";
		parent.main.location="011/AL_01d/011_AL_01d_01.html";
		break;
	case 2:
		parent.menu.location="031_menu.html";
		parent.menu2.location="031/031_AL_01d_menu.html";
		parent.main.location="031/AL_01d/031_AL_01d_01.html";
		break;
	case 3:
		parent.menu.location="081_menu.html";
		parent.menu2.location="081/081_AL_01d_menu.html";
		parent.main.location="081/AL_01d/081_AL_01d_01.html";
		break;
	case 4:
		parent.menu.location="151_menu.html";
		parent.menu2.location="151/151_AL_01d_menu.html";
		parent.main.location="151/AL_01d/151_AL_01d_01.html";
		break;
	case 5:
		parent.menu.location="181_menu.html";
		parent.menu2.location="181/181_AL_01d_menu.html";
		parent.main.location="181/AL_01d/181_AL_01d_01.html";
		break;
	case 6:
		parent.menu.location="211_menu.html";
		parent.menu2.location="211/211_AL_01d_menu.html";
		parent.main.location="211/AL_01d/211_AL_01d_01.html";
		break;
	case 7:
		parent.menu.location="321_menu.html";
		parent.menu2.location="321/321_AL_01d_menu.html";
		parent.main.location="321/AL_01d/321_AL_01d_01.html";
		break;
	case 8:
		parent.menu.location="322_menu.html";
		parent.menu2.location="322/322_AL_01d_menu.html";
		parent.main.location="322/AL_01d/322_AL_01d_01.html";
		break;
	case 9:
		parent.menu.location="391_menu.html";
		parent.menu2.location="391/391_AL_01d_menu.html";
		parent.main.location="391/AL_01d/391_AL_01d_01.html";
		break;
	case 10:
		parent.menu.location="421_menu.html";
		parent.menu2.location="421/421_AL_01d_menu.html";
		parent.main.location="421/AL_01d/421_AL_01d_01.html";
		break;
	case 11:
		parent.menu.location="422_menu.html";
		parent.menu2.location="422/422_AL_01d_menu.html";
		parent.main.location="422/AL_01d/422_AL_01d_01.html";
		break;
	case 12:
		parent.menu.location="471_menu.html";
		parent.menu2.location="471/471_AL_01d_menu.html";
		parent.main.location="471/AL_01d/471_AL_01d_01.html";
		break;
	//確定値をみる
	case 100:
		parent.menu.location="000_kaku.html";
		parent.menu2.location="000/000_Map_menu.html";
		parent.main.location="000/Map/000_Map_01.html";
		break;
	case 101:
		parent.menu.location="011_kaku.html";
		parent.menu2.location="011/011_AL_01s_menu.html";
		parent.main.location="011/AL_01s/011_AL_01s_00.html";
		break;
	case 102:
		parent.menu.location="031_kaku.html";
		parent.menu2.location="031/031_AL_01s_menu.html";
		parent.main.location="031/AL_01s/031_AL_01s_00.html";
		break;
	case 103:
		parent.menu.location="081_kaku.html";
		parent.menu2.location="081/081_AL_01s_menu.html";
		parent.main.location="081/AL_01s/081_AL_01s_00.html";
		break;
	case 104:
		parent.menu.location="151_kaku.html";
		parent.menu2.location="151/151_AL_01s_menu.html";
		parent.main.location="151/AL_01s/151_AL_01s_00.html";
		break;
	case 105:
		parent.menu.location="181_kaku.html";
		parent.menu2.location="181/181_AL_01s_menu.html";
		parent.main.location="181/AL_01s/181_AL_01s_00.html";
		break;
	case 106:
		parent.menu.location="211_kaku.html";
		parent.menu2.location="211/211_AL_01s_menu.html";
		parent.main.location="211/AL_01s/211_AL_01s_00.html";
		break;
	case 107:
		parent.menu.location="321_kaku.html";
		parent.menu2.location="321/321_AL_01s_menu.html";
		parent.main.location="321/AL_01s/321_AL_01s_00.html";
		break;
	case 108:
		parent.menu.location="322_kaku.html";
		parent.menu2.location="322/322_AL_01s_menu.html";
		parent.main.location="322/AL_01s/322_AL_01s_00.html";
		break;
	case 109:
		parent.menu.location="391_kaku.html";
		parent.menu2.location="391/391_AL_01s_menu.html";
		parent.main.location="391/AL_01s/391_AL_01s_00.html";
		break;
	case 110:
		parent.menu.location="421_kaku.html";
		parent.menu2.location="421/421_AL_01s_menu.html";
		parent.main.location="421/AL_01s/421_AL_01s_00.html";
		break;
	case 111:
		parent.menu.location="422_kaku.html";
		parent.menu2.location="422/422_AL_01s_menu.html";
		parent.main.location="422/AL_01s/422_AL_01s_00.html";
		break;
	case 112:
		parent.menu.location="471_kaku.html";
		parent.menu2.location="471/471_AL_01s_menu.html";
		parent.main.location="471/AL_01s/471_AL_01s_00.html";
		break;
	//測定項目について
	case 200:
                window.open("sokutei_komoku.html", "_top");
		break;
	//公開資料
	case 400:
		window.open("open_reports.html", "_top");
		break;
	//関連リンク
	case 500:
		window.open("http://www.kankyo-hoshano.go.jp/03/03.html", "win_a500");
		break;
	//お問合せ
	case 600:
		window.open("mailto:KANRI-KANKYO@env.go.jp");
		break;
	//このシステムについて
	case 700:
		window.open("about_homepage.html", "_top");
		break;
	//放射線等モニタリング調査とは
	case 701:
		window.open("about_monitoring.html", "_top");
		break;
	//CSVファイル名について(Daylist)
	case 800:
		window.open("../../csv_daylist.html","win_csv0","width=450,height=280,top=20,left=20,scrollbars=yes");
		break;
	//CSVファイル名について(速報値)
	case 801:
		window.open("../../csv_sokuhou.html","win_csv1","width=500,height=400,top=40,left=40,scrollbars=yes");
		break;
	//CSVファイル名について(確定値)
	case 802:
		window.open("../../csv_kakutei.html","win_csv2","width=450,height=420,top=60,left=60,scrollbars=yes");
		break;
	//確定値として提供する項目について 
	case 803:
		window.open("../../about_kakutei.html", "_top");
		break;
	//環境省
	case 900:
		window.open("http://www.env.go.jp/", "_top");
		break;
	case 99:
		parent.menu.location="top_menu.html";
		parent.menu2.location="000/000_Map_menu.html";
		parent.main.location="000/Map/000_Map_01.html";
		break;
	case 1000:
		parent.menu.location="../../000_menu.html";
		parent.menu2.location="../../000/000_Map_menu.html";
		parent.main.location="../../000/Map/000_Map_01.html";
		break;
	case 1011:
		parent.menu.location="../../011_menu.html";
		parent.menu2.location="../../011/011_AL_01d_menu.html";
		parent.main.location="../../011/AL_01d/011_AL_01d_01.html";
		break;
	case 1031:
		parent.menu.location="../../031_menu.html";
		parent.menu2.location="../../031/031_AL_01d_menu.html";
		parent.main.location="../../031/AL_01d/031_AL_01d_01.html";
		break;
	case 1081:
		parent.menu.location="../../081_menu.html";
		parent.menu2.location="../../081/081_AL_01d_menu.html";
		parent.main.location="../../081/AL_01d/081_AL_01d_01.html";
		break;
	case 1151:
		parent.menu.location="../../151_menu.html";
		parent.menu2.location="../../151/151_AL_01d_menu.html";
		parent.main.location="../../151/AL_01d/151_AL_01d_01.html";
		break;
	case 1181:
		parent.menu.location="../../181_menu.html";
		parent.menu2.location="../../181/181_AL_01d_menu.html";
		parent.main.location="../../181/AL_01d/181_AL_01d_01.html";
		break;
	case 1211:
		parent.menu.location="../../211_menu.html";
		parent.menu2.location="../../211/211_AL_01d_menu.html";
		parent.main.location="../../211/AL_01d/211_AL_01d_01.html";
		break;
	case 1321:
		parent.menu.location="../../321_menu.html";
		parent.menu2.location="../../321/321_AL_01d_menu.html";
		parent.main.location="../../321/AL_01d/321_AL_01d_01.html";
		break;
	case 1322:
		parent.menu.location="../../322_menu.html";
		parent.menu2.location="../../322/322_AL_01d_menu.html";
		parent.main.location="../../322/AL_01d/322_AL_01d_01.html";
		break;
	case 1391:
		parent.menu.location="../../391_menu.html";
		parent.menu2.location="../../391/391_AL_01d_menu.html";
		parent.main.location="../../391/AL_01d/391_AL_01d_01.html";
		break;
	case 1421:
		parent.menu.location="../../421_menu.html";
		parent.menu2.location="../../421/421_AL_01d_menu.html";
		parent.main.location="../../421/AL_01d/421_AL_01d_01.html";
		break;
	case 1422:
		parent.menu.location="../../422_menu.html";
		parent.menu2.location="../../422/422_AL_01d_menu.html";
		parent.main.location="../../422/AL_01d/422_AL_01d_01.html";
		break;
	case 1471:
		parent.menu.location="../../471_menu.html";
		parent.menu2.location="../../471/471_AL_01d_menu.html";
		parent.main.location="../../471/AL_01d/471_AL_01d_01.html";
		break;
	}
	return;
}
//************************************************************//
//changeContents2(menu2⇒)//
//************************************************************//
function changeContents_000(c) {
	switch (c) {
	case 0:
		parent.menu2.location="000_Map_menu.html";
		parent.main.location="Map/000_Map_01.html";
		break;
	case 1:
		parent.menu2.location="000_Map_menu_2.html";
		parent.main.location="Map/000_Map_01.html";
		break;
	case 2:
		parent.menu2.location="000_Map_menu.html";
		parent.main.location="Map/000_Map_01.html";
		break;
	case 3:
		parent.menu2.location="000_DayList_menu.html";
		parent.main.location="DayList/000_DayList_01.html";
		break;
	case 4:
		parent.menu2.location="000_YearList_menu.html";
		parent.main.location="YearList/000_YearList_01.html";
		break;
	}
	return;
}
//************************************************************//
//changeContents2(menu2⇒)<各局>//
//************************************************************//
function changeContents_999(cd,c) {
	var strTmp_menu2
	var strTmp_main
	switch (c) {
	case 1:

		strTmp_menu2= cd + "_AL_01d_menu.html";
		strTmp_main="AL_01d/" + cd + "_AL_01d_01.html";
		break;
	case 2:
		strTmp_menu2= cd + "_GN_01h_menu.html";
		strTmp_main="GN_01h/" + cd + "_GN_01h_01.html";
		break;
	case 3:
		strTmp_menu2= cd + "_GN_10m_menu.html";
		strTmp_main="GN_10m/" + cd + "_GN_10m_01.html";
		break;
	case 4:
		strTmp_menu2= cd + "_GN_02m_menu.html";
		strTmp_main="GN_02m/" + cd + "_GN_02m_01_01.html";
		break;
	case 5:
		strTmp_menu2= cd + "_AB_06h_menu.html";
		strTmp_main="AB_06h/" + cd + "_AB_06h_01.html";
		break;
	case 6:
		strTmp_menu2= cd + "_AB_01h_menu.html";
		strTmp_main="AB_01h/" + cd + "_AB_01h_01.html";
		break;
	case 7:
		strTmp_menu2= cd + "_AB_10m_menu.html";
		strTmp_main="AB_10m/" + cd + "_AB_10m_01.html";
		break;
	case 11:
		strTmp_menu2= cd + "_G_GN_01h_menu.html";
		strTmp_main="../graph/" + cd + "_G_GN_01h.html";
		break;
	case 12:
		strTmp_menu2= cd + "_G_GN_10m_menu.html";
		strTmp_main="../graph/" + cd + "_G_GN_10m.html";
		break;
	case 13:
		strTmp_menu2= cd + "_G_GN_02m_menu.html";
		strTmp_main="../graph/" + cd + "_G_GN_02m.html";
		break;
	case 21:
		strTmp_menu2= cd + "_G_AB_06h_menu.html";
		strTmp_main="../graph/" + cd + "_G_AB_06h.html";
		break;
	case 22:
		strTmp_menu2= cd + "_G_AB_01h_menu.html";
		strTmp_main="../graph/" + cd + "_G_AB_01h.html";
		break;
	case 23:
		strTmp_menu2= cd + "_G_AB_10m_menu.html";
		strTmp_main="../graph/" + cd + "_G_AB_10m.html";
		break;
	case 101:
		strTmp_menu2= cd + "_AL_01s_menu.html";
		strTmp_main="AL_01s/" + cd + "_AL_01s_00.html";
		break;
	case 102:
		strTmp_menu2= cd + "_GN_01s_menu.html";
		strTmp_main="GN_01s/" + cd + "_GN_01s_00.html";
		break;
	case 105:
		strTmp_menu2= cd + "_AB_01s_menu.html";
		strTmp_main="AB_01s/" + cd + "_AB_01s_00.html";
		break;
	}
	parent.menu2.location = strTmp_menu2;
	parent.main.location = strTmp_main;
	return;
}
//************************************************************//
//ドロップダウンリスト選択処理(全局)//
//************************************************************//
function moveday_000_Map(d) {
	var strTmp_Map="Map/000_Map_" + d + ".html";
	parent.main.location=strTmp_Map;
	return;
}
function moveday_000_DayList(d) {
	var strTmp_DayList="DayList/000_DayList_" + d + ".html";
	parent.main.location=strTmp_DayList;
	return;
}
function moveday_000_YearList(d) {
	var strTmp_YearList="YearList/000_YearList_" + d + ".html";
	parent.main.location=strTmp_YearList;
	return;
}
function moveyear_000_YearList(d) {
	var strTmp_YearList="000_YearList_" + d + ".html";
	parent.main.location=strTmp_YearList;
	return;
}
//************************************************************//
//ドロップダウンリスト選択処理(各局)//
//************************************************************//
function moveday_AL_01d(cd,d) {
	var strTmp_al01d="AL_01d/" + cd + "_AL_01d_" + d + ".html";
	parent.main.location=strTmp_al01d;
	return;
}
function moveday_GN_01h(cd,d) {
	var strTmp_gn01h="GN_01h/" + cd + "_GN_01h_" + d + ".html";
	parent.main.location=strTmp_gn01h;
	return;
}
function moveday_GN_10m(cd,d) {
	var strTmp_gn10m="GN_10m/" + cd + "_GN_10m_" + d + ".html";
	parent.main.location=strTmp_gn10m;
	return;
}
function moveday_GN_02m(cd,d,h) {
	var strTmp_gn02m="GN_02m/" + cd + "_GN_02m_" + d + "_" + h + ".html";
	parent.main.location=strTmp_gn02m;
	return;
}
function moveday_AB_06h(cd,d) {
	var strTmp_ab06h="AB_06h/" + cd + "_AB_06h_" + d + ".html";
	parent.main.location=strTmp_ab06h;
	return;
}
function moveday_AB_01h(cd,d) {
	var strTmp_ab01h="AB_01h/" + cd + "_AB_01h_" + d + ".html";
	parent.main.location=strTmp_ab01h;
	return;
}
function moveday_AB_10m(cd,d) {
	var strTmp_ab10m="AB_10m/" + cd + "_AB_10m_" + d + ".html";
	parent.main.location=strTmp_ab10m;
	return;
}
function moveday_G_GN_10m(cd,d) {
	var strTmp_ggn10m="G_GN_10m/" + cd + "_G_GN_10m_" + d + ".html";
	parent.main.location=strTmp_ggn10m;
	return;
}
function moveday_G_GN_02m(cd,d,h) {
	var strTmp_ggn02m="G_GN_02m/" + cd + "_G_GN_02m_" + d + "_" + h + ".html";
	parent.main.location=strTmp_ggn02m;
	return;
}
function moveday_G_AB_10m(cd,d) {
	var strTmp_gab10m="G_AB_10m/" + cd + "_G_AB_10m_" + d + ".html";
	parent.main.location=strTmp_ggn10m;
	return;
}
function moveyear_AL_01s(cd,y) {
	var strTmp_gn01s="AL_01s/" + cd + "_AL_01s_" + y + ".html";
	parent.main.location=strTmp_gn01s;
	return;
}
function moveyear_GN_01s(cd,y) {
	var strTmp_gn01s="GN_01s/" + cd + "_GN_01s_" + y + ".html";
	parent.main.location=strTmp_gn01s;
	return;
}
function moveyear_AB_01s(cd,y) {
	var strTmp_ab01s="AB_01s/" + cd + "_AB_01s_" + y + ".html";
	parent.main.location=strTmp_ab01s;
	return;
}
function changeContents_Mode2(c) {
	switch (c) {
	case 1:
		parent.main.location="Map/000_Map_01_test.html";
		break;
	}
	return;
}
//-->

