// 画像の変更

	function ctlGif(upgif){
		if (upgif=="Shiro Yabushita"){
			document.face.src="face/01.jpg";
			parent.note.location.href="txt/p01.html";
		}

		if (upgif=="Kazuharu Kiyono"){
			document.face.src="face/02.jpg";
			parent.note.location.href="txt/p02.html";
		}

		if (upgif=="Hideko Magara"){
			document.face.src="face/03.jpg";
			parent.note.location.href="txt/p03.html";
		}

		if (upgif=="Hiroya Akiba"){
			document.face.src="face/04.jpg";
			parent.note.location.href="txt/p04.html";
		}

		if (upgif=="Kouji Fukuda"){
			document.face.src="face/05.jpg";
			parent.note.location.href="txt/p05.html";
		}

		if (upgif=="Masahiko Gemma"){
			document.face.src="face/06.jpg";
			parent.note.location.href="txt/p06.html";
		}

		if (upgif=="Takayuki Ito"){
			document.face.src="face/07.jpg";
			parent.note.location.href="txt/p07.html";
		}

		if (upgif=="Yasunori Ishii"){
			document.face.src="face/08.jpg";
			parent.note.location.href="txt/p08.html";
		}

		if (upgif=="Akira Sadahiro"){
			document.face.src="face/09.jpg";
			parent.note.location.href="txt/p09.html";
		}

		if (upgif=="Atsuko Ueda"){
			document.face.src="face/10.jpg";
			parent.note.location.href="txt/p10.html";
		}

		if (upgif=="Yukihiko Funaki"){
			document.face.src="face/11.jpg";
			parent.note.location.href="txt/p11.html";
		}

		if (upgif=="Aiji Tanaka"){
			document.face.src="face/12.jpg";
			parent.note.location.href="txt/p12.html";
		}

		if (upgif=="Shinichi Hirota"){
			document.face.src="face/13.jpg";
			parent.note.location.href="txt/p13.html";
		}

		if (upgif=="Fumihiko Hiruma"){
			document.face.src="face/14.jpg";
			parent.note.location.href="txt/p14.html";
		}

		if (upgif=="Masaru Kohno"){
			document.face.src="face/15.jpg";
			parent.note.location.href="txt/p15.html";
		}

		if (upgif=="Ikuo Kume"){
			document.face.src="face/16.jpg";
			parent.note.location.href="txt/p16.html";
		}

		if (upgif=="Tomonori Morikawa"){
			document.face.src="face/17.jpg";
			parent.note.location.href="txt/p17.html";
		}

		if (upgif=="Manabu Toda"){
			document.face.src="face/18.jpg";
			parent.note.location.href="txt/p18.html";
		}

		if (upgif=="Shozo Iijima"){
			document.face.src="face/19.jpg";
			parent.note.location.href="txt/p19.html";
		}

		if (upgif=="Koichi Suga"){
			document.face.src="face/20.jpg";
			parent.note.location.href="txt/p20.html";
		}

		if (upgif=="Norikazu Kawagishi"){
			document.face.src="face/21.jpg";
			parent.note.location.href="txt/p21.html";
		}

		if (upgif=="Hiroshi Nishihara"){
			document.face.src="face/22.jpg";
			parent.note.location.href="txt/p22.html";
		}

		if (upgif=="Kazumi Shimizu"){
			document.face.src="face/23.jpg";
			parent.note.location.href="txt/p23.html";
		}

		if (upgif=="Naoyuki Umemori"){
			document.face.src="face/24.jpg";
			parent.note.location.href="txt/p24.html";
		}
	}





// 右クリック禁止
 var meg="Copyright Waseda University, 21COE";
function Mclick(migi) {
if (document.layers || (document.getElementById && !document.all)) {
if(migi.which==2 || migi.which==3) {
alert(meg);
return false;
}
}
}

function Husei() {
if (document.all) {
alert(meg);
return false;
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=Mclick;
}else{
document.onmouseup=Mclick;
document.oncontextmenu=Husei;
}



// マウスカーソルが乗った時のアクション
function buttonOn(buttonName,buttonPosition){
	if (document.images){
		document[buttonPosition].src = eval(buttonName + "On.src");
		}
	}

// マウスカーソルが乗ってない時のアクション
function buttonOff(buttonName,buttonPosition){
	if (document.images){
		document[buttonPosition].src = eval(buttonName + "Off.src");
		}
	}

m1Off = new Image(); // ＧＬＯＰＥについて
m1Off.src = "../image/menu/m1.gif";
m2Off = new Image(); // シンポジウム
m2Off.src = "../image/menu/m2.gif";
m3Off = new Image(); // ワークショップ
m3Off.src = "../image/menu/m3.gif";
m4Off = new Image(); // 連続講義
m4Off.src = "../image/menu/m4.gif";
m5Off = new Image(); // 若手セミナー
m5Off.src = "../image/menu/m5.gif";
m6Off = new Image(); // 研究者紹介
m6Off.src = "../image/menu/m6.gif";
m7Off = new Image(); // 支援プログラム
m7Off.src = "../image/menu/m7.gif";
m8Off = new Image(); // リンク
m8Off.src = "../image/menu/m8.gif";
m9Off = new Image(); // サイトマップ
m9Off.src = "../image/menu/m9.gif";
m10Off = new Image(); // お問い合わせ
m10Off.src = "../image/menu/m10.gif";


m1On = new Image(); // ＧＬＯＰＥについて
m1On.src = "../image/menu/m1_2.gif";
m2On = new Image(); // シンポジウム
m2On.src = "../image/menu/m2_2.gif";
m3On = new Image(); // ワークショップ
m3On.src = "../image/menu/m3_2.gif";
m4On = new Image(); // 連続講義
m4On.src = "../image/menu/m4_2.gif";
m5On = new Image(); // 若手セミナー
m5On.src = "../image/menu/m5_2.gif";
m6On = new Image(); // 研究者紹介
m6On.src = "../image/menu/m6_2.gif";
m7On = new Image(); // 支援プログラム
m7On.src = "../image/menu/m7_2.gif";
m8On = new Image(); // リンク
m8On.src = "../image/menu/m8_2.gif";
m9On = new Image(); // サイトマップ
m9On.src = "../image/menu/m9_2.gif";
m10On = new Image(); // お問い合わせ
m10On.src = "../image/menu/m10_2.gif";
