CKEDITOR.plugins.add("vbresize",{init:function(A){if(A.config.resize_enabled!==false){A.on("resize",function(){var C=CKEDITOR.document.getById("cke_contents_"+A.name);var B=C.getStyle("height");if(B&&A.config.vbtype){expires=new Date();expires.setTime(expires.getTime()+(1000*86400*365));set_subcookie("editor_height",A.config.vbtype,B,expires)}})}}});