!function(){window.tinyMCE&&!window.WFEditor&&(void 0==window.jSelectArticle&&(window.jSelectArticle=function(t,n,o,e,i,c){var l=c?' hreflang = "'+c+'"':"",d="<a"+l+' href="'+i+'">'+n+"</a>";jInsertEditorText(d,"jform_articletext"),jModalClose()}),tinyMCE.PluginManager.add("jArticleButton",function(t,n){t.addButton("button-2Article",{text:"Article",title:"Article",icon:"none icon-file-add",onclick:function(){var n={title:"Article",url:"index.php?option=com_content&view=articles&layout=modal&tmpl=component&editor=dummy_editor",buttons:[{text:"Close",onclick:"close"}],width:800,height:500};t.windowManager.open(n)}})}),Joomla.getOptions&&(window.jInsertEditorText=function(t,n){tinyMCE.activeEditor.execCommand("mceInsertContent",!1,t)},tinyMCE.PluginManager.add("jMenuButton",function(t){t.addButton("button-3Menu",{text:"Menu",title:"Menu",icon:"none icon-share-alt",onclick:function(){t.windowManager.open({title:"Menu",url:"index.php?option=com_menus&view=items&layout=modal&tmpl=component&editor=dummy_editor",buttons:[{text:"Close",onclick:"close"}],width:800,height:500})}})}),tinyMCE.PluginManager.add("jContactButton",function(t){t.addButton("button-4Contact",{text:"Contact",title:"Contact",icon:"none icon-address",onclick:function(){t.windowManager.open({title:"Contact",url:"index.php?option=com_contact&view=contacts&layout=modal&tmpl=component&editor=dummy_editor",buttons:[{text:"Close",onclick:"close"}],width:800,height:500})}})})))}();