if (typeof(window.RadSpellNamespace)=="u\x6e\x64\145f\x69\x6eed"){window.RadSpellNamespace=new Object(); }window.RadSpellWrappers=new Object(); RadSpellNamespace.Ir= function (text){var ld=text.replace(/\x0a/gi,"\x3cteleri\x6b\x63r />"); ld=ld.replace(/\x0d/gi,"\x3ctele\x72\x69klf \x2f\x3e"); return ld; } ; RadSpellNamespace.os= function (text){var ld=text.replace(/\x3c\x74\x65\x6c\x65\x72\x69\x6b\x63\x72\s*\x2f\x3e/gi,"\x0a"); var ld=ld.replace(/\x3c\x74\x65\x6c\x65\x72\x69\x6b\x6c\x66\s*\x2f\x3e/gi,"\x0d"); return ld; } ; function HtmlElement(T,ownerDocument){ this.V=T; if (ownerDocument==null){ownerDocument=document; } ; this.ownerDocument=ownerDocument; } ; HtmlElement.prototype.Os= function (){return (this.V.disabled!= true); } ; HtmlElement.prototype.ls= function (is){var H=(is== true)?"e\x6eable": "\x64\x69sable"; this[H](); } ; HtmlElement.prototype.Is= function (){return ""; } ; HtmlElement.prototype.ot= function (){return ""; } ; HtmlElement.prototype.enable= function (){ this.V.disabled= false; if (this.ot()!=""){ this.V.className=this.ot(); } ; } ; HtmlElement.prototype.Ot= function (){ this.V.disabled= true; if (this.Is()!=""){ this.V.className=this.Is(); } ; } ; HtmlElement.prototype.lt= function (){return this.V.style.visibility!="\x68idd\x65\x6e"; } ; HtmlElement.prototype.hide= function (){ this.V.style.visibility="\x68idden"; } ; HtmlElement.prototype.it= function (){return this.V.style.display; } ; HtmlElement.prototype.It= function (ou){ this.V.style.display=ou; } ; HtmlElement.prototype.show= function (){ this.V.style.visibility="visible"; } ; HtmlElement.Ou= function (lu,iu){if (iu==null){iu=document; } ; if (iu.all!=null){return iu.all[lu]; } ; return iu.getElementById(lu); } ; function Iu(){var ov= function (V,ownerDocument){ this.base=HtmlElement; this.base(V,ownerDocument); } ; ov.prototype=new HtmlElement(); ov.Ov= function (lu,iu){var lv=HtmlElement.Ou(lu,iu); if (lv==null){return null; }else {return new ov(lv,iu); } ; } ; return ov; } ; RadSpellWrappers.Div=Iu(); RadSpellWrappers.Div.prototype.getText= function (){return this.V.innerHTML; } ; RadSpellWrappers.Div.prototype.setText= function (caption){ this.V.innerHTML=caption; } ; RadSpellWrappers.Div.prototype.iv= function (o0){ this.V.onclick=o0; };RadSpellWrappers.HtmlSelect=Iu(); RadSpellWrappers.HtmlSelect.prototype.Iv= function (){return this.V.options.length; } ; RadSpellWrappers.HtmlSelect.prototype.addOption= function (ow,Ow){var lw=new Option(ow,Ow); if (this.V.options.add!=null){ this.V.options.add(lw); }else { this.V.options[this.Iv()]=lw; }} ; RadSpellWrappers.HtmlSelect.prototype.iw= function (){ this.V.options.length=0; } ; RadSpellWrappers.HtmlSelect.prototype.Iw= function (){return this.V.selectedIndex; } ; RadSpellWrappers.HtmlSelect.prototype.ox= function (selected){ this.V.selectedIndex=selected; } ; RadSpellWrappers.HtmlSelect.prototype.getItem= function (index){return this.V.options[index]; } ; RadSpellWrappers.TextArea=Iu(); RadSpellWrappers.TextArea.prototype.getText= function (){return this.V.value; } ; RadSpellWrappers.TextArea.prototype.setText= function (text){ this.V.value=text; } ; RadSpellWrappers.IFrame=Iu(); RadSpellWrappers.IFrame.prototype.getText= function (){var html=this.Ox().innerHTML; return html!=null?html: ""; } ; RadSpellWrappers.IFrame.prototype.setText= function (text){ this.Ox().innerHTML=text; } ; RadSpellWrappers.IFrame.prototype.l1= function (){var lx=this.V.id; var iframe=null; if (this.ownerDocument.frames!=null && this.ownerDocument.frames[lx]!=null){iframe=this.ownerDocument.frames[lx]; } ; if (iframe==null){iframe=HtmlElement.Ou(lx,this.ownerDocument); } ; if (iframe.document!=null){return iframe.document; }else {return iframe.contentWindow.document; } ; } ; RadSpellWrappers.IFrame.prototype.Ox= function (){return this.l1().body; } ; RadSpellWrappers.IFrame.prototype.ix= function (){var lx=this.V.id; var iframe=null; if (this.ownerDocument.frames!=null && this.ownerDocument.frames[lx]!=null){return this.ownerDocument.frames[lx]; } ; if (iframe==null){var frame=HtmlElement.Ou(lx,this.ownerDocument); return frame.contentWindow; } ; return null; } ; RadSpellWrappers.IFrame.prototype.Ix= function (){return typeof(this.Ox().contentEditable)!="undefin\x65d"; } ; RadSpellWrappers.IFrame.prototype.oy= function (Oy){if (this.Ix()){ this.Ox().contentEditable=Oy; } ; } ; RadSpellWrappers.IFrame.prototype.ly= function (){if (!this.Ix()){return false; }else {return this.Ox().contentEditable=="t\x72\x75e" || this.Ox().contentEditable== true; } ; } ; RadSpellWrappers.Button=Iu(); RadSpellWrappers.Button.prototype.Is= function (){return "ButtonDi\x73\x61ble\x64"; } ; RadSpellWrappers.Button.prototype.ot= function (){return "Button"; } ; RadSpellWrappers.Button.prototype.iy= function (){return this.V.innerHTML; } ; RadSpellWrappers.Button.prototype.Iy= function (caption){ this.V.innerHTML=caption; } ;
