// functions used in colloquia

var newWindow = null;
    
function OpenPopWin (contentURL,windowName,windowWidth,windowHeight)
{
    widthHeight = 'height=' + windowHeight + ', width=' + windowWidth;
    
    newWindow = window.open(contentURL, 'windowName', 'widthHeight, toolbar=0, status=0, menubar=0, scrollbars=1, resizable=1 top=20, left=500');
    newWindow.resizeTo(windowWidth+4, windowHeight+24);
    newWindow.focus();
}
    
function CloseList()
{
    if (newWindow != null) {
        newWindow.close();
        newWindow = null;
    }
} 