if ("\x75\x6e\x64\x65\x66\x69\x6e\x65\x64" == typeof(RadDockNamespace)){RadDockNamespace=new Object(); }RadDockNamespace.I1c= {o1d: 0,O1d: 1,l1d: 2,i1d: 4,I1d: 8,o1e: 6,O1e: 5,l1e: 012,i1e: 011,I1e: 017 } ; RadDockNamespace.r= function (S){if (!S)return; Object.Q(S,RadDockNamespace.o1f); S.O4=(S.offsetWidth?S.offsetWidth:parseInt(S.style.width)); S.l4=(S.offsetHeight?S.offsetHeight:parseInt(S.style.height)); } ; RadDockNamespace.o1f= {O1f: 024,l1f: 0303240,i1f: 024,I1f: 0303240,o1g:RadDockNamespace.I1c.I1e,O4: 0,l4: 0,MoveBy:function (It,ou){var x=RadDockNamespace.O1c(this.style.left,0); var y=RadDockNamespace.O1c(this.style.top,0); this.MoveTo(x+It,y+ou); } ,MoveTo:function (x,y){x=RadDockNamespace.O1c(x,0); y=RadDockNamespace.O1c(y,0); this.style.position="\x61\x62\x73\x6f\x6c\x75\x74\x65"; this.style.left=(x+"\x70\x78"); this.style.top=(y+"\x70\x78"); } ,SetSize:function (width,height){width=RadDockNamespace.O1c(width,-1); height=RadDockNamespace.O1c(height,-1); if (width>-1){ this.style.width=width+"\x70\x78"; }if (height>-1){ this.style.height=height+"\x70\x78"; }} ,O1g:function (offsetLeft,offsetTop,offsetWidth,offsetHeight){var Ob=this.GetRect(); var top=Ob.top+offsetTop; var left=Ob.left+offsetLeft; if (top<0){offsetTop=-Ob.top; }if (left<0){offsetLeft=-Ob.left; }top=Ob.top+offsetTop; left=Ob.left+offsetLeft; if (null == offsetWidth)offsetWidth=-offsetLeft; if (null == offsetHeight)offsetHeight=-offsetTop; var width=Ob.width+offsetWidth; var height=Ob.height+offsetHeight; width=Math.max(this.O1f,width); width=Math.min(this.l1f,width); height=Math.max(this.i1f,height); height=Math.min(this.I1f,height); if (Ob.width != width){ this.MoveBy(offsetLeft,0); this.SetSize(width,null); }if (Ob.height != height){ this.MoveBy(0,offsetTop); this.SetSize(null,height); }} ,O7:function (){var l1g=0; var zIndex=0; var i1g=this.parentNode.childNodes; var node; for (var i=0; i<i1g.length; i++){node=i1g[i]; if (1 != node.nodeType)continue; zIndex=parseInt(node.style.zIndex); if (zIndex>l1g){l1g=zIndex; }} this.style.zIndex=(l1g+1); if (!document.all){var parentNode=this.parentNode; parentNode.removeChild(this ); parentNode.appendChild(this ); }} ,Z:function (dir,I1g,o1h){switch (dir.toLowerCase()){case "\x6e\x2d\x72\x65\x73\x69\x7a\x65": this.O1g(0,o1h,null,null); break; case "\x73\x2d\x72\x65\x73\x69\x7a\x65": this.O1g(0,0,0,o1h); break; case "\x77\x2d\x72\x65\x73\x69\x7a\x65": this.O1g(I1g,0,null,null); break; case "\x65\x2d\x72\x65\x73\x69\x7a\x65": this.O1g(0,0,I1g,0); break; case "\x6e\x65\x2d\x72\x65\x73\x69\x7a\x65": this.O1g(0,o1h,I1g,null); break; case "\x6e\x77\x2d\x72\x65\x73\x69\x7a\x65": this.O1g(I1g,o1h,null,null); break; case "\x73\x65\x2d\x72\x65\x73\x69\x7a\x65": this.O1g(0,0,I1g,o1h); break; case "\x73\x77\x2d\x72\x65\x73\x69\x7a\x65": this.O1g(I1g,0,null,o1h); break; }} ,GetRect:function (S){return l19(S||this ); } ,SetRect:function (ow){ this.MoveTo(ow.left,ow.top); this.SetSize(ow.width,ow.height); } ,iz:function (lg){var x=lg.clientX+RadDockNamespace.Iw(); var y=lg.clientY+RadDockNamespace.ox(); var Ob=this.GetRect(); var borderWidth=RadDockNamespace.O1c(this.style.borderWidth,0)+012; var O1h=""; if (((this.o1g&RadDockNamespace.I1c.O1d)>0)&&(Ob.top<=y)&&(y<=(Ob.top+borderWidth))){O1h="\x6e"; }else if (((this.o1g&RadDockNamespace.I1c.l1d)>0)&&((Ob.bottom-borderWidth)<=y)&&(y<=Ob.bottom)){O1h="\x73"; }if (((this.o1g&RadDockNamespace.I1c.I1d)>0)&&(Ob.left<=x)&&(x<=(Ob.left+borderWidth))){O1h+="\x77"; }else if (((this.o1g&RadDockNamespace.I1c.i1d)>0)&&((Ob.right-borderWidth)<=x)&&(x<=Ob.right)){O1h+="\x65"; }if (O1h){O1h+="\x2d\x72\x65\x73\x69\x7a\x65"; }return O1h; } ,IsVisible:function (){return (this.style.display != "\x6e\x6f\x6e\x65"); } ,Show:function (l1h){if (l1h == false){ this.O4=this.offsetWidth; this.l4=this.offsetHeight; this.i1h=this.style.display; this.style.display="\x6e\x6f\x6e\x65"; }else { this.style.display=this.i1h?this.i1h: ""; }if (this.o3){ this.o3(); }} ,Hide:function (){ this.Show( false); }} ;
