tinymce.create("tinymce.plugins.wpLink",{init:function(n,i){var o=!0;n.addCommand("WP_Link",function(){o||n.windowManager.open({id:"wp-link",width:480,height:"auto",wpDialog:!0,title:n.getLang("advlink.link_desc")},{plugin_url:i})}),n.addButton("link",{title:"advanced.link_desc",cmd:"WP_Link"}),n.onNodeChange.add(function(n,i,e,t){o=t&&"A"!=e.nodeName})},getInfo:function(){return{longname:"WordPress Link Dialog",author:"WordPress",authorurl:"http://wordpress.org",infourl:"",version:"1.0"}}}),tinymce.PluginManager.add("wplink",tinymce.plugins.wpLink);