///////////////////////////////////////////////////////////////　レイヤー系/////////////////////////////////////////////////////////////var onLayer;onLayer="no";flaVisi ="no";// ブラウザごとのレイヤー処理方法////////////////////////////////////////////if (NS4 || IE4) {	if (navigator.appName == "Netscape") {		layerStyleRef="layer.";		layerRef="document.layers";		styleSwitch="";	} else{		layerStyleRef="layer.style.";		layerRef="document.all";		styleSwitch=".style";	}}var contentsWidth=930;var scrX,scrY;function getLeftPoint(){	if(NS4){		scrX = innerWidth;		scrY = innerHeight;	} else {			scrX = document.body.clientWidth;		scrY = document.body.clientHeight;	}	if(scrX < 930 ){scrX =930;}	leftPoint = Math.floor((scrX/2)-(contentsWidth/2));	//alert(leftPoint);	if (NN6) {		document.getElementById("nvEx").style.left=492+leftPoint;		//document.getElementById("nvCl").style.left=549+leftPoint;		//document.getElementById("nvCm").style.left=641+leftPoint;	} else if (NS4 || IE4) {		eval(layerRef+'["nvEx"]'+styleSwitch+'.left='+(492+leftPoint));		//eval(layerRef+'["nvCl"]'+styleSwitch+'.left='+(549+leftPoint));		//eval(layerRef+'["nvCm"]'+styleSwitch+'.left='+(641+leftPoint));	}}getLeftPoint();// メニューを表示////////////////////////////////////////////function showLayer(layerName){	getLeftPoint();		if (NN6 || NS4 || IE4) {		if(onLayer!="no"){hideLayer(onLayer);}		if (NN6) {			document.getElementById(layerName).style.visibility="visible";			if(flaVisi == "on") {				document.getElementById("topFlash").style.visibility="hidden";			 	flaVisi="off";			 }		} 		/*		if (NS4) {			eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');			if(flaVisi == "on") {			alert("kiteru");				eval(layerRef+'["topFlash"]'+styleSwitch+'.visibility="hidden"');				flaVisi="off";			}		} 		*/		if (IE4) {			eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');			if(flaVisi == "on") {				eval(layerRef+'["topFlash"]'+styleSwitch+'.visibility="hidden"');				flaVisi="off";			}		} 		onLayer = layerName;	}}// メニュー非表示モジュール////////////////////////////////////////////function hideLayer(layerName){		if (NN6) {		document.getElementById(layerName).style.visibility="hidden";		if(flaVisi == "off") {		document.getElementById("topFlash").style.visibility="visible";		 flaVisi="on";		 }	////} else if (NS4 || IE4) {	} else if (IE4) {		eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');		if(flaVisi == "off") {		eval(layerRef+'["topFlash"]'+styleSwitch+'.visibility="visible"');		flaVisi="on";		}	}}function hiddenLayer(){		hideLayer("nvEx");	//hideLayer("nvCl");	//hideLayer("nvCm");	onLayer = "no";}