﻿// JScript File

function newWin(winID, url)
{
    //default height and width
    //if (height==null) {height=window.height};
    //if (width==null) {width=window.width};
    
    if ( url.indexOf('?') == -1 ) {
        url = url + '?header=false';
    } 
    else {
        url = url + '&header=false';
    }
    
    
    var newWin = window.open(url, winID,'resizable=yes,scrollbars=yes,toolbar=no,menubar=no,status=yes');
    
    // test if browser supports focus function
    if (window.focus) {newWin.focus()}
}
