window.RTESimpleEditor=$rte.Base._extends(function(base,type){ this.init=function(config,textarea,loader) { var frame=config.skin_frame; var win=frame.contentWindow; var doc=win.document; if(jsml.msie) doc.body.contentEditable=true else doc.designMode='on'; var body=doc.body; body.innerHTML=textarea.value; var head=doc.getElementsByTagName("head")[0] var link=doc.createElement("LINK"); link.setAttribute("rel","stylesheet"); link.setAttribute("href",config.folder+"styles/tabedit.css?"+config._urlsuffix); head.appendChild(link); var contentcss=config.contentcss; if(contentcss) { contentcss=contentcss.split(','); for(var i=0;i