tinymce.create("tinymce.plugins.VisualBlocks",{init:function(e,i){var s;window.NodeList&&(e.addCommand("mceVisualBlocks",(function(){var l,n=e.dom;s?(l=n.get(s)).disabled=!l.disabled:(s=n.uniqueId(),l=n.create("link",{id:s,rel:"stylesheet",href:i+"/css/visualblocks.css"}),e.getDoc().getElementsByTagName("head")[0].appendChild(l)),e.controlManager.setActive("visualblocks",!l.disabled)})),e.addButton("visualblocks",{title:"visualblocks.desc",cmd:"mceVisualBlocks"}),e.onInit.add((function(){e.settings.visualblocks_default_state&&e.execCommand("mceVisualBlocks",!1,null,{skip_focus:!0})})))},getInfo:function(){return{longname:"Visual blocks",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/visualblocks",version:tinymce.majorVersion+"."+tinymce.minorVersion}}}),tinymce.PluginManager.add("visualblocks",tinymce.plugins.VisualBlocks);
