rem:  var msgURI = GetLoadedMessage();  if (msgURI && !(/type=application\/x-message-display/.test(msgURI))) { var msgHdr = messenger.msgHdrFromURI(msgURI); return (msgHdr && msgHdr.getUint32Property(aProperty) != aValue); } return false; 
add: var msgHdr = msgHdrForCurrentMessage(); return (msgHdr && msgHdr.getUint32Property(aProperty) != aValue); 
context: function checkMsgHdrPropertyIsNot(aProperty, aValue){  // we want to get the msg hdr for the currently selected message,  // get the appropiate property on it and then test against value.  var msgURI = GetLoadedMessage();      if (msgURI && !(/type=application\/x-message-display/.test(msgURI)))  {    var msgHdr = messenger.msgHdrFromURI(msgURI);    return (msgHdr && msgHdr.getUint32Property(aProperty) != aValue);  }  return false;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/010cb8bae8c97b1ecf561b1eb27627c0d9ad8e25/mailWindowOverlay.js/buggy/mail/base/content/mailWindowOverlay.js