/*

Name:
Pop-Up Window, Centered on Screen

Created By:
Ryan Foote, Panagraph, Inc.

Description:
This function opens a new popup window and centers is on the screen based on screen resolution.

Version History
========================================================
3/28/2003 RF Initial version created.
4/14/2003 RF Added KeepFocus argument.

*/

<!-- // Hide Javascript from older browsers
function OpenWindow(navURL, width, height)
{
	var resX = screen.width;
	var resY = screen.height;
	//var agent = navigator.userAgent.toLowerCase();
	//var agentVersion = parseInt(navigator.appVersion);
	var posX = (resX - width) / 2;
	var posY = (resY - height) / 2;
	
	window.open(navURL, "myWindow", "width=" + width + ",height=" + height + ",left=" + posX + ",top=" + posY + ",fullscreen=no,toolbar=no,resizable=no,scrollbars=no,status=no");
}
-->