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)-15;

	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 + "')");
}
