tinymce.create("tinymce.plugins.AdvancedHRPlugin",{init:function(e,n){e.addCommand("mceAdvancedHr",(function(){e.windowManager.open({file:n+"/rule.htm",width:250+parseInt(e.getLang("advhr.delta_width",0)),height:160+parseInt(e.getLang("advhr.delta_height",0)),inline:1},{plugin_url:n})})),e.addButton("advhr",{title:"advhr.advhr_desc",cmd:"mceAdvancedHr"}),e.onNodeChange.add((function(e,n,i){n.setActive("advhr","HR"==i.nodeName)})),e.onClick.add((function(e,n){"HR"===(n=n.target).nodeName&&e.selection.select(n)}))},getInfo:function(){return{longname:"Advanced HR",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advhr",version:tinymce.majorVersion+"."+tinymce.minorVersion}}}),tinymce.PluginManager.add("advhr",tinymce.plugins.AdvancedHRPlugin);
