function popUpCenteredWindow(l,w,h) {
	var iMyWidth;
	var iMyHeight;
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (w + 10); //half the screen width minus half the new window width (plus 5 pixel borders).
	iMyHeight = (window.screen.height/2) - (h + 50); //half the screen height minus half the new window height (plus title and status bars).
	var win2 = window.open("","Window2","status,height="+h+",width="+w+",resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	win2.location.href=l;
	win2.focus();
}
