// +++++++++++++++++++++++++++++++++++
// window.open
// +++++++++++++++++++++++++++++++++++

function disp_head(url){ 
window.open(url, "head", "width=600,height=760,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes"); 
} 

function disp_news(url){ 
window.open(url, "head", "width=750,height=760,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes"); 
} 


function disp_chuou(url){ 
window.open(url, "chuou", "width=600,height=900,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes"); 
} 

function disp_kobe_plant(url){ 
window.open(url, "kobe_plant", "width=600,height=900,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes"); 
} 

function disp_urawa(url){ 
window.open(url, "urawa", "width=600,height=760,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes"); 
} 

function disp_tokyo(url){ 
window.open(url, "tokyo", "width=600,height=800,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes"); 
} 

function disp_tama(url){ 
window.open(url, "tama", "width=600,height=800,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes"); 
}

function disp_yokohama(url){ 
window.open(url, "yokohama", "width=600,height=800,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes"); 
} 

function disp_niigata(url){ 
window.open(url, "niigata", "width=600,height=760,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes"); 
} 

function disp_kanazawa(url){ 
window.open(url, "kanazawa", "width=600,height=850,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes"); 
} 

function disp_sendai(url){ 
window.open(url, "sendai", "width=600,height=800,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes"); 
} 

function disp_nagoya(url){ 
window.open(url, "nagoya", "width=600,height=760,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes"); 
} 

function disp_kyoto(url){ 
window.open(url, "kyoto", "width=600,height=760,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes"); 
} 

function disp_minami(url){ 
window.open(url, "minami", "width=600,height=800,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes"); 
} 

function disp_kobe(url){ 
window.open(url, "kobe", "width=600,height=760,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes"); 
} 

function disp_hiroshima(url){ 
window.open(url, "hiroshima", "width=600,height=760,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes"); 
} 

function disp_fukuoka(url){ 
window.open(url, "fukuoka", "width=600,height=760,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes"); 
} 

function disp_ec(url){ 
window.open(url, "ec", "width=800,height=800,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes,status=yes,location=yes,directories=yes"); 
} 

function disp_y_words(url){ 
window.open(url, "y_words", "width=600,height=820,menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes"); 
} 



strServerName = location.protocol + '//' + location.hostname;



///////// Roll Over Image ////////////
window.onload = preLoadImg;
var preLoadFlag = "false";

function preLoadImg(){
	arrImgList = new Array(
		"/misc/gn01_on.gif",
		"/misc/gn02_on.gif",
		"/misc/gn03_on.gif",
		"/misc/gn04_on.gif",
		"/misc/gn05_on.gif",
		"/misc/gn06_on.gif",
		"/misc/fn01_on.gif",
		"/misc/fn02_on.gif",
		"/misc/fn03_on.gif",
		"/misc/gn_sub01_on.gif",
		"/misc/gn_sub02_on.gif",
		"/misc/btn_pagetop_on.gif"
	);

	arrPreLoad = new Array();
	for (i in arrImgList) {
		arrPreLoad[i] = new Image();
		arrPreLoad[i].src = strServerName + arrImgList[i];
	}
	preLoadFlag = "true";
}

function chgImg(fileName,imgName){
	if (preLoadFlag == "true") {
		document.images[imgName].src = fileName;
	}
}

///////// Window Open ////////////
function openWindow(URL,Winname,intW,intH){
	if(navigator.appVersion.indexOf("Windows") > -1) intW = parseInt(intW) + 16;
	newwin = window.open(URL,Winname,"width="+intW+",height="+intH+",scrollbars=yes,resizable=yes,toolbar=yes,location=yes,directories=no,status=yes,menubar=yes");
	newwin.focus();
}



document.write("<div style=display:none><img src='"+strServerName+"/acc/acclog.cgi?");
document.write("referrer="+document.referrer+"&");
document.write("width="+screen.width+"&");
document.write("height="+screen.height+"&");
document.write("color="+screen.colorDepth+"'></div>");


