if ("\x75\x6e\x64\x65\x66\x69\x6e\x65\x64" == typeof(RadDockNamespace)){RadDockNamespace=new Object(); }RadDockNamespace.l1j= 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); this.right=left+width; this.bottom=top+height; } ; RadDockNamespace.l1j.prototype.i1j= function (){return new l1j(this.left,this.top,this.width,this.height); };RadDockNamespace.l1j.prototype.I19= function (x,y){return (this.left<=x&&x<=(this.left+this.width)&&this.top<=y&&y<=(this.top+this.height)); } ; RadDockNamespace.l1j.prototype.I1j= function (ow){if (null == ow)return false; if (this == ow)return true; return (ow.left<this.right&&ow.top<this.bottom&&ow.right>this.left&&ow.bottom>this.top); } ; RadDockNamespace.l1j.prototype.ToString= function (){return "\x6c\x65\x66\x74\x3a"+this.left+"\x20"+"\x72\x69\x67\x68\x74\x3a"+this.right+"\x20"+"\x74\x6f\x70\x3a"+this.top+"\x20"+"\x62\x6f\x74\x74\x6f\x6d\x3a"+this.bottom+"\x20"+"\x28"+this.width+"\x20\x78\x20"+this.height+"\x29"; } ; RadDockNamespace.l1j.prototype.o1k= function (ow){if (null == ow)return false; if (this == ow)return this.i1j(); if (!this.I1j(ow))return new l1j(); var left=Math.max(this.left,ow.left); var top=Math.max(this.top,ow.top); var right=Math.min(this.right,ow.right); var bottom=Math.min(this.bottom,ow.bottom); return new l1j(left,right,right-left,bottom-top); } ; function l19(S){if (!S){S=this ; }var left=0; var top=0; var width=S.offsetWidth; var height=S.offsetHeight; var offsetParent,style; while (S.offsetParent){left+=(S.offsetLeft-S.scrollLeft); top+=(S.offsetTop-S.scrollTop); S=S.offsetParent; }if (S.x)left=S.x; if (S.y)top=S.y; left=RadDockNamespace.O1c(left,0); top=RadDockNamespace.O1c(top,0); width=RadDockNamespace.O1c(width,0); height=RadDockNamespace.O1c(height,0); return new RadDockNamespace.l1j(left,top,width,height); }RadDockNamespace.O1k= function (S){if (S.currentStyle){return S.currentStyle; }else {return document.defaultView.getComputedStyle(S,null); }} ;
