(function(){tinymce.PluginManager.requireLangPack('dphighlight');tinymce.create('tinymce.plugins.dpHighlight',{init:function(ed,url){ed.addCommand('mceadddpHighlight',function(){ed.windowManager.open({file:url+'/dphighlight.htm',width:530+ed.getLang('dphighlight.delta_width',0),height:500+ed.getLang('dphighlight.delta_height',0),inline:1},{plugin_url:url,some_custom_arg:'custom arg'})});ed.addButton("dphighlight",{title:"dphighlight.desc",cmd:"mceadddpHighlight",image:url+"/img/dphighlight.gif"});ed.onNodeChange.add(function(ed,cm,n){cm.setActive('dphighlight',n.nodeName=='IMG')})},getInfo:function(){return{longname:'dpHighlight',author:'Xarigami',authorurl:'http://xarigami.com/',infourl:'http://xarigami.com/project/xarigami_dphighlight',version:"1.1"}}});tinymce.PluginManager.add('dphighlight',tinymce.plugins.dpHighlight)})();