rem: InlineSpellChecker.Init(GetCurrentEditor(), false); 
context:   onClose: function() {    //Reset recipients and attachments    ReleaseAutoCompleteState();    awResetAllRows();    RemoveAllAttachments();    // We need to clear the identity popup menu in case the user will change them.     // It will be rebuilt later in ComposeStartup    ClearIdentityListPopup(document.getElementById("msgIdentityPopup"));     //Clear the subject    GetMsgSubjectElement().value = "";    // be sure to clear the transaction manager for the subject    GetMsgSubjectElement().editor.transactionManager.clear();    SetComposeWindowTitle();    SetContentAndBodyAsUnmodified();    disableEditableFields();    ReleaseGlobalVariables();    // Clear the focus    awGetInputElement(1).removeAttribute('focused');    //Reset Boxes size        document.getElementById("headers-box").removeAttribute("height");    document.getElementById("appcontent").removeAttribute("height");    document.getElementById("addresses-box").removeAttribute("width");    document.getElementById("attachments-box").removeAttribute("width");    //Reset menu options    document.getElementById("format_auto").setAttribute("checked", "true");    document.getElementById("priority_normal").setAttribute("checked", "true");    //Reset toolbars that could be hidden    if (gHideMenus) {      document.getElementById("formatMenu").hidden = false;      document.getElementById("insertMenu").hidden = false;      var showFormat = document.getElementById("menu_showFormatToolbar")      showFormat.hidden = false;      if (showFormat.getAttribute("checked") == "true")        document.getElementById("FormatToolbar").hidden = false;    }    //Reset editor    InlineSpellChecker.Init(GetCurrentEditor(), false); // unregister inline spell checking listeners and release the spell checker    EditorResetFontAndColorAttributes();    EditorCleanup();    //Release the nsIMsgComposeParams object    if (window.arguments && window.arguments[0])      window.arguments[0] = null;    var event = document.createEvent('Events');    event.initEvent('compose-window-close', false, true);    document.getElementById("msgcomposeWindow").dispatchEvent(event);    if (gAutoSaveTimeout)      clearTimeout(gAutoSaveTimeout);  },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/f6094be94ba3d9b15ce02502ac68ed6af2c6284b/MsgComposeCommands.js/clean/mail/components/compose/content/MsgComposeCommands.js