CKEDITOR.skins.add("v2",(function(){return{editor:{css:["editor.css"]},dialog:{css:["dialog.css"]},separator:{canGroup:false},templates:{css:["templates.css"]},margins:[0,14,18,14]}})());(function(){CKEDITOR.dialog?b():CKEDITOR.on("dialogPluginReady",b);function b(){CKEDITOR.dialog.on("resize",function(a){var l=a.data,k=l.width,j=l.height,i=l.dialog,h=i.parts.contents;if(l.skin!="v2"){return}h.setStyles({width:k+"px",height:j+"px"});if(!CKEDITOR.env.ie||CKEDITOR.env.ie9Compat){return}setTimeout(function(){var f=i.parts.dialog.getChild([0,0,0]),e=f.getChild(0),d=e.getSize("width");j+=e.getChild(0).getSize("height")+1;var c=f.getChild(2);c.setSize("width",d);c=f.getChild(7);c.setSize("width",d-28);c=f.getChild(4);c.setSize("height",j);c=f.getChild(5);c.setSize("height",j)},100)})}})();