rem: messages.AppendElement(msgHdr); 
add: var msg = Components.classes["@mozilla.org/supports-array;1"] .createInstance(Components.interfaces.nsISupportsArray); var selectedMsgUris = GetSelectedMessages(); 
context: function ToggleMessageTag(key, addKey){  // XXX need to do all selected messages  var msgHdr = gDBView.hdrForFirstSelectedMessage;  var messages = Components.classes["@mozilla.org/supports-array;1"]                           .createInstance(Components.interfaces.nsISupportsArray);  messages.AppendElement(msgHdr);  var toggler = addKey ? "addKeywordToMessages" : "removeKeywordFromMessages";  msgHdr.folder[toggler](messages, key);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f61761febea1879c923efb684355ca9338b4f703/mailWindowOverlay.js/buggy/mailnews/base/resources/content/mailWindowOverlay.js