﻿/*Used for the popup on the new VIEW page*/

var gmyWin = null;

function myOpenWindow(winURL, winName, winObj)
{
    var theWin;

    if (winObj != null)
    {
        if (!winObj.closed) 
        {
            winObj.focus();
            return winObj;
        } 
    }
    theWin = window.open(winURL,'blank','toolbar=0,menubar=0,titlebar=0,location=0,status=0,directories=0,resizable=yes,scrollbars=yes,width=500,height=350');
    if(window.focus)
    {
        theWin.focus();
        return theWin;
    }
} 