/* Merged Plone Javascript file
 * This file is dynamically assembled from separate parts.
 * Some of these parts have 3rd party licenses or copyright information attached
 * Such information is valid for that section,
 * not for the entire composite file
 * originating files are separated by ----- filename.js -----
 */

/* ----- edison.js ----- */
function showPortalTabDescription(tabName) {
    tabDescription = document.getElementById(tabName + "-description");
    tabDescription.style.display = "block";
}

function hidePortalTabDescriptions() {
    globalNav = document.getElementById("portal-globalnav");
    
    globalNavTabs = globalNav.getElementsByTagName("li");
    
    for (i = 0; i < globalNavTabs.length; i++) {
        tabDescription = globalNavTabs[i].getElementsByTagName("div");
        
        tabDescription[0].style.display = "none";
    }
}

/* ----- popup.js ----- */
function popUpFaces(url,title){
    window.open(url, 'title', 'height=552,width=752,scrollbars=0,resizable=0').focus();
}

