//************************************************************************************* 
//*                            fnUrlPopup.js
//*                            -----------------                  
//*                                                                  
//*  Desc: Function - Bring a pop up window                             
//*                                                                  
//*  Example of Call:                                                 
//*  ----------------                                                
//*  <SCRIPT LANGUAGE="Javascript" SRC="/csjs/fnUrlPopup.js"></SCRIPT> 
//*  fnUrlPopup('http://www....', 'window name', 1 or 0)
//*  1 if toolbar and location are desired
//*  0 if toolbar and location are not desire
//*  Maintenance                                                       
//*  -----------   
//*************************************************************************************
function fnUrlPopup(inUrl, inInfo, inNavigate)
{
    var myUrlPopup = "";

    if(inNavigate == 1)
    {
        var w = 680;
        var h = 380;
        var fromleft = (screen.width - w) / 2;
        var fromtop = (screen.height - h) / 2;        
        myUrlPopup= open(inUrl,inInfo,'TOOLBAR=1,DIRECTORIES=1,STATUS=1,MENUBAR=1,SCROLLBARS=1,RESIZABLE=1,height='+h+',width='+w+',top='+fromtop+',left='+fromleft);
    }
    else if (inNavigate == 0)
    {
        var w = 660;
        var h = 420;
        var fromleft = (screen.width - w) / 2;
        var fromtop = (screen.height - h) / 2;           
        myUrlPopup= open(inUrl,inInfo,'TOOLBAR=0,LOCATION=0,DIRECTORIES=0,STATUS=1,MENUBAR=0,SCROLLBARS=1,RESIZABLE=1,height='+h+',width='+w+',top='+fromtop+',left='+fromleft);
    }

    if (navigator.appName == "Netscape")
    {
        myUrlPopup.window.focus();
    }
}