(function(){tinymce.create('tinymce.plugins.Maple4Plugin',{init:function(ed,url){ed.addCommand('mceMaple',function(){ed.windowManager.open({file:url+'/maple4.htm',width:300+parseInt(ed.getLang('maple4.delta_width',0)),height:160+parseInt(ed.getLang('maple4.delta_height',0)),inline:1},{plugin_url:url});});ed.addButton('maple4',{title:'Add Objects for Maple4 Site Creator',cmd:'mceMaple',image : url + '/img/icon.gif'});},getInfo:function(){return{longname:'Maple4',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/maple4',version:tinymce.majorVersion+"."+tinymce.minorVersion};}});tinymce.PluginManager.add('maple4',tinymce.plugins.Maple4Plugin);})();