(function(){tinymce.create("tinymce.plugins.Nonbreaking",{init:function(b,c){var a=this;a.editor=b;b.addCommand("mceNonBreaking",function(){b.execCommand("mceInsertContent",false,(b.plugins.visualchars&&b.plugins.visualchars.state)?'<span class="mceItemHidden mceVisualNbsp">&middot;</span>':"&nbsp;")});b.addButton("nonbreaking",{title:"nonbreaking.nonbreaking_desc",cmd:"mceNonBreaking"});if(b.getParam("nonbreaking_force_tab")){b.onKeyDown.add(function(d,e){if(tinymce.isIE&&e.keyCode==9){d.execCommand("mceNonBreaking");d.execCommand("mceNonBreaking");d.execCommand("mceNonBreaking");tinymce.dom.Event.cancel(e)}})}},getInfo:function(){return{longname:"Nonbreaking space",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/nonbreaking",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("nonbreaking",tinymce.plugins.Nonbreaking)})();