var RadUploadNameSpace= {} ; RadUploadNameSpace.o9=[]; RadUploadNameSpace.i4=null; RadUploadNameSpace.Localization=[]; RadUploadNameSpace.i3=null; RadUploadNameSpace.RadUpload= function (d){if (!document.readyState || document.readyState=="\x63omplete"){ this.C(d); }else if (window.attachEvent){var c=this ; var B= function (){c.C(d); } ; window.attachEvent("onload",B); }else if (window.addEventListener && navigator.userAgent.indexOf("\x53afari")!=-1){var c=this ; var B= function (){c.C(d); } ; window.addEventListener("load",B, true); }} ; RadUploadNameSpace.RadUpload.prototype.C= function (d){ this.Id=d[0]; this.o0=d[1]; this.O0=this.o0+"\x49\x6dg/"; this.FormId=d[2]; this.ip=d[3]; this.Ip=d[4]; this.O2=d[5]; this.l2=d[6]; if (RadUploadNameSpace.i3==null){RadUploadNameSpace.i3=this.l2; } this.Iv=d[7]; this.ow=d[8]; this.Ow=d[9]; this.lw=d[10]; this.iw=d[11]; if (RadUploadNameSpace.Utils.iu()){ this.Ow= false; } this.I2=d[12]; this.Iw=d[13]; this.ox=d[14]; this.Ox=d[15]; this.lx=d[16]; this.ix=d[17]; this.Ix=d[18]; this.Enabled=d[19]; this.oy=d[20]; this.Oy=0; this.ly=null; this.Document=document; this.iy=this.Document.getElementById(this.Id+"\x42\x75\x74tonA\x72\x65a"); this.z=this.Document.getElementById(this.Id+"\x4cistCont\x61\x69ner"); for (var i=0; i<this.z.rows.length; i++){var I5=this.z.rows[i]; I5.parentNode.removeChild(I5); }if (this.Ow){ this.Iy(); }var c=this ; this.oz=this.Oz("\101ddButton","\x41\144d", function (){c.Add(); } ); this.lz=this.Oz("\x44\x65leteB\x75\x74ton","Delete", function (){c.iz(); } ); var ir=document.getElementById(this.FormId); if (ir.enctype!="\x6dultip\x61\x72t/for\x6d-da\x74a"){ir.enctype="\x6dultipa\x72\x74/for\x6d\x2ddat\x61"; ir.encoding="\x6dultipa\x72\x74/form\x2d\x64at\x61"; } ; ir=null; var Iz=this.ow; if (this.Iv>0){Iz=Math.min(this.ow,this.Iv); }for (var i=0; i<Iz; i++){ this.Add( true , true); }if (Iz>0 && this.oy){ this.o10(0); } this.SetControlObjectsVisibility(this.Iw); if (this.ow==0){ this.O10(this.lz, false); }var l10= false; for (var i=0; i<RadUploadNameSpace.o9.length; i++){if (RadUploadNameSpace.o9[i].Id==this.Id){RadUploadNameSpace.o9[i]=this ; l10= true; break; }}if (!l10){RadUploadNameSpace.o9[RadUploadNameSpace.o9.length]=this ; }RadUploadNameSpace.Utils.Ok(window,"\165nload", function (){RadUploadNameSpace.Utils.Ij(); } ); RadUploadNameSpace.Utils.I4(this,this.FormId,RadUploadNameSpace.Utils.Om); } ; RadUploadNameSpace.RadUpload.prototype.Iy= function (){ this.ly=this.o8("\x64\x69\x76"); this.ly.style.position="a\x62\x73olute"; this.ly.style.top=0; this.ly.style.left=0; this.ly.style.zIndex=1; var i10=this.o8("input"); i10.type="text"; i10.className="\x52adUpl\x6f\x61dInpu\x74\x46iel\x64"; this.ly.appendChild(i10); var I10=this.o8("\x69\x6eput"); I10.type="\x62\165tt\x6f\x6e"; I10.value=RadUploadNameSpace.Localization[this.I2]["\123e\x6c\x65ct"]; I10.disabled=!this.Enabled; I10.className="Rad\x55\x70loadSe\x6c\x65ct\x42\x75tt\x6fn"; this.ly.appendChild(I10); } ; RadUploadNameSpace.RadUpload.prototype.Add= function (o11,O11){if (o11==null){o11= false; } this.l11(this.z.rows.length,o11,O11); } ; RadUploadNameSpace.RadUpload.prototype.l11= function (index,o11,O11){if (typeof(index)=="\x75\x6e\x64efined"){index=this.z.rows.length; }if (index>this.z.rows.length){index=this.z.rows.length; }if ((index>=this.Iv) && (this.Iv>0)){return; }if (!o11){var i11=this.Og(this.ox,new RadUploadNameSpace.g(null)); if (i11== false){return; }}var I11=this.z.insertRow(index); if (this.Enabled){I11.onclick=RadUploadNameSpace.Utils.ll; }I11.Container=this ; var o12=this.O12(); var l12=this.i12(); var I12=this.o13(); var O13=this.l13(); var i13=I11.insertCell(0); i13.appendChild(o12); var I13=I11.insertCell(1); l12.Container=this ; var c=this ; if (this.Ow){l12.className="\122\x65alFileIn\x70\x75t"; var o14=this.o8("div"); o14.style.position="relat\x69\x76e"; I13.appendChild(o14); o14.appendChild(l12); if (!window.opera){var O14=this.ly.cloneNode( true); o14.appendChild(O14); var onKeyUp= function (){var l14=O14.childNodes[0]; l14.value=l12.value; l14.disabled= true; l14.title=l12.value; };if (this.lw){}else {l12.onkeyup=onKeyUp; }l12.onchange= function (){onKeyUp(); c.Og(c.ix,new RadUploadNameSpace.g(l12)); } ; }}else {l12.className="No\x53kinnedFi\x6c\x65Unp\x75\x74"; I13.appendChild(l12); l12.onchange= function (){c.Og(c.ix,new RadUploadNameSpace.g(l12)); } ; }if (this.lw){l12.onkeypress= function (e){if (!e){e=window.event; }if (e.preventDefault){e.preventDefault(); }else {return false; }} ; }var i14=I11.insertCell(2); i14.appendChild(I12); var I14=I11.insertCell(3); I14.appendChild(O13); this.o15(); this.O15(I11); this.Oy++; if (!O11){try {l12.focus(); }catch (ex){}}} ; RadUploadNameSpace.RadUpload.prototype.o10= function (index){var I5=this.z.rows[index]; var l15=this.i15(index); try {l15.focus(); }catch (ex){}} ; RadUploadNameSpace.RadUpload.prototype.iz= function (){var I15=[]; var o16=[]; for (var i=this.z.rows.length-1; i>=0; i--){var I5=this.z.rows[i]; var O16=I5.cells[0].childNodes[0]; if (O16.checked){o16[o16.length]=i; var l16=I5.getElementsByTagName("\x49\x4ePUT"); for (var j=0; j<l16.length; j++){if (l16[j].type=="file"){I15[I15.length]=l16[j]; break; }}}}var i11=this.Og(this.Ix,new RadUploadNameSpace.f(I15)); if (i11== false){return; }for (var i=0; i<o16.length; i++){ this.Il(o16[i], true); }} ; RadUploadNameSpace.RadUpload.prototype.Il= function (index,o11){var I5=this.z.rows[index]; if (I5){if (o11){I5.parentNode.removeChild(I5); this.o15(); }else {var l15=this.i15(index); var i11=this.Og(this.Ox,new RadUploadNameSpace.g(l15)); if (i11== false){return false; }I5.parentNode.removeChild(I5); this.o15(); }}} ; RadUploadNameSpace.RadUpload.prototype.om= function (index){var I5=this.z.rows[index]; if (I5){var l15=this.i15(index); var i11=this.Og(this.lx,new RadUploadNameSpace.g(l15));if (i11== false){return false; } this.Il(index, true); this.l11(index, true); }} ; RadUploadNameSpace.RadUpload.prototype.Og= function (ig,ov,Ov,lv){if (typeof(ov)!="u\x6e\x64efined"){if (typeof(Ov)!="\x75\156\x64\x65fined"){if (typeof(lv)!="\x75ndefine\x64"){return RadUploadNameSpace.Utils.Og(ig,this,ov,Ov,lv); }return RadUploadNameSpace.Utils.Og(ig,this,ov,Ov); }return RadUploadNameSpace.Utils.Og(ig,this,ov); }return RadUploadNameSpace.Utils.Og(ig,this ); } ; RadUploadNameSpace.RadUpload.prototype.Oz= function (i16,I16,o17){var O17=this.Document.getElementById(this.Id+i16); if (O17!=null){O17.value=RadUploadNameSpace.Localization[this.I2][I16]; if (this.Enabled){O17.onclick=o17; }else {O17.disabled= true; }}return O17; } ; RadUploadNameSpace.RadUpload.prototype.l17= function (){return this.i17.l17(); } ; RadUploadNameSpace.RadUpload.prototype.o15= function (){ this.O10(this.lz,this.I17()>0); this.O10(this.oz,(this.Iv<=0) || (this.I17()<this.Iv)); } ; RadUploadNameSpace.RadUpload.prototype.O12= function (){var o18=this.o8("i\x6epu\x74"); o18.type="checkb\x6f\x78"; o18.id=this.Id+"checkbox"+this.Oy; o18.className="RadUploa\x64\x46ileS\x65\x6cecto\x72"; o18.disabled=!this.Enabled; return o18; } ; RadUploadNameSpace.RadUpload.prototype.i12= function (){var O18=this.o8("\x69nput"); O18.type="fi\x6c\x65"; O18.name=this.Id+"file"+this.Oy; O18.id=this.Id+"\x66ile"+this.Oy; O18.disabled=!this.Enabled; return O18; } ; RadUploadNameSpace.RadUpload.prototype.o13= function (){var l18=this.o8("\x69nput"); l18.type="\x62\x75tton"; l18.value=RadUploadNameSpace.Localization[this.I2]["\122\x65\x6dove"]; l18.id=this.Id+"\x72emove"+this.Oy; l18.className="Ra\x64UploadRemo\x76eButton"; l18.Container=this ; l18.name="\x52emoveRow"; l18.disabled=!this.Enabled; return l18; } ; RadUploadNameSpace.RadUpload.prototype.l13= function (){var i18=this.o8("\151\x6e\x70ut"); i18.type="button"; i18.value=RadUploadNameSpace.Localization[this.I2]["Clear"]; i18.id=this.Id+"clear"+this.Oy; i18.className="\x52adUpl\x6f\x61dClea\x72\x42ut\x74\x6fn"; i18.Container=this ; i18.name="\x43learIn\x70\x75t"; i18.disabled=!this.Enabled; return i18; } ; RadUploadNameSpace.RadUpload.prototype.I17= function (){return this.z.rows.length; } ; RadUploadNameSpace.RadUpload.prototype.o8= function (tagName){return RadUploadNameSpace.Utils.o8(this.Document,tagName); } ; RadUploadNameSpace.RadUpload.prototype.O10= function (button,I18){if (I18){button.className="\122\x61\x64Upload\x42\x75tto\x6e"; }else {button.className="RadU\x70\x6coadBu\x74\x74onD\x69\163a\x62\x6ced"; }} ; RadUploadNameSpace.RadUpload.prototype.O15= function (It){ this.ot(It.cells[0],this.Iw&RadUploadNameSpace.Utils.oh); this.ot(It.cells[2],this.Iw&RadUploadNameSpace.Utils.Oh); this.ot(It.cells[3],(this.Iw&RadUploadNameSpace.Utils.lh)); } ; RadUploadNameSpace.RadUpload.prototype.ot= function (Ot,Ic){RadUploadNameSpace.Utils.ot(Ot,Ic); } ; RadUploadNameSpace.RadUpload.prototype.it= function (It,Ic){RadUploadNameSpace.Utils.it(It,Ic); } ; RadUploadNameSpace.RadUpload.prototype.o19= function (button,Ic){RadUploadNameSpace.Utils.lt(button,Ic,"\x69\x6e\x6cine","\x69\156l\x69\x6ee"); } ; RadUploadNameSpace.RadUpload.prototype.l5= function (){ this.lz=null; } ; RadUploadNameSpace.RadUpload.prototype.i15= function (index){var l15=null; var I5=this.z.rows[index]; if (I5){var l16=I5.getElementsByTagName("INPUT"); var l15=null; for (var i=0; i<l16.length; i++){if (l16[i].type=="\x66\x69le"){l15=l16[i]; break; }}}return l15; } ; RadUploadNameSpace.RadUpload.prototype.O19= function (l19){if (l19=="")return true; for (var j=0; j<this.iw.length; j++){var i19=this.iw[j].substring(2); var I19=new RegExp("\x2e"+i19+"$","\x69g"); if (l19.match(I19)){return true; }}return false; } ; RadUploadNameSpace.RadUpload.prototype.AddFileInput= function (){ this.Add( true); } ; RadUploadNameSpace.RadUpload.prototype.AddFileInputAt= function (index){ this.l11(index, true , false); } ; RadUploadNameSpace.RadUpload.prototype.ClearFileInputAt= function (index){ this.om(index, true , false); } ; RadUploadNameSpace.RadUpload.prototype.DeleteSelectedFileInputs= function (){ this.iz(); } ; RadUploadNameSpace.RadUpload.prototype.DeleteSelectedFiles= function (){ this.iz(); } ; RadUploadNameSpace.RadUpload.prototype.DeleteFileInputAt= function (position){ this.Il(position); } ; RadUploadNameSpace.RadUpload.prototype.DeleteFileAt= function (position){ this.Il(position); } ; RadUploadNameSpace.RadUpload.prototype.SetControlObjectsVisibility= function (Iw){ this.Iw=Iw; for (var i=0; i<this.z.rows.length; i++){ this.O15(this.z.rows[i]); } this.it(this.iy,this.Iw&RadUploadNameSpace.Utils.ii); this.o19(this.oz,this.Iw&RadUploadNameSpace.Utils.ih); this.o19(this.lz,this.Iw&RadUploadNameSpace.Utils.Ih); } ; RadUploadNameSpace.RadUpload.prototype.ValidateExtensions= function (){for (var i=0; i<this.z.rows.length; i++){var oe=this.i15(i).value; if (!this.O19(oe)){return false; }}return true; } ; function GetRadUpload(Ii){return window[Ii]; } ;;RadUploadNameSpace.Localization.ProcessRawArray= function (O){var o=O[0]; if (typeof(RadUploadNameSpace.Localization[o])=="unde\x66\x69\x6eed"){RadUploadNameSpace.Localization[o]=[]; }for (var i=1; i<O.length; i+=2){RadUploadNameSpace.Localization[o][O[i]]=O[i+1]; }} ;;RadUploadNameSpace.g= function (F){ this.FileInputField=F; } ; RadUploadNameSpace.f= function (D){ this.FileInputFields=D; } ;;RadUploadNameSpace.RadUploadProgressArea= function (d){if (!document.readyState || document.readyState=="\x63\x6fmplete"){ this.C(d); }else if (window.attachEvent){var c=this ; var B= function (){c.C(d); } ; window.attachEvent("\x6fnl\x6f\x61d",B); }else if (window.addEventListener && navigator.userAgent.indexOf("Sa\x66\x61ri")!=-1){var c=this ; var B= function (){c.C(d); } ; window.addEventListener("\x6coad",B, true); }} ; RadUploadNameSpace.RadUploadProgressArea.prototype.C= function (d){if (window.opera){return; } this.Id=d[0]; this.o0=d[1]; this.O0=this.o0+"\x49mg/"; this.FormId=d[2]; this.l0=d[3]; this.i0=d[4]; this.I0=d[5]; this.o1=d[6]; this.O1=d[7]; this.l1=d[8]; this.i1=d[9]; this.I1=d[10]; if (this.I1<50){ this.I1=50; } this.o2=d[11]; this.O2=d[12]; this.l2=d[13]; this.i2=d[14]; this.I2=d[15]; this.o3=d[16]; this.O3=d[17]; this.Top=d[18]; this.l3=d[19]; if (RadUploadNameSpace.i3==null){RadUploadNameSpace.i3=this.l2; } this.IsVisible= false; this.I3=0; this.o4= false; this.O4= false; this.Document=document; this.l4(); var c=this ; RadUploadNameSpace.i4=this ; RadUploadNameSpace.Utils.I4(this,this.FormId, function (){c.o5();} ); if (window.OnCallbackRequestStart){var O5=window.OnCallbackRequestStart; window.OnCallbackRequestStart= function (){c.o5= function (){} ; O5(); };}};RadUploadNameSpace.RadUploadProgressArea.prototype.l5= function (){};RadUploadNameSpace.RadUploadProgressArea.prototype.l4= function (){ this.Container=this.Document.getElementById(this.Id+"\x43ontai\x6e\x65r"); if (this.o3){ this.Container.style.position="absolute"; if (this.O3){ this.Container.style.left=this.O3; }if (this.Top){ this.Container.style.top=this.Top; }} this.i5=this.Document.getElementById(this.Id+"\x54able"); for (var i=0; i<this.i5.rows.length; i++){var I5=this.i5.rows[i]; I5.parentNode.removeChild(I5); } this.o6=null; this.O6=null; this.l6=null; this.i6=null; this.I6=null; this.o7=null; this.O7=null; this.l7=null; if (this.l0){ this.o6=this.i7(); }if (this.i0){ this.O6=this.I7(); this.O6.className="\x52adUploa\x64\x54otal\x50\x72og\x72essDa\x74\x61"; this.O6.innerHTML=""; }if (this.I0){ this.l6=this.I7(); this.l6.className="\x52\x61dUplo\x61\x64Curr\x65\x6etF\x69\x6ceNa\x6de"; this.l6.innerHTML=""; }if (this.o1){ this.i6=this.i7(); }if (this.O1){ this.I6=this.I7(); this.I6.className="Ra\x64\x55ploadFi\x6c\145\x43\x6fun\x74\x50rog\x72\145ss\x44\141\x74a"; this.I6.innerHTML=""; }if (this.l1){ this.o7=this.I7(); this.o7.className="Rad\x55\x70loadTi\x6d\x65Dat\x61"; this.o7.innerHTML=""; }if (this.i1){ this.O7=this.I7(); this.O7.className="\x52adUploadC\x61\x6ecel\x42\x75tto\x6e\x48old\x65\162"; this.l7=this.o8("input"); this.l7=this.l7.cloneNode( true); this.l7.className="\x52adUpload\x43\x61ncel\x42\x75tt\x6f\x6e"; this.l7.type="butto\x6e"; this.l7.value=RadUploadNameSpace.Localization[this.I2]["\103a\x6e\x63el"]; var c=this ; this.l7.onclick= function (){c.o4= true; } ; this.O7.appendChild(this.l7); }} ; RadUploadNameSpace.RadUploadProgressArea.prototype.I7= function (){var l=this.i5.insertRow(this.i5.rows.length); return l.insertCell(0); } ; RadUploadNameSpace.RadUploadProgressArea.prototype.i7= function (){var O8=this.i5.insertRow(this.i5.rows.length); var l8=O8.insertCell(0); var i8=this.o8("\x69\x6dg"); i8=i8.cloneNode( true); i8.src=this.O0+"\160\x72\x6fgress\x2e\x67if"; l8.appendChild(i8); l8.className="R\x61\x64UploadP\x72\x6fg\x72essB\x61\162H\x6f\x6cder"; i8.style.width="\x30px"; return i8; } ; RadUploadNameSpace.RadUploadProgressArea.prototype.o5= function (){ this.I3=0; var I8= false; for (var i=0; (i<RadUploadNameSpace.o9.length) && (I8== false); i++){var O9=RadUploadNameSpace.o9[i].z.getElementsByTagName("input"); for (var j=0; (j<O9.length) && (I8== false); j++){if ((O9[j].type=="\x66ile") && (O9[j].value!="")){I8= true; }}}if (!I8)return; var l9=this.Document.getElementsByTagName("input"); for (var i=0; i<l9.length; i++){var i9=l9[i]; if (i9.type=="\x66ile" && i9.value!=""){ this.I3++; }} this.I9=new Date(); this.oa(); } ; RadUploadNameSpace.RadUploadProgressArea.prototype.Oa= function (){if (window.opera){return; }if (this.la==null){ this.la=this.o8("if\x72\141\x6d\x65"); this.la.src="\x6a\141vas\x63\x72ipt:\x66\x61ls\x65;"; this.la.id=this.Id+"\x5fOverlay"; this.la.frameBorder=0; this.la.style.position="absolute"; this.la.style.visibility="hidden"; this.la.style.zIndex=this.Container.style.zIndex-1; this.la.style.left=this.Container.style.left; this.la.style.top=this.Container.style.top; var ia=this.Container.offsetWidth; var Ia=this.Container.offsetHeight; this.la.style.width=ia+"\x70\170"; this.la.style.height=Ia+"px"; this.Container.style.filter="none"; this.la.style.filter="\x70rogid:\x44\x58Imag\x65\x54ran\x73form.Mi\x63\x72os\x6f\x66t.\x41lpha\x28\163t\x79le=0,\x6f\160a\x63ity=0\x29"; this.la.ob= false; this.i5.parentNode.insertBefore(this.la,this.i5); } this.la.style.visibility="\x76isible"; } ; RadUploadNameSpace.RadUploadProgressArea.prototype.oa= function (){if (!this.O4){ this.O4= true; var Ob=null; if (typeof(XMLHttpRequest)!="undefi\x6e\x65d"){Ob=new XMLHttpRequest(); }if (typeof(ActiveXObject)!="\x75\x6edefin\x65\x64"){Ob=new ActiveXObject("\x4d\x69crosoft\x2e\x58MLH\x54\x54P"); }var lb=new Date(); var url=this.o2+"\x26"+this.O2+"="+RadUploadNameSpace.i3+"&r_\x55\x5fDDt="+lb.getTime(); if (this.o4){url+="&"+this.i2+"\x3d\x74rue"; }Ob.open("GET",url, true); var c=this ; Ob.onreadystatechange= function (){c.ib(Ob); } ; Ob.send(""); }} ; RadUploadNameSpace.RadUploadProgressArea.prototype.Ib= function (oc){var Oc=oc/1024; var lc=Oc/1024; if (lc>.8){return ""+Math.round(lc*100)/100+"\x4dB"; }else if (Oc>.8){return ""+Math.round(Oc*100)/100+"\x4b\x42"; }else {return ""+oc+"bytes"; }} ; RadUploadNameSpace.RadUploadProgressArea.prototype.ic= function (Ic){if (this.IsVisible!=Ic){ this.IsVisible=Ic; if (this.IsVisible){ this.Container.style.display="\x69nline"; if (this.o3){ this.Oa(); }}else { this.Container.style.display="none"; }}} ; RadUploadNameSpace.RadUploadProgressArea.prototype.ib= function (Ob){if (Ob.readyState!=4)return; var html=Ob.responseText; if (html){eval(html); if (RadUploadItemsArrayOnDemand[0]==1){ this.ic( true); var od=RadUploadItemsArrayOnDemand[1]; var Od=RadUploadItemsArrayOnDemand[2]; var ld=RadUploadItemsArrayOnDemand[3]; var oe=RadUploadItemsArrayOnDemand[4]; var Oe=0; var le=0; if (od>0){Oe=Math.round(Od/od*100); }if (this.I3){le=Math.round(ld/this.I3*100); }if (this.l0){ this.o6.style.width=""+Oe+"%"; }if (this.i0){var ie=RadUploadNameSpace.Localization[this.I2]["\x43ompleteByt\x65\x73Tex\x74"]; ie=ie.replace(/\x25\x43\x4f\x4d\x50\x4c\x45\x54\x45\x5f\x42\x59\x54\x45\x53\x25/g,""+this.Ib(Od)); ie=ie.replace(/\x25\x54\x4f\x54\x41\x4c\x5f\x42\x59\x54\x45\x53\x25/g,""+this.Ib(od)); this.O6.innerHTML=ie.replace(/\x25\x50\x45\x52\x43\x45\x4e\x54\x53\x25/g,""+Oe); }if (this.I0){var ie=RadUploadNameSpace.Localization[this.I2]["\x43urrentF\x69\x6ceName\x54\x65x\x74"]; if (oe==""){oe=RadUploadNameSpace.Localization[this.I2]["FormD\x61\x74a"]; } this.l6.innerHTML=ie.replace(/\x25\x43\x55\x52\x52\x45\x4e\x54\x5f\x46\x49\x4c\x45\x4e\x41\x4d\x45\x25/g,oe); }if (this.o1){ this.i6.style.width=""+le+"\x25"; }if (this.O1){var ie=RadUploadNameSpace.Localization[this.I2]["\x43ompleteFi\x6c\x65sTex\x74"]; ie=ie.replace(/\x25\x43\x4f\x4d\x50\x4c\x45\x54\x45\x5f\x46\x49\x4c\x45\x53\x25/g,""+ld); ie=ie.replace(/\x25\x54\x4f\x54\x41\x4c\x5f\x46\x49\x4c\x45\x53\x25/g,""+this.I3); this.I6.innerHTML=ie.replace(/\x25\x50\x45\x52\x43\x45\x4e\x54\x53\x25/g,""+le); }if (this.l1){var Ie=new Date(); var ie=RadUploadNameSpace.Localization[this.I2]["Time\x49\x6eforma\x74\x69onTe\x78t"]; var of=Ie-this.I9; var Of=Math.round(of/1000); var If="N/A"; var og="\x4e\x2fA"; if (Oe>0){If=Math.round(of*100/Oe); og=Math.round((If-of)/1000); }ie=ie.replace(/\x25\x45\x4c\x41\x50\x53\x45\x44\x5f\x53\x45\x43\x4f\x4e\x44\x53\x25/g,""+Of); this.o7.innerHTML=ie.replace(/\x25\x45\x53\x54\x49\x4d\x41\x54\x45\x44\x5f\x52\x45\x4d\x41\x49\x4e\x49\x4e\x47\x5f\x54\x49\x4d\x45\x25/g,""+og); } this.Og(this.l3); }else if (RadUploadItemsArrayOnDemand[0]==2){ this.ic( true); this.O4= false; this.lg(); return; }}else { this.ic( false); } this.O4= false; var c=this ; window.setTimeout( function (){c.oa(); } ,c.I1); } ; RadUploadNameSpace.RadUploadProgressArea.prototype.lg= function (){window.location.href=window.location.href; } ; RadUploadNameSpace.RadUploadProgressArea.prototype.Og= function (ig){RadUploadNameSpace.Utils.Og(ig,this ); } ; RadUploadNameSpace.RadUploadProgressArea.prototype.o8= function (tagName){return RadUploadNameSpace.Utils.o8(this.Document,tagName); } ;;RadUploadNameSpace.Utils= {} ; RadUploadNameSpace.Utils.Ig=0; RadUploadNameSpace.Utils.oh=1; RadUploadNameSpace.Utils.Oh=2; RadUploadNameSpace.Utils.lh=4; RadUploadNameSpace.Utils.ih=8; RadUploadNameSpace.Utils.Ih=16; RadUploadNameSpace.Utils.oi=RadUploadNameSpace.Utils.oh|RadUploadNameSpace.Utils.Oh|RadUploadNameSpace.Utils.ih|RadUploadNameSpace.Utils.Ih; RadUploadNameSpace.Utils.Oi=RadUploadNameSpace.Utils.oh|RadUploadNameSpace.Utils.Oh|RadUploadNameSpace.Utils.lh|RadUploadNameSpace.Utils.ih|RadUploadNameSpace.Utils.Ih; RadUploadNameSpace.Utils.ii=RadUploadNameSpace.Utils.ih|RadUploadNameSpace.Utils.Ih; RadUploadNameSpace.Utils.AppendStyleSheet= function (Ii,oj){var Oj=(navigator.appName=="M\x69\x63\x72osoft \x49\x6eter\x6eet Expl\x6f\x72er") && ((navigator.userAgent.toLowerCase().indexOf("\x6dac")!=-1) || (navigator.appVersion.toLowerCase().indexOf("mac")!=-1)); var lj=(navigator.userAgent.toLowerCase().indexOf("safa\x72\x69")!=-1); if (Oj || lj){document.write("<"+"\x6c\x69nk"+" re\x6c\x3d\047\x73tyl\x65\163he\x65t\047\x20\164y\x70\145=\x27text\x2fcss\047\x20hre\x66=\047"+oj+"\x27>"); }else {var ij=document.createElement("\x4cINK"); ij=ij.cloneNode( true); ij.rel="\163t\x79\x6cesheet"; ij.type="text/css"; ij.href=oj; document.getElementById(Ii+"St\x79\x6ceSheetH\x6f\x6cder").appendChild(ij); }} ; RadUploadNameSpace.Utils.Ij= function (){for (var i=0; i<RadUploadNameSpace.o9.length; i++){var ok=RadUploadNameSpace.o9[i]; if (ok.l5){ok.l5(); }}if (RadUploadNameSpace.i4){RadUploadNameSpace.i4.l5(); }} ; RadUploadNameSpace.Utils.Ok= function (lk,ik,Ik){if (document.attachEvent){lk.attachEvent("\157\x6e"+ik,Ik); }else if (window.addEventListener){lk.addEventListener(ik,Ik, true); }} ; RadUploadNameSpace.Utils.ll= function (e){if (!e){e=event; }var il; if (e.srcElement && e.srcElement.name){il=e.srcElement.name; }else if (e.target && e.target.name){il=e.target.name; }if (il=="Remove\x52\x6fw"){if (this.Container.Il(this.rowIndex)!= false){ this.Container=null; }}if (il=="\103lea\x72\x49nput"){var index=this.rowIndex; if (this.Container.om(index)!= false){ this.Container=null; }}} ; RadUploadNameSpace.Utils.Om= function (){RadUploadNameSpace.Utils.Im(); } ; RadUploadNameSpace.Utils.On= function (In,oo,value){for (var i=0; i<In.length; i++){if (In[i][oo]==value){return i; }}return -1; } ; RadUploadNameSpace.Utils.Im= function (){var Oo=[]; var Io=0; for (var i=0; i<RadUploadNameSpace.o9.length; i++){var ok=RadUploadNameSpace.o9[i]; var op=RadUploadNameSpace.Utils.On(Oo,"\x46orm\x49\x64",ok.FormId); var Op=op>=0; if (!Op){op=Io; Oo[Io]= {FormId:ok.FormId,lp: "",ip:ok.ip,O2:ok.O2 } ; }Oo[op].lp+=ok.Id+ok.Ip; if (!Op){Io++; }}for (var i=0; i<Oo.length; i++){var oq=""; var Oq=document.getElementById(Oo[i].FormId); var lq=Oo[i]; if (Oq.action==null){Oq.action=""; }if (Oq.action && Oq.action.match(/\x3f/)){var iq=new RegExp("&\x3f"+lq.ip+"\x3d[^&]*"); if (Oq.action.match(iq)){Oq.action=Oq.action.replace(iq,""); }var Iq=new RegExp("\046\x3f"+lq.O2+"=[^&]*"); if (Oq.action.match(Iq)){Oq.action=Oq.action.replace(Iq,""); }if (Oq.action.substring(Oq.action.length-1)!="\x3f"){Oq.action+="&"; }}else {Oq.action+="\077";}Oq.action+=lq.ip+"\075"+lq.lp.replace(/\x2c$/g,"")+"&"+lq.O2+"="+RadUploadNameSpace.i3; Oq=null; }} ; RadUploadNameSpace.Utils.I4= function (or,Or,lr){var ir=null; try {ir=document.getElementById(Or); }catch (ex){ir=document.forms[0]; }var Ir=ir.submit; or.Ir=ir.submit; try {ir.submit= function (){try {lr(); this.submit=Ir; this.submit(); }catch (os){}} ; }catch (os){try {Os=__doPostBack; __doPostBack= function (eventTarget,eventArgument){lr(); var ls= true; if (typeof(Page_ClientValidate)=="funct\x69on"){ls=Page_ClientValidate(); }if (ls){Os(eventTarget,eventArgument); }} ; }catch (os){}}RadUploadNameSpace.Utils.Ok(ir,"submit", function (){lr(); } ); ir=null; } ; RadUploadNameSpace.Utils.o8= function (is,tagName){var Is=is.createElement(tagName); return Is.cloneNode( true); } ; RadUploadNameSpace.Utils.ot= function (Ot,Ic){RadUploadNameSpace.Utils.lt(Ot,Ic,"\x62lo\x63\x6b","tabl\x65\x2dcell"); } ; RadUploadNameSpace.Utils.it= function (It,Ic){RadUploadNameSpace.Utils.lt(It,Ic,"block","\x74able-row"); } ; RadUploadNameSpace.Utils.lt= function (ou,Ic,Ou,lu){if (Ic){ou.style.display=document.all?Ou:lu; }else {ou.style.display="none"; }} ; RadUploadNameSpace.Utils.iu= function (){return (navigator.userAgent.toLowerCase().indexOf("safari")>0); } ; RadUploadNameSpace.Utils.Og= function (ig,Iu,ov,Ov,lv){var iv=null; if (ig && typeof(ig=="\x73tring")){var iv=eval(ig); }if (iv){if (typeof(Iu)!="undefined"){if (typeof(ov)!="unde\x66\x69ned"){if (typeof(Ov)!="undefine\x64"){if (typeof(lv)!="\x75\x6edefine\x64"){return iv(Iu,ov,Ov,lv); }return iv(Iu,ov,Ov); }return iv(Iu,ov); }return iv(Iu); }return iv(); }} ;;
