var spellChecker = Components.classes["@mozilla.org/spellchecker/hunspell;1"] 
var spellChecker = Components.classes["@mozilla.org/spellchecker/engine;1"] 
function ExitSpellChecker(){  if (gSpellChecker)  {    try    {      var curLang = gSpellChecker.GetCurrentDictionary();      gSpellChecker.UninitSpellChecker();      if ("@mozilla.org/spellchecker;1" in Components.classes) {        var spellChecker = Components.classes["@mozilla.org/spellchecker/hunspell;1"]                                     .getService(Components.interfaces.mozISpellCheckingEngine);        spellChecker.dictionary = curLang;      }      // now check the document over again with the new dictionary      // if we have an inline spellchecker      if (("InlineSpellCheckerUI" in window.opener) &&          window.opener.InlineSpellCheckerUI.enabled)        window.opener.InlineSpellCheckerUI.mInlineSpellChecker.spellCheckRange(null);    }    finally    {      gSpellChecker = null;    }  }}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/86585fea7e25849c384ad5eef332e922f84b1211/EdSpellCheck.js/buggy/editor/ui/dialogs/content/EdSpellCheck.js