add: case "cmd_close": CloseMailWindow(); break; 
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_getNewMessages":				MsgGetMessage();				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_delete":				MsgDeleteMessageFromMessageWindow(false, false);				break;			case "cmd_shiftDelete":				MsgDeleteMessageFromMessageWindow(true, false);				break;			case "button_delete":				MsgDeleteMessageFromMessageWindow(false, true);				break;			case "cmd_print":				PrintEnginePrint();				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();				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_downloadFlagged":        MsgDownloadFlagged();        return;      case "cmd_downloadSelected":        MsgDownloadSelected();        return;      case "cmd_toggleWorkOffline":        MsgToggleWorkOffline();        return;      case "cmd_synchronizeOffline":        MsgSynchronizeOffline();        return;			case "cmd_nextUnreadMsg":        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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3ad651ca3bc9abc19cb47e72b901e5c92c271fb4/messageWindow.js/clean/mailnews/base/resources/content/messageWindow.js