rem: if (IsCurrentLoadedFolder(folder)) { 
add:   if (IsCurrentLoadedFolder(folder) && (gDBView.keyForFirstSelectedMessage != nsMsgKey_None)) { 
context: function HandleJunkStatusChanged(folder){  if (IsCurrentLoadedFolder(folder)) {    var messageURI = GetLoadedMessage();    // if multiple message are selected    // and we change the junk status    // we don't want to show the junk bar    // (since the message pane is blank)    if (messageURI && (GetNumSelectedMessages() == 1))      SetUpJunkBar(messenger.messageServiceFromURI(messageURI).messageURIToMsgHdr(messageURI));    else      SetUpJunkBar(null);  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/611eb8a38c71f7a522107261315609286291d94c/mailWindowOverlay.js/clean/mailnews/base/resources/content/mailWindowOverlay.js