
//マウスのアウト／オーバーによる画像の切り替え
//[メインメニュー・ブックマーク]に使用中

//イメージデータの格納、初期化
allimg = "../commonimg/mmenu-01a.gif,../commonimg/mmenu-01b.gif,../commonimg/mmenu-02a.gif,../commonimg/mmenu-02b.gif,../commonimg/mmenu-03a.gif,../commonimg/mmenu-03b.gif,../commonimg/mmenu-04a.gif,../commonimg/mmenu-04b.gif,../commonimg/mmenu-05a.gif,../commonimg/mmenu-05b.gif,../commonimg/mmenu-06a.gif,../commonimg/mmenu-06b.gif,../commonimg/mmenu-07a.gif,../commonimg/mmenu-07b.gif,../commonimg/mmenu-08a.gif,../commonimg/mmenu-08b.gif,../commonimg/mmenu-09a.gif,../commonimg/mmenu-09b.gif,../commonimg/mmenu-10a.gif,../commonimg/mmenu-10b.gif,../commonimg/mmenu-11a.gif,../commonimg/mmenu-11b.gif,../commonimg/mmenu-12a.gif,../commonimg/mmenu-12b.gif,../commonimg/mmenu-13a.gif,../commonimg/mmenu-13b.gif,../commonimg/mmenu-14a.gif,../commonimg/mmenu-14b.gif,img/b-juutaku-a.gif,img/b-juutaku-b.gif,img/b-taishin-a.gif,img/b-taishin-b.gif";
arrimg = allimg.split(",");
btnimg = new Array();

//配列にイメージオブジェクトの格納とプリダウンロード
for(var cnt=0;cnt<arrimg.length;cnt++){
	if(arrimg[cnt]!=""){
		btnimg[arrimg[cnt]] = new Image();
		btnimg[arrimg[cnt]].src = arrimg[cnt];
	}
}

//画像変換サブルーチン
function Change(id,imgName){
	document.images[id].src=btnimg[imgName].src;
	}


//--------------------------------------------------

//別ウィンドウ表示（information含）

//中部電力 『ソリューション・セミナー』開催のご案内（スケジュール用）
function Information060928a(){
	window.open("../support-members/info-060928.html","win060928",",scrollbars=yes,width=750,height=450");
	}
//中部電力 『ソリューション・セミナー』開催のご案内
function Information060928b(){
	window.open("info-060928.html","win060928",",scrollbars=yes,width=750,height=450");
	}
//中部電力梶@長野支店営業部法人営業グループ主催　『建築環境・省エネルギーセミナー』開催のご案内
function Information060302b(){
	window.open("info-060302.html","win060302",",scrollbars=yes,width=750,height=450");
	}
//『相談窓口開設』〜構造計算書偽造問題の対応について〜
function Information051201(){
	window.open("../information/soudan-051201.html","win051501","scrollbars=yes,menubar=yes,width=750,height=450");
	}
function Hiraku(addr){
	window.open(addr,"","scrollbars=yes,resizable=no,width=670px,height=450px");
	}
function Information050521a(){
	window.open("event-info/050521-a.html","win005","resixable=no,scrollbars=yes,width=730,height=500");
	}
function Information0500915a(){
	window.open("../support-members/info-050915a.html","win001",",scrollbars=yes,width=750,height=450");
	}
function Information0500915b(){
	window.open("info-050915a.html","win001",",scrollbars=yes,width=750,height=450");
	}
function Information05102930(){
	window.open("../information/info-05102930.html","win001",",scrollbars=yes,width=750,height=450");
	}


//--------------------------------------------------

//別ウィンドウを閉じる
function Close(){
	window.close();
	}


//--------------------------------------------------

//今日の月日と曜日の表示（月別年間スケジュール表用）
var y, m, d, w;
weeks = new Array("日","月","火","水","木","金","土");
today = new Date();
y = today.getFullYear();
m = today.getMonth() + 1;
d = today.getDate();
w = weeks[today.getDay()];


//--------------------------------------------------

//当月のスケジュールを表示する（20年度仕様）
function Tomonth(){
	var today;
	var tsuki;

//Javaのチェック
	if(navigator.javaEnabled() == false)
		this.window.location = "index-21-04.html";
	else
		today = new Date();

//当月のスケジュールを表示する
		switch(today.getMonth()){
		case 0:
			this.window.location = "../schedule/index-23-01.html";
			break;
		case 1:
			this.window.location = "../schedule/index-23-02.html";
			break;
		case 2:
			this.window.location = "../schedule/index-23-03.html";
			break;
		case 3:
			this.window.location = "../schedule/index-23-04.html";
			break;
		case 4:
			this.window.location = "../schedule/index-23-05.html";
			break;
		case 5:
			this.window.location = "../schedule/index-23-06.html";
			break;
		case 6:
			this.window.location = "../schedule/index-23-07.html";
			break;
		case 7:
			this.window.location = "../schedule/index-23-08.html";
			break;
		case 8:
			this.window.location = "../schedule/index-23-09.html";
			break;
		case 9:
			this.window.location = "../schedule/index-23-10.html";
			break;
		case 10:
			this.window.location = "../schedule/index-23-11.html";
			break;
		case 11:
			this.window.location = "../schedule/index-23-12.html";
			break;
		default:
			void(0);
		}
	}
