(function(){tinymce.PluginManager.requireLangPack('smextensions');tinymce.create('tinymce.plugins.SMExtensionsPlugin',{init:function(ed,url){ed.addCommand('mceSMExtensions',function(){ed.windowManager.open({file:url+'/dialog.htm',width:300+parseInt(ed.getLang('smextensions.delta_width',0)),height:100+parseInt(ed.getLang('smextensions.delta_height',0)),inline:1},{plugin_url:url})});ed.addButton('smextensions',{title:'smextensions.desc',cmd:'mceSMExtensions',image:url+'/img/button.gif'})},getInfo:function(){return{longname:'SMExtensions plugin',author:'Sitemagic CMS',authorurl:'http://sitemagic.dk',infourl:'http://sitemagic.dk',version:"1.0"}}});tinymce.PluginManager.add('smextensions',tinymce.plugins.SMExtensionsPlugin)})();