<!-- -------------This adjusts width & height of new windows for IE-->
{	if (navigator.appName == 'Netscape')
	{
		adjWidth =  0;
		adjHeight = 0;
	}
	else
	{ //if MIE: add necessary px
		adjWidth =  0;
		adjHeight =  -19;
	}
}
<!-- -------------This adjusts width & height of new windows for IE-->
<!-- -------------This will open a new window and center it on the screen-->
var newWindow = null;
function openNewWindow(url,name,w,h)
	{
var neww = (adjWidth - (-w));
var newh = (adjHeight - (-h));
var winl = (screen.availWidth - neww) / 2;
var wint = ((screen.availHeight - newh) - 80) / 2;
  if (newWindow != null && newWindow.open) newWindow.close();
  newWindow = window.open(url,name,"toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=" + neww + ",height=" + newh + ",top=" + wint + ",left=" + winl);
	}
<!-- -------------This will open a new window and center it on the screen-->



<!-- Begin
function setVariables() {
if (navigator.appName == "Netscape") {
v=".top=";
dS="document.";
sD="";
y="window.pageYOffset";
}
else {
v=".pixelTop=";
dS="";
sD=".style";
y="document.body.scrollTop";
   }
}
function checkLocation() {
object="object1";
yy=eval(y);
eval(dS+object+sD+v+yy);
setTimeout("checkLocation()",10);
}
//  End -->
