//
function chviWin(){
remote = window.open("chvi/index.html","Ch_Vi","width=810,height=580,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,zoombox=no")
if (remote.opener == null) remote.opener = window; 
remote.opener.name = "opener";
}
//画面センターに表示
function centerWin(page, name, w, h, scroll,menubar,status,resizable) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
windowprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',menubar='+menubar+',status='+status+',resizable='+resizable+''
win = window.open(page, name, windowprops)
if (parseInt(navigator.appVersion) >= 4) {
win.window.focus();
}
}

//
function mobileWin(){
var win=centerWin("mobile.html","form",400,280,"yes","no","yes","yes")
}

//
function newopen(url) {
if (url) {
openwin = window.open(url);
openwin.focus();
}
}

