rem: switch (gPaneConfig) { case 0: messagesBox.setAttribute("collapsed", "true"); gSearchBox.setAttribute("collapsed", "true"); accountCentralBox.removeAttribute("collapsed"); window.frames["accountCentralPane"].location = acctCentralPage; gAccountCentralLoaded = true; break;  case 1: var messagePaneBox = document.getElementById("messagepanebox"); messagePaneBox.setAttribute("collapsed", "true"); var searchAndThreadPaneBox = document.getElementById("searchAndthreadpaneBox"); searchAndThreadPaneBox.setAttribute("collapsed", "true"); var threadPaneSplitter = document.getElementById("threadpane-splitter"); threadPaneSplitter.setAttribute("collapsed", "true"); accountCentralBox.removeAttribute("collapsed"); window.frames["accountCentralPane"].location = acctCentralPage; gAccountCentralLoaded = true; break; } 
add: GetMessagePane().collapsed = true; document.getElementById("threadpane-splitter").collapsed = true; gSearchBox.collapsed = true; GetThreadTree().collapsed = true; document.getElementById("accountCentralBox").collapsed = false; window.frames["accountCentralPane"].location = acctCentralPage; if (!IsFolderPaneCollapsed()) GetFolderTree().focus(); gAccountCentralLoaded = true; 
context: function ShowAccountCentral(){    try    {        var acctCentralPage = pref.getComplexValue("mailnews.account_central_page.url",                                                   Components.interfaces.nsIPrefLocalizedString).data;        GetUnreadCountElement().hidden = true;        GetTotalCountElement().hidden = true;        switch (gPaneConfig)        {            case 0:                messagesBox.setAttribute("collapsed", "true");                gSearchBox.setAttribute("collapsed", "true");                accountCentralBox.removeAttribute("collapsed");                window.frames["accountCentralPane"].location = acctCentralPage;                gAccountCentralLoaded = true;                break;            case 1:                var messagePaneBox = document.getElementById("messagepanebox");                messagePaneBox.setAttribute("collapsed", "true");                var searchAndThreadPaneBox = document.getElementById("searchAndthreadpaneBox");                searchAndThreadPaneBox.setAttribute("collapsed", "true");                var threadPaneSplitter = document.getElementById("threadpane-splitter");                threadPaneSplitter.setAttribute("collapsed", "true");                accountCentralBox.removeAttribute("collapsed");                window.frames["accountCentralPane"].location = acctCentralPage;                gAccountCentralLoaded = true;                break;        }    }    catch (ex)    {        dump("Error loading AccountCentral page -> " + ex + "\n");        return;    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/4df13a26fdf3adc16683aa4e7543afeb086f163a/mailWindow.js/clean/mailnews/base/resources/content/mailWindow.js