add: case "cmd_markReadByDate": MsgMarkReadByDate(); return; 
context: 	doCommand: function(command)	{    // if the user invoked a key short cut then it is possible that we got here for a command which is    // really disabled. kick out if the command should be disabled.    if (!this.isCommandEnabled(command)) return;    var navigationType = nsMsgNavigationType.nextUnreadMessage;		switch ( command )		{			case "cmd_close":				CloseMailWindow();				break;			case "cmd_getNewMessages":				MsgGetMessage();				break;            case "cmd_undo":                messenger.Undo(msgWindow);                break;            case "cmd_redo":                messenger.Redo(msgWindow);                break;      case "cmd_getMsgsForAuthAccounts":        MsgGetMessagesForAllAuthenticatedAccounts();        break;			case "cmd_getNextNMessages":				MsgGetNextNMessages();				break;			case "cmd_reply":				MsgReplyMessage(null);				break;			case "cmd_replySender":				MsgReplySender(null);				break;			case "cmd_replyGroup":				MsgReplyGroup(null);				break;			case "cmd_replyall":				MsgReplyToAllMessage(null);				break;			case "cmd_forward":				MsgForwardMessage(null);				break;			case "cmd_forwardInline":				MsgForwardAsInline(null);				break;			case "cmd_forwardAttachment":				MsgForwardAsAttachment(null);				break;			case "cmd_editAsNew":				MsgEditMessageAsNew();				break;      case "cmd_createFilterFromPopup":				break;// This does nothing because the createfilter is invoked from the popupnode oncommand.              case "cmd_createFilterFromMenu":        MsgCreateFilter();				break;        			case "cmd_delete":				MsgDeleteMessageFromMessageWindow(false, false);				break;			case "cmd_shiftDelete":				MsgDeleteMessageFromMessageWindow(true, false);				break;      case "button_junk":        MsgJunk();        break;			case "button_delete":				MsgDeleteMessageFromMessageWindow(false, true);				break;		  case "cmd_printSetup":		    NSPrintSetup();		    break;			case "cmd_print":				PrintEnginePrint();				break;			case "cmd_printpreview":				PrintEnginePrintPreview();				break;			case "cmd_saveAsFile":				MsgSaveAsFile();				break;			case "cmd_saveAsTemplate":				MsgSaveAsTemplate();				break;			case "cmd_viewPageSource":				MsgViewPageSource();				break;			case "cmd_reload":				MsgReload();				break;			case "cmd_find":				MsgFind();				break;			case "cmd_findAgain":				MsgFindAgain(false);				break;			case "cmd_findPrev":				MsgFindAgain(true);				break;      case "cmd_search":        MsgSearchMessages();        break;      case "button_mark":			case "cmd_markAsRead":				MsgMarkMsgAsRead(null);				return;			case "cmd_markThreadAsRead":				MsgMarkThreadAsRead();				return;			case "cmd_markAllRead":				MsgMarkAllRead();				return;			case "cmd_markAsFlagged":				MsgMarkAsFlagged(null);				return;			case "cmd_markAsJunk":        JunkSelectedMessages(true);				return;			case "cmd_markAsNotJunk":        JunkSelectedMessages(false);				return;      case "cmd_label0":        gDBView.doCommand(nsMsgViewCommandType.label0); 				return;      case "cmd_label1":        gDBView.doCommand(nsMsgViewCommandType.label1);        return;       case "cmd_label2":        gDBView.doCommand(nsMsgViewCommandType.label2);        return;       case "cmd_label3":        gDBView.doCommand(nsMsgViewCommandType.label3);        return;       case "cmd_label4":        gDBView.doCommand(nsMsgViewCommandType.label4);        return;       case "cmd_label5":        gDBView.doCommand(nsMsgViewCommandType.label5);        return;       case "cmd_downloadFlagged":        MsgDownloadFlagged();        return;      case "cmd_downloadSelected":        MsgDownloadSelected();        return;      case "cmd_synchronizeOffline":        MsgSynchronizeOffline();        return;      case "cmd_settingsOffline":        MsgSettingsOffline();        return;      case "cmd_nextUnreadMsg":      case "button_next":        performNavigation(nsMsgNavigationType.nextUnreadMessage);        break;			case "cmd_nextUnreadThread":              performNavigation(nsMsgNavigationType.nextUnreadThread);				break;			case "cmd_nextMsg":        performNavigation(nsMsgNavigationType.nextMessage);				break;			case "cmd_nextFlaggedMsg":        performNavigation(nsMsgNavigationType.nextFlagged);				break;			case "cmd_previousMsg":        performNavigation(nsMsgNavigationType.previousMessage);				break;			case "cmd_previousUnreadMsg":        performNavigation(nsMsgNavigationType.previousUnreadMessage);				break;			case "cmd_previousFlaggedMsg":        performNavigation(nsMsgNavigationType.previousFlagged);				break;		}	},
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/1db54cf6bc6c5d72dcf52b0a44f8be9bd921a05e/messageWindow.js/clean/mailnews/base/resources/content/messageWindow.js