/* 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);
    popupWindow.focus();     
}

function ClosePopupWindow()
{
    if (popupWindow != null)
    {
	if (!popupWindow.closed)
	{
	    popupWindow.close();
	}
    }
}

