rem: collapseElement(GetMessagePane()); collapseElement(document.getElementById("threadpane-splitter")); var searchBox = findMailSearchBox(); if (searchBox) { collapseElement(searchBox); } 
context: function ltnShowCalendarView(type){    gLastShownCalendarView = type;    if (gCurrentMode != 'calendar') {        // This function in turn calls showCalendarView(), so return afterwards.        ltnSwitch2Calendar();        return;    }    // If we got this call while a mail-view is being shown, we need to    // hide all of the mail stuff so we have room to display the calendar    var calendarViewBox = document.getElementById("calendar-view-box");    if (calendarViewBox.style.visibility == "collapse") {        collapseElement(GetMessagePane());        collapseElement(document.getElementById("threadpane-splitter"));        var searchBox = findMailSearchBox();        if (searchBox) {            collapseElement(searchBox);        }        uncollapseElement(calendarViewBox);    }    document.getElementById("displayDeck").selectedPanel =  calendarViewBox;    switchToView(type);    // Set the labels for the context-menu    var nextCommand = document.getElementById("context_next");    nextCommand.setAttribute("label", nextCommand.getAttribute("label-"+type));    var previousCommand = document.getElementById("context_previous")    previousCommand.setAttribute("label", previousCommand.getAttribute("label-"+type));}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/5c897382bc3c2a93c55ec650adee73dd70fa4836/messenger-overlay-sidebar.js/clean/calendar/lightning/content/messenger-overlay-sidebar.js