bottomSection = function() {
    this.toggle = function(elId) {
        this.clearAll(elId);
        el = document.getElementById("section" + elId+ "_display");
        el.style.display != "block" ? el.style.display = "block" : el.style.display = "none";
        
    }
    
    this.clearAll = function(elId) {
        // Clear all except elId
        el = document.getElementById("bottomWrapper").getElementsByTagName("div");
        count = 0;
        for(i=0;i<el.length;i++) {
            if (el[i].className == "sectionWrapper") {
                el1 = document.getElementById("section" + count + "_display");
                if (el1.style.display != "none" && elId != count) {
                    el1.style.display = "none";
                }
                count++; 
            }
        }
    }
}

bottomSection = new bottomSection();

/*
jQuery(document).ready(function() {
    if (cnp.util.browser.isSafari()) {
        jQuery("#tagList").height(jQuery("#tagList").height()-3);
    }
});
*/

