CKEDITOR.skins.add("office2003",(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 n=a.data,m=n.width,l=n.height,k=n.dialog,j=k.parts.contents;if(n.skin!="office2003"){return}j.setStyles({width:m+"px",height:l+"px"});if(!CKEDITOR.env.ie||CKEDITOR.env.ie9Compat){return}var i=function(){var f=k.parts.dialog.getChild([0,0,0]),e=f.getChild(0),d=e.getSize("width");l+=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",l);c=f.getChild(5);c.setSize("height",l)};setTimeout(i,100);if(a.editor.lang.dir=="rtl"){setTimeout(i,1000)}})}})();