// Popup window with no extraneous features - Justin Parsons - September 2003

<!-- Begin
/*function popUp(URL)
{
	day = new Date();
	id = day.getTime();
	
	var x, y;
	x = screen.width / 2;
	y = screen.height / 2;

	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=425,height=490,left = 299.5,top = 139');");
}*/

var win = null;
function popUp(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'

win = window.open(mypage,myname,settings)
}
// End -->

