btnName=["news_top","back_number"];//関数function onloadHandler(e){	btnOver = new Array();	for(j=0;j<2;j++){		//ボタンをプリロード		btnOver[j]= new Image();		btnOver[j].src = "img/"+btnName[j]+"_over.gif";	}	for(i=1;i<document.images.length;i++){		//ボタンの数だけハンドラを作る		document.images[i].onmouseover=onmouseoverHandler;		document.images[i].onmouseout=onmouseoutHandler;		document.images[i].onmouseup=onmouseupHandler;	}}function onmouseoverHandler(e){	document.body.style.cursor="hand"	if(e){//W3Cモデル		theTarget=e.target;	}else if(event){//IEモデル		theTarget=event.srcElement;	}	theTarget.src="img/"+theTarget.id+"_over.gif";	return true;}function onmouseoutHandler(e){	document.body.style.cursor="auto"	if(e){//W3Cモデル		theTarget=e.target;	}else if(event){//IEモデル		theTarget=event.srcElement;	}	theTarget.src="img/"+theTarget.id+".gif";	return true;}function onmouseupHandler(e){	if(e){//W3Cモデル		theTarget=e.target;	}else if(event){//IEモデル		theTarget=event.srcElement;	}	if(theTarget.id=="news_top"){		parent.contents.location.href="../contents/news.html"		parent.submenus.location.href="news_menu.html"	}else if(theTarget.id=="back_number"){		parent.contents.location.href="../contents/news_back_num.html"		parent.submenus.location.href="news_back_num_menu.html"	}}//実行window.onload=onloadHandler;