function popUpWin(theURL,theName,winWidth, winHeight, WinProperties) 
{
	var screenWidth = (window.screen.width - winWidth) / 2;
	var screenHeight = (window.screen.height - winHeight) / 2;
	theURL = theURL.replace( /!/g, "&");
	window.open(theURL,theName,"width=" + winWidth + ",height=" + winHeight + ",left=" + screenWidth + ",top=" + screenHeight + "," + WinProperties);
}


