!function(){var e=tinymce.DOM;tinymce.ThemeManager.requireLangPack("simple"),tinymce.create("tinymce.themes.SimpleTheme",{init:function(t,d){var i=["Bold","Italic","Underline","Strikethrough","InsertUnorderedList","InsertOrderedList"],n=t.settings;this.editor=t,t.contentCSS.push(d+"/skins/"+n.skin+"/content.css"),t.onInit.add((function(){t.onNodeChange.add((function(e,t){tinymce.each(i,(function(d){t.get(d.toLowerCase()).setActive(e.queryCommandState(d))}))}))})),e.loadCSS((n.editor_css?t.documentBaseURI.toAbsolute(n.editor_css):"")||d+"/skins/"+n.skin+"/ui.css")},renderUI:function(t){var d,i,n,r=t.targetNode,a=this.editor,o=a.controlManager;return r=e.insertAfter(e.create("span",{id:a.id+"_container",class:"mceEditor "+a.settings.skin+"SimpleSkin"}),r),r=n=e.add(r,"table",{cellPadding:0,cellSpacing:0,class:"mceLayout"}),r=i=e.add(r,"tbody"),r=e.add(i,"tr"),r=d=e.add(e.add(r,"td"),"div",{class:"mceIframeContainer"}),r=e.add(e.add(i,"tr",{class:"last"}),"td",{class:"mceToolbar mceLast",align:"center"}),(i=this.toolbar=o.createToolbar("tools1")).add(o.createButton("bold",{title:"simple.bold_desc",cmd:"Bold"})),i.add(o.createButton("italic",{title:"simple.italic_desc",cmd:"Italic"})),i.add(o.createButton("underline",{title:"simple.underline_desc",cmd:"Underline"})),i.add(o.createButton("strikethrough",{title:"simple.striketrough_desc",cmd:"Strikethrough"})),i.add(o.createSeparator()),i.add(o.createButton("undo",{title:"simple.undo_desc",cmd:"Undo"})),i.add(o.createButton("redo",{title:"simple.redo_desc",cmd:"Redo"})),i.add(o.createSeparator()),i.add(o.createButton("cleanup",{title:"simple.cleanup_desc",cmd:"mceCleanup"})),i.add(o.createSeparator()),i.add(o.createButton("insertunorderedlist",{title:"simple.bullist_desc",cmd:"InsertUnorderedList"})),i.add(o.createButton("insertorderedlist",{title:"simple.numlist_desc",cmd:"InsertOrderedList"})),i.renderTo(r),{iframeContainer:d,editorContainer:a.id+"_container",sizeContainer:n,deltaHeight:-20}},getInfo:function(){return{longname:"Simple theme",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",version:tinymce.majorVersion+"."+tinymce.minorVersion}}}),tinymce.ThemeManager.add("simple",tinymce.themes.SimpleTheme)}();
