CKEDITOR.editorConfig=function(C){C.disableNativeSpellChecker=false;C.autoUpdateElement=false;C.enterMode=CKEDITOR.ENTER_BR;C.shiftEnterMode=CKEDITOR.ENTER_BR;C.forcePasteAsPlainText=false;C.fontSize_style={element:"font",attributes:{size:"#(size)"}};C.coreStyles_subscript={element:"sub"};C.coreStyles_superscript={element:"sup"};C.smiley_path="./";C.toolbarCanCollapse=false;CKEDITOR.on("dialogDefinition",function(I){var J=I.data.name;var K=I.data.definition;if(J=="link"){if(I.data.DeleteDone){return }else{I.data.DeleteDone=1}K.removeContents("advanced");K.removeContents("target");var H=K.getContents("info");delete H.elements[0].items[1];H.elements[0].items[1]=H.elements[0].items[2];delete H.elements[0].items[2];delete H.elements[3].children[2];delete H.elements[3].children[1]}if(J=="image"){K.removeContents("advanced");K.removeContents("Link")}if(J=="flash"){K.removeContents("advanced")}});C.resize_dir="vertical";C.disableObjectResizing=true;var G="about,a11yhelp,bidi,blockquote,colorbutton,contextmenu,dialogadvtab,div,scayt,elementspath,filebrowser,find,flash,link,newpage,pagebreak,preview,print,removeformat,save,showblocks,showborders,sourcearea,specialchar,table,undo";C.removePlugins+=(C.removePlugins?","+G:G);var B="bbcode,attachment,codetags,videotag,tablebuttons,smiliebox,enhancedsourcearea,vbbutton,vbimage,vbjustify,vblink,vbremoveformat,vbresize,vbtable,vbtextcolor,vbundo";C.extraPlugins+=(C.extraPlugins?","+B:B);var F=CKEDITOR.basePath;C.vbPluginPath=F.substr(0,F.lastIndexOf("ckeditor/"))+"ckeplugins/";var A=C.extraPlugins.split(",");for(var D=0;D<A.length;D++){try{if(!CKEDITOR.plugins.get(A[D])){CKEDITOR.plugins.addExternal(A[D],C.vbPluginPath+A[D]+"/","plugin.js")}}catch(E){}}};