add:      var treeSel = document.getElementById("folderTree").view.selection; treeSel.selectEventsSuppressed = true; treeSel.clearSelection(); treeSel.selectEventsSuppressed = false; gMsgFolderSelected = null; msgWindow.openFolder = null; 
context: function showCalendar(aDate1, aDate2){    // 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"));        collapseElement(gSearchBox);        uncollapseElement(calendarViewBox);    }    var view = currentView();    if (view.displayCalendar != getCompositeCalendar()) {        view.displayCalendar = getCompositeCalendar();        view.controller = ltnCalendarViewController;    }    if (aDate1 && !aDate2)        view.showDate(aDate1);    else if (aDate1 && aDate2)        view.setDateRange(aDate1, aDate2);    document.getElementById("displayDeck").selectedPanel =        document.getElementById("calendar-view-box");}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/28ef8f241b394067a0f5cfb236ca43571f4cc1c2/messenger-overlay-sidebar.js/buggy/calendar/lightning/content/messenger-overlay-sidebar.js