if ("\165\x6edefined"==typeof(RadDockNamespace)){RadDockNamespace=new Object(); }RadDockNamespace.o1v= 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.o1v.prototype.O1v= function (){return new o1v(this.left,this.top,this.width,this.height); };RadDockNamespace.o1v.prototype.o1f= function (x,y){return (this.left<=x && x<=(this.left+this.width) && this.top<=y && y<=(this.top+this.height)); } ; RadDockNamespace.o1v.prototype.l1v= function (I10){if (null==I10)return false; if (this ==I10)return true; return (I10.left<this.right && I10.top<this.bottom && I10.right>this.left && I10.bottom>this.top); } ; RadDockNamespace.o1v.prototype.ToString= function (){return "\x6ce\x66\x74:"+this.left+"\x20"+"\x72\x69ght:"+this.right+"\x20"+"\x74\x6fp:"+this.top+" "+"bott\x6f\x6d:"+this.bottom+"\x20"+"\x28"+this.width+"\x20x "+this.height+"\x29"; } ; RadDockNamespace.o1v.prototype.i1v= function (I10){if (null==I10)return false; if (this ==I10)return this.O1v(); if (!this.l1v(I10))return new o1v(); var left=Math.max(this.left,I10.left); var top=Math.max(this.top,I10.top); var right=Math.min(this.right,I10.right); var bottom=Math.min(this.bottom,I10.bottom); return new o1v(left,right,right-left,bottom-top); } ; function RadGetElementRect(n){if (!n){n=this ; }var left=0; var top=0; var width=n.offsetWidth; var height=n.offsetHeight; if (n.x){left=n.x; top=n.y; }else {var I1v=n; while (I1v!=null){left+=I1v.offsetLeft; top+=I1v.offsetTop; I1v=I1v.offsetParent; }}left=RadDockNamespace.l1h(left,0); top=RadDockNamespace.l1h(top,0); width=RadDockNamespace.l1h(width,0); height=RadDockNamespace.l1h(height,0); return new RadDockNamespace.o1v(left,top,width,height); }RadDockNamespace.o1w= function (n){if (n.currentStyle){return n.currentStyle; }else {return document.defaultView.getComputedStyle(n,null); }} ;
