<!--
function popUp(URL,tb,t,w,h) {
    // tb = toolbar, t = target name, w = width, h = height
    adj = 20;
    if (w == null) w = 550;
    if (h == null) h = 500;
    if (w > screen.width) w = screen.width;
    if (h > screen.height) h = screen.height;
    if (t == null) t = "winpop";
    if (tb == null || tb > 3) tb = 1;
    if (tb == 1 ) adj = 70;
    w2 = (screen.width - w) / 2;
    if (w2 < 0) w2 = 2;
    h2 = ((screen.height - h) / 2) - adj;
    if (h2 < 0) h2 = 2;
    // 1 = full window, 2 = window w/scrollbars, 3 = window w/scrollbars+status
    if (tb == 1) toolbar = "toolbar=1,scrollbars=1,location=1,status=1,menubar=1,resizable=1,height=" + h + ",left=" + w2 + ",top=" + h2 + ",width=" + w;
    if (tb == 2) toolbar = "toolbar=0,scrollbars=1,location=0,status=0,menubar=0,resizable=0,height=" + h + ",left=" + w2 + ",top=" + h2 + ",width=" + w;
    if (tb == 3) toolbar = "toolbar=0,scrollbars=1,location=0,status=1,menubar=0,resizable=0,height=" + h + ",left=" + w2 + ",top=" + h2 + ",width=" + w;
win = window.open(URL, t, toolbar);
if(win.focus)win.focus(); 
}
//-->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!--  Begin
function drawAlert () {
alert ("This is an alert message that can say whatever you want!");
}

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+',resizable'
win = window.open(mypage, myname, winprops)
if(win.focus)win.focus(); 
}

// End -->

<!-- Original:  Jenny Blewitt (webmaster@webdesignsdirect.com) -->
<!-- Web Site:  http://www.webdesignsdirect.com -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);

ns3up = (browserName == "Netscape" && browserVer >= 3);
ie4up = (browserName.indexOf("Microsoft") >= 0 && browserVer >= 4);

function doPic(imgName) {
if (ns3up || ie4up) {
imgOn = ("" + imgName);
document.mainpic.src = imgOn;
   }
}
//  End -->

