(function(){tinymce.create("tinymce.plugins.IESpell",{init:function(c,d){var a=this,b;if(!tinymce.isIE){return}a.editor=c;c.addCommand("mceIESpell",function(){try{b=new ActiveXObject("ieSpell.ieSpellExtension");b.CheckDocumentNode(c.getDoc().documentElement)}catch(e){if(e.number==-2146827859){c.windowManager.confirm(c.getLang("iespell.download"),function(f){if(f){window.open("http://www.iespell.com/download.php","ieSpellDownload","")}})}else{c.windowManager.alert("Error Loading ieSpell: Exception "+e.number)}}});c.addButton("iespell",{title:"iespell.iespell_desc",cmd:"mceIESpell"})},getInfo:function(){return{longname:"IESpell (IE Only)",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/iespell",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("iespell",tinymce.plugins.IESpell)})();