rem: var tagItemToRemove = this.mTagListBox.getSelectedItem(); 
context:   removeTag: function()  {    var tagItemToRemove = this.mTagListBox.getSelectedItem();    var index = this.mTagListBox.selectedIndex;    if (index >= 0)    {      var itemToRemove = this.mTagListBox.getItemAtIndex(index);      var tagService = Components.classes["@mozilla.org/messenger/tagservice;1"].getService(Components.interfaces.nsIMsgTagService);      tagService.deleteKey(itemToRemove.getAttribute("value"));      this.mTagListBox.removeItemAt(index);      var numItemsInListBox = this.mTagListBox.getRowCount();      this.mTagListBox.selectedIndex = index < numItemsInListBox ? index : numItemsInListBox - 1;    }  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/4c455b724104fe851e8b9524b5c35a6bcb1389aa/display.js/buggy/mail/components/preferences/display.js