rem: uncollapseElement(gSearchBox); 
add: var searchBox = findMailSearchBox(); if (searchBox) { uncollapseElement(searchBox); } 
context: function LtnObserveDisplayDeckChange(event){    var deck = event.target;    // Bug 309505: The 'select' event also fires when we change the selected    // panel of calendar-view-box.  Workaround with this check.    if (deck.id != "displayDeck") {        return;    }    var id = null;    try { id = deck.selectedPanel.id } catch (e) { }    // Now we're switching back to the mail view, so put everything back that    // we collapsed in showCalendarView()    if (id != "calendar-view-box") {        collapseElement(document.getElementById("calendar-view-box"));        uncollapseElement(GetMessagePane());        uncollapseElement(document.getElementById("threadpane-splitter"));        uncollapseElement(gSearchBox);    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/8adcba34b8ac25360ec9d22fa927f747f43aa59d/messenger-overlay-sidebar.js/clean/calendar/lightning/content/messenger-overlay-sidebar.js