<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">function clearTextValue(c) {
    if (c.value == c.defaultValue) {
        c.value = '';
    }
}

function setTextDefaultValue(c) {
    if (trim(c.value) == "") {
        c.value = c.defaultValue;
    }
}

function tabPanel(tabs, panels, index) {
    for (var i = 0; i &lt; tabs.length; i++) {
        var tabObj = $O(tabs[i]);
        var panelObj = $O(panels[i]);
        var moreObj = $O(tabs[i] + "-more");
        if (i == index) {
            tabObj.className = "home-tab-select";
            panelObj.style.display = "block";
            if (moreObj != null) {
                moreObj.style.display = "block";
            }
        } else {
            tabObj.className = "";
            panelObj.style.display = "none";
            if (moreObj != null) {
                moreObj.style.display = "none";
            }
        }
    }
}

function getQueryString(name) {

    var reg = new RegExp("(^|&amp;)" + name + "=([^&amp;]*)(&amp;|$)");

    var r = window.location.search.substr(1).match(reg);

    if (r != null) return unescape(r[2]); return null;
}

function cmSearch() {
    var url = document.getElementById("searchPanel").getAttribute("value");
    window.location = url + "/CM/Search?k=" + encodeURIComponent($O("txKey").value);
}

function siteSearch() {
    window.location = "/CM/Search?k=" + encodeURIComponent($O("txKey").value);
    return false;
}


function getWB(minID, fun) {

}</pre></body></html>