/* The OpenPopupWindow function opens a secondary browser window to display additional information, displaying the URL file and the windowfeatures passed to the function*/

var popupWindow = null

function OpenPopupWindow(URL, windowFeatures)
{
    popupWindow = window.open(URL,"PopupWindow",windowFeatures);
}

function OpenPopupWindow2(URL, windowName, windowFeatures)
{
    popupWindow = window.open(URL,"PopupWindow",windowFeatures);
}

function ClosePopupWindow()
{
    if (popupWindow != null)
    {
	if (!popupWindow.closed)
	{
	    popupWindow.close()
	}
    }
}

/* This code is used to display a close button on the pop-up windows. However, we have moved away from using the button. Remove the comments if you need to use this code.

function DisplayCloseButton()
{
    if (window.opener != null)
    {
        document.write('<form method="POST"><center><p><input type="button" name="CloseButton" value="Close" onclick="self.close()"></p></center></form><p><font color="#000080" size="1"><b>Press CTRL/P to print this page.</b></font></p>')
    }
}

*/

