
function NewWindow(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+',copyhistory=yes,directories=yes,toolbar=yes,location=yes,status=yes,menubar=yes,resizable=yes'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function NewWindow2(mypage, mypopup, 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+',copyhistory=yes,directories=yes,toolbar=yes,location=yes,status=yes,menubar=yes,resizable=yes'
win = window.open(mypage, mypopup, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function NewWindow3(mypage, mysmallpopup, 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+',status,resizable'
win = window.open(mypage, mysmallpopup, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function NewWindow4(mypage, mypopup4, 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+',copyhistory=yes,directories=yes,toolbar=yes,status=yes,menubar=yes,resizable=yes'
win = window.open(mypage, mypopup4, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function NewWindow5(mypage, mynoaddress, 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+',copyhistory=yes,directories=yes,toolbar=yes,status=yes,menubar=yes,resizable=yes'
win = window.open(mypage, mynoaddress, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function NewWindow6(mypage, myaddress, 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+',copyhistory=yes,directories=yes,toolbar=yes,status=yes,menubar=yes,resizable=yes'
win = window.open(mypage, myaddress, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function NewWindow7(mypage, mysmallpopupagain, 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+',status,resizable'
win = window.open(mypage, mysmallpopup, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}