(function(){var a=tinymce.DOM;tinymce.ThemeManager.requireLangPack("simple");tinymce.create("tinymce.themes.SimpleTheme",{init:function(c,d){var e=this,b=["Bold","Italic","Underline","Strikethrough","InsertUnorderedList","InsertOrderedList"],f=c.settings;e.editor=c;c.onInit.add(function(){c.onNodeChange.add(function(h,g){tinymce.each(b,function(i){g.get(i.toLowerCase()).setActive(h.queryCommandState(i))})});c.dom.loadCSS(d+"/skins/"+f.skin+"/content.css")});a.loadCSS((f.editor_css?c.documentBaseURI.toAbsolute(f.editor_css):"")||d+"/skins/"+f.skin+"/ui.css")},renderUI:function(e){var i=this,f=e.targetNode,d,g,h=i.editor,b=h.controlManager,c;f=a.insertAfter(a.create("span",{id:h.id+"_container","class":"mceEditor "+h.settings.skin+"SimpleSkin"}),f);f=c=a.add(f,"table",{cellPadding:0,cellSpacing:0,"class":"mceLayout"});f=g=a.add(f,"tbody");f=a.add(g,"tr");f=d=a.add(a.add(f,"td"),"div",{"class":"mceIframeContainer"});f=a.add(a.add(g,"tr",{"class":"last"}),"td",{"class":"mceToolbar mceLast",align:"center"});g=i.toolbar=b.createToolbar("tools1");g.add(b.createButton("bold",{title:"simple.bold_desc",cmd:"Bold"}));g.add(b.createButton("italic",{title:"simple.italic_desc",cmd:"Italic"}));g.add(b.createButton("underline",{title:"simple.underline_desc",cmd:"Underline"}));g.add(b.createButton("strikethrough",{title:"simple.striketrough_desc",cmd:"Strikethrough"}));g.add(b.createSeparator());g.add(b.createButton("undo",{title:"simple.undo_desc",cmd:"Undo"}));g.add(b.createButton("redo",{title:"simple.redo_desc",cmd:"Redo"}));g.add(b.createSeparator());g.add(b.createButton("cleanup",{title:"simple.cleanup_desc",cmd:"mceCleanup"}));g.add(b.createSeparator());g.add(b.createButton("insertunorderedlist",{title:"simple.bullist_desc",cmd:"InsertUnorderedList"}));g.add(b.createButton("insertorderedlist",{title:"simple.numlist_desc",cmd:"InsertOrderedList"}));g.renderTo(f);return{iframeContainer:d,editorContainer:h.id+"_container",sizeContainer:c,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)})();