
<!--// written by Klokie Grossfeld  klokie@surface2air.com

// This script centers a popup window within a user's screen (not browser)
// Modify width and height properties as you will.  

IE=(navigator.appName=="Microsoft Internet Explorer");
NS=(navigator.appName=="Netscape");
bVer=parseInt(navigator.appVersion);

function spapopup(htmlURL) {
	 _params = "width=500,height=420,resizable=yes,scrollbars=yes,toolbar=no";
	
	if (bVer >= 4) {
		 _left = ( (screen.width-500) >>1 );
		 _top = ( (screen.height-420) >>1 );
	} else {
		 _top=60, _left=70;
	}
	if (IE) _params += ",top=" + _top + ",left=" + _left;
	else if (NS) _params += ",screenX=" + _left + ",screenY=" + _top;

	newWin = null;
	newWin = window.open(htmlURL,"spapopup", _params);
	if (newWin.opener==null) newWin.opener=window;
}
//-->

