rem:  return (isJunk && isAlreadyCollapsed) || (!isJunk && !junkBar); 
add: return (isJunk && isAlreadyCollapsed) || (!isJunk && !isAlreadyCollapsed); 
context: function SetUpJunkBar(aMsgHdr){  // XXX todo  // should this happen on the start, or at the end?  // if at the end, we might keep the "this message is junk" up for a while, until a big message is loaded  // or do we need to wait until here, to make sure the message is fully analyzed  // what about almost hiding it on the start, and then showing here?  var isJunk = false;    if (aMsgHdr) {    var junkScore = aMsgHdr.getStringProperty("junkscore");     isJunk = ((junkScore != "") && (junkScore != "0"));  }    var junkBar = document.getElementById("junkBar");  var isAlreadyCollapsed = junkBar.getAttribute("collapsed") == "true";  if (isJunk)    junkBar.removeAttribute("collapsed");  else    junkBar.setAttribute("collapsed","true");   goUpdateCommand('button_junk');  // simulate XOR  return (isJunk && isAlreadyCollapsed) || (!isJunk && !junkBar);}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/80f95e0fc2790a4120edad0e2368072a90b628a4/mailWindowOverlay.js/clean/mail/base/content/mailWindowOverlay.js