function cwin(thePage){
var theLeft = (screen.availWidth-540)/2;
var theTop = (screen.availHeight-690)/2;
window.open(thePage,"centerwindow","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,left="+theLeft+",top="+theTop+",width=540,height=690");
}
//2011.04.25　Takashima修正
/*function cwin(thePage){
var theLeft = (screen.availWidth-540)/2;
var theTop = (screen.availHeight-640)/2;
window.open(thePage,"centerwindow","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,left="+theLeft+",top="+theTop+",width=540,height=640");
}*/

function mwin(thePage){
var theLeft = (screen.availWidth-680)/2;
var theTop = (screen.availHeight-360)/2;
window.open(thePage,"centerwindow","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,left="+theLeft+",top="+theTop+",width=680,height=360");
}

function mwin01(thePage){
var theLeft = (screen.availWidth-680)/2;
var theTop = (screen.availHeight-400)/2;
window.open(thePage,"centerwindow","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,left="+theLeft+",top="+theTop+",width=680,height=400");
}

function mwin02(thePage){
var theLeft = (screen.availWidth-680)/2;
var theTop = (screen.availHeight-380)/2;
window.open(thePage,"centerwindow","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,left="+theLeft+",top="+theTop+",width=680,height=380");
}

function mwin03(thePage){
var theLeft = (screen.availWidth-680)/2;
var theTop = (screen.availHeight-430)/2;
window.open(thePage,"centerwindow","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,left="+theLeft+",top="+theTop+",width=680,height=430");
}

function mwin04(thePage){
var theLeft = (screen.availWidth-680)/2;
var theTop = (screen.availHeight-430)/2;
window.open(thePage,"centerwindow","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,left="+theLeft+",top="+theTop+",width=680,height=430");
}

function mwin05(thePage){
var theLeft = (screen.availWidth-680)/2;
var theTop = (screen.availHeight-340)/2;
window.open(thePage,"centerwindow","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,left="+theLeft+",top="+theTop+",width=680,height=340");
}

function mwin06(thePage){
var theLeft = (screen.availWidth-680)/2;
var theTop = (screen.availHeight-410)/2;
window.open(thePage,"centerwindow","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,left="+theLeft+",top="+theTop+",width=680,height=410");
}

function mwin07(thePage){
var theLeft = (screen.availWidth-680)/2;
var theTop = (screen.availHeight-420)/2;
window.open(thePage,"centerwindow","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,left="+theLeft+",top="+theTop+",width=680,height=420");
}

function mwin08(thePage){
var theLeft = (screen.availWidth-680)/2;
var theTop = (screen.availHeight-420)/2;
window.open(thePage,"centerwindow","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,left="+theLeft+",top="+theTop+",width=680,height=420");
}

function mwin09(thePage){
var theLeft = (screen.availWidth-680)/2;
var theTop = (screen.availHeight-440)/2;
window.open(thePage,"centerwindow","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,left="+theLeft+",top="+theTop+",width=680,height=440");
}

//2011.05.25　Takashima追記　学費用Window
function gwin(thePage){
var theLeft = (screen.availWidth-700)/2;
var theTop = (screen.availHeight-800)/2;
window.open(thePage,"centerwindow","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,left="+theLeft+",top="+theTop+",width=700,height=800");
}

function OpenWin( sTRURL ){
var screen_width = screen.availWidth - 10;
var screen_height = screen.availHeight - 30;
sTRFeatures = "screenX=0,screenY=0,width=" + screen_width + ",height=" + screen_height +",";
sTRFeatures += "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes";
windowname=window.open( sTRURL, "", sTRFeatures );
windowname.focus();
}

function openWin2(url) {
return false;
}

var w = window;
function openWin2(url) {
w = open(url, "help", "width=540,height=630,menubar=no,resizable=yes,status=yes,scrollbars=yes");
return(false);
}

