var ver=null
var pageSize=null
var pageName=null

bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
	if      (bName == "Netscape" && bVer >= 3) ver = "n3";
	else if (bName == "Netscape" && bVer < 3) ver = "n2";
	else if (bName == "Microsoft Internet Explorer" && bVer == 3) ver = "e3";

function openPage(pageName,pageSize) {
	remoteWin = window.open("",pageName,pageSize);
	if (ver == "n3" && remoteWin != "") remoteWin.focus()
	}



function openWindow(winURL, winName, width, height) {
xPos = (screen.width - width) / 2;
yPos = (screen.height - height) / 2;

winParams = "width=" + width + "," + "height=" + height + "," + "status=0," + "hotkeys=0," + 
"screenx=" + xPos + "," + "screeny=" + yPos + "," + "left=" + xPos + "," + "top=" + yPos;

var newWindow = window.open(winURL ,winName, winParams);
newWindow.focus();
}
