rem: MsgSettingsOffline(); 
add: MailOfflineMgr.openOfflineAccountSettings(); 
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_moveToFolderAgain":        var folderId = pref.getCharPref("mail.last_msg_movecopy_target_uri");        if (pref.getBoolPref("mail.last_msg_movecopy_was_move"))          MsgMoveMessage(folderId);        else          MsgCopyMessage(folderId);        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_findPrevious":				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_markReadByDate":        MsgMarkReadByDate();        return;			case "cmd_markAsFlagged":				MsgMarkAsFlagged(null);				return;			case "cmd_markAsJunk":        JunkSelectedMessages(true);				return;			case "cmd_markAsNotJunk":        JunkSelectedMessages(false);				return;      case "cmd_recalculateJunkScore":        analyzeMessagesForJunk();        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 "button_previous":      case "cmd_previousUnreadMsg":        performNavigation(nsMsgNavigationType.previousUnreadMessage);		break;      case "cmd_previousFlaggedMsg":        performNavigation(nsMsgNavigationType.previousFlagged);        break;      case "cmd_goForward":        performNavigation(nsMsgNavigationType.forward);        break;      case "cmd_goBack":        performNavigation(nsMsgNavigationType.back);        break;      }	},
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d4a47843afb11fb60fd06b3678ecd6c427c1bbf8/messageWindow.js/buggy/mail/base/content/messageWindow.js