var viewPopupWinHeight = 600;
var viewPopupWinWidth = 800;

/*  -- Opens a popup window to a specific height and width --  */
function popWindow(thePage) {
    ww = viewPopupWinWidth;
    wh = viewPopupWinHeight;
    w1 = window.open(thePage,'w1','width='+ww+',height='+wh+',status=no,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes');
    if(window.focus) w1.window.focus();
}
