add: return false; case "cmd_delete": case "button_delete": if ( command == "cmd_delete" ) goSetMenuValue(command, 'valueFolder'); var folderTree = GetFolderTree(); var startIndex = {}; var endIndex = {}; folderTree.treeBoxObject.selection.getRangeAt(0, startIndex, endIndex); if (startIndex.value >= 0) { var canDeleteThisFolder; var specialFolder = null; var isServer = null; var serverType = null; try { var folderResource = GetFolderResource(folderTree, startIndex.value); specialFolder = GetFolderAttribute(folderTree, folderResource, "SpecialFolder"); isServer = GetFolderAttribute(folderTree, folderResource, "IsServer"); serverType = GetFolderAttribute(folderTree, folderResource, "ServerType"); if (serverType == "nntp") { if ( command == "cmd_delete" ) { goSetMenuValue(command, 'valueNewsgroup'); goSetAccessKey(command, 'valueNewsgroupAccessKey'); } } } catch (ex) {  } if (specialFolder == "Inbox" || specialFolder == "Trash" || specialFolder == "Drafts" || specialFolder == "Sent" || specialFolder == "Templates" || specialFolder == "Unsent Messages" || specialFolder == "Junk" || isServer == "true") canDeleteThisFolder = false; else canDeleteThisFolder = true; return canDeleteThisFolder && isCommandEnabled(command); } else 
context: 	isCommandEnabled: function(command)	{		switch ( command )		{			case "cmd_selectAll":				return true;						case "cmd_cut":			case "cmd_copy":			case "cmd_paste":				return false;			default:				return false;		}	},
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/68b2bf0c677dd0625902cafde19d7fadf8ba3fba/mail3PaneWindowCommands.js/clean/mailnews/base/resources/content/mail3PaneWindowCommands.js