

/* ------------------------------------------------------
FORM Window Open
--------------------------------------------------------*/
// window.onresize=rez;
// function rez(theEvent){location.reload();}

function stWin(page){
	sub1=window.open(page,"sub_window","resizable=yes,menubar=no,directories=no,scrollbars=yes,status=no,location=no,width=600,height=550");
	window.sub1.focus();
}

function suntoryWin(page){
	sub1=window.open(page,"sub_window","resizable=yes,menubar=no,directories=no,scrollbars=yes,status=no,location=no,width=600,height=680");
	window.sub1.focus();
}

function bbsWin(page){
	sub1=window.open(page,"sub_window","resizable=yes,menubar=no,directories=no,scrollbars=yes,status=no,location=no,width=680,height=600");
	window.sub1.focus();
}

function updataWin(page){
	sub1=window.open(page,"sub_window","resizable=yes,menubar=no,directories=no,scrollbars=yes,status=no,location=no,width=270,height=300");
	window.sub1.focus();
}

function openPop(wURL, wName, W, H, status, resizable, scrollbars, location, directories, toolbar, menubar) {
	app = navigator.appName.toUpperCase();
	agent = navigator.userAgent.toUpperCase();
	if (scrollbars) {
		if ((agent.indexOf('WIN') != -1) || ((app.indexOf('NETSCAPE') != -1) && (agent.indexOf('MAC') != -1))) {
			W += 16;
			H += 16;
		}
	}

	L=Math.round((screen.width-W)/2);
	T=Math.round((screen.height-H)/2)-30;

	Property = "left=" + L;
	Property += ",top=" + T;
	Property += ",width=" + W;
	Property += ",height=" + H;
	Property += ",status=" + status;
	Property += ",resizable=" + resizable;
	Property += ",scrollbars=" + scrollbars;
	Property += ",location=" + location;
	Property += ",directories=" + directories;
	Property += ",toolbar=" + toolbar;
	Property += ",menubar=" + menubar;

	eval(wName + "=window.open('" + wURL + "','" + wName + "','" + Property + "')");
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
// -->


