rem: {  switch ( command ) { case "cmd_selectAll": return true;  case "cmd_delete": case "button_delete": var numSelected = 0; if ( resultsTree && resultsTree.selectedItems ) numSelected = resultsTree.selectedItems.length; if ( command == "cmd_delete" ) { if ( numSelected < 2 ) goSetMenuValue(command, 'valueCard'); else goSetMenuValue(command, 'valueCards'); } return ( numSelected > 0 );  default: return false; } }, 
add: { switch (command) { case "cmd_selectAll": return true;  case "cmd_delete": case "button_delete": var numSelected = 0; if (resultsTree && resultsTree.selectedItems) numSelected = resultsTree.selectedItems.length; if (command == "cmd_delete") { if (numSelected < 2) goSetMenuValue(command, "valueCard"); else goSetMenuValue(command, "valueCards"); } return (numSelected > 0);  default: return false; } }, 
context: 	isCommandEnabled: function(command)	{		//dump('ResultsPaneController::isCommandEnabled(' + command + ')\n');		switch ( command )		{			case "cmd_selectAll":				return true;						case "cmd_delete":			case "button_delete":				var numSelected = 0;				if ( resultsTree && resultsTree.selectedItems )					numSelected = resultsTree.selectedItems.length;				if ( command == "cmd_delete" )				{					if ( numSelected < 2 )						goSetMenuValue(command, 'valueCard');					else						goSetMenuValue(command, 'valueCards');				}				return ( numSelected > 0 );						default:				return false;		}	},
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0bae2ed72e9748283256fed72e6330994a6cb0fd/abCommon.js/buggy/mailnews/addrbook/resources/content/abCommon.js