function popWindow( url,name,width,height,resizable,status,scrollbars,menubar,replace ) {
    if( width == null )                      width = 500;
    if( height == null )                     height = 450;
    if( resizable == null )                  resizable = "yes";
    if( status == null )                     status = "yes";
    if( scrollbars == null )                 scrollbars = "yes";
    if( menubar == null )                    menubar = "no";
    if( replace == null) replace = false;

    // ignore function argument and make all windows resizable per Dan W.
    resizable = "yes";

    var s =  "width=" + width + 
             ",height=" + height + 
             ",resizable=" + resizable + 
             ",status=" + status + 
             ",scrollbars=" + scrollbars +
             ",menubar=" + menubar;

    if( name == null || name.length == 0 ) {
        name = new String(Math.round(Math.random() * 100000));
    }
    var win = window.open( url, /* initial page to load */ 
                           name,  /* name of new window */
                           s, /* features */
                           replace /* replace in history */);

    win.focus();
    return win;
}

function popWindowWrapper( url,name,width,height,resizable,status,scrollbars,menubar ) {
    var win = popWindow(url,name,width,height,resizable,status,scrollbars,menubar);
    return;
}