rem: { if (gViewAllHeaders) { HideMessageHeaderPane(); msgPaneData.ViewAllHeadersToolbar.removeAttribute("collapsed"); msgPaneData.ViewAllHeadersBox.removeAttribute("collapsed"); 
add: { /* workaround for 39655 */ var messagePaneBox = document.getElementById("messagepanebox"); if (messagePaneBox && gFolderJustSwitched) messagePaneBox.setAttribute("collapsed", "true");  var node; if (gCollapsedHeaderViewMode) { node = document.getElementById("collapsedHeaderView"); if (node) node.removeAttribute("collapsed"); 
context: function ShowMessageHeaderPane(){  if (gViewAllHeaders)  {    HideMessageHeaderPane();    msgPaneData.ViewAllHeadersToolbar.removeAttribute("collapsed");    msgPaneData.ViewAllHeadersBox.removeAttribute("collapsed");  }  else  {    msgPaneData.ViewAllHeadersToolbar.setAttribute("collapsed", "true");    msgPaneData.ViewAllHeadersBox.setAttribute("collapsed", "true");  /* workaround for 39655 */    var messagePaneBox = document.getElementById("messagepanebox");    if (messagePaneBox && gFolderJustSwitched)      messagePaneBox.setAttribute("collapsed", "true");    var node = document.getElementById("headerPart1");    if (node)      node.removeAttribute("collapsed");    node = document.getElementById("headerPart2");    if (node)      node.removeAttribute("collapsed");  /* more workaround for 39655 */    if (messagePaneBox && gFolderJustSwitched) {      messagePaneBox.setAttribute("collapsed", "false");    gFolderJustSwitched = false;    }/*    node = document.getElementById("headerPart3");    if (node)      node.removeAttribute("collapsed");*/  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c67a0430b1f6a28483542ee1bfc4325f6249ad46/msgHdrViewOverlay.js/clean/mailnews/base/resources/content/msgHdrViewOverlay.js