tinymce.create("tinymce.plugins.AdvancedImagePlugin",{init:function(e,i){e.addCommand("mceAdvImage",(function(){-1==e.dom.getAttrib(e.selection.getNode(),"class","").indexOf("mceItem")&&e.windowManager.open({file:i+"/image.htm",width:480+parseInt(e.getLang("advimage.delta_width",0)),height:385+parseInt(e.getLang("advimage.delta_height",0)),inline:1},{plugin_url:i})})),e.addButton("image",{title:"advimage.image_desc",cmd:"mceAdvImage"})},getInfo:function(){return{longname:"Advanced image",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advimage",version:tinymce.majorVersion+"."+tinymce.minorVersion}}}),tinymce.PluginManager.add("advimage",tinymce.plugins.AdvancedImagePlugin);
