﻿var expandClassName = "expand";function ExpandCollapse(obj) {    var subNav = obj.parentNode;    var isOpen = (subNav.className == expandClassName);    var otherNodes = subNav.parentNode.getElementsByTagName("li");        var i;    for (i = 0; i < otherNodes.length; i++) {        if (otherNodes[i].className == expandClassName) {            otherNodes[i].className = "";        }    }    if (subNav) {        if (isOpen) {            subNav.className = "";        }        else {            subNav.className = expandClassName;        }    }}function SwapImg(NewImg, picID) {
    var img = picID;
    if (img) {
        img.src = NewImg;
    }
}

function popUp(URL, width, height) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=" + width + ",height=" + height + "');");
}