﻿function RadEditorModuleBase(moduleArgs){if (!moduleArgs)return; this.Editor=moduleArgs.Editor; this.IsIE=this.Editor.IsIE; this.IsOpera=this.Editor.IsOpera; this.Localization=this.Editor.Localization; this.Document=moduleArgs.Document; this.ModuleElement=moduleArgs.ModuleElement; this.Title=moduleArgs.Title; this.Id=moduleArgs.Id; this.ModuleElement.className=moduleArgs.ClassName?moduleArgs.ClassName: "R\x61\x64\105\x4d\x6fdul\x65"; this.I1l=null; this.Ib0= {} ; this.Iao= false; this.IsEnabled= false; this.ob1=moduleArgs.ob1; this.Ob1=moduleArgs.Ob1; this.lb1=null; this.EnableMaxWidth= true; }RadEditorModuleBase.prototype.I15= function (){if (!this.Iao)this.Create(); return this.I1l; } ; RadEditorModuleBase.prototype.SetVisible= function (visible){if (visible && !this.IsEnabled)return; var o8=this.I15(); if (visible){if (o8.i9k){o8.i9k(); }else o8.style.display=this.lb1; }else {if (o8.O9i)o8.O9i(); else o8.style.display="none"; }} ; RadEditorModuleBase.prototype.ib1= function (){if (!window.event)return; var src=window.event.srcElement; if (src.tagName!="TABLE")return; if (src && null!=src.i9i){if (!src.i9i()){src.l99(); }}} ; RadEditorModuleBase.prototype.Ib1= function (){var I1k=RadEditorNamespace.Utils.ob2(document); I1k.insertRow(-1); if (this.ob1){I1k.width="\x31\x30\x30%"; }var o1l=I1k.rows[0].insertCell(-1); o1l.innerHTML="\x3cspan style=\x27\146\x6f\x6et-\x73ize:1p\x78\x3bli\x6e\x65-h\x65ight:\x30px;\047\076&\x6ebsp;<\x2f\163p\x61n>"; o1l.setAttribute("height","100%"); o1l.appendChild(this.ModuleElement); if (this.ob1 && RadEditorNamespace.I95){var I8k=RadEditorNamespace.I95.i9c(I1k,this.O9n,RadEditorNamespace.Ob2,RadEditorNamespace.lb2,"\x52adEModuleT\x61\x62le","\x52\x61dEModul\x65\x54able",this.Title); I1k=I8k; } this.lb1=this.IsIE && !this.IsOpera?"\151n\x6c\x69ne": ""; I1k.className="\122adEModul\x65Tab\x6c\145"; if (!this.IsIE){I1k.setAttribute("\x73tyle","f\x6c\x6fat:left"); }if (this.Editor.IsIE && I1k.attachEvent){I1k.attachEvent("\x6fnresi\x7a\x65",RadEditorModuleBase.prototype.ib1); }return I1k; } ; RadEditorModuleBase.prototype.Dispose= function (){for (var i in this.Ib0){ this.DetachEventHandler(i); this.Ib0[i]=null; } this.Ib0=null; try {if (this.Oab)this.Oab(); }catch (e){alert("Dispose \x66ailed fo\x72\x20"+this.Title+"\x20\x2d "+e.message); }if (this.I1l){ this.I1l.Iab=null; this.I1l.iab=null; this.I1l.oa5=null; this.I1l.O9m=null; this.I1l.o9m=null; this.I1l=null; } this.ModuleElement=null; this.Editor=null; } ; RadEditorModuleBase.prototype.I12= function (o86){ this.IsEnabled=o86; this.SetVisible(o86); } ; RadEditorModuleBase.prototype.Create= function (){ this.I1l=this.Ib1(); var module=this ; this.Iao= true; if (this.OnCreate){ this.OnCreate(); }return this.I1l; } ; RadEditorNamespace.Ob2= function (){ this.style.width=""; if (this.iab!=null){ this.iab(); }} ; RadEditorNamespace.lb2= function (){ this.style.width="\x3100px"; if (this.Iab!=null){ this.Iab(); }} ; RadEditorModuleBase.prototype.i1h= function (ib2,defaultValue){var Ib2=typeof(this ).toString(); var O45=this.Localization[ib2]; return O45!=null?O45:defaultValue; } ; RadEditorModuleBase.prototype.AttachEventHandler= function (i45,o4i){ this.Ib0[i45]=o4i; this.Editor.AttachEventHandler(i45,this.Ib0[i45]); } ; RadEditorModuleBase.prototype.DetachEventHandler= function (i45){ this.Editor.DetachEventHandler(i45,this.Ib0[i45]); } ; RadEditorModuleBase.prototype.OnCreate= function (){} ; RadEditorModuleBase.prototype.Oab= function (){} ;;RadEditor.prototype.ob3= function (Ob3){var l15=this.i15; for (var count=0; count<l15.length; count++){l15[count].SetVisible(Ob3); }} ; RadEditor.prototype.lb3= function (ib3){var Ib3=ib3.ob4.length; if (Ib3>0){for (var i=0; i<Ib3; i++){var Ob4=ib3.ob4[i]; var lb4=0; var Ib2=Ob4[lb4++]; var i98=Ob4[lb4++]; var dockable=Ob4[lb4++]; var visible=Ob4[lb4++]; var ib4=Ob4[lb4++]; var Ib4=Ob4[lb4++]; var I31=Ob4[lb4++]; var id=null; try {ib3.ob5(Ib2,i98,dockable,visible,id); }catch (e){} ; }var Ob5= function (editor){editor.AttachEventHandler(RadEditorNamespace.lb5, function (){var Ob3=(editor.iz==RadEditorNamespace.Iz); editor.ob3(Ob3); } ); editor.AttachEventHandler(RadEditorNamespace.ib5, function (){var l9f=editor.i15.length; for (var i=0; i<l9f; i++){var Oag=editor.i15[i]; Oag.Ib5(); }} ); } ; Ob5(ib3); }} ; RadEditor.prototype.ob5= function (Ib2,i98,dockable,Ob3,id){var ob6=this.i1h(Ib2,Ib2); var moduleArgs= {Editor: this,Document:document,Title:ob6,Id:id,Ob1:i98,ob1:dockable && this.I9s } ; eval("var modu\x6ce \x3d\x20new\x20"+Ib2+"(moduleAr\x67\x73)"); this.i15[this.i15.length]=module; var ib3=this ; if (!module.Iao){var O1s=module.Create(); var parentNode=this.l19(module.Ob1); parentNode.appendChild(O1s); if (module.ob1){ib3.i96(O1s); }module.I12(Ob3); ib3.o13(); }module.I1l.O9m= function (){module.Editor.o13(); module.I1l.style.width=""; module.I1l.width=""; };module.I1l.o9m= function (){module.Editor.o13(); module.Ib5(); };module.Ib5= function (){var Oag=this ; var Ob6= false; if (!Oag.ob1){var o8=Oag.I15(); if (o8 && o8.parentNode && !Oag.Editor.lb6(o8.parentNode)){Ob6= true; }}else {var o8=Oag.I15(); if (o8.i9i && o8.i9i() && !o8.O9n)Ob6= true; }if (Ob6 && Oag.EnableMaxWidth && Oag.I1l){var o8=Oag.I1l; var O21=o8.parentNode; if (O21 && O21.style.width=="\06100%"){o8.parentNode.style.width="\x3100%"; }o8.style.width="1\x30\x30%"; if (o8.i9k && o8.IsVisible && o8.IsVisible())o8.i9k(); }};return module; } ; RadEditor.prototype.GetModules= function (){return this.i15; } ;;RadEditorNamespace.Iat= {o:function (oah){oah.ClassName="Rad\x45\x54\157\x6flLong"; oah.PopupWidth=73; oah.PopupHeight=85; oah.iar=2; oah.Iar=2; oah.ib6="RadAlig\x6e\x6dentS\x65\x6cecto\x72Table"; var Z=RadEditorNamespace.Ib6.o(oah); RadEditorNamespace.Utils.w(Z,this ); Z.ob7=""; Z.Ob7=null; Z.lb7=null; Z.I3k=-1; Z.o1u=oah.o1u; Z.ItemsPerRow=3; Z.IsPopupScrollable= false; return Z; } ,O3i: [["",""],["n\x6fne",""],["",""],["",""],["\x74op",""],["",""],["\x6ceft",""],["\x61bsmiddle",""],["\x72ight",""],["",""],["botto\x6d",""],["",""]],l3i: [["",""],["none",""],["",""],["\x6ceft","\x74\x6fp"],["\x63\x65nter","\x74\x6fp"],["right","top"],["left","middle"],["\x63enter","\x6d\x69ddle"],["\x72ight","\x6diddle"],["\x6c\145ft","b\x6f\x74tom"],["cen\x74\x65r","bot\x74\x6fm"],["righ\x74","\x62ottom"]],i3i: [["",""],["\x6eone",""],["",""],["left",""],["center",""],["\x72\x69ght",""],["",""],["",""],["",""],["",""],["",""],["",""]],I3i: [["",""],["\x6eone",""],["",""],["l\x65\x66t","\x74op"],["\x63\x65nter","\x74op"],["right","\x74\x6fp"],["",""],["",""],["",""],["left","bott\x6f\x6d"],["center","bottom"],["right","b\x6f\x74tom"]],o3j: [["",""],["\156\x6f\x6ee",""],["",""],["",""],["","\x74\x6fp"],["",""],["",""],["",""],["",""],["",""],["","bottom"],["",""]],O3j: ["\x78.gif","x.gif","x\x2e\x67if","\101lig\x6e\x54opLef\x74\x2egif","\x41\x6cignTop\x43\x65nte\x72\x2egif","\x41lignTopRigh\x74\x2egif","\101li\x67\x6eMiddle\x4c\x65ft.g\x69f","A\x6c\x69gnMiddl\x65\x43ent\x65\x72.g\x69\x66","AlignM\x69\x64dleRi\x67\x68t.g\x69\x66","Alig\x6e\x42ottom\x4c\x65ft.g\x69\146","\x41lignB\x6f\x74tomCe\x6e\x74er.\x67\151f","\x41lignB\x6f\x74tomRi\x67\x68t.g\x69\x66"],Oap:function (tagName){ this.ob7=tagName; this.Ob7=this.ib7(this.ob7); this.OnCellClick(this.I3k); } ,ib7:function (tagName){switch (tagName.toUpperCase()){case "\x49MG":return this.O3i; case "TAB\x4c\x45":return this.i3i; case "\x54D":return this.l3i; case "\x54H":return this.l3i; case "CAPTION":return (this.IsIE?this.I3i: this.o3j); default:return null; }} ,Ib7:function (tagName){var table=this.ob8; var count=0; for (var i=0; i<table.rows.length; i++){var O3m= false; for (var j=0; j<table.rows[i].cells.length; j++){var Oq=table.rows[i].cells[j]; var l3m=this.i3m(count++); Oq.style.visibility=l3m?"visible": "hidden"; O3m |= l3m; }if (null!=document.all){table.rows[i].style.display=O3m?"": "none"; }}} ,i3m:function (index){var I3m= false; if (this.Ob7){var o3n=this.Ob7[index]; I3m=((null!=o3n) && (""!=o3n[0] || ""!=o3n[1])); }return I3m; } ,l3n:function (i3n){var o8=this.I15().getElementsByTagName("\x49\x4dG")[0]; o8.src=this.o1u+"Im\x67\x2f"+i3n; o8.style.margin="\x34px"; } ,OnCellClick:function (index){if (index==this.I3k){ this.lb7=""; this.l3n("\x78.gif"); }else {if (this.Ob7 && 0<=index && index<this.Ob7.length){ this.lb7=this.Ob7[index]; this.l3n(this.O3j[index]); if (""!=this.l3l)eval(this.l3l); }}} ,i3a:function (align,vAlign){align=(""==align || !align)?"\x6eone":align.toUpperCase(); vAlign=!vAlign?"":vAlign.toUpperCase(); if (this.Ob7){var I3n=-1; for (i=0; i<this.Ob7.length; i++){if (this.i3m(i)){var o3o=this.Ob7[i][0].toUpperCase(); var O3o=this.Ob7[i][1].toUpperCase(); if (-1==I3n){I3n=i; }if ((align==o3o || align==O3o) && (vAlign==o3o || vAlign==O3o)){ this.OnCellClick(i); return; }}} this.OnCellClick(I3n); }} ,SetValue:function (align,vAlign){ this.i3a(align,vAlign); } ,O3a:function (){var value=(this.lb7?this.lb7[0]: ""); if ("\156\x6fne"==value){value=""; }return value; } ,l3a:function (){var value=(this.lb7?this.lb7[1]: ""); if ("none"==value){value=""; }return value; } ,Ob8:function (){if (!this.lb8){ this.ib8(); this.lb8= true; } this.Ib7(this.ob7); } ,ib8:function (){var I1k=this.ob8; var O2l=null; var l3y=0; var Ib8=this.O3j.length; for (var i=0; i<Ib8; i++){if (0==i%this.ItemsPerRow){O2l=I1k.insertRow(-1); l3y=0; }l3y++; this.ob9(O2l,i); }} ,ob9:function (O2l,index){var o1l=O2l.insertCell(-1); o1l.Ob9="\x4f\x76\145r"; o1l.RadClassOut=""; o1l.onmouseout=RadEditorNamespace.lb9; o1l.onmouseover=RadEditorNamespace.ib9; var O1q=this.O49.Iw("\151\x6d\x67"); O1q.align="a\x62\x73Middle"; O1q.border="\x30"; O1q.src=this.o1u+"Img/"+this.O3j[index]; o1l.appendChild(O1q); this.Ib9(o1l,this,index); return o1l; }} ;;RadEditorDomInspector.prototype=new RadEditorModuleBase(); RadEditorDomInspector.prototype.base=RadEditorModuleBase.prototype.constructor; var Oaa="\x320\x70\x78"; var laa="8\x30\x70x"; function RadEditorDomInspector(moduleArgs){var iaa=moduleArgs.Document.createElement("\x44\111\x56"); iaa.style.paddingTop="2px"; if (window.opera){iaa.style.height=Oaa; iaa.style.lineHeight=Oaa; }moduleArgs.ModuleElement=iaa; this.base(moduleArgs); this.Iaa=null; this.oab=this.i1h("DomI\x6e\x73pecto\x72\x52emov\x65Element","Remove Ele\x6d\x65nt"); } ; RadEditorDomInspector.prototype.Oab= function (){ this.Clear(); this.Iaa=null; this.lab=null; };RadEditorDomInspector.prototype.iab= function (){ this.style.height=Oaa; } ; RadEditorDomInspector.prototype.Iab= function (){ this.style.height=laa; } ; RadEditorDomInspector.prototype.OnCreate= function (){var O77=this ; this.AttachEventHandler(RadEditorNamespace.I1n, function (){O77.oac(); } ); var Oac=this.I1l; Oac.Iab=this.Iab; Oac.iab=this.iab; Oac.style.width=this.Editor.Width; Oac.style.height=Oaa; } ; RadEditorDomInspector.prototype.oac= function (){if (!this.IsEnabled)return; var O2=this.Editor.o11(); if (!O2)return; var lac=this.Editor.o10; if (this.Editor.IsIE && !lac.contains(O2))return; var array=[]; var O8h=0; while (O2!=lac && null!=O2){array[O8h++]=O2; O2=O2.parentNode; } this.Clear(); var iac=null; var O25; var Iac= false; for (var i=array.length-1; i>=0; i--){O25=array[i]; Iac=(0==i) || (null!=this.lab && O25==this.lab); if (O25 && O25.tagName){oad=(0==i) || (null!=this.lab && O25==this.lab); iac=this.Oad(O25,oad); }if (Iac){break; }} this.lab=null; this.Iaa=iac; if (this.Iaa){var lad=this.Document.createElement("\101"); lad.innerHTML=this.oab; lad.href="\x6aavascri\x70\x74:void\x28\x30)"; lad.className="\x44\x6fmPathLi\x6e\x6b"; lad.Parent=this ; lad.onmousedown=new Function("t\x68\151s.P\x61\x72ent.\x52\x65mo\x76\145S\x65\x6cect\x65\x64El\x65men\x74\x28);\x72\145t\x75rn fa\x6c\163e\x3b"); this.ModuleElement.appendChild(lad); }} ; RadEditorDomInspector.prototype.Oad= function (O25,oad){var lad=this.Document.createElement("A"); this.ModuleElement.appendChild(lad); var empty=this.Document.createElement("\x53PAN"); empty.innerHTML="\x26nbsp;> "; this.ModuleElement.appendChild(empty); var iad=new Iad(lad,O25,(oad?"Do\x6d\x50athLin\x6b\x53elec\x74\145\x64": ""),oad,this ); return iad; } ; RadEditorDomInspector.prototype.Clear= function (){if (this.Iaa){ this.Iaa.Clear(); }var links=this.ModuleElement.getElementsByTagName("\x41"); for (i=0; i<links.length; i++){var link=links[i]; link.Parent=null; } this.ModuleElement.innerHTML=""; } ; RadEditorDomInspector.prototype.RemoveSelectedElement= function (){if (!this.Editor.oae())return; if (!this.Iaa || !this.Iaa.Oae){return; }var O2=this.Iaa.Oae; try {if (O2.tagName=="\x54D" || O2.tagName=="\x54H"){ this.Editor.o2s(); }else if (O2.tagName=="\x54R"){ this.Editor.i2r(); }else if (O2.tagName=="\x54ABLE" || O2.tagName=="\x54BODY" || O2.tagName=="THEAD" || O2.tagName=="\x54\x46OOT" || O2.tagName=="\x45MBED" || O2.tagName=="\x4f\x42JECT" || O2.tagName=="\x49\x4ePUT" || O2.tagName=="\x49\x4dG" || O2.tagName=="\x48R"){var lae=RadEditorNamespace.L.o(this.oab,this.Editor.ContentWindow); var parentNode=O2.parentNode; parentNode.removeChild(O2); this.Editor.SetFocus(); this.Editor.i1c(lae); ly.Select(); this.Editor.SetActive(); this.Editor.SetFocus(); }else if (O2.tagName!="\x42ODY"){var ly=RadEditorNamespace.K(this.Editor.ContentWindow); var parentNode=O2.parentNode; var lae=RadEditorNamespace.L.o(this.oab,this.Editor.ContentWindow); var iae=""; for (var i=0; i<parentNode.childNodes.length; i++){if (O2!=parentNode.childNodes[i]){iae+=RadEditorNamespace.Utils.i2q(parentNode.childNodes[i]); }else {iae+=O2.innerHTML; }}parentNode.innerHTML=iae; this.Editor.SetFocus(); this.Editor.i1c(lae); ly.Select(); this.Editor.SetActive(); this.Editor.SetFocus(); }}catch (ex){} this.Editor.i1n(RadEditorNamespace.I1n,null); } ; RadEditorDomInspector.prototype.SelectElement= function (O2){try { this.lab=O2; this.Editor.SelectElement(O2); this.lab=null; }catch (ex){}};function Iad(lad,O25,className,oad,RadEditorDomInspector){ this.RadEditorDomInspector=RadEditorDomInspector; this.Iae=lad; this.Oae=O25; this.O84=oad; if (lad){lad.href="\x6a\x61\x76ascri\x70\x74:vo\x69\144\x280);"; lad.className=className?className: "DomPathL\x69\x6ek"; lad.Parent=this ; lad.onclick=new Function("\x74his.Paren\x74\x2eSel\x65\x63tEl\x65\x6den\x74\x28);"); lad.onmouseover=new Function("t\x68\x69s.Pare\x6e\x74.on\x6d\x6fuse\x6f\x76er\x28\x29;"); lad.onmouseout=new Function("\x74his.Par\x65\x6et.on\x6d\x6fus\x65\x6fut(\x29\x3b"); if (O25!=null){lad.innerHTML=O25.tagName; }}} ; Iad.prototype.Clear= function (){ this.RadEditorDomInspector.Iaa=null; this.Iae.className="\x44omPathLi\x6e\x6b"; } ; Iad.prototype.onmouseover= function (){if (this.O84)return; try { this.oaf=this.Oae.className; this.Oae.className+="\040\x52adEDomMou\x73\x65Over"; }catch (e){ ; }} ; Iad.prototype.onmouseout= function (){if (null!=this.oaf)this.Oae.className=this.oaf; try {if (""==this.Oae.className){ this.Oae.removeAttribute("class\x4e\x61me",0); this.Oae.removeAttribute("\x63\x6cass",0); }}catch (e){ ; }} ; Iad.prototype.SelectElement= function (){ this.onmouseout(); if (this.RadEditorDomInspector.Iaa){ this.RadEditorDomInspector.Iaa.Clear(); } this.Iae.className="\x44omPathLink\x53\x65lect\x65\x64"; this.RadEditorDomInspector.Iaa=this ; this.RadEditorDomInspector.SelectElement(this.Oae); } ;;RadEditorHtmlInspector.prototype=new RadEditorModuleBase(); RadEditorHtmlInspector.prototype.base=RadEditorModuleBase.prototype.constructor; function RadEditorHtmlInspector(moduleArgs){var Oaf=moduleArgs.Document.createElement("\x54\x45\x58TAREA"); moduleArgs.ModuleElement=Oaf; Oaf.style.width="\x399%"; moduleArgs.ClassName="RadETextAre\x61"; this.base(moduleArgs); this.ModuleElement.setAttribute("r\x6f\x77s","10"); this.ModuleElement.setAttribute("cols","80"); if (!document.all)this.ModuleElement.onclick= function (){ this.focus(); } ; } ; RadEditorHtmlInspector.prototype.Oab= function (){ this.ModuleElement.onkeyup=null; };RadEditorHtmlInspector.prototype.laf= function (keyCode){if (keyCode==32 || keyCode==9 || keyCode==8 || keyCode==46 || keyCode==13){return true; }if (keyCode==190)return true; if (keyCode>47 && keyCode<58)return true; return false; } ; RadEditorHtmlInspector.prototype.OnCreate= function (){var O77=this ; this.AttachEventHandler(RadEditorNamespace.I1n, function (){O77.iaf(); } ); this.AttachEventHandler(RadEditorNamespace.Iaf, function (){O77.ModuleElement.value=""; } ); this.ModuleElement.onkeyup= function l89(e){if (!e)e=window.event; if (O77.laf(e.keyCode)){O77.oag(e); }} ; var Oag=this ; this.I1l.oa5= function (){var lag=Oag.ModuleElement; lag.style.height=(parseInt(Oag.I1l.offsetHeight)-3)+"p\x78"; lag.style.width=(parseInt(Oag.I1l.offsetWidth)-3)+"\x70x"; };} ; RadEditorHtmlInspector.prototype.oag= function (e){if (!this.IsEnabled)return; this.iag= true; this.Editor.SetHtml(this.ModuleElement.value,this.Localization["\x54\171\x70\x69ng"], false); this.ModuleElement.focus(); } ; RadEditorHtmlInspector.prototype.iaf= function (){if (this.iag){ this.iag= false; return; } this.ModuleElement.value=this.Editor.GetHtml(); } ;;RadEditorNamespace.Iag= function (oah){ this.Width=oah.Width?parseInt(oah.Width)+"\160x": "50p\x78"; this.Title=oah.Title; this.Controller=oah.Controller; this.Name=oah.Name; this.Document=oah.Document; this.SelectedValue=""; this.ClassName="RadE\x54\x65xtBox"; };RadEditorNamespace.Iag.prototype.Dispose= function (){ this.Element.onchange=null; this.Element.onkeypress=null; this.Element.onclick=null; this.Element.Parent=null; this.Element=null; } ; RadEditorNamespace.Iag.prototype.I15= function (){return this.Element; } ; RadEditorNamespace.Iag.prototype.GetSelectedValue= function (){return this.SelectedValue; } ; RadEditorNamespace.Iag.prototype.SetValue= function (value){ this.Element.value=value; } ; RadEditorNamespace.Iag.prototype.Create= function (){var Oah=this.Document.createElement("INPUT"); Oah.setAttribute("s\x69\172e","3"); Oah.style.width=this.Width; Oah.className=this.ClassName; Oah.Parent=this ; var lw=this.Name; var lah= function (e,O2,iah){if (iah){if (O2.Iah){O2.Iah= false; return RadEditorNamespace.Utils.O6u(e); }}O2.Iah= true; O2.Parent.SelectedValue=O2.value; O2.Parent.Controller.Fire(lw,O2.Parent); return RadEditorNamespace.Utils.O6u(e); } ; Oah.onchange= function (e){if (!e)e=window.event; return lah(e,this, true); } ; Oah.onclick= function (e){ this.focus(); } ; Oah.onkeypress= function (e){if (!e)e=window.event; if (e.keyCode==13){return lah(e,this ); }} ; this.Element=Oah; return this.Element; } ; RadEditorNamespace.oai= function (oah){ this.Title=oah.Title; this.Controller=oah.Controller; this.Name=oah.Name; this.Document=oah.Document; this.SelectedValue= false; };RadEditorNamespace.oai.prototype.Dispose= function (){ this.Element.onclick=null; this.Element.Parent=null; this.Element=null; } ; RadEditorNamespace.oai.prototype.I15= function (){return this.Element; } ; RadEditorNamespace.oai.prototype.GetSelectedValue= function (){return this.SelectedValue; } ; RadEditorNamespace.oai.prototype.SetValue= function (value){if (this.Element.checked!=value)this.Element.checked=value; } ; RadEditorNamespace.oai.prototype.Create= function (){var Oah=this.Document.createElement("INP\x55T"); Oah.setAttribute("\x74ype","CHECKBOX"); Oah.Parent=this ; Oah.onclick= function (e){var I1b=this.Parent; I1b.SelectedValue=!I1b.SelectedValue; this.checked=I1b.SelectedValue; I1b.SelectedValue=this.checked; I1b.Controller.Fire(I1b.Name,I1b); } ; this.Element=Oah; return this.Element; } ; RadEditorNamespace.Oai= function (oah){ this.Title=oah.Title; this.Controller=oah.Controller; this.Name=oah.Name; this.Document=oah.Document; this.Width=oah.Width?oah.Width: "9\x35px"; this.lai=oah.lai; this.SelectedValue=""; };RadEditorNamespace.Oai.prototype.Dispose= function (){ this.Element.onchange=null; this.Element.Parent=null; this.lai=null; this.Element=null; } ; RadEditorNamespace.Oai.prototype.I15= function (){return this.Element; } ; RadEditorNamespace.Oai.prototype.GetSelectedValue= function (){return this.SelectedValue; } ; RadEditorNamespace.Oai.prototype.SetValue= function (value){var options=this.Element.options; for (var i=0; i<options.length; i++){if (options[i].value==value){ this.Element.selectedIndex=i; return; }} this.Element.selectedIndex=-1; } ; RadEditorNamespace.Oai.prototype.Create= function (){var Oah=this.Document.createElement("\x53\x45\x4cECT"); Oah.className="\x52adED\x72\x6fpDown"; Oah.style.width=this.Width; var iai=this.lai; Oah.options[0]=new Option("---",""); for (var item in iai){if (typeof(iai[item])=="str\x69ng"){Oah.options[Oah.options.length]=new Option(iai[item],item); }}Oah.Parent=this ; var lw=this.Name; Oah.onchange= function (){ this.Parent.SelectedValue=this.options[this.selectedIndex].value; this.Parent.Controller.Fire(lw,this.Parent); } ; this.Element=Oah; return this.Element; } ; RadEditorNamespace.Iai="5\x31px"; RadEditorNodeInspector.prototype=new RadEditorModuleBase(); RadEditorNodeInspector.prototype.base=RadEditorModuleBase.prototype.constructor; function RadEditorNodeInspector(moduleArgs){var oaj=window.opera?"\x53PAN": "\104\x49\x56"; moduleArgs.ModuleElement=moduleArgs.Document.createElement(oaj); this.base(moduleArgs); this.Oaj=this.Editor.o1u+"\x42uttons\x2f\x61rrow\x44\x72opd\x6f\167n\x2e\x67if"; this.laj=this.Editor.o1u+"But\x74\x6fns/arr\x6f\x77Ico\x6e\x2egif"; this.IsIE=document.all && !window.opera? true : false; this.iaj= {} ; this.Iaj= {} ; this.lab=null; this.oak=this.i1h("\x4eodeInspec\x74\x6frSe\x6c\x65cte\x64\x45lem\x65\156t","The s\x65\x6cected \x65\x6ceme\x6e\x74 is\x20"); this.Oak=this.i1h("\x4eodeInspect\x6f\x72Inva\x6c\x69dV\x61\x6cue","Invalid v\x61\x6cue. \x50\x6ceas\x65\x20ent\x65\x72 a \x6e\165m\x62er."); } ; RadEditorNodeInspector.prototype.lak= function (M){return this.Editor.lak(M); } ; RadEditorNodeInspector.prototype.Oab= function (){var iak=this.iaj; for (var Iak in iak){var oal=iak[Iak]; if (oal.Dispose){oal.Dispose(); }}var Oal=this.lal; if (Oal){for (var ial=0; ial<Oal.rows.length; ial++){var O2l=Oal.rows[ial]; var Ial=O2l.cells.length; for (var i=0; i<Ial; i++){var I9g=O2l.cells[0]; I9g.style.display=""; I9g.parentNode.deleteCell(I9g); }}} this.iaj=null; this.lal=null; } ; oam=[["\x72\x6f\x77s","\x4e\x41ME","\x77idth","\x63ellSp\x61\x63ing","\x61lign","\x68ref","value","\x63\x6cassName",RadEditorNamespace.i2u,RadEditorNamespace.o2v,RadEditorNamespace.O2z,RadEditorNamespace.i2v],["\x63\x6fls","\x69\144","\x68eight","\x61ction","\x63\x65llPaddi\x6e\x67","\x62orderColor","bgColor","\x62order","\x61lt","noWrap","\x74\141rge\x74","\x74\x69tle"]]; RadEditorNodeInspector.prototype.Oam= {} ; RadEditorNodeInspector.prototype.Oam["TABL\x45"]=["\x77idth","\143el\x6c\x53pacin\x67","bgCo\x6c\x6fr","c\x6c\x61ssName",RadEditorNamespace.i2u,"\x68eight","\143ell\x50\x61dding","\x61lign","\x62order"]; RadEditorNodeInspector.prototype.Oam["TH"]=RadEditorNodeInspector.prototype.Oam["\x54\x44"]=["\x77idth","\x62gColor","classN\x61\x6de",RadEditorNamespace.o2v,"hei\x67\x68t","\x61lign","\x6eoWrap"]; RadEditorNodeInspector.prototype.Oam["TR"]=["w\x69\x64th","\x63lassName","height"]; RadEditorNodeInspector.prototype.Oam["A"]=["href","clas\x73\x4eame",RadEditorNamespace.O2z,"\x74itle","\x74\x61rget"]; RadEditorNodeInspector.prototype.Oam["IMG"]=["widt\x68","borderCol\x6f\x72","className",RadEditorNamespace.i2v,"\x68eight","\x61lign","\x62\x6frder","\x61lt"]; RadEditorNodeInspector.prototype.Oam["INPUT"]=["\x4e\x41ME","wi\x64\x74h","\x68\x65ight","\151d","\x74itle","\x76alue","className"]; RadEditorNodeInspector.prototype.Oam["FORM"]=["clas\x73\x4eame","\x77idth","\x68eight","NAME","a\x63\x74ion","\x69d"]; RadEditorNodeInspector.prototype.Oam["TEXTAREA"]=["\x63lassNam\x65","wid\x74\x68","\x68\x65ight","\x4eAME","\x69\144","\x72\157ws","\x63ols"]; RadEditorNodeInspector.prototype.OnCreate= function (){var O77=this ; this.AttachEventHandler(RadEditorNamespace.I1n, function (){O77.lam(); } ); var Oac=this.I1l; Oac.Iab=RadEditorNamespace.iam; Oac.iab=RadEditorNamespace.Iam; Oac.style.height=RadEditorNamespace.Iai; Oac.style.width=this.Editor.Width; } ; RadEditorNodeInspector.prototype.oan= function (){var iak=this.iaj; var Oan=this.Iaj; var lan=oam; var Oal=this.Document.createElement("TA\x42LE"); Oal.border=0; Oal.cellSpacing=0; Oal.cellPadding=0; for (var ial=0; ial<lan.length; ial++){var ian=lan[ial]; var O2l=Oal.insertRow(-1); for (var i=0; i<ian.length; i++){var item=ian[i]; var o1l=O2l.insertCell(-1); o1l.style.display="none"; o1l.setAttribute("controlN\x61\x6de",item); o1l.innerHTML=this.i1h(item,item); o1l.className="RadEToolT\x65\x78t"; o1l.style.paddingLeft="\x34\x70x"; o1l=O2l.insertCell(-1); o1l.style.display="\x6eone"; o1l.setAttribute("\x63\157\x6e\x74rolH\x6f\x6cder",item); var O44=this.Ian(item); if (O44){iak[item]=O44; o1l.appendChild(O44.I15()); }}}return Oal; };RadEditorNodeInspector.prototype.lam= function (){if (!this.IsEnabled)return; if (!this.oao){ this.lal=this.oan(); this.lal.style.display="\x6eone"; this.ModuleElement.appendChild(this.lal); this.oao= true; }var o8=this.Editor.o11(); if (!o8 || o8.tagName=="BODY" || o8.ownerDocument!=this.Editor.Document){ this.lal.style.display="\x6eone"; return; }if (o8.tagName=="\x54\x42ODY" && this.Editor.IsOpera){o8=o8.parentNode; }var Oao=this.Oam[o8.tagName]; if (!Oao){var o1l=RadEditorNamespace.Utils.o1f(o8,"A"); if (!o1l)o1l=RadEditorNamespace.Utils.o1f(o8,"TD"); if (!o1l)o1l=RadEditorNamespace.Utils.o1f(o8,"\x54H"); if (o1l)o8=o1l; else { this.lal.style.display="\x6eone"; return; }}var tagName=null; if (this.lab){try {tagName=this.lab.tagName; }catch (e){ ; }}if (!this.lab || (tagName!=o8.tagName)){var editor=this.Editor; var lao=this.Editor.GetDocument(); var iao=this.iaj["class\x4e\x61me"]; iao.Iao= false; iao.oap= function (name){return editor.GetCssClassesByTagName(o8.tagName,editor.Document); } ; this.iaj["\x61lign"].Oap(o8.tagName); } this.lab=o8; this.lap(this.lab); this.lal.style.display=""; } ; RadEditorNodeInspector.prototype.lap= function (o8){var Oao=this.Oam[o8.tagName]; var Oal=this.lal; var iak=this.iaj; for (var ial=0; ial<Oal.rows.length; ial++){var O2l=Oal.rows[ial]; for (var i=0; i<O2l.cells.length; i++){var o1l=O2l.cells[i]; var o3i=o1l.getAttribute("\x63ontrolNa\x6d\x65"); if (o3i){o1l.style.display=this.iap(o3i,Oao)?"": "none"; }var Iap=o1l.getAttribute("con\x74\x72olHold\x65\x72"); if (Iap){o1l.style.display=this.iap(Iap,Oao)?"": "none"; if ("none"==o1l.style.display)continue; var O44=iak[Iap]; var o7=o8.getAttribute?o8.getAttribute(Iap): ""; if (Iap=="noWrap"){O44.SetValue(o8.noWrap); }else if (Iap=="align"){O44.SetValue(o8.getAttribute("a\x6cign"),o8.getAttribute("\x76Align")); }else if (Iap=="bor\x64\x65rColo\x72" || Iap=="\x77idth" || Iap=="\150\x65\x69ght"){var M=o8.style[Iap]; if (!M)M=o8.getAttribute(Iap); O44.SetValue(M); }else if ("n\x61\x6de"==Iap.toLowerCase()){O44.SetValue(o8.name); }else if (o7){O44.SetValue(o7); }else if (!this.IsIE && "className"==Iap){var o7=o8.getAttribute?o8.getAttribute("\x63\154\x61\x73s"): ""; if (o7)O44.SetValue(o7); }else {if (O44.SetValue)O44.SetValue(""); }}}}} ; RadEditorNodeInspector.prototype.Fire= function (lw,iw){if (!this.Editor.oae())return; var title=this.i1h(lw,lw); var o8=this.lab; if (lw==RadEditorNamespace.o2v || lw==RadEditorNamespace.i2u || lw==RadEditorNamespace.i2v || lw==RadEditorNamespace.O2z){ this.Editor.Fire(lw,this ); return; }else if ("al\x69gn"==lw){var align=iw.O3a(); var vAlign=iw.l3a(); this.Editor.ExecuteSetAttributeCommand(o8,"align",align,title); title=this.i1h("\x76\101\x6c\x69gn","\x76\101lig\x6e"); this.Editor.ExecuteSetAttributeCommand(o8,"vA\x6c\x69gn",vAlign,title); }else if ("\x62orderColor"==lw){var oaq=iw.GetSelectedValue(); this.Editor.ExecuteSetStyleRuleCommand(this.lab,"bor\x64\x65rColor",oaq,title); }else if ("\x77idth"==lw || "\x68\145igh\x74"==lw){var oaq=iw.GetSelectedValue(); if (!this.Oaq(oaq)){alert(this.Oak); return; }function o3w(M){var o43=""+M; if (o43.indexOf("\x25")!=-1){return o43; }else {o43=parseInt(o43); if (!isNaN(o43)){o43=o43+"\x70x"; return o43; }}return M; }oaq=o3w(oaq); if (this.lab.removeAttribute)this.lab.removeAttribute(lw); this.Editor.ExecuteSetStyleRuleCommand(this.lab,lw,oaq,title); }else {var i5=lw; var laq=iw.GetSelectedValue(); switch (lw){case RadEditorNamespace.o1y:i5="classN\x61\x6de"; break; case RadEditorNamespace.N:i5="bgColor"; break; case "\x76alue":break; case "noWrap":if (laq)laq="\x6eoWrap"; else laq=""; break; case "\x62order":case "\x63ellSpacing":case "ce\x6c\x6cPadding":if (!this.Oaq(laq)){alert(this.Oak); return; }break; case "\x4eAME":if (!this.IsIE)i5="name"; } this.Editor.ExecuteSetAttributeCommand(o8,i5,laq,title); } this.Editor.i1n(RadEditorNamespace.I1n); };RadEditorNodeInspector.prototype.GetSelectedValue= function (){return this.lab; } ; RadEditorNodeInspector.prototype.iaq= function (i4f){return (this.Editor.o1u+"Button\x73\057"+i4f); } ; RadEditorNodeInspector.prototype.iap= function (value,array){for (var i=0; i<array.length; i++){if (array[i]==value)return true; }return false; } ; RadEditorNodeInspector.prototype.Oaq= function (value){if (null==value)return false; value=RadEditorNamespace.Utils.i0(value); if (""==value)return true; var I2d=parseInt(value); if (isNaN(I2d)){return false; }return true; } ; RadEditorNodeInspector.prototype.Ian= function (name){var O44=null; var O7d=null; var editor=this.Editor; var Iaq=this ; var oar=this.Localization; var Oar= function (){return Iaq; } ; switch (name){case "\x63\x6c\x61ssName":var oah= {GetController:Oar,Document: this.Document,Name:RadEditorNamespace.o1y,Title: this.Localization[RadEditorNamespace.o1y],lar: this.Oaj,Width: 80,PopupWidth: 180,PopupHeight: 150,iar: 2,Iar: 2,oas: false ,Oas:oar["\x43learStyle"],las: this.Editor.o1u+"\x49mg/" } ; O44=RadEditorNamespace.ias.o(oah); O44.Create(); break; case "\x62orderCol\x6f\x72":case "\x62gColo\x72":var oah= {GetController:Oar,Document: this.Document,Name: "borderCol\x6f\x72"==name?"\x62\x6frderCo\x6c\x6fr":RadEditorNamespace.N,o40:oar["\x41ddCust\x6f\x6dColo\x72"],Ias:oar["\x41ddCustomHexC\x6f\154o\x72"],oat:oar["\x50romptCo\x6c\x6fr"],Title: this.i1h(name),lar: this.laj,PopupWidth: 120,PopupHeight: 120,iar: 1,Iar: 1,Oat: this.iaq("\x42ackColor\x2e\x67if"),l3t: this.Editor.l3t,oap:function (name){return editor.lat("Back\x43\x6flor"); }} ; O44=RadEditorNamespace.iat.o(oah); O44.Create(); break; case "\x61lign":var oah= {GetController:Oar,Document: this.Document,Name: "\x61lign",Title: this.i1h("align","align"),lar: this.laj,o1u: this.Editor.o1u,Oat: this.iaq("../Img/Align\x4d\151\x64\x64leL\x65ft.gif")} ; O44=RadEditorNamespace.Iat.o(oah); O44.Create(); break; case RadEditorNamespace.o2v:case RadEditorNamespace.i2u:case RadEditorNamespace.i2v:case RadEditorNamespace.O2z:var oah= {GetController:Oar,Document: this.Document,Name:name,Title: this.Localization[name],Oat: this.iaq(name+"\x2e\x67\x69f")} ; O44=RadEditorNamespace.oau.o(oah); O44.Create(); break; case "\x74arget":var iai= {_blank: this.i1h("_\x62\x6cank","\x5f\x62lank"),_self: this.i1h("_self","_self"),_parent: this.i1h("_\x70\x61rent","_parent"),_top: this.i1h("\x5ftop","\x5ftop"),_search: this.i1h("_search","\x5fsearch"),_media: this.i1h("\x5fmedia","_m\x65\x64ia")} ; var oah= {lai:iai,Controller: this,Document: this.Document,Name:name } ; O44=new RadEditorNamespace.Oai(oah); O44.Create(); break; case "noWrap":var oah= {Controller: this,Document: this.Document,Name:name } ; O44=new RadEditorNamespace.oai(oah); O44.Create(); break; case "\x68ref":O7d=200; case "\x74itle":case "va\x6c\x75e":case "\x4e\101M\x45":case "\x61ction":case "id":if (!O7d)O7d=110; default:var oah= {Controller: this,Document: this.Document,Name:name,Title: this.Localization[name],Width:O7d } ; O44=new RadEditorNamespace.Iag(oah); O44.Create(); }return O44; } ; RadEditorNamespace.Iam= function (){var table=this.getElementsByTagName("TA\x42LE")[0]; var Oau=oam.length; var lau=table.rows.length; for (var O8h=0; O8h<Oau; O8h++){var ir=table.insertRow(table.rows.length); var iau=oam[O8h].length*2; for (var i=0; i<iau; i++){var ian=table.rows[0]; var Iau=ian.cells[0]; ian.removeChild(Iau); ian.parentNode.removeChild(ian); ir.appendChild(Iau); }} this.style.display="\x69nl\x69\x6ee"; this.style.height=RadEditorNamespace.Iai; };RadEditorNamespace.iam= function (){var table=this.getElementsByTagName("T\x41\x42LE")[0]; var ial=table.rows.length; for (var i=0; i<ial; i++){var ian=table.rows[0]; var oav=ian.cells.length; for (var j=0; j<oav; j++){var Oq=ian.cells[0]; var ir=table.insertRow(table.rows.length); ian.removeChild(Oq); ir.appendChild(Oq); }ian.parentNode.removeChild(ian); } this.style.display="block"; };;RadEditorStatistics.prototype=new RadEditorModuleBase(); RadEditorStatistics.prototype.base=RadEditorModuleBase.prototype.constructor; function RadEditorStatistics(moduleArgs){var iaa=moduleArgs.Document.createElement("\x44\111\x56"); moduleArgs.ModuleElement=iaa.cloneNode( true); this.base(moduleArgs); this.EnableMaxWidth= false; this.Oav=this.i1h("S\x74\141ti\x73\x74icsWo\x72\x64s","W\x6f\x72ds:"); this.lav=this.i1h("Statisti\x63\x73Char\x61\x63ters","\x43haracters\x3a"); } ; RadEditorStatistics.prototype.OnCreate= function (){var O77=this ; this.AttachEventHandler(RadEditorNamespace.I1n, function (){O77.iav(); } ); if (this.Editor.Document.body)this.AttachEventHandler("\x6fnblur", function (){O77.iav(); } ); var i12=this.IsEnabled; this.IsEnabled= true; this.iav(); this.IsEnabled=i12; } ; RadEditorStatistics.prototype.iav= function (){if (!this.IsEnabled || !this.Editor.Document.body)return; var content=this.Editor.GetText(); var Iav=0; var oaw=0; if (content){Oaw=/[\x21\x2e\x3f\x3b\x2c\x3a\x26\x5f\x2d\x5c\x7b\x7d\x5b\x5d\x28\x29\x7e\x23\x27\x22]/g; content=content.replace(Oaw,""); law=/(^\s+)|(\s+$)/g; content=content.replace(law,""); if (content){iaw=/\s+/; var array=content.split(iaw); Iav=array.length; oaw=content.length; }} this.ModuleElement.innerHTML="<span styl\x65=\047line-he\x69\x67h\x74:22px\047\x3e"+this.Oav+"\x20"+Iav+"\x20"+this.lav+" "+oaw+"&nbsp;\x3c\x2fspa\x6e\x3e"; } ;;if (typeof(RadEditorXhtmlValidatorDocTypes)=="\x75ndefined"){RadEditorXhtmlValidatorDocTypes= { "XHT\x4dL 1.0 Stri\x63\x74": ["!\x44OCTYPE html\x20\x50UBLI\x43 \042-//W3C\x2f\057D\x54D XHTM\x4c 1.0 \x53trict\x2f\057E\x4e\042\x20\042\x68\164t\x70://w\x77w.w\x33.or\x67/TR/\x78html\x31/DT\x44/xht\x6dl1-\x73tri\x63t.d\x74d\042", false],"\x58HTML 1.0 Tr\x61\x6esiti\x6f\156a\x6c": ["\x21DOCTY\x50\x45 html\x20\x50UBL\x49\103 \x22\x2d//W\x33\x43//\x44TD XH\x54\115L\x20\061\x2e\060 \x54ransi\x74ional\x2f/EN\042\040\x22htt\x70\072\x2f/www\x2ew3.\x6frg/T\x52/xh\x74ml1/\x44TD/\x78htm\x6c1-t\x72ans\x69ti\x6fnal\x2edt\x64\042", false],"\x58HTML 1.1": ["\x21DOCTYPE ht\x6d\x6c PU\x42\x4cIC \x22\x2d//\x57\x33C//\x44\124\x44 XHTML\x20\061.\x31//EN\042\040\x22\150t\x74p://w\x77w.w3\x2eorg/\x54R/xh\x74ml11\x2fDTD\x2fxhtm\x6c11.\x64td\042", false] } ; }RadEditorXhtmlValidator.prototype=new RadEditorModuleBase(); RadEditorXhtmlValidator.prototype.base=RadEditorModuleBase.prototype.constructor; function RadEditorXhtmlValidator(moduleArgs){moduleArgs.ModuleElement=moduleArgs.Document.createElement("\x64iv"); this.base(moduleArgs); } ; RadEditorXhtmlValidator.prototype.OnCreate= function (){ this.Iaw(); this.oax(); this.ModuleElement.appendChild(this.Iframe); } ; RadEditorXhtmlValidator.prototype.Oab= function (){if (this.Oax){ this.Oax.onclick=null; this.Oax=null; }if (this.lax){ this.lax.onclick=null; this.lax=null; } this.iax=null; this.Iax=null; this.oay=null; this.Oay=null; RadEditorNamespace.Utils.o17(this.Iframe,"l\x6fad",this.lay); this.Iframe=null; } ; RadEditorXhtmlValidator.prototype.iay= function (){Iay="<div>"+this.Editor.GetHtml( true)+"\x3c/div>"; this.iax.value=Iay; this.oaz( true); if (this.lax && !this.lax.checked)this.lax.checked= true; if (this.oay && this.oay.selectedIndex>-1){ this.Iax.value="\x3c"+this.oay.options[this.oay.selectedIndex].value+">"; } this.Oay.submit(); } ; RadEditorXhtmlValidator.prototype.oaz= function (O1p){var iframe=this.Iframe; if (O1p){iframe.style.width="\x399%"; var O1a=400; iframe.style.height=O1a+"px"; this.Editor.Oaz(iframe,O1a); iframe.style.border="\x31px ridge \x23\x61aaa\x61\x61"; }else {iframe.style.width="0px"; iframe.style.height="\x30px"; iframe.style.border="\x30\x70x ridg\x65\x20#aa\x61\x61aa"; }} ; RadEditorXhtmlValidator.prototype.oax= function (){var iframe=document.createElement("ifra\x6d\x65"); this.Iframe=iframe; iframe.frameBorder="0"; iframe.src=this.Editor.O63+"\105\x64\x69tor/\x58\x68tml\x2f\x58ht\x6d\x6cVa\x6c\x69dat\x6f\162\x2easpx"; iframe.style.margin="\x31px"; this.oaz( false); var Oag=this ; var laz= function (){var i8=Oag.Iframe.contentWindow.document; var style=i8.getElementsByTagName("\x73tyle")[0]; if (style){var iaz="\150t\x74\x70://va\x6c\x69dato\x72.w3.org\x2f\x62ase\x2e\143s\x73"; var Iaz=i8.getElementsByTagName("\x68ead")[0]; var i2o=i8.createElement("link"); i2o.setAttribute("\x72\x65l","\x73tyleshee\x74",0); i2o.setAttribute("type","text/cs\x73",0); i2o.setAttribute("\x68ref",iaz,0); Iaz.appendChild(i2o); }Oag.iax=i8.getElementById("EditorC\x6f\x6etent"); Oag.Iax=i8.getElementById("E\x64\x69torDoc\x74\x79pe"); Oag.Oay=i8.forms["Ra\x64\x45ditorXh\x74\x6dlFo\x72m"]; } ; this.lay=laz; RadEditorNamespace.Utils.l1a(iframe,"\x6coad",this.lay); iframe=null; } ; RadEditorXhtmlValidator.prototype.Iaw= function (){var Oag=this ; var O1l=document.createElement("\x69nput"); O1l.type="b\x75\x74ton"; O1l.className="\x52\x61dEXhtml\x42\x75tto\x6e"; O1l.style.width="\x31\x300px"; O1l.onclick= function (){Oag.iay(); Oag.ob0= true; };O1l.value=this.i1h("\x56alid\x61\x74eXHTM\x4c","\126\x61\x6cidate \x58\x48TML"); var Ob0=document.createElement("\x49NPUT"); Ob0.setAttribute("\x74ype","c\x68\x65ckbox"); Ob0.style.marginBottom="2px"; this.ob0= false; Ob0.onclick= function (){Oag.ob0=!Oag.ob0; this.checked=Oag.ob0; Oag.oaz(Oag.ob0); } ; this.ModuleElement.appendChild(Ob0); this.lax=Ob0; var o9e=document.createElement("span"); o9e.style.height="\061\x36\160x"; o9e.onclick=new Function("\164h\x69\x73.previ\x6f\x75sSi\x62ling.cl\x69\143k\x28\x29"); o9e.innerHTML=this.i1h("\x45xpandValida\x74\x6fr","Expan\x64\x2fColla\x70\x73e Va\x6cidator")+" \x26\x6ebsp; |\x20\x26nbs\x70\x3b"; this.ModuleElement.appendChild(o9e); var o9e=document.createElement("\x73\x70an"); o9e.innerHTML=this.i1h("\x44octype","\x44octype")+"\x3a"; this.ModuleElement.appendChild(o9e); var lb0=document.createElement("select"); lb0.className="RadED\x72\x6fpDown"; lb0.style.width="\0614\x30\x70x"; var ib0=RadEditorXhtmlValidatorDocTypes; for (var item in ib0){var I7i=new Option(item,ib0[item][0]); if (ib0[item][1]){I7i.selected= true; }lb0.options[lb0.options.length]=I7i; }lb0.style.display="\x6eone"; if (this.Editor.IsIE && "complete"!=document.readyState){RadEditorNamespace.Utils.l1a(window,"\x6coad", function (){Oag.oay.style.display=""; } ); }else lb0.style.display=""; this.ModuleElement.appendChild(lb0); this.ModuleElement.appendChild(O1l); this.Oax=O1l; this.oay=lb0; O1l=null; o9e=null; Ob0=null; lb0=null; } ;;
if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();