function NewWindow(searchq, test4, w, h, scroll) {
        //alert('If you see this ALERT, then the GLOBAL javascript file is being called');
        var winl = (screen.width - w) / 2;
        var wint = (screen.height - h) / 2;
        winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
                win = window.open(searchq, test4, winprops)
                if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
// NewWindowShifted shifts the new window (shift) number of pixels right and down from center
// shift is shiftx25 pixels shifted
function NewWindowShifted(searchq, test4, w, h, scroll, shift) {
        //    alert('If you see this ALERT, then the GLOBAL javascript file is being called');
        shift=shift*25;
    var winl = (screen.width - w) / 2;
    var wint = (screen.height - h) / 2;
    winprops = 
'height='+h+',width='+w+',top='+(wint+shift)+',left='+(winl+shift)+',scrollbars='+scroll+',resizable'
    win_shifted = window.open(searchq, test4, winprops)
    if (parseInt(navigator.appVersion) >= 4) { win_shifted.window.focus(); }
}

function NewWindowRef(myLink, MyTarget, w, h, scroll) {
        //alert('If you see this ALERT, then the GLOBAL javascript file is being called');
        var winl = (screen.width - w) / 2;
        var wint = (screen.height - h) / 2;
        winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
        win = window.open(myLink, MyTarget, winprops)
        if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
        return win;
}

//<SCRIPT LANGUAGE="JavaScript" ; SRC="/clients/js/GlobalJS/NewWindow.js" TYPE="text/javascript">
//function NewWindow(searchq, test4, w, h, scroll)
//</script>
