📄 radwindowclient.js
字号:
if ("u\x6e\144\x65\x66in\x65\x64"==typeof(RadWindowNamespace)){RadWindowNamespace=new Object(); }Object.Extend= function (object,o26){for (var O26 in o26){object[O26]=o26[O26]; }} ; function RadUtil_AddStyleSheet(l26,i26){var I26=i26!=null?i26:document; var o27=I26.createElement("link"); o27=o27.cloneNode( true); o27.setAttribute("\x68ref",l26,0); o27.setAttribute("\x74ype","text/css"); o27.setAttribute("\x72el","\x73\x74yleshee\x74",0); var O27=I26.getElementsByTagName("\x68ead")[0]; if (RadWindowNamespace.ll("\x73afari")){var l27= function (){O27.appendChild(o27); };window.setTimeout(l27,200); }else {O27.appendChild(o27); }}RadWindowNamespace.I1g= function (Iz){return Iz.replace(/^\s{1,}/ig,"").replace(/\s{1,}$/ig,""); } ; RadWindowNamespace.i1g= function (text){for (var i=1; i<arguments.length; i++){text=text.replace(new RegExp("\x5c{"+(i-1)+"\x5c}","\x69g"),arguments[i]); }return text; } ; RadWindowNamespace.l1g= function (oz,i27){var I27=new Array("\x25","\x3c","\x3e","\x21","\x22","\x23","\x24","&","\047","(",")","\x2c","\x3a","\073","\x3d","?","[","\134","\x5d","^","`","\x7b","\x7c","}","~","+"); var o28=oz; if (i27){for (var i=0; i<I27.length; i++){o28=o28.replace(new RegExp("\x5cx"+I27[i].charCodeAt(0).toString(16),"\x69g"),"%"+I27[i].charCodeAt(0).toString(16)); }}else {for (var i=I27.length-1; i>=0; i--){o28=o28.replace(new RegExp("\x25"+I27[i].charCodeAt(0).toString(16),"\x69g"),I27[i]); }}return o28; } ; RadWindowNamespace.O28= {} ; RadWindowNamespace.O14= function (l28,ow){if (l28){ow.TopOffset=parseInt(ow.style.top)-RadWindowNamespace.l9(document); ow.i28=parseInt(ow.style.left)-RadWindowNamespace.i9(document); var I28=window.setInterval( function (){RadWindowNamespace.o29(ow); } ,100); RadWindowNamespace.O28[I28]=ow; }else {var O29=null; var l29=RadWindowNamespace.O28; for (var name in l29){if (l29[name]==ow){O29=name; break; }}if (null!=O29){window.clearInterval(O29); RadWindowNamespace.O28[O29]=null; }ow.TopOffset=null; ow.i28=null; }};RadWindowNamespace.o29= function (ow){var left=(ow.i28!=null)?ow.i28+RadWindowNamespace.i9(document):parseInt(ow.style.left); var top=(ow.TopOffset!=null)?ow.TopOffset+RadWindowNamespace.l9(document):parseInt(ow.style.top); if (ow.MoveTo)ow.MoveTo(left,top); } ; RadWindowNamespace.i10= function (i29){var og=GetRadWindowManager(); var I29=og.i1d(); if (i29.l3 && i29.l3.style){i29.l3.style.zIndex=I29; }i29.style.zIndex=I29; } ; RadWindowNamespace.I11= function (o2a){if (o2a){document.body.scroll="\x79\x65\x73"; document.documentElement.style.overflow=""; }else {document.body.scroll="\x6eo"; document.documentElement.style.overflow="hi\x64\x64en"; }} ; RadWindowNamespace.O9= function (Og){if (!Og)Og=window; var O1=Og.document; var o5= {} ; if (document.all){if (document.documentElement && document.documentElement.clientHeight){o5.width=O1.documentElement.clientWidth; o5.height=O1.documentElement.clientHeight; }else {o5.width=O1.body.clientWidth; o5.height=O1.body.clientHeight; }}else {o5.width=window.innerWidth?parseInt(Og.innerWidth):parseInt(O1.body.clientWidth); o5.height=window.innerHeight?parseInt(Og.innerHeight):parseInt(O1.body.clientHeight); }return o5; };RadWindowNamespace.ou= function (Og){if (!Og)Og=window; O1=Og.document; var o5= {} ; if (O1.all && "\x43\x53S1Compa\x74"==O1.compatMode){o5.width=O1.documentElement.clientWidth; o5.height=O1.documentElement.clientHeight; }else {o5.width=window.innerWidth?parseInt(Og.innerWidth):parseInt(O1.body.clientWidth); o5.height=window.innerHeight?parseInt(Og.innerHeight):parseInt(O1.body.clientHeight); }o5.top=RadWindowNamespace.l9(O1); o5.left=RadWindowNamespace.i9(O1); return o5; } ; RadWindowNamespace.l9= function (i26){if (i26.documentElement && i26.documentElement.scrollTop){return i26.documentElement.scrollTop; }else {return i26.body.scrollTop; }} ; RadWindowNamespace.i9= function (i26){if (i26.documentElement && i26.documentElement.scrollLeft){return i26.documentElement.scrollLeft; }else {return i26.body.scrollLeft; }} ; RadWindowNamespace.O2a= function (left,top,width,height){ this.left=(null!=left?left: 0); this.top=(null!=top?top: 0); this.width=(null!=width?width: 0); this.height=(null!=height?height: 0); } ; RadWindowNamespace.l2a= function (i2a){var width=i2a.offsetWidth; if (document.all && "CSS\x31\103\x6f\x6dpat"==document.compatMode && i2a.currentStyle){var I2a=parseInt(i2a.currentStyle.borderWidth); if (I2a>0)width-=I2a*2; }return width; } ; RadWindowNamespace.O4= function (i2a){return i2a.offsetHeight; } ; RadWindowNamespace.I4= function (i2a){if (!i2a)i2a=this ; var left=0; var top=0; var width=RadWindowNamespace.l2a(i2a); var height=RadWindowNamespace.O4(i2a); while (i2a.offsetParent){left+=i2a.offsetLeft; top+=i2a.offsetTop; i2a=i2a.offsetParent; }if (i2a.x)left=i2a.x; if (i2a.y)top=i2a.y; left=RadWindowNamespace.I25(left,0); top=RadWindowNamespace.I25(top,0); width=RadWindowNamespace.I25(width,0); height=RadWindowNamespace.I25(height,0); return new RadWindowNamespace.O2a(left,top,width,height); } ; RadWindowNamespace.ll= function (o2b){o2b=o2b.toLowerCase(); if ("\x69\x65"==o2b)o2b="\x6dsie"; else if ("mozill\x61"==o2b || "\x66irefox"==o2b)o2b="co\x6d\x70atible"; var O2b=navigator.userAgent.toLowerCase(); l2b=O2b.indexOf(o2b)+1; if (l2b)return true; else return false; } ; RadWindowNamespace.l1o= function (i26){return (null!=document.readyState && "\x63omplete"!=document.readyState)? false : true; };RadWindowNamespace.I25= function (i2b,defaultValue){if (!defaultValue)defaultValue=0; var I2b=parseInt(i2b); return (isNaN(I2b)?defaultValue:I2b); } ; RadWindowNamespace.O2= function (e){if (null==e)return null; return (e.srcElement?e.srcElement:e.target); } ; RadWindowNamespace.RadUtil_CancelEvent= function (h){h.returnValue= false; h.cancelBubble= true; if (h.stopPropagation){h.stopPropagation(); }return false; } ; RadWindowNamespace.f= function (i2a,lr,o2c){lr=RadWindowNamespace.O2c(lr); if (i2a.addEventListener){i2a.addEventListener(lr,o2c, true); }else if (i2a.attachEvent){i2a.attachEvent(lr,o2c); }} ; RadWindowNamespace.l1= function (i2a,lr,o2c){lr=RadWindowNamespace.O2c(lr); if (i2a.addEventListener){i2a.removeEventListener(lr,o2c, true); }else if (i2a.detachEvent){i2a.detachEvent(lr,o2c); }} ; RadWindowNamespace.l2c= function (text,value){if (typeof(value)!="\x73\x74\x72ing")return false; return (0==text.indexOf(value)); } ; RadWindowNamespace.O2c= function (lr){lr=lr.toLowerCase(); if (document.addEventListener && RadWindowNamespace.l2c(lr,"\x6fn")){return lr.substr(2); }else if (document.attachEvent && !RadWindowNamespace.l2c(lr,"on")){return "on"+lr; }else {return lr; }} ;;;if ("u\x6e\x64efined"==typeof(RadWindowNamespace)){RadWindowNamespace=new Object(); }RadWindowNamespace.O=null; RadWindowNamespace.o= function (I,A,U,Z,z){if (!I || I.W)return; Object.Extend(I,RadWindowNamespace.w); I.V=(z)? true : false; if (Z!= false){Object.Extend(I,RadWindowNamespace.v); I.T(); }I.onmouseout= function (e){if (""!=this.style.cursor){ this.style.cursor=""; }} ; I.onmousedown= function (e){if (!e)e=window.event; if (this.t)this.t(); if (!this.DragMode){if (this.S && this.R){ this.DragMode=2; this.r(e); }else if (this.V && this.Q(e)){ this.DragMode=1; }}return RadWindowNamespace.RadUtil_CancelEvent(e); } ; I.onmouseup= function (e){ this.DragMode=""; RadWindowNamespace.P(); if (this.N){ this.N(e); }} ; I.onmousemove= function (e){if (!e)e=window.event; if (this.DragMode){ this.r(e); return; }if (this.n())return; if (!this.M() && null!=this.m){ this.R=this.m(e); this.style.cursor=this.R; }} ; if (U!= false && document.all && !window.opera){RadWindowNamespace.L(I); }};RadWindowNamespace.w= {OnDragStart:null,l:null,N:null,K:null,k:null,J:null,V: true ,S: true ,H: true ,DragMode:null,r:function (h){if (this.G)return; this.g=h.clientX; this.F=h.clientY; RadWindowNamespace.f(document,"\x6f\x6emouseup",RadWindowNamespace.D); RadWindowNamespace.f(document,"\x6fnmousemove",RadWindowNamespace.d); RadWindowNamespace.O=this ; if (this.H){ this.C=RadWindowNamespace.c(); this.C.Show(this.B()); }if (this.OnDragStart){ this.OnDragStart(h); } this.o0=this.style.zIndex; this.style.zIndex=50000; RadWindowNamespace.O0(this ); this.C.style.zIndex=this.style.zIndex+1; this.G= true; } ,l0:function (h){if (this.C){var i0=this.C.B(); if (1==this.DragMode){ this.MoveTo(i0.left,i0.top); }else if (2==this.DragMode){var I0=(this.R=="e-re\x73\151\x7a\145" || this.R=="\x77\x2dresize"?null:i0.height); this.SetSize(i0.width,I0); this.MoveTo(i0.left,i0.top); }} this.o1(h); if (this.l){ this.l(h); }} ,o1:function (h){RadWindowNamespace.O=null; this.G= false; RadWindowNamespace.P(); var O1=document; RadWindowNamespace.l1(O1,"\x6fnmouseup",RadWindowNamespace.D); RadWindowNamespace.l1(O1,"o\x6e\x6dousemov\x65",RadWindowNamespace.d); if (this.C){ this.C.Hide(); this.C=null; } this.DragMode=""; this.style.zIndex=this.o0; this.Show(); } ,i1:function (e){if (1==this.DragMode){ this.W(e); }else if (2==this.DragMode){ this.I1(e); } this.g=e.clientX; this.F=e.clientY; } ,Q:function (h){var o2=RadWindowNamespace.O2(h); try {while (o2 && null!=o2.getAttribute){if (null!=o2.getAttribute("\x67rip"))return o2; else o2=o2.parentNode; }}catch (e){ ; }return null; } ,W:function (h){var l2=h.clientX-this.g; var i2=h.clientY-this.F; this.C.I2(l2,i2); } ,I2:function (l2,i2){if (!this.Left){ this.Left=parseInt(this.style.left); }if (!this.Top){ this.Top=parseInt(this.style.top); } this.MoveTo(this.Left+l2,this.Top+i2); } ,MoveTo:function (x,y){if (isNaN(x) || isNaN(y))return; this.Left=x; this.Top=y; this.style.position="a\x62\x73\x6flute"; this.style.left=this.Left+"\x70x"; this.style.top=this.Top+"px"; if (this.o3){ this.O3(); this.o3= false; }if (this.l3){ this.l3.style.top=this.style.top; this.l3.style.left=this.style.left; }} ,SetSize:function (width,height,fireEvent){width=parseInt(width); var borderWidth=0; if (document.all && "CSS\x31\x43ompat"==document.compatMode && this.currentStyle){var i3=parseInt(this.currentStyle.borderWidth); if (i3>0)borderWidth=i3; }if (!isNaN(width) && width>=0){ this.style.width=width+"\x70\x78"; if (this.l3){width+=borderWidth; this.l3.style.width=width+"px"; }}height=parseInt(height); if (!isNaN(height) && height>=0){ this.style.height=height+"px"; this.I3(this,height); if (this.l3){height+=borderWidth; this.l3.style.height=height+"px"; }}if (( false !=fireEvent) && this.K && "functio\x6e"==typeof(this.K))this.K(); } ,I3:function (o4,height){if (document.all && "\x43\x53S1Comp\x61\164"==document.compatMode){var I0=RadWindowNamespace.O4(o4); var l4=(I0-parseInt(o4.style.height)); if (l4>0){var i4=(parseInt(o4.style.height)-l4); if (i4>0)o4.style.height=i4+"\x70x"; }}} ,B:function (){if (this ==RadWindowNamespace.O && this.C && this.C.IsVisible()){return RadWindowNamespace.I4(this.C); }else {return RadWindowNamespace.I4(this ); }} ,SetPosition:function (o5){if (o5){ this.MoveTo(o5.left,o5.top); this.SetSize(o5.width,o5.height); }} ,t:function (){var O5=0; var zIndex=0; var l5=this.parentNode.childNodes; var node; for (var i=0; i<l5.length; i++){node=l5[i]; if (1!=node.nodeType)continue; zIndex=parseInt(node.style.zIndex); if (zIndex>O5){O5=zIndex; }} this.style.zIndex=O5+1; } ,Show:function (o5){ this.style.display=this.i5?this.i5: ""; if (null!=o5){ this.SetPosition(o5); } this.t(); if (this.ShowOverlay){ this.ShowOverlay(); }if (this.k){ this.k(); }} ,Hide:function (){if (!this.IsVisible())return; this.i5=this.style.display; this.style.display="\156one"; if (this.I5){ this.I5(); }if (this.J){ this.J(); }} ,IsVisible:function (){return (this.style.display!="none"); } ,M:function (){return (2==this.DragMode); } ,n:function (){return (1==this.DragMode); } ,o6:function (){ this.m=null; this.I1=null; this.O6=null; this.T=null; this.l6=null; this.onmousemove=null; this.onmouseup=null; this.onmouseout=null; this.onmousedown=null; this.r=null; this.l0=null; this.o1=null; this.i1=null; this.Q=null; this.W=null; this.I2=null; this.MoveTo=null; this.t=null; this.B=null; this.SetPosition=null; this.O3=null; this.ShowOverlay=null; this.I5=null; this.i6=null; this.Show=null; this.Hide=null; this.IsVisible=null; this.M=null; this.n=null; this.C=null; this.OnDragStart=null; this.l=null; this.N=null; this.K=null; this.k=null; this.J=null; this.DragMode=null; this.I6=null; this.l3=null; this.D=null; this.d=null; }};RadWindowNamespace.D= function (e){if (!RadWindowNamespace.O)return; if (!e)e=window.event; var o7=RadWindowNamespace.O; o7.l0(e); o7.DragMode=""; } ; RadWindowNamespace.O7=0; RadWindowNamespace.d= function (e){var l7=RadWindowNamespace.O; if (!l7)return; if (RadWindowNamespace.O7++%2){l7.i1(e); }RadWindowNamespace.RadUtil_CancelEvent(e); };RadWindowNamespace.I6=null; RadWindowNamespace.c= function (){if (this.I6){return this.I6; }var i7=document.createElement("\x44\x49V"); i7=i7.cloneNode( true); document.body.appendChild(i7); i7.style.position="absolute"; i7.style.top=10; i7.style.left=10; i7.style.width=100; i7.style.height=100; i7.style.display="n\x6f\x6ee"; i7.className="RadW\x44\x72agHel\x70\x65r"; RadWindowNamespace.o(i7, false , false , true); this.I6=i7; return i7; } ; RadWindowNamespace.L= function (I){I.O3= function (){var frm=document.createElement("I\x46\x52AME"); frm=frm.cloneNode( true); frm.src="javascript:\x27\x27;"; frm.frameBorder=0; frm.scrolling="\x6e\157"; frm.style.filter="progid:D\x58\x49mag\x65Transf\x6frm.Micr\x6f\163o\x66t.Alph\x61(opa\x63ity=0)"; var I7=frm.style; I7.overflow="\x68\151dde\x6e"; this.l3=frm; } ; I.ShowOverlay= function (){ this.parentNode.insertBefore(this.l3,this ); var I7=this.l3.style; I7.display="\x69nline"; I7.position="\x61\142sol\x75\x74e"; var o5=this.B(); I7.width=o5.width+"px"; I7.height=o5.height+"px"; I7.left=o5.left+"p\x78"; I7.top=o5.top+"\x70x"; } ; I.I5= function (){ this.l3.style.display="\x6eone"; } ; if ("complete"==document.readyState){I.O3(); }else {I.o3= true; }} ; RadWindowNamespace.o8= function (){if (!this.O8){function l8(e){return false; } ; var img=document.createElement("IMG"); img=img.cloneNode( true); img.setAttribute("unse\x6c\x65ctabl\x65","on"); img.setAttribute("\x67\x61lleryim\x67","no"); img.onselectstart=l8; img.ondragstart=l8; img.onmouseover=l8; img.onmousemove=l8; img.onmouseup=RadWindowNamespace.P; var I7=img.style; I7.display="\x6e\x6fne"; I7.position="absolute"; I7.left=I7.top="0\x70\x78"; if (document.all){if (null!=document.readyState && "\x63omplete"!=document.readyState){RadWindowNamespace.f(window,"\x6coad", function (){document.body.appendChild(img); } ); }else {document.body.appendChild(img); }} this.O8=img; }return this.O8; };RadWindowNamespace.O0= function (i8){var I8=RadWindowNamespace.o8(); if (I8){var I7=I8.style; I7.display=""; var o9=RadWindowNamespace.O9(); I7.width=parseInt(o9.width)+"\x70x"; I7.height=parseInt(o9.height)+"\x70\x78"; I7.top=RadWindowNamespace.l9(I8.ownerDocument); I7.left=RadWindowNamespace.i9(I8.ownerDocument); if (i8 && i8.style.zIndex){var zIndex=i8.style.zIndex; I7.zIndex=zIndex; i8.style.zIndex=zIndex++; }}} ; RadWindowNamespace.P= function (e){var I8=RadWindowNamespace.o8(); if (I8){I8.style.display="\x6eone"; }RadWindowNamespace.D(e); } ;;RadWindowMinimizeMode= {I9: 1,oa: 2,Oa: 1 } ; RadWindowBehavior= {la: 0,I1: 1,Minimize: 2,Close: 4,ia: 8,Maximize: 16,W: 32,Reload: 64,Oa: (1+2+4+8+16+32+64)} ; function RadWindowInitialize(id,name,Ia,ob,Ob,lb,ib,Ib,I0,oc,Oc,lc,ic,Ic,od,Od,ld,oe,Oe,le,Ie,of,Of,If){var og=GetRadWindowManager(); var Og=ob?new RadWindowClass(id):og.lg(id); Og.ig=[]; Og.Name=name; Og.Ig=Ia; if (lb)Og.oh=lb; if (ib)Og.Oh=ib; if (Ob)Og.Url=Ob; if (Ib)Og.Width=Ib; if (I0)Og.Height=I0; if (oc)Og.lh("\114eft",oc, false); if (Oc)Og.lh("\x54op",Oc, false); if (lc)Og.ih=lc; if (ic)Og.Ih=ic; if (Ic!=RadWindowBehavior.la)Og.oi=Ic; if (od!=RadWindowBehavior.Oa)Og.Oi=od; if (Od!=RadWindowMinimizeMode.Oa)Og.ii=Od; if (oe!=RadWindowClass.prototype.Ii)Og.Ii=oe; if (Oe!=RadWindowClass.prototype.oj)Og.oj=Oe; if (le!=RadWindowClass.prototype.Oj)Og.Oj=le; if (Ie!=RadWindowClass.prototype.lj)Og.lj=Ie; if (of!=RadWindowClass.prototype.ij)Og.ij=of; if (Of!=RadWindowClass.prototype.Ij)Og.Ij=Of; if (If!=RadWindowClass.prototype.ok)Og.ok=If; if (Og.ij){var Ok=document.getElementById(Og.ij); if (Ok){var lk=Ok.onclick; Ok.onclick= function (e){if (lk)lk(); Og.Show(); if (e)RadWindowNamespace.RadUtil_CancelEvent(e); return false; } ; }else alert(Og.Id+"\040\x28OpenerEl\x65\x6dent\x49\x64)\x2d\040C\x6f\x75ld \x6e\157\x74 fi\x6ed elem\x65nt on \x70age w\x69\164h\x20id "+Og.ij); }if (ob){Og.ik(); }else {if ( true ==Og.Ik && true !=ld)ld= false; Og.SetModal(ld); Og.SetTitle(Og.ih); if (Og.Oj){Og.Show(); }}return Og; }function RadWindowClass(id){ this.IsIE=RadWindowNamespace.ll("\x69e"); this.Id=id; this.Ig=id; this.Name=""; this.BrowserWindow=window; }RadWindowClass.prototype.BrowserWindow=null; RadWindowClass.prototype.Url=null; RadWindowClass.prototype.Width=300; RadWindowClass.prototype.Height=300; RadWindowClass.prototype.Left=null; RadWindowClass.prototype.Top=null; RadWindowClass.prototype.ih=""; RadWindowClass.prototype.Ih=""; RadWindowClass.prototype.lj=""; RadWindowClass.prototype.ij=""; RadWindowClass.prototype.oh=""; RadWindowClass.prototype.Oh=""; RadWindowClass.prototype.il="\x65\x6e_US"; RadWindowClass.prototype.Il= {} ; RadWindowClass.prototype.om=null; RadWindowClass.prototype.Oi=RadWindowBehavior.Oa; RadWindowClass.prototype.oi=RadWindowBehavior.la; RadWindowClass.prototype.ii=RadWindowMinimizeMode.Oa; RadWindowClass.prototype.Om= false; RadWindowClass.prototype.Im= false; RadWindowClass.prototype.On= false; RadWindowClass.prototype.In= false; RadWindowClass.prototype.Ik= false; RadWindowClass.prototype.oo= false; RadWindowClass.prototype.Oo= false; RadWindowClass.prototype.Ii= true; RadWindowClass.prototype.oj= true; RadWindowClass.prototype.Oj= false; RadWindowClass.prototype.Io= false; RadWindowClass.prototype.Ij= false; RadWindowClass.prototype.ok= false; RadWindowClass.prototype.op=null; RadWindowClass.prototype.Op=null; RadWindowClass.prototype.lp=null; RadWindowClass.prototype.ip=null; RadWindowClass.prototype.Ip=null; RadWindowClass.prototype.oq=null; RadWindowClass.prototype.Oq=null; RadWindowClass.prototype.ig=null; RadWindowClass.prototype.Dispose= function (){try {var Ok=document.getElementById(this.ij); if (Ok)Ok.onclick=null; if (this.op){if (this.op.o6)this.op.o6(); this.op=null; }if (this.lp)this.lp.ondblclick=null; this.lp=null; this.Op=null; this.lq=null; if (this.iq && this.Iq){RadWindowNamespace.l1(this.Iq,"c\x6cick",this.iq); this.iq=null; this.Iq=null; } this.ip=null; this.Ip=null; if (this.oq && this.oq.Dispose)this.oq.Dispose(); this.oq=null; if (this.or && this.or.Dispose)this.or.Dispose(); this.or=null; this.ig=null; this.Or=null; }catch (e){}} ; RadWindowClass.prototype.AttachClientEvent= function (lr,eventHandler){if (!eventHandler)return; else {if (null==this.ig[lr]){ this.ig[lr]=[]; }var ir=this.ig[lr]; if (typeof(eventHandler)=="string"){eventHandler=eval(eventHandler); }ir[ir.length]=eventHandler; }} ; RadWindowClass.prototype.Ir= function (lr){var os=this.ig[lr]; if (null!=os){var Os=os.length; for (var i=0; i<Os; i++){try {os[i](this ); }catch (e){} ; }}return true; } ; RadWindowClass.prototype.SetModal= function (ls){ this.Ik=ls; if (this.Ik && !this.or){ this.or=new is(this ); }else if (!this.Ik && this.or){ this.or.Dispose(); this.or=null; }} ; RadWindowClass.prototype.MoveTo= function (x,y){ this.op.MoveTo(x,y); if (!this.Or){ this.Or= {} ; } this.Or=this.op.B(); } ; RadWindowClass.prototype.SetWidth= function (width){var Is=this.op.B(); this.SetSize(width,Is.height); } ; RadWindowClass.prototype.SetHeight= function (height){var Is=this.op.B(); this.SetSize(Is.width,height); } ; RadWindowClass.prototype.GetWidth= function (){var Is=this.op.B(); return Is.width; } ; RadWindowClass.prototype.GetHeight= function (){var Is=this.op.B(); return Is.height; } ; RadWindowClass.prototype.SetTitle= function (lc){if (!lc)return; if (this.Op)this.Op.innerHTML=lc; this.ih=lc; } ; RadWindowClass.prototype.GetWindowManager= function (){return GetRadWindowManager(); } ; RadWindowClass.prototype.ot= function (){if (this.IsVisible())return this.op.B(); else return this.Or; } ; RadWindowClass.prototype.ik= function (){var Og=this ; var og=GetRadWindowManager(); var Ot=og.lt(Og); var it=document.getElementById("Rad\x57Spl\x61\x73hHold\x65\x72"); it.innerHTML=Ot; it.style.width=Og.Width; it.style.height=Og.Height; it.style.position="absolute"; var It=RadWindowNamespace.ou(); var Is=RadWindowNamespace.I4(it); var x=RadWindowNamespace.i9(document)-Is.left+((It.width-parseInt(Og.Width))/2); var y=RadWindowNamespace.l9(document)-Is.top+((It.height-parseInt(Og.Height))/2); it.style.left=x+"\x70x"; it.style.top=y+"px"; it.style.display=""; it.style.zIndex=""+5000; RadWindowNamespace.f(window,"load", function (){window.setTimeout( function (){it.innerHTML=""; } ,200); } ); } ; RadWindowClass.prototype.SetVisible= function (Ou){if (Ou){var Is=this.Or; if (Is){ this.op.MoveTo(Is.left,Is.top); } this.op.Show(); if (Is){ this.op.SetSize(Is.width,Is.height); } this.In= false; }else {if (!this.IsVisible())return; this.op.Hide(); }} ; RadWindowClass.prototype.SetSize= function (width,height){var Ib=parseInt(width); var I0=parseInt(height); this.Width=Ib; this.Height=I0; this.op.SetSize(Ib,I0); if (this.Or){ this.Or.width=Ib; this.Or.height=I0; }} ; RadWindowClass.prototype.lu= function (){if (!this.op){var og=GetRadWindowManager(); var iu=this.Iu(); var it=document.createElement("\x53\x50\x41N"); it=it.cloneNode( true); it.setAttribute("id","\x57in\x64\x6fwHold\x65\162\x5f"+this.Id); document.body.appendChild(it); it.innerHTML=iu; this.op=document.getElementById("\x52adWi\x6e\x64owWr\x61\x70perE\x6cement"+this.Id); this.Op=document.getElementById("R\x61\x64Window\x54\x69tle"+this.Id); this.lp=document.getElementById("\x52\x61dWindow\x48\x65ade\x72\x52ow"+this.Id); this.lq=document.getElementById("\x52\x61dWStatu\x73"+this.Id); this.ip=document.getElementById("RadWindow\x43\x6fnten\x74\x46ram\x65"+this.Id); this.Ip=document.getElementById("\x52adWi\x6e\x64owLoa\x64\x69ngW\x72\x61ppe\x72"+this.Id); var U=this.ov; RadWindowNamespace.o(this.op,A= true ,U,this.Ov(RadWindowBehavior.I1),this.Ov(RadWindowBehavior.W)); var lv=this ; this.op.N= function (){lv.SetActive( true); } ; this.op.l= function (){lv.Or=lv.op.B(); lv.SetActive( true); } ; if (this.Ov(RadWindowBehavior.Maximize) && this.lp){ this.lp.ondblclick= function (){lv.ToggleMaximize(); };}} this.Io= true; } ; RadWindowClass.prototype.Show= function (){var Og=this ; var iv= function (){var Iv= false; if (!Og.Io){Og.lu(); if (RadWindowBehavior.Minimize&Og.oi){Og.Minimize(); Iv= true; }else if (RadWindowBehavior.Maximize&Og.oi){Og.Maximize(); Iv= true; }}if (Og.Url && (!Og.oo || Og.ok)){Og.SetUrl(Og.Url); }if (Iv)return; if (!Og.Or){var ow=Og.op; Og.SetSize(Og.Width,Og.Height); if (!Og.IsVisible()){ow.MoveTo(-3000,-3000); ow.Show(); }var Is=Og.Ow(); x=Is.left; y=Is.top; Og.SetVisible( true); if (Og.IsIE && "\x43S\x53\x31Compa\x74"==document.compatMode){ow.SetSize(Og.Width,Og.Height); }Og.MoveTo(x,y); }else {Og.SetVisible( true); }if (RadWindowBehavior.ia&Og.oi){Og.On= false; Og.TogglePin(); }if (Og.lw(RadWindowMinimizeMode.oa) && !Og.oq){Og.oq=new iw(Og); }if (Og.Ik)Og.SetActive( true); Og.In= false; Og.Im= false; Og.Ir("\x6fnshow"); var og=GetRadWindowManager(); og.Ir("OnClientSh\x6f\x77",Og); };if ((null!=document.readyState && "comple\x74\x65"!=document.readyState)){RadWindowNamespace.f(window,"\x6c\x6fad",iv); }else iv(); } ; RadWindowClass.prototype.Hide= function (){ this.SetVisible( false); };RadWindowClass.prototype.GetLeftPosition= function (){var o5=this.op.B(); return o5.left; };RadWindowClass.prototype.GetTopPosition= function (){var o5=this.op.B(); return o5.top; };RadWindowClass.prototype.Ow= function (){var Og=this ; var x=null,y=null; if (Og.lj){var Iw=document.getElementById(Og.lj); if (Iw){var Is=RadWindowNamespace.I4(Iw); if (Is){x=(Is.left+(this.Left?parseInt(this.Left): 0)); y=(Is.top+(this.Top?parseInt(this.Top): 0)); }}}if (null==x || null==y){var It=RadWindowNamespace.ou(); x=RadWindowNamespace.i9(document)+(Og.Left?parseInt(Og.Left): (It.width-parseInt(Og.GetWidth()))/2); y=RadWindowNamespace.l9(document)+(Og.Top?parseInt(Og.Top): (It.height-parseInt(Og.GetHeight()))/2); var ox=parseInt(Og.GetHeight())-It.height; if (ox>0)y+=ox/2; }return {left:x,top:y } ; };RadWindowClass.prototype.CallBack= function (Ox,lx){if ( true !=lx)this.Close(); var og=GetRadWindowManager(); og.ix(this,Ox); } ; RadWindowClass.prototype.ModalDialogCallBack= function (Ox){ this.Close(); if (this.Ix){if (this.oy){ this.Ix(Ox,this.oy); }else { this.Ix(Ox); }} this.Argument=null; } ; RadWindowClass.prototype.Oy= function (){var ly=this ; if (!ly.Argument)ly.Argument= {} ; var iy=this.ip; try {if (this.Oq){var Iy=this.Oq; Iy.radWindow=ly; }else {iy.radWindow=ly; if (iy.contentWindow!=null){iy.contentWindow.radWindow=ly; }}}catch (e){}} ; RadWindowClass.prototype.SetContent= function (oz){var frm=this.ip; if (oz){var Oz="\074"+"script"+">function G\x65tRadWi\x6e\x64ow(\x29{"+"\x76ar oW\x69\x6edow \x3d\x20nul\x6c\x3b"+"if (win\x64\x6fw.ra\x64\x57ind\x6f\167) \x6f\127i\x6e\x64ow \x3d wi\x6edow.r\x61\144W\x69\156d\x6fw;"+"\x65lse if\x20\x28wind\x6f\x77.fr\x61\155e\x45\x6ceme\x6e\164.\x72adWin\x64\157w\x29\040o\x57indow\x20= win\x64ow.f\x72\141\x6deE\x6cemen\x74.rad\x57ind\x6fw;"+"r\x65\x74urn oW\x69\x6edow\x3b\x20}<"+"\x2fscript>"; var doc=frm.contentWindow.document; doc.write(""); doc.close(); doc.open(); doc.write(Oz+oz); doc.close(); } this.Oy(); } ; RadWindowClass.prototype.GetUrl= function (){return this.Url; } ; RadWindowClass.prototype.SetUrl= function (url){var lz=url; this.Url=lz; var iz=lz; if (this.ok){var Iz="\x72wndrn\x64\x3d"+Math.random(); if (iz.indexOf("?")>-1){Iz="&"+Iz; }else {Iz="\x3f"+Iz; }iz+=Iz; } this.ip.src=iz; this.ip.style.width="0\x70\x78"; this.ip.style.height="\x30px"; this.Ip.style.display=""; this.Oy(); var ly=this ; var o10= function (){ly.Ip.style.display="non\x65"; ly.ip.style.width="100%"; ly.ip.style.height="100%"; if (!ly.IsVisible() || ly.IsActive() || ly.IsClosed()){}else ly.SetActive( true); try {ly.Iq=ly.ip.contentWindow.document; ly.iq= function (e){if (!ly.IsVisible() || ly.IsActive() || ly.IsClosed())return; ly.SetActive( true); };RadWindowNamespace.f(ly.Iq,"click",ly.iq); if (ly.Iq.title)ly.SetTitle(ly.Iq.title); }catch (e){}ly.Ir("onwindowlo\x61d"); } ; if (!this.oo){RadWindowNamespace.f(this.ip,"load",o10); } this.oo= true; } ; RadWindowClass.prototype.Reload= function (){if (this.ip){ this.Ip.style.display=""; this.Oy(); try { this.ip.contentWindow.location.reload(); }catch (e){ this.Ip.style.display="none"; }}} ; RadWindowClass.prototype.SetActive= function (setActive){if ( false !=setActive){ this.O10(); this.l10( true); RadWindowNamespace.i10(this.op); var og=GetRadWindowManager(); var I10=og.GetActiveWindow(); if (this ==I10)return; else og.o11(this ); }} ; RadWindowClass.prototype.O11= function (setActive){ this.l10(setActive); if (setActive){var ow=this.op; if (!this.IsIE && (this.ii!=RadWindowMinimizeMode.oa)){ow.Hide(); ow.Show(); }} this.Ir(setActive?"\x6fnactivat\x65": "ondeactiva\x74\x65"); } ; RadWindowClass.prototype.O10= function (){if (this.lq && this.Or){var Is=this.Or; var l11=this.Url; try {l11=this.ip.contentWindow.location.href; }catch (e){ ; }var i11="\x55RL:"+l11; this.lq.value=i11; }};RadWindowClass.prototype.Minimize= function (){if (!this.Io || this.In || this.Im)return; this.op.Hide(); RadWindowNamespace.I11( true); this.Im= true; this.Om= false; var og=GetRadWindowManager(); if (this ==og.GetActiveWindow()){og.ActiveWindow=null; }if (!this.oq)this.oq=new iw(this ); this.Ir("onminimi\x7ae"); } ; RadWindowClass.prototype.ToggleMaximize= function (){var o12=this.On; if (o12)this.TogglePin(); if (this.Om)this.Restore(); else this.Maximize(); if (o12)this.TogglePin(); } ; RadWindowClass.prototype.Restore= function (){if (!this.Io)return; if (this.O12){RadWindowNamespace.l1(window,"\x72\x65size",this.O12); this.O12=null; }RadWindowNamespace.I11( true); var o5=this.Or; if (!o5){var position=this.Ow(); this.Or= {width: this.Width,height: this.Height,top:position.top,left:position.left } ; o5=this.Or; } this.SetVisible( true); var ow=this.op; ow.SetSize(o5.width,o5.height); ow.MoveTo(o5.left,o5.top); this.l12("T\x6f\x67gleMax\x69\x6dize\x42\x75t\x74\157\x6e","title",this.i12("\x4d\x61ximiz\x65")); this.l12("\x54oggleMaxi\x6d\x69zeBu\x74\x74on","\163rc",this.I12("\x4daximize.gi\x66")); this.Om= false; this.Im= false; this.SetActive( true); this.Ir("\157nr\x65\x73tore"); return this ; } ; RadWindowClass.prototype.Maximize= function (){if (!this.Io)return; this.SetVisible( true); RadWindowNamespace.I11( false); var o5=RadWindowNamespace.ou(); this.op.MoveTo(o5.left,o5.top); this.op.SetSize(o5.width,o5.height, false); this.l12("\124oggleM\x61\x78imiz\x65\x42ut\x74\x6fn","title",this.i12("\x52estor\x65")); this.l12("To\x67\x67leMaxim\x69\x7aeBu\x74\164o\x6e","src",this.I12("\x52estore.\x67\x69f")); this.Om= true; this.Im= false; this.SetActive( true); if (!this.O12){var ow=this.op; var o13=this ; this.O12= function (){var O13=RadWindowNamespace.ou(); ow.MoveTo(O13.left,O13.top); ow.SetSize(O13.width,O13.height, false); } ; RadWindowNamespace.f(window,"res\x69\x7ae",this.O12); } this.Ir("\x6fnmaximize"); } ; RadWindowClass.prototype.Close= function (l13){if (!this.Io || this.In)return; RadWindowNamespace.I11( true); this.SetVisible( false); this.In= true; if (null!=l13){ this.CallBack(l13); }var og=GetRadWindowManager(); if (this ==og.GetActiveWindow()){og.ActiveWindow=null; } this.Ir("onclos\x65"); if (og.i13 && this.lw(RadWindowMinimizeMode.oa))return; if (this.WindowToSetActive){ this.WindowToSetActive.SetActive( true); this.WindowToSetActive=null; }else {og.FocusNextWindow(); }if ( true ==this.Ij){og.I13(this ); }og.Ir("\x4f\x6eClient\x43\x6cose",this ); this.Argument=null; } ; RadWindowClass.prototype.TogglePin= function (){if (!this.Io)return; this.On=!this.On; var o14=this.On?"PinOn": "\x50\x69nOff"; this.l12("\x54oggleP\x69\x6eButt\x6f\x6e",o14); this.l12("\x54oggleP\x69\x6eButto\x6e","\x73rc",this.I12(o14+"\x2egif")); RadWindowNamespace.O14(this.On,this.op); this.Ir("ontogglepin"); } ; RadWindowClass.prototype.l12= function (id,l14,i14){var o4=document.getElementById(id+this.Id); if (o4 && o4.setAttribute){o4.setAttribute(l14,i14,0); }} ; RadWindowClass.prototype.lh= function (I14,o15,O15){if (null==o15 || ""==o15){if (!O15)return; }else { this[I14]=o15; }} ; RadWindowClass.prototype.I12= function (l15){return this.om+"Img/"+l15; } ; RadWindowClass.prototype.i12= function (i15){var Iz=this.Il[i15]; return Iz?Iz:i15; } ; RadWindowClass.prototype.toString= function (){return "object [r\x2ea.d.Win\x64\x6fw id\x3d"+this.Id+"]"; } ; RadWindowClass.prototype.l10= function (I15){ this.op.className=I15?"RadWWrapp\x65\x72Act\x69\x76e": "RadWWr\x61\x70perIn\x61\x63tive"; } ; RadWindowClass.prototype.o16= function (){return this.Om; } ; RadWindowClass.prototype.O16= function (){return this.Im; } ; RadWindowClass.prototype.IsModal= function (){return this.Ik; } ; RadWindowClass.prototype.IsClosed= function (){return this.In; } ; RadWindowClass.prototype.IsPinned= function (){return this.On; } ; RadWindowClass.prototype.IsVisible= function (){return (this.op.style.display!="none"); } ; RadWindowClass.prototype.IsActive= function (){try {var og=GetRadWindowManager(); return (og.GetActiveWindow()==this ); }catch (e){ ; }} ; RadWindowClass.prototype.lw= function (l16){return l16&this.ii; } ; RadWindowClass.prototype.Ov= function (od){return od&this.Oi? true : false; } ; RadWindowClass.prototype.Iu= function (){var id=this.Id; var i16=this.Ig; var name=this.Name; var url=document.all?"javascript\x3a\047\x27;": ""; var html=""; html+="\011\x09<tab\x6c\x65 id\x3d\x27Ra\x64Window\x57\x72app\x65\162E\x6cemen\x74"+id+"\047\x20class=\047\x52adWWr\x61\160p\x65\162Ac\x74\151v\x65\x27 \x73\164y\x6c\145=\x27displ\x61\171:\x6eone;\x7a\055\x69\156\x64ex\x3a"+this.I16+";width:"+this.Width+"\x70x;heigh\x74\x3a"+this.Height+"px;po\x73\x69tion\x3a\x61bso\x6c\165te\x3b\047 \x63\x65ll\x73\160a\x63ing=\047\x30\047\x20ce\x6c\154p\x61ddin\x67\075\x270\047\x3e\012"+"\011\x09\x09<tr c\x6c\x61ss=\x27\122a\x64\x57Tit\x6c\145R\x6f\167\x27\040i\x64\075\x27\122a\x64Windo\x77Heade\x72Row"+id+"\047\x20"; if (!this.oj){html+="\011\x73tyle=\047\x64isplay\x3a\x6eon\x65\x27 ";}html+=">\012"+"\x09\011\011\x09<td w\x69\x64th=\x27\061\047\x20sty\x6c\145=\x27height\x3a3px;\047\x20cl\x61ss=\047\x52ad\x57\127r\x61pper\x48ead\x65rLef\x74\047\x20now\x72ap><\x2ftd>\x0a"+"\011\x09\x09\011\x3ctd unse\x6c\x65ct\x61\x62le=\x27\157n\x27\x20gr\x69p=\047\x74rue\x27\x20ti\x74\154\x65\107r\x69p=\047\x73ho\x77\047\x20wid\x74h=\047\x310\x30%\047\x20st\x79le=\x27hei\x67ht:\x33px;\x27 cl\x61ss\x3d\047\x52a\x64WWr\x61pp\x65rH\x65ad\x65rC\x65nt\x65r\x27 n\x6fwr\x61p=\x27tr\x75e\x27 >\x0a"+"\x09\011\x09\x09\011\x3cimg on\x64\142lc\x6c\151c\x6b\x3d\047"+i16+".Cl\x6f\x73e();re\x74\165rn\x20\122a\x64\x57in\x64\x6fwN\x61\x6des\x70ace.R\x61\144U\x74\151l\x5fCance\x6cEven\x74\050\x65vent)\x3b\047\x20cla\x73s=\047\122\x61dWIc\x6fn\047\x20s\x72c=\047"+this.oh+"\047 a\x6c\x69gn=\047\x61bsmi\x64\144l\x65\x27 bo\x72\144e\x72\x3d\047\x30\047\x3e"+"\x09\x09\011\x09\011<\x73\x70an \x69\144=\x27\x52adW\x69\156d\x6fwTitle"+id+"\x27 uns\x65\x6cecta\x62\x6ce=\047\157n\x27\x20ons\x65\154e\x63\164s\x74art=\047\x72et\x75rn fa\x6c\163\x65\073\x27\040c\x6cass=\x27Rad\x57Titl\x65Text\x27>"+this.ih+"</sp\x61\x6e>\012"+"\x09\011\x09\x09</td\x3e\x0a"; if (!this.Ik && this.Ov(RadWindowBehavior.ia)){html+="\011\x09<td widt\x68\x3d\047\x31\047\x20title=\x27"+this.i12("\x50inOff")+"\x27\x20class=\x27\x52adWW\x72\x61pp\x65\162H\x65\x61der\x43\145\x6eter\047\x20now\x72ap>\012"+"\x3c\x69mg cla\x73\x73=\047\x52adWB\x75\164t\x6f\x6e\047\x20bord\x65r=\047\x30\047\x20src=\x27"+this.I12("PinO\x66\x66.gif")+"\x27 id=\047\x54ogglePi\x6e\102u\x74\x74on"+id+"\047\x20onclick=\x27"+i16+".Tog\x67\x6cePin(\x29\x3bret\x75\162n\x20\x66als\x65\073\x27\x20on\x64blcli\x63\153=\x27\162e\x74urn \x52\141d\x57indo\x77Name\x73pace\x2eRad\x55til_\x43ance\x6cEve\x6et(e\x76ent)\x3b\047\x2f>"+"</td>\012"; }if (this.Ov(RadWindowBehavior.Reload)){html+="\x09\011\x3c\x74d wi\x64\x74h=\0471\047\x20\x63la\x73\x73=\047\x52ad\x57Wrapp\x65\x72He\x61derCe\x6e\164e\x72\047\x20nowr\x61\160\x3e\012"+"\x09\011\x09\x09\011\x3cimg \x63\154as\x73\075\047\x52adW\x42\165\x74\x74on\x27\040\x62\157r\x64er=\047\x30\047\x20sr\x63=\047"+this.I12("Re\x6c\x6fad.gif")+"\x27\x20title=\x27"+this.i12("\x52eload")+"\x27 id=\047\x52eloa\x64\x42utt\x6fn"+id+"\047\x20onclick\x3d\x27"+i16+"\x2eReload();\x72\x65tur\x6e\x20fa\x6c\x73e;\x27\x20ond\x62\154c\x6cick=\x27\x72et\x75\162n\x20RadWi\x6edowNa\x6despa\x63\145\x2eRad\x55\164\x69l_Ca\x6ecelE\x76ent\x28eve\x6et);\x27\057\x3e"+"\x09\011\x09\x3c/td\x3e\x0a"; }if (this.Ov(RadWindowBehavior.Minimize)){html+="\x09\x09<td wi\x64\x74h=\047\x31\047\x20 cla\x73\x73=\047\x52adW\x57rapper\x48eaderC\x65\156t\x65r\047\x20nowr\x61p>\012"+"\x09\011\011\x09\011\x3c\x69mg \x63lass=\047\x52adW\x42\x75tt\x6f\156\x27\x20bo\x72\144e\x72=\047\x30\047\x20src=\x27"+this.I12("Minimiz\x65\x2egif")+"\047\x20title=\047"+this.i12("Minimize")+"\047 \x69\x64=\047\x4dinimiz\x65\102u\x74\x74on"+id+"\047\x20\040onc\x6c\x69ck=\x27"+i16+".Minimiz\x65\x28);re\x74\x75rn \x66alse;\047\x2f>"+"\x09\x09\011\x3c\057t\x64\x3e\012"; }if (this.Ov(RadWindowBehavior.Maximize)){html+="\011\x09<td widt\x68\x3d\047\x31\047\x20class=\x27\x52adW\x57\162\x61\160p\x65\162H\x65\141d\x65rCent\x65\162\x27\040n\x6fwrap\x3e\012"+"\011\x09\011\011\x09<img \x20\x63la\x73\163=\x27\x52adW\x42\165t\x74on\047\x20bord\x65\162=\x27\060\x27\040\x73\162c\x3d\047"+this.I12("Max\x69\x6dize.g\x69\x66")+"\x27\040ti\x74\x6ce=\047"+this.i12("Maxi\x6d\x69ze")+"\x27 id=\x27\x54oggle\x4d\x61xim\x69zeButto\x6e"+id+"\x27\x20oncli\x63\x6b=\047"+i16+"\x2e\x54oggleMax\x69mize()\x3b\x72\x65\164\x75\x72n f\x61\154s\x65;\047\057>"+"\x09\011\x09\x3c/td>\x0a"; }if (this.Ov(RadWindowBehavior.Close)){html+="\011\x09\011<\x74\144 w\x69\x64th\x3d\x271\047\x20titl\x65\x3d\047"+this.i12("Close")+"\x27 cla\x73\x73=\047\x52adWWr\x61pperHea\x64\145r\x43\x65nt\x65r\047\x20nowra\x70>\012"+"\x09\x09\011\x09\x09<img\x20\x63las\x73\075\047\x52adW\x42\x75tt\x6f\156\x27\x20bo\x72\144e\x72=\047\x30\047\x20src=\x27"+this.I12("\x43\154ose\x2e\x67if")+"\x27 id=\047\x43loseB\x75\x74ton"+id+"\047\x20 oncli\x63\x6b=\047"+i16+"\x2eClose\x28\x29;ret\x75\x72n f\x61\x6cse\x3b\x27/>\012"+"\x09\011\x09\011\x3c\x2ftd>\x0a"; }html+="\x09\011\x09\x09<td\x20\x77idth\x3d\0471\x27\x20cla\x73\x73=\047RadWWr\x61\160p\x65\162H\x65aderR\x69\147h\x74\047\x20nowra\x70><\x2ftd>\x0a"+"\011\x09\011</\x74\x72>\012"+"\011\x09\011<t\x72\x20>\012"+"\011\x09\011\011\x3ctd i\x64\x3d\047\x52adWi\x6e\x64owC\x6f\156t\x65ntTD"+id+"\047\x20\x63olspa\x6e\x3d\047\x38\047\x20\163t\x79\x6ce=\x27\x77id\x74\150:\x3100%;h\x65\151g\x68t:100\x25;\047\x3e\012"+"\x09\x09\011\x09\011<\x74\x61ble\x20\x73tyl\x65\x3d\047\x77idth\x3a100%;\x68\145i\x67ht:10\x30\045;\x27 cell\x73paci\x6e\147\x3d\047\x30\047\x20cel\x6cpadd\x69ng=\x270\047\x3e\012"+"\011\x09\x09\011\x09\011<t\x72\x3e\012"+"\011\011\x09\011\x09\x09\011\x3ctd wi\x64\x74h=\x27\x31\047\x20cla\x73\x73=\047\x52ad\x57Wrapp\x65rBody\x4ceft\047\x20no\x77rap>\x3c/td>\x0a"+"\x09\011\011\x09\011\x09\x09<td\x20\150e\x69\x67ht=\x27\0610\x30%\047\x20width=\x27100%\047\x20cl\x61ss=\047\x52ad\x57Wrap\x70\145\x72Body\x43ente\x72\047\x20val\x69gn=\x27midd\x6ce\047\x20a\x6cign\x3d\047\x63e\x6eter\x27 on\x73el\x65ct\x73tar\x74=\x27ret\x75r\x6e f\x61ls\x65;\x27>\012"+"\x09\011\x09\x09\011\x09\011\x09\x09<if\x72\x61me\x20\x63la\x73\x73=\x27\x52ad\x57\x43on\x74entFr\x61me\047\x20nam\x65=\047"+name+"\x27\040fra\x6d\x65bord\x65\x72=\047\x30px\047\x20sty\x6c\145=\x27\167i\x64\164h\x3a100%;\x68\145i\x67ht:10\x30%;bo\x72\144\x65r:0p\x78 sol\x69d gr\x65en\047\x20i\x64=\047\x52ad\x57ind\x6fwCo\x6eten\x74Fra\x6de"+id+"\x27 src=\047"+url+"\x27\x20border=\x27\x6eo\047\x20 ></\x69\x66ra\x6d\x65>\012"+"\x09\011\011\x09\011\x09\x09</td\x3e\012"+"\x09\x09\011\x09\x09\011\x09\074t\x64\040w\x69\x64th\x3d\x271\047\x20cl\x61\163s\x3d\047R\x61dWWra\x70perBo\x64yRig\x68\164\x27 now\x72ap><\x2ftd>\x0a"+"\011\x09\011\011\x09\011\x3c/tr>\012"+"\x09\011\x09\x09\011\x3c/table>\x0a"+"\x09\011\x09\x09</\x74\x64>\012"+"\011\x09\011\x3c\x2ftr>\x0a"; html+="\x09\x09\011\x3ctr "+(this.Ii?"": " \x73\x74yle=\047\x64isp\x6c\x61y:n\x6f\x6ee\047\x20")+"\076\012"+"\x09\011\x09\x09<td c\x6f\x6cspa\x6e\075\047\x38\047\x20styl\x65=\047\x77\151d\x74h:100\x25\047 \x61lign=\x27left\x27\040c\x6cass\x3d\047\x52adWS\x74atu\x73\047\x3e\012"+"\x09\011\011\x09\011\x3c\x73pan\x20\143l\x61\x73s=\x27\x52adW\x4coading\x57\162a\x70per\047\x20st\x79\154e\x3d\047\x64ispl\x61\171\x3anone\x3bwhit\x65-sp\x61\143\x65:no\x77rap\x27\040\x69d=\x27\122\x61dWi\x6edow\x4coa\x64ing\x57ra\x70per"+id+"\x27\x3e"+"\011\x09\011\x09\x09<im\x67\x20ali\x67\156=\x27\x61bsm\x69\x64dl\x65\047 \x73rc=\047"+this.I12("\x6coading.gif")+"\047\x20border=\x27\x30\047\x3e "+this.i12("\x4coading")+"\x3c\057sp\x61\x6e> | "+"\011\x09\x09\011\x09<input \x73\164y\x6c\x65=\047"+(this.IsIE?"\x70osition:\x61\x62solu\x74\x65;": "")+"w\x69\x64th:95%;\x66\x6fnt:\x69\x63on;\x62\x6frde\x72\0720\x70\170\x20\x73ol\x69d red;\x62ackgr\x6f\165n\x64-colo\x72:tran\x73par\x65nt;\047\040\x75nsel\x65ctab\x6ce=\047\157\x6e\047\x20typ\x65=\047\164\x65xt\x27\040\x6fnf\x6fcus\x3d\047\x74h\x69s.\x62lu\x72()\x27 o\x6eke\x79do\x77n=\x27re\x74u\x72n \x66al\x73e;\x27 \x6fnm\x6fu\x73ed\x6fw\x6e=\x27re\x74u\x72n \x66a\x6cs\x65;\x27 \x20i\x64=\x27Ra\x64W\x53t\x61t\x75\x73"+id+"\047\x2f\x3e"+"\x09\011\011\x09</td>\x0a"+"\011\x09\011\x3c\057tr\x3e\x0a"; html+="\011\x09\x09<tr>\x0a"+"\011\x09\011\011\x3ctd co\x6c\x73pa\x6e\x3d\047\x38\047\x20width\x3d\0471\x30\060%\x27 heig\x68\164=\x271\047\x3e"+"\011\x09\x09\011\x09<table \x62\x6frd\x65\x72=\047\x30\047\x20widt\x68\075\x27\x3100\x25\047 \x68eight\x3d\047\x31\047\x20cell\x73paci\x6eg=\047\x30\047\040\x63ell\x70addi\x6eg=\0470\047\x3e\012"+"\011\x09\011\011\x09\011\x3c\164r\x3e\x0a"+"\011\x09\011\011\x09\011\x09\x3ctd\x20\167id\x74\150=\x27\x31\047\x20cla\x73\163=\x27\122a\x64WWra\x70\160e\x72Foot\x65\162L\x65ft\047\040\x6eowra\x70>&nb\x73p;</\x74d>\012"+"\011\x09\011\011\x09\011\x09<td wi\x64\164\x68=\047\x3100%\047\x20cla\x73\163=\x27RadWW\x72\141p\x70erFo\x6f\164e\x72Cent\x65r\047\x20no\x77\162\x61p>&n\x62sp;\x3c/td>\x09\011\x0a"+"\011\x09\011\011\x09\011\x09<td wi\x64\x74h=\x27\x31\047\x20clas\x73\075\x27\x52ad\x57\127r\x61pperF\x6foterR\x69ght\047\040n\x6fwra\x70>&nb\x73p;</\x74d>\012"+"\x09\x09\011\x09\x09\011\x3c/tr>\012"+"\x09\011\x09\x09\011\x3c\057t\x61\142le\x3e\x0a"+"\x09\011\011\x09</td>\x0a"+"\011\011\x09</tr>\012"+"\011\x09</table\x3e\x0a"; return html; } ;;if ("undefi\x6e\x65d"==typeof(RadWindowNamespace)){RadWindowNamespace=new Object(); }RadWindowNamespace.o17= function (){} ; RadWindowNamespace.O17= {lu:RadWindowNamespace.o17,Minimize:RadWindowNamespace.o17,Maximize:RadWindowNamespace.o17,Restore:RadWindowNamespace.o17,TogglePin:RadWindowNamespace.o17,SetModal:RadWindowNamespace.o17,Cascade:RadWindowNamespace.o17,Tile:RadWindowNamespace.o17,SetUrl:function (url){var Iy=this.Oq; try {Iy.location.href=url; }catch (e){} ; } ,SetPosition:function (left,top){if (this.Oq){ this.Oq.dialogLeft=left; this.Oq.dialogTop=top; }} ,SetSize:function (width,height){var Iy=this.Oq; if (Iy){if (Iy.dialogWidth && Iy.dialogHeight){Iy.dialogWidth=width; Iy.dialogHeight=height; }else {Iy.resizeTo(width,height); }}} ,Dispose:function (){ this.Close(); this.Oq=null; } ,Show:function (name,l17){var i11="width="+this.Width+"\x2c height\x3d"+this.Height+"\x2c scrollb\x61\x72s=\x79\x65s"+"\x2c\x20resi\x7a\x61ble\x3d"+(this.Ov(RadWindowBehavior.I1)?"yes": "\x6eo"); this.Oq=window.open(this.Url,this.Name,i11); this.Oy(); } ,Close:function (){ this.Oq.close(); } ,O11:function (){if ( false !=setActive)this.Oq.focus(); else this.Oq.blur(); } ,GetWidth:function (){var Iy=this.Oq; if (Iy){if (Iy.dialogWidth)return parseInt(Iy.dialogWidth); else if (window.outerWidth){return parseInt(window.outerWidth); }else {if (Iy.document.domain==window.document.domain){var Is=RadWindowNamespace.ou(Iy); if (Is)return (Is.width); }}}return 100; } ,SetWidth:function (width){var Og=this.Oq; if (Og){if (Og.dialogWidth){Og.dialogTop=Og.screenTop-31; Og.dialogLeft=Og.screenLeft-4; Og.dialogWidth=width+"\160\x78"; }else {Og.outerWidth=width; }}} ,GetHeight:function (){var Iy=this.Oq; if (Iy){if (Iy.dialogHeight)return parseInt(Iy.dialogHeight); else if (window.outerHeight){return (parseInt(window.outerHeight)); }else {if (Iy.document.domain==window.document.domain){var Is=RadWindowNamespace.ou(Iy); if (Is)return (Is.height+30); }}}return 30; } ,SetHeight:function (height){var Og=this.Oq; if (Og.dialogWidth){Og.dialogTop=Og.screenTop-30; Og.dialogLeft=Og.screenLeft-4; Og.dialogHeight=height+"px"; }else {Og.outerHeight=height; }} ,IsVisible:function (){if (!this.In && this.Oq && !this.Oq.closed)return true; return false; }} ;;if ("undefi\x6e\x65d"==typeof(RadWindowNamespace)){RadWindowNamespace=new Object(); }function RadWindowManagerInitialize(id,i17,I17,language,o18,O18,l18,i18,I18,o19,lb,ib,Ib,I0,oc,Oc,lc,ic,Ic,od,Od,ld,oe,Oe,le,Ie,of,Of,O19,l19,If){var og=GetRadWindowManager(); og.i19(I17+"I\x6d\x67/tran\x73\x70.gi\x66"); og.I19=i17; og.om=I17; og.i13=l18; og.o1a=o18; og.Il=eval("loca\x6cization_"+(language?language: "\x65\x6e_US")); og.O1a=O18; og.ov=O19; og.l1a=l19; if (I18)og.AttachClientEvent("\x4fnClientS\x68\x6fw",I18); if (o19)og.AttachClientEvent("\x4f\x6eClient\x43\x6cose",o19); if (og.i1a){og.i1a(i18); }var Og=new RadWindowClass(""); Og.ig=[]; Og.om=I17; Og.oh=lb?lb:I17+"\x49mg/default\x49\x63on.g\x69\x66"; Og.Oh=ib?ib:Og.oh; Og.Width=Ib?Ib: "500px"; Og.Height=I0?I0: "200px"; Og.lh("Left",oc, false); Og.lh("Top",Oc, false); Og.ih=lc; Og.Ih=ic; Og.oi=Ic; Og.Oi=od; Og.ii=Od; Og.Ii=oe; Og.oj=Oe; Og.Oj=le; Og.Ik=ld; Og.Il=og.Il; Og.lj=Ie; Og.ij=of; Og.Ij=Of; Og.ok=If; Og.ov=og.ov; og.I1a=Og; }RadWindowNamespace.o1b=null; function GetRadWindowManager(){if (null==RadWindowNamespace.o1b){RadWindowNamespace.o1b=new O1b(); }return RadWindowNamespace.o1b; }function O1b(){ this.l1b=[]; this.i1b= {} ; this.I1b= false; this.I16=3000; this.o1c="\x72adWindow_"; this.ActiveWindow=null; this.i13= false; this.om=null; this.O1a=null; this.ov= true; this.l1a= true; this.O1c= true; if (this.O1c){ this.l1c(); }RadWindowNamespace.f(window,"\x75nload",RadWindowManagerDispose); }function RadWindowManagerDispose(){var og=GetRadWindowManager(); try {og.i1c("\x44ispose"); }catch (e){}og.l1b=null; og.i1b=null; og.ActiveWindow=null; og.O1a=null; }O1b.prototype.AttachClientEvent= function (lr,eventHandler){if (!eventHandler)return; else this[lr]=eventHandler; } ; O1b.prototype.Ir= function (lr,Iy){var I1c=this[lr]; if (!I1c)return; if (typeof(I1c)=="st\x72\x69ng")I1c=eval(I1c); try {return I1c(Iy); }catch (e){alert("\x45xception w\x68\x69le \x65\x78ec\x75\164\x69ng cli\x65\x6et \x65ven\x74 "+lr+"\x20Error:"+e.message); } ; return true; } ; O1b.prototype.i19= function (o1d){if (this.I1b)return; if (o1d){var I8=RadWindowNamespace.o8(); if (I8){I8.src=o1d; }} this.I1b= true; } ; O1b.prototype.Open= function (url,O1d){var og=this ; var Iy=og.GetWindowByName(O1d); if (!Iy){Iy=og.lg(O1d); }Iy.Show(); if (url)Iy.SetUrl(url); return Iy; } ; O1b.prototype.lg= function (id,l1d){var zIndex=this.i1d(); if (!id)id="RadWin\x64\x6fwCla\x73\x73"+zIndex; var newWnd=new RadWindowClass(id); newWnd.I16=zIndex; if ( false !=l1d){ this.l1b[this.l1b.length]=newWnd; }var I1d=this.o1c+newWnd.Id; eval("\x77indow."+I1d+"\x20= newWn\x64"); var o1e=this.I1a; if (o1e){for (var item in o1e){if ("\x66unctio\x6e"!=typeof(o1e[item]))newWnd[item]=o1e[item]; }}if (this.o1a){Object.Extend(newWnd,RadWindowNamespace.O17); }newWnd.Id=id; newWnd.Name=id; newWnd.Ig=I1d; newWnd.ig=[]; return newWnd; } ; O1b.prototype.i1d= function (){var O1e=this.I16; var l1e=this.l1b; var Os=l1e.length; for (var i=0; i<Os; i++){Iy=l1e[i]; if (Iy.op && Iy.op.style.zIndex>O1e){O1e=Iy.op.style.zIndex; }}Iy=null; return (this.I16= ++O1e); } ; O1b.prototype.i1e= function (I1e,text,Ib,I0){var o1f=this[I1e+"\x57ind\x6f\x77"]; if (!o1f)o1f=this.O1f(I1e+"\x57indow",I1e,Ib,I0); var l1f= {Text:text } ; var Ot=this.i1f(I1e+"T\x65\x6dplate",this.I1a,l1f); if (Ot){o1f.SetContent(Ot); }return o1f; } ; O1b.prototype.lt= function (radWindow){return this.i1f("\x53plashTemp\x6c\x61te",radWindow); } ; O1b.prototype.I1f= function (radWindow){return this.i1f("Minimiz\x65\x54empl\x61\x74e",radWindow); } ; O1b.prototype.i1f= function (o1g,radWindow,l1f){var it=document.getElementById("\x52\141\x64\x57indo\x77\x4danag\x65r"+o1g); var O1g=RadWindowNamespace.l1g(it.value, false); O1g=RadWindowNamespace.i1g(RadWindowNamespace.I1g(O1g),radWindow.Id,radWindow.Ig,this.om,radWindow.Oh,radWindow.ih,"",l1f?l1f.Text: ""); return O1g; } ; O1b.prototype.O1f= function (o1h,I1e,Ib,I0){var o1e=this.I1a; if (!Ib)Ib=170; if (!I0)I0=120; Iy=this.lg(I1e); Iy.Oi=RadWindowBehavior.Close+RadWindowBehavior.W; Iy.oi=RadWindowBehavior.la; Iy.Ih=""; Iy.ii=RadWindowClass.prototype.ii; Iy.lj=""; Iy.ij=""; Iy.Ii= false; Iy.lu(); Iy.SetSize(Ib,I0); Iy.SetTitle(Iy.i12(I1e)); Iy.SetModal( true); this[o1h]=Iy; return Iy; } ; O1b.prototype.ix= function (Og,Ox){var O1h=this.O1a; if (O1h){if ("strin\x67"==typeof(O1h))O1h=eval(O1h); if ("function"==typeof(O1h))O1h(Og,Ox); }} ; O1b.prototype.RegisterChild= function (l1h,i1h){if (!l1h || !i1h)return; if (null==this.i1b[l1h.Id]){ this.i1b[l1h.Id]=[]; }var ir=this.i1b[l1h.Id]; ir[ir.length]=i1h; } ; O1b.prototype.UnregisterChild= function (l1h,i1h){if (!l1h || !i1h)return; var I1h=this.i1b[l1h.Id]; if (null==I1h)return; this.o1i(I1h,i1h); } ; O1b.prototype.O1i= function (l1h,i1h){if (!l1h || !i1h)return false; var I1h=this.i1b[l1h.Id]; if (null==I1h)return false; for (var i=0; i<I1h.length; i++){if (I1h[i]==i1h)return true; }return false; } ; O1b.prototype.o11= function (radWindow){var l1i=this.ActiveWindow; if (l1i && l1i.Ik && !l1i.Im){if (!this.O1i(l1i,radWindow)){return; }} this.ActiveWindow=radWindow; if (l1i && l1i!=radWindow){l1i.O11( false); } this.ActiveWindow.O11( true); if (this.i13){ this.MinimizeInactiveWindows(); }} ; O1b.prototype.GetActiveWindow= function (){return this.ActiveWindow; } ; O1b.prototype.I13= function (Iy){ this.o1i(this.l1b,Iy); if (Iy && Iy.Dispose)Iy.Dispose(); if (Iy==this.ActiveWindow){ this.ActiveWindow=null; }} ; O1b.prototype.GetWindowById= function (id){var l1e=this.l1b; for (var i=0; i<l1e.length; i++){var Iy=l1e[i]; if (name==Iy.Id){if (!Iy.Io)Iy.lu(); return Iy; }}return null; } ; O1b.prototype.GetWindowByName= function (name){if (!name)return null; var l1e=this.l1b; for (var i=0; i<l1e.length; i++){var Iy=l1e[i]; if (name==Iy.Name){if (!Iy.Io)Iy.lu(); return Iy; }}return null; } ; O1b.prototype.GetWindowObjects= function (){return this.l1b; } ; O1b.prototype.Cascade= function (){var Oc=40; var oc=40; var ir=this.i1i(); for (var i=0; i<ir.length; i++){var Iy=ir[i]; if (!Iy.In){var I1i=Iy.Restore(); Iy.MoveTo(Oc,oc); RadWindowNamespace.i10(Iy.op); Oc+=25; oc+=25; }} ; } ; O1b.prototype.Tile= function (){var ir=this.i1i(); var Os=ir.length; var o1j=5; var O1j=0; var l1j=1; if (Os<=o1j){O1j=Os; }else {var i=2; while ((Os*i)<(o1j*(i+1))){i++; if (i>6)break; }l1j=i; O1j=Math.ceil(Os/l1j); }var It=RadWindowNamespace.ou(); var i1j=Math.floor(It.width/O1j); var I1j=Math.floor(It.height/l1j); var left=RadWindowNamespace.i9(document); var top=RadWindowNamespace.l9(document); for (var i=0; i<Os; i++){if ((i+1)%(O1j+1)==0){top+=I1j; left=RadWindowNamespace.i9(document); }var o1k=ir[i]; o1k.Restore(); o1k.MoveTo(left,top); o1k.SetSize(i1j,I1j); left+=i1j; }} ; O1b.prototype.i1i= function (){var ir=this.l1b.concat([]); var O1k= function (l1k,i1k){if (l1k.I16==l1k.I16)return 0; return (l1k.I16<l1k.I16?-1: 1); } ; return ir.sort(O1k); } ; O1b.prototype.o1i= function (ir,I1k){for (var i=0; i<ir.length; i++){if (ir[i]==I1k){ir.splice(i,1); return; }}} ; O1b.prototype.Fire= function (o1l){if (this[o1l] && "\x66\x75\x6ection"==typeof(this[o1l])){ this[o1l](); }} ; O1b.prototype.MinimizeInactiveWindows= function (){var O1l=this.ActiveWindow; if (!O1l)return; var l1l=this.l1b; var i1l=l1l.length; var I1l=0; var o1k=null; while (I1l<i1l){if ((o1k=l1l[I1l++])!=O1l)o1k.Minimize(); else o1k.Restore(); }} ; O1b.prototype.EscapeActiveWindow= function (){var Iy=this.GetActiveWindow(); if (Iy){var ow=Iy.op; if (ow.n() || ow.M()){ow.o1(); }else {Iy.Close(); }}} ; O1b.prototype.FocusNextWindow= function (){var Iy=this.ActiveWindow; var og=this ; var ir=this.l1b.concat([]); if (!Iy){var o1m=ir[0]; if (o1m && o1m.Io && !o1m.IsClosed() && (!o1m.O16() || og.i13)){o1m.SetActive( true); }}else {var O1m=0; var l1m= false; var i=0; for ( ; i<ir.length; i++){if (Iy==ir[i]){O1m=i; l1m= true; break; }}if (l1m){var i1m= function (I1m,o1n){for (var O1n=I1m; O1n<o1n; O1n++){var o1m=ir[O1n]; if (o1m && o1m.Io && !o1m.IsClosed() && (!o1m.O16() || og.i13)){o1m.SetActive( true); return true; }}} ; var l1n=i1m(i+1,ir.length); if (!l1n)i1m(0,O1m); }}} ; O1b.prototype.i1n= function (o1l){if (this.ActiveWindow && "function"==typeof(this.ActiveWindow[o1l])){ this.ActiveWindow[o1l](); }} ; O1b.prototype.CloseActiveWindow= function (){ this.i1n("\x43lo\x73\x65"); } ; O1b.prototype.MinimizeActiveWindow= function (){ this.i1n("Minimize"); } ; O1b.prototype.RestoreActiveWindow= function (){ this.i1n("Restore"); } ; O1b.prototype.ToggleMaximizeActiveWindow= function (){ this.i1n("\x54\x6fggleMa\x78\x69miz\x65"); } ; O1b.prototype.CloseAll= function (){ this.i1c("Close"); } ; O1b.prototype.ShowAll= function (){ this.i1c("\x53how"); } ; O1b.prototype.MinimizeAll= function (){ this.i1c("Minimiz\x65"); } ; O1b.prototype.MaximizeAll= function (){ this.i1c("\x4daximize"); } ; O1b.prototype.RestoreAll= function (){ this.i1c("\x52estore"); } ; O1b.prototype.i1c= function (I1n){if (!this.l1b)return; var ir=this.l1b.concat([]); for (var i=0; i<ir.length; i++){ir[i][I1n](); }} ;;O1b.prototype.l1c= function (){var og=this ; window.radalert= function (text,Ib,I0,lc){if (!og.l1a){alert(text); }else {var o1o= function (){if (!Ib)Ib=280; if (!I0)I0=210; var O1o=og.i1e("\x41\x6cert",text); O1o.WindowToSetActive=og.GetActiveWindow(); if (typeof(lc)!="\x75ndefined"){O1o.SetTitle(lc);}O1o.Show(); O1o.SetSize(Ib,I0); };if (!RadWindowNamespace.l1o()){RadWindowNamespace.f(window,"load",o1o); return null; }else {return o1o(); }}} ; window.radprompt= function (text,i1o,Ib,I0,oy,lc){if (!og.l1a){return prompt(text); }else {var I1o= function (){if (!Ib)Ib=280; if (!I0)I0=210; var o1p=og.i1e("Prom\x70\x74",text); o1p.Ix=i1o; o1p.oy=oy; o1p.WindowToSetActive=og.GetActiveWindow(); if (typeof(lc)!="\x75ndefined"){o1p.SetTitle(lc);}o1p.Show(); o1p.SetSize(Ib,I0); };if (!RadWindowNamespace.l1o()){RadWindowNamespace.f(window,"\x6coad",I1o); return null; }else {return I1o(); }}} ; window.radconfirm= function (text,i1o,Ib,I0,oy,lc){if (!og.l1a){return confirm(text); }else {var O1p= function (){if (!Ib)Ib=280; if (!I0)I0=210; var l1p=og.i1e("\x43\x6fnfirm",text); l1p.Ix=i1o; l1p.oy=oy; l1p.WindowToSetActive=og.GetActiveWindow(); if (typeof(lc)!="undefine\x64"){l1p.SetTitle(lc);}l1p.Show(); l1p.SetSize(Ib,I0); };if (!RadWindowNamespace.l1o()){RadWindowNamespace.f(window,"\x6c\x6fad",O1p); return null; }else {return O1p(); }}} ; window.radopen= function (url,O1d){var i1p= function (){var Iy=og.Open(url,O1d); return Iy; };if (!RadWindowNamespace.l1o()){RadWindowNamespace.f(window,"load",i1p); return null; }else {return i1p(); }} ; } ;;if ("\165\x6e\144efi\x6eed"==typeof(RadWindowNamespace)){RadWindowNamespace=new Object(); }O1b.prototype.i1a= function (i18){try { this.I1p= {} ; Object.Extend(this.I1p,RadWindowNamespace.o1q); for (var i=0; i<i18.length; i++){ this.AddShortcut(i18[i][0],i18[i][1]); }var og=this ; RadWindowNamespace.f(document,"\153\x65\x79down", function (h){og.OnKeyDown(h); } ); }catch (e){ ; } ; } ; O1b.prototype.OnKeyDown= function (h){var srcElement=RadWindowNamespace.O2(h); if (this.I1p && srcElement){var O1q=this.I1p.HitTest(h.keyCode,h.ctrlKey,(null!=h.ctrlLeft?h.ctrlLeft:h.ctrlKey),h.shiftKey,(null!=h.shiftLeft?h.shiftLeft:h.shiftKey),h.altKey,(null!=h.altLeft?h.altLeft:h.altKey)); if (null!=O1q){ this.Fire(O1q.Name); RadWindowNamespace.RadUtil_CancelEvent(h); }}} ; O1b.prototype.AddShortcut= function (l1q,i1q){if (this.I1p){ this.I1p.AddShortcut(l1q,i1q); }} ; O1b.prototype.I1q= function (l1q){if (this.I1p){ this.I1p.I1q(l1q); }} ; O1b.prototype.o1r= function (l1q,i1q){if (this.I1p){ this.I1p.o1r(l1q,i1q); }} ; RadWindowNamespace.o1q= {O1r: [],Dispose:function (){ this.O1r=null; } ,AddShortcut:function (l1q,i1q){var l1r=new RadWindowNamespace.i1r(l1q,i1q); l1r.I1r=this.o1s(l1r); this.O1r[l1r.I1r]=l1r; } ,I1q:function (l1q){var O1s=this.l1s(l1q); if (O1s){ this.O1r[O1s.I1r]=null; }} ,o1r:function (l1q,i1q){ this.I1q(l1q); this.AddShortcut(l1q,i1q); } ,HitTest:function (keyCode,ctrlKey,i1s,shiftKey,I1s,altKey,o1t){var O1t=this.l1t(keyCode,ctrlKey,i1s,shiftKey,I1s,altKey,o1t); return this.O1r[O1t]; } ,l1t:function (keyCode,ctrlKey,i1s,shiftKey,I1s,altKey,o1t){var value=keyCode&65535; var i1t=0; i1t |= (ctrlKey?RadWindowNamespace.I1t: 0); i1t |= (shiftKey?RadWindowNamespace.o1u: 0); i1t |= (altKey?RadWindowNamespace.O1u: 0); value |= (i1t<<16); return value; } ,o1s:function (l1u){return this.l1t(l1u.i1u,l1u.I1u,l1u.o1v,l1u.O1v,l1u.l1v,l1u.i1v,l1u.I1v); } ,l1s:function (l1q){var O1s; for (var o1w in this.O1r){O1s=this.O1r[o1w]; if (null!=O1s && O1s.Name==l1q){return O1s; }}return null; }} ; RadWindowNamespace.I1t=(1<<0); RadWindowNamespace.I1t=(1<<1); RadWindowNamespace.o1u=(1<<2); RadWindowNamespace.O1u=(1<<3); RadWindowNamespace.O1u=(1<<4); RadWindowNamespace.O1w=(1<<5); RadWindowNamespace.i1r= function (l1q,i1q){ this.I1u= false; this.O1v= false; this.i1v= false; this.i1u=0; this.Name=l1q; this.l1w(i1q); } ; RadWindowNamespace.i1r.prototype.l1w= function (i1q){if ("\163\x74ring"==typeof(i1q)){ this.I1u= false; this.o1v= false; this.O1v= false; this.l1v= false; this.i1v= false; this.I1v= false; this.i1u=0; i1q=i1q.replace(/\s*/gi,""); i1q=i1q.replace(/\x2b\x2b/gi,"\x2bPLUS"); var i1w=i1q.split("\x2b"); var I1w=""; for (var i=0; i<i1w.length; i++){I1w=i1w[i].toUpperCase(); switch (I1w){case "\114\x43TRL": this.o1v= true; case "CTRL": this.I1u= true; break; case "\x4cSHIF\x54": this.l1v= true; case "SH\x49\x46T": this.O1v= true; break; case "\x4c\x41LT": this.I1v= true; case "\x41\x4cT": this.i1v= true; break; case "F1": this.i1u=112; break; case "\x46\x32": this.i1u=113; break; case "F3": this.i1u=114; break; case "\x464": this.i1u=115; break; case "F5": this.i1u=116; break; case "\x46\x36": this.i1u=117; break; case "\x46\x37": this.i1u=118; break; case "\x468": this.i1u=119; break; case "F\x39": this.i1u=120; break; case "\x46\061\x30": this.i1u=121; break; case "\x46\x311": this.i1u=122; break; case "\x4612": this.i1u=123; break; case "\x45NTER": this.i1u=13; break; case "\x48\117ME": this.i1u=36; break; case "END": this.i1u=35; break; case "\x4c\105FT": this.i1u=37; break; case "\x52\x49GHT": this.i1u=39; break; case "UP": this.i1u=38; break; case "DOWN": this.i1u=40; break; case "PAGEUP": this.i1u=33; break; case "P\x41\x47EDOWN": this.i1u=34; break; case "SPA\x43\x45": this.i1u=32; break; case "T\x41\x42": this.i1u=9; break; case "\x42ACK": this.i1u=8; break; case "CONTEXT": this.i1u=93; break; case "ESCAPE":case "ESC": this.i1u=27; break; case "\x44ELETE":case "DE\x4c": this.i1u=46; break; case "INSERT":case "\x49NS": this.i1u=45; break; case "\x50LUS": this.i1u="\x2b" .charCodeAt(0); break; default: this.i1u=I1w.charCodeAt(0); break; }}}else { throw {description: "I\x6e\x76alid sh\x6frtcut\x20\x73t\x72\151n\x67" } ; }} ;;function iw(Og){ this.Window=Og; this.Id=Og.Id; var og=GetRadWindowManager(); var Ot=og.I1f(Og); var o1x=document.createElement("div"); o1x=o1x.cloneNode( true); o1x.innerHTML=Ot; document.body.appendChild(o1x); this.O1x=(o1x.childNodes.length==1)?o1x.firstChild:o1x; var o13=this ; var l1x= function (){o13.SetVisible( false); } ; var o4=this.O1x; if (o4){o4.setAttribute("\x69\x64","\x52adWMinimi\x7a\x65d"+this.Id); o4.className="\x52adWMinimi\x7a\x65dAct\x69\x76e"; o4.onmouseover= function (){ this.i1x=this.className; this.className="RadW\x4d\x69nimiz\x65\x64Over"; };o4.onmouseout= function (){ this.className=this.i1x; };}if (o13.Op)I1x.innerHTML=Og.ih; var I1x=document.getElementById("RadW\x4d\x69nimiz\x65\x64Tit\x6c\x65"+o13.Id); if (I1x){o13.Op=I1x; }var o1y=document.getElementById("\x52\x61dWMini\x6d\x69zedC\x6c\x6fse"+this.Id); if (o1y){if (!Og.Ov(RadWindowBehavior.Close)){o1y.style.display="none"; }else {o1y.onclick= function (e){Og.Close(); } ; }}if (Og.lw(RadWindowMinimizeMode.oa)){var O1y=document.getElementById("RadWMi\x6e\x69mized\x52\x65sto\x72\145"+this.Id); if (O1y)O1y.style.display="\x6eone"; this.O1x.onclick= function (){if (Og.IsClosed())return; if (!Og.IsVisible()){Og.Show(); }Og.SetActive( true); o4.i1x=o4.className="RadWMinimize\x64Active"; };Og.AttachClientEvent("onsho\x77",this.l1y); }else {var O1y=document.getElementById("RadWMinimi\x7aedRestor\x65"+this.Id); if (O1y)O1y.onclick= function (){o13.i1y(); };this.O1x.ondblclick= function (){o13.i1y(); };if (this.O1x.tagName=="TABLE" && this.O1x.rows.length>0){var I1y=this.O1x.rows[0].cells[1]; if (I1y){I1y.setAttribute("\x67rip","t\x72\x75e"); I1y.setAttribute("titl\x65\x47rip","\x73how"); }}RadWindowNamespace.o(this.O1x,A= true ,U= true ,Z= false ,Og.Ov(RadWindowBehavior.W)); o4.l= function (){var Is=this.B(); var o1z=Og.Or; if (o1z){o1z.top=Is.top; o1z.left=Is.left; }} ; Og.AttachClientEvent("\x6fnmaximi\x7a\x65",l1x); Og.AttachClientEvent("\x6fnrestore",l1x); }Og.AttachClientEvent("\x6fnclose",l1x); Og.AttachClientEvent("\x6fnminim\x69\x7ae",this.l1y); Og.AttachClientEvent("\x6fnacti\x76\x61te", function (){o13.O11( true); } ); Og.AttachClientEvent("\x6f\x6edeacti\x76\x61te", function (){o13.O11( false); } ); Og.AttachClientEvent("on\x77\x69ndowloa\x64", function (){if (o13.Op)o13.Op.innerHTML=Og.ih; var o4=o13.O1x; if ("\156\x6f\x6ee"!=o4.style.display){if (!o13.O1z && !Og.IsVisible()){o13.l1z=0; o13.O1z=window.setInterval( function (){o13.O1x.className=((o13.l1z++)%2==0)?"\122\x61\x64WMini\x6d\x69ze\x64\x41c\x74\151v\x65": "\x52adWMin\x69\x6dized\x50\x61geL\x6f\141de\x64"; if (11==o13.l1z){window.clearInterval(o13.O1z); o13.O1z=null; o13.l1z=0; }} ,500); }}} ); } ; iw.prototype.l1y= function (Og){var l16=Og.ii; var o13=Og.oq; if (o13.Op)o13.Op.innerHTML=Og.ih; if (!(RadWindowMinimizeMode.I9==l16)){if (Og.Ih){var i1z=document.getElementById(Og.Ih); if (i1z){var I1z=o13.O1x; if (I1z.parentNode!=i1z){I1z.parentNode.removeChild(I1z); i1z.appendChild(I1z); I1z.style.position=""; }I1z.style.display="\x69\x6e\x6cine"; }return; }}var Is=Og.ot(); var x=null,y=null; if (!Is){var Is=o13.Window.Ow(); x=Is.left; y=Is.top; }else {x=Is.left; y=Is.top; }if (o13.O1x.MoveTo){o13.O1x.MoveTo(x,y); }o13.SetVisible( true); o13.o20(); } ; iw.prototype.i1y= function (){var Og=this.Window; var O20=this.O1x; var Is=O20.B(); var o1z=Og.Or; if (o1z){o1z.top=Is.top; o1z.left=Is.left; Og.Restore(); }else {if (!Og.IsVisible())Og.Show(); Og.SetSize(Og.Width,Og.Height); Og.MoveTo(Is.left,Is.top); Og.SetActive( true); }O20.Hide(); };iw.prototype.O11= function (setActive){var o4=this.O1x; if ("\156one"==o4.style.display)return; if (setActive){if (this.Window.lw(RadWindowMinimizeMode.oa)){if (!this.Window.IsVisible())this.Window.Show(); }else {RadWindowNamespace.i10(o4); }}o4.className=setActive?"RadWM\x69\156imi\x7a\x65dAc\x74\x69v\x65": "\x52adWMinimi\x7a\x65dIna\x63\x74ive"; } ; iw.prototype.o20= function (){RadWindowNamespace.O14(this.Window.IsPinned(),this.O1x); } ; iw.prototype.SetVisible= function (l20){var o4=this.O1x; if (l20){if (o4.Show)o4.Show(); else o4.style.display=""; var Is=o4.B(); o4.SetSize(Is.width,Is.height, false); }else {if (o4.Hide)o4.Hide(); else o4.style.display="\x6e\x6fne"; }} ; iw.prototype.Dispose= function (l20){ this.Window=null; this.O1x.ondblclick=null; this.O1x.onclick=null; this.O1x.l3=null; this.O1x.l=null; this.O1x=null; } ;;function is(Og){ this.Window=Og; var o13=this ; this.i20(); var I20= function (){o13.O11( true); } ; Og.AttachClientEvent("\x6fn\x61\x63tivate",I20); Og.AttachClientEvent("onr\x65\x73tore",I20); var O1h= function (){o13.O11( false); } ; Og.AttachClientEvent("\x6fnclose",O1h); Og.AttachClientEvent("onmin\x69\x6dize",O1h); Og.l10= function (I15){Og.op.className=I15?"RadWWrapp\x65\x72Mod\x61\x6c": "\x52adWWrapper\x49\x6eacti\x76\x65"; } ; this.o21=[]; }is.prototype.i20= function (){if (!this.O21){var img=document.createElement("\x49MG"); img.src=this.Window.om+"\x49mg/tra\x6e\x73p.gi\x66"; function l8(){return false; } ; img.setAttribute("\x75nselectable","\x6f\x6e"); img.setAttribute("\x67alleryimg","no"); img.onselectstart=l8; img.ondragstart=l8; img.onmouseover=l8; img.onmousemove=l8; img.onmouseup=l8; var I7=img.style; I7.display="\x6e\x6fne"; I7.position="\x61bsolute"; I7.left=I7.top="\x30px"; img.className="\x52adWModalIma\x67\x65"; this.O21=img; }return this.O21; } ; is.prototype.Dispose= function (){ this.Window=null; this.O21.className=""; this.O21=null; this.o21=null; } ; is.prototype.O11= function (I15){var og=this.Window.GetWindowManager(); if (I15 && !this.Window.Im && !this.Window.In){ this.O0(); this.l21(); if (og && og.AddShortcut){og.DisableTabKey= function (){} ; og.AddShortcut("\x44isableTa\x62\x4bey","\x54\x41B"); }}else {if (og && og.AddShortcut){og.DisableTabKey=null; og.I1q("Disab\x6c\x65TabK\x65\x79"); } this.P(); this.i21(); var ow=this.Window.op; }} ; is.prototype.l21= function (){if (this.Window.IsIE){ this.o21=[]; var I21=document.getElementsByTagName("SELECT"); for (var i=0; i<I21.length; i++){ this.o21[i]= {o22:I21[i],isDisabled:I21[i].disabled };I21[i].setAttribute("disabled","true"); }}} ; is.prototype.i21= function (){if (this.Window.IsIE){for (var i=0; i<this.o21.length; i++){var O22=this.o21[i]; O22.o22.setAttribute("disabled",O22.isDisabled); }}} ; is.prototype.O0= function (){var i8=this.Window.op; var I8=this.i20(); var I7=I8.style; I7.width=(parseInt(window.screen.width)-1)+"px"; I7.height=(parseInt(window.screen.height)-1)+"\x70x"; if (i8 && i8.style.zIndex){if (null!=document.readyState && "complete"!=document.readyState){return; }else {var It=RadWindowNamespace.ou(); I7.left=It.left+"px"; I7.top=It.top+"\x70\x78"; if (I8.parentNode!=document.body)document.body.appendChild(I8); var zIndex=parseInt(i8.style.zIndex); i8.style.zIndex=parseInt(zIndex)+100; this.Window.op.Show(); I7.display=""; I7.zIndex=zIndex+(document.all?0: -2); }}} ; is.prototype.P= function (){if (this.O21)this.O21.style.display="\156\x6fne"; } ;;if ("und\x65\x66ined"==typeof(RadWindowNamespace)){RadWindowNamespace=new Object(); }RadWindowNamespace.l22=5; RadWindowNamespace.i22=5; RadWindowNamespace.v= {I22: true ,m:function (h,o23,O23){if (!this.I22)return ""; var l23=h.srcElement?h.srcElement:h.target; if (l23!=this )return ""; var i0=this.B(); var i23=""; if (null==o23)o23=RadWindowNamespace.l22; if (null==O23)O23=RadWindowNamespace.i22; var offsetX,offsetY; if (null!=h.offsetY){offsetX=h.offsetX; offsetY=h.offsetY; }else if (null!=h.layerY){offsetX=h.layerX; offsetY=h.layerY; }if (offsetY<=O23 && this.I23){i23+="\x6e"; }else if ((i0.height-offsetY)<=O23 && this.o24){i23+="s"; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -