/*see Version 19 in VSS for comments*/
function popWindow(url,name,width,height,left,top,status,scrollbars){
    location = "no";
    
    if((left == null)||(top == null)||(status == null)||(scrollbars == null)){
        var left = 130
        var top = 1
        var status = "no"
        var scrollbars = "no";
    }
    if(name == null){
        var name = "win_help"
        var width = 405
        var height = 500
        var left = 380
        var top = 20
    }
    if(name == null){
        var name = "win_help"
        var width = 405
        var height = 500
        var left = 380
        var top = 20
    }
    if(name == "win_updateComment"){
        var width = 1000;
        var height = 600;
        var left = 0;
        var top = 0;
        var location = "yes";
    }
    if(name == "win_simulatorPopup"){
        var width = 800;
        var height = 550;
        var left = 0;
        var top = 0;
        var scrollbars = "yes";
    }
    if(name == "win_signalDetails"){
        var width = 674;
        var height = 375;
        var left = 10;
        var top = 10;
    }
    if(name == "win_daysLeft"){
        var width = 641;
        var height = 464;
        var left = 10;
        var top = 10;
        var scrollbars = "yes";
    }

    if(name == "win_offer3216"){
        var width = 790;
        var height = 464;
        var left = 10;
        var top = 10;
        var scrollbars = "yes";
    }

    if((name == "win_fillSell")||(name == "win_ogStopMet")){
        var width = 550;
        var height = 520;
        var left = 10;
        var top = 10;
    }    
    if(name == "win_flashDemo"){
        var width = 800;
        var height = 670;
        var left = 10;
        var top = 10;
    }
    var var_thisWindow = window.open(url,name,"menubar=yes,toolbar=no,location=" + location + ",directories=0,"
        + "status=" + status + ",titlebar=no,"
        + "width=" + width + ",height=" + height + ","
        + "scrollbars=" + scrollbars + ",resizable=yes,copyhistory=0,"
        + "hotkeys=0,screenx=0,screeny=0,left=" + left + ",top=" + top);
        var_thisWindow.focus();
}
/*
status      The status bar at the bottom of the window. 
toolbar     The standard browser toolbar, with buttons such as Back and Forward. 
location    The Location entry field where you enter the URL. 
menubar     The menu bar of the window 
directories The standard browser directory buttons, such as What's New and What's Cool 
resizable   Allow/Disallow the user to resize the window. 
scrollbars  Enable the scrollbars if the document is bigger than the window 
height      Specifies the height of the window in pixels. (example: height='350') 
width       Specifies the width of the window in pixels. 
*/
