if (InlineSpellChecker.inlineSpellChecker) if (InlineSpellChecker.inlineSpellChecker.enableRealTimeSpell) InlineSpellChecker.checkDocument(window.content.document); 
if (InlineSpellCheckerUI.enabled) InlineSpellCheckerUI.mInlineSpellChecker.spellCheckRange(null); 
function ChangeLanguage(event){  // We need to change the dictionary language and if we are using inline spell check,  // recheck the message  var spellChecker = Components.classes['@mozilla.org/spellchecker/myspell;1']                               .getService(mozISpellCheckingEngine);  if (spellChecker.dictionary != event.target.value)  {    spellChecker.dictionary = event.target.value;    var str = Components.classes["@mozilla.org/supports-string;1"]                        .createInstance(nsISupportsString);    str.data = event.target.value;    sPrefs.setComplexValue("spellchecker.dictionary", nsISupportsString, str);    // now check the document over again with the new dictionary    if (InlineSpellChecker.inlineSpellChecker)      if (InlineSpellChecker.inlineSpellChecker.enableRealTimeSpell)        InlineSpellChecker.checkDocument(window.content.document);  }  event.stopPropagation();}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/f6094be94ba3d9b15ce02502ac68ed6af2c6284b/MsgComposeCommands.js/clean/mail/components/compose/content/MsgComposeCommands.js