<!--
function popup(url, width, height, scrollbars, resizable, left, top, absolute) {
    if (scrollbars == "yes") {
        if (navigator.platform.indexOf("Win")!=-1) {
            if(navigator.appName == "Netscape") width = width - 2;
        } else {
            if (navigator.appName == "Microsoft Internet Explorer") width = width - 18;
            else if(navigator.userAgent.indexOf('Safari')!=-1) width = width - 3;
            else if(navigator.appName == "Netscape" && parseFloat(navigator.appVersion)>=5) width = width - 2;
        }
    }
    rnd = new Date();
    rnd.seed = rnd.getTime();
    randomNum = Math.ceil(rnd.seed=(rnd.seed*9301+49297) % 233280);
    spawn = window.open (url, 'Loading_'+randomNum, 'width=' + width + ',height=' + height + ',toolbar=no,location=no,directories=no,status=no,menubar=no,resizable='+resizable+',scrollbars='+scrollbars+',left='+left+',top='+top+',screenX='+left+',screenY='+top);
    spawn.focus()
}

function popVideo(url){
    popup(url, 477, 560, 'yes', 'no', 100, 100);
}

function popHotshots(url){
    popup(url, 477, 520, 'yes', 'no', 100, 100);
}

function popMaria(url){
    popup(url, 477, 475, 'yes', 'no', 100, 100);
}

function popMailbox(url){
    popup(url, 477, 505, 'yes', 'no', 100, 100);
}

function popResults(id,sel){
    var url = "/popups/poll.htm?choiceid="+sel;
    popup(url, 477, 470, 'yes', 'no', 'center', 100);
}

function watchET(page, popURL){
    if (!getCookie('zip')) {
        popup(popURL, 460, 330, 'no', 'no', 100, 100);
    } else {
        window.location.href = page;
    }
}

function getCookie(name) {
    var start = document.cookie.indexOf(name + '=');
    var len = start + name.length + 1;
    if ((!start) && (name != document.cookie.substring(0,name.length)))
        return null;
    if (start == -1)
        return null;
    var end = document.cookie.indexOf(';',len);
    if (end == -1) end = document.cookie.length;
    return unescape(document.cookie.substring(len,end));
}

function setCookie(name,value,expires,path,domain,secure) {
    document.cookie = name + '=' + escape(value) +
    ( (expires) ? ';expires=' + expires.toGMTString() : '') +
    ( (path) ? ';path=' + path : '') + 
    ( (domain) ? ';domain=' + domain : '') +
    ( (secure) ? ';secure' : '');
}

function preload(imgObj, imgSrc) {
    if (ns4 || ie4 || ie5 || ns6) {
        eval(imgObj + " = new Image()");
        eval(imgObj + '.src = "' + imgSrc + '"');
    }
}
        
function rollover(lyr, targImg, targSrc) {
    if (ns4) {
        if (lyr!="none")
            eval('document.'+lyr+'.document.images["'+targImg+'"].src = '+targSrc+'.src');
        else eval('document.images["'+targImg+'"].src = '+targSrc+'.src');}
        else document.images[targImg].src = eval (targSrc+".src");   
}

function stopError() {
    return true;
}
    

var ns4 = (document.layers)? true:false;
var ie4 = (document.all && !document.getElementById) ? true:false;
var ie5 = (document.all && document.getElementById) ? true:false;
var ns6 = (!document.all && document.getElementById) ? true:false;

//-->