rem: var collapse = !show; if (gCurrentPaneConfig == kWidePaneConfig) { document.getElementById("mailContent").collapsed = collapse;  if (collapse) document.getElementById("messagepanebox").flex = 1; } document.getElementById("threadpane-splitter").collapsed = collapse; document.getElementById("folderpane_splitter").collapsed = collapse; document.getElementById("folderPaneBox").collapsed = collapse; document.getElementById("messengerBox").collapsed = collapse; try { document.getElementById("search-container").collapsed = collapse; } catch (ex) {} try { document.getElementById("folder-location-container").collapsed = collapse; } catch (ex) {} try { document.getElementById("mailviews-container").collapsed = collapse; } catch (ex) {} 
add: var collapse = !show; if (gCurrentPaneConfig == kWidePaneConfig) { document.getElementById("mailContent").collapsed = collapse;  if (collapse) document.getElementById("messagepanebox").flex = 1; } document.getElementById("threadpane-splitter").collapsed = collapse; document.getElementById("folderpane_splitter").collapsed = collapse; document.getElementById("folderPaneBox").collapsed = collapse; document.getElementById("messengerBox").collapsed = collapse; try { document.getElementById("search-container").collapsed = collapse; } catch (ex) {} try { document.getElementById("folder-location-container").collapsed = collapse; } catch (ex) {} try { document.getElementById("mailviews-container").collapsed = collapse; } catch (ex) {} 
context: function DisplayFolderAndThreadPane(show){    var collapse = !show;    if (gCurrentPaneConfig == kWidePaneConfig)    {      document.getElementById("mailContent").collapsed = collapse;      // if opening a standalone message, need to give the messagepanebox flex.      if (collapse)        document.getElementById("messagepanebox").flex = 1;    }    document.getElementById("threadpane-splitter").collapsed = collapse;    document.getElementById("folderpane_splitter").collapsed = collapse;    document.getElementById("folderPaneBox").collapsed = collapse;    document.getElementById("messengerBox").collapsed = collapse;    try {      document.getElementById("search-container").collapsed = collapse;    } catch (ex) {}    try {      document.getElementById("folder-location-container").collapsed = collapse;    } catch (ex) {}    try {      document.getElementById("mailviews-container").collapsed = collapse;    } catch (ex) {}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/b63a5b72361765e9c991347479ce265f17a15db6/mailWindowOverlay.js/buggy/mail/base/content/mailWindowOverlay.js