Top_15p_Sales_by_Property_Type/report.js
/*
 * Modifies the UI by highlighting the selected main tab and unhighlighting the rest.
 */
Modifies the UI by highlighting the selected main tab and unhighlighting the rest.
Modifies the UI by highlighting the selected main tab and unhighlighting the rest .
function highlightMainTab(node) {
    if (node.className != "currentmaintab") {
        var tabNodes = document.getElementById("maintabs").children;
        for (var t = 0;t < tabNodes.length;t++) {
            var tabNode = tabNodes[t];
            if (tabNode.className == "currentmaintab") {
                tabNode.className = "maintab";
            }
        }
        node.className = "currentmaintab";
    }
}
function highlightMainTab ( node ) { if ( node . className != "currentmaintab" ) { var tabNodes = document . getElementById ( "maintabs" ) . children ; for ( var t = 0 ; t < tabNodes . length ; t ++ ) { var tabNode = tabNodes [ t ] ; if ( tabNode . className == "currentmaintab" ) { tabNode . className = "maintab" ; } } node . className = "currentmaintab" ; } }
Modifies the UI by highlighting the selected main tab and unhighlighting the rest.
Modifies the UI by highlighting the selected main tab and unhighlighting the rest .