(function(){tinymce.PluginManager.requireLangPack('form');tinymce.create('tinymce.plugins.FormPlugin',{init:function(ed,url){ed.addCommand('mceForm',function(){ed.windowManager.open({file:formlink,width:350+ed.getLang('form.delta_width',0),height:90+ed.getLang('form.delta_height',0),inline:1},{plugin_url:url,some_custom_arg:'custom arg'})});ed.addButton('form',{title:'form.desc',cmd:'mceForm',image:url+'/img/form.gif'})},createControl:function(n,cm){return null},getInfo:function(){return{longname:'Form plugin',author:'OpenSesame ICT',authorurl:'http://www.osict.com',infourl:'http://www.osict.com',version:"1.0"}}});tinymce.PluginManager.add('form',tinymce.plugins.FormPlugin)})();