rem: return (numSelected > 0); 
add: return (enabled && (numSelected > 0)); 
context:   isCommandEnabled: function(command)  {    switch (command) {      case "cmd_selectAll":        return true;      case "cmd_delete":      case "button_delete":        var numSelected;        if (gAbView && gAbView.selection)          numSelected = gAbView.selection.count;        else           numSelected = 0;        // fix me, don't update on isCommandEnabled        if (command == "cmd_delete") {          if (numSelected < 2)            goSetMenuValue(command, "valueCard");          else            goSetMenuValue(command, "valueCards");        }        return (numSelected > 0);      case "button_edit":        return (GetSelectedCardIndex() != -1);      default:        return false;    }  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/2930d42deddd626120d9651bf27d3352ebea9921/abCommon.js/buggy/mailnews/addrbook/resources/content/abCommon.js