﻿function NewWindow1(mypage, myname, w, h, scroll) {
    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(mypage, winprops)
    if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function StartPopup(page, title, ht, wd, tl, mu, scrl, rze) {
    var winProps
    winProps = 'height=' + ht + ',width=' + wd + ',toolbar=' + tl + ', menubar=' + mu + ',scrollbars=' + scrl + ',resizable=' + rze +

    alert(winProps);
    return false;
    
    window.open(page, title, winProps);
}

function Start800x600Scroll(page, title) {
    OpenWin = this.open(page, title, "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,width=800,height=600,top=0,left=0");
}

