var win=null;
function doPopup(page) {
    settings = 'height=300,width=400,top=0,left=0,scrollbars=yes,toolbar=no,resizable=yes';
    win = window.open(page, 'popup', settings);
    if (win.window.focus) { win.window.focus(); }
}

function doPopup2(page, w, h) {
    settings = 'height='+h+',width='+w+',top=0,left=0,scrollbars=yes,toolbar=no,resizable=yes';
    win = window.open(page, 'popup', settings);
    if (win.window.focus) { win.window.focus(); }
}

function PrintIt() {
    if (window.print) {
        window.print();
    } else {
        var WebBrowser='<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
        document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
        // Use 1 instead of 2 for a prompting dialog box.
        WebBrowser1.ExecWB(6, 2);
        // WebBrowser1.outerHTML = "";
    }
}

startList = function() {
    if (document.all && document.getElementById) {
        for (var j=1; j<=6; j++) {
            navRoot = document.getElementById("nav"+j);
            for (i=0; i<navRoot.childNodes.length; i++) {
                node = navRoot.childNodes[i];
                if (node.nodeName=="LI") {
                    node.onmouseover=function() {
                        this.className+=" over";
                    }
                    node.onmouseout=function() {
                        this.className=this.className.replace(" over", "");
                    }
                }
            }
        }
    }
}

window.onload=startList;
