rem: if (IsCurrentLoadedFolder(folder)) { 
add:   var loadedMessage = GetLoadedMessage(); if (loadedMessage && (!(/type=x-message-display/.test(loadedMessage))) && IsCurrentLoadedFolder(folder)) { 
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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/195dc7ee6cc10ae53bb775a5cca6f9b046870c90/mailWindowOverlay.js/buggy/mail/base/content/mailWindowOverlay.js