rem: if (status & this.mBarFlagValues[kMsgNotificationJunkBar]) aIndex = kMsgNotificationJunkBar; else if (status & this.mBarFlagValues[kMsgNotificationPhishingBar]) aIndex = kMsgNotificationPhishingBar; else if (status & this.mBarFlagValues[kMsgNotificationRemoteImages]) aIndex = kMsgNotificationRemoteImages; else aIndex = kMsgNotificationNoStatus; 
add: this.mMsgNotificationBar.selectedIndex = this.mBarFlagValues.indexOf(status & -status); 
context:   updateMsgNotificationBar: function(aIndex, aSet)  {    var chunk = this.mBarFlagValues[aIndex];    var status = aSet ? this.mBarStatus | chunk : this.mBarStatus & ~chunk;    this.mBarStatus = status;    // the junk message takes precedence over the phishing message    // which takes precedence over the remote content message    if (status & this.mBarFlagValues[kMsgNotificationJunkBar])      aIndex = kMsgNotificationJunkBar;    else if (status & this.mBarFlagValues[kMsgNotificationPhishingBar])      aIndex = kMsgNotificationPhishingBar;    else if (status & this.mBarFlagValues[kMsgNotificationRemoteImages])      aIndex = kMsgNotificationRemoteImages;    else      aIndex = kMsgNotificationNoStatus;    if (status == kMsgNotificationNoStatus)      this.mMsgNotificationBar.setAttribute('collapsed', true);    else      this.mMsgNotificationBar.removeAttribute('collapsed');        this.mMsgNotificationBar.selectedIndex = aIndex;  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/92218cf802cd4f04c5e8f3d43877f789aa8d902b/mailWindowOverlay.js/buggy/mailnews/base/resources/content/mailWindowOverlay.js