function Kd(a,b){this.Init(a,b)}m("AdfGecko18Agent",Kd);r.v(Kd,Md);Kd.prototype.Init=function(a,b){Kd.h.Init.call(this,a,b)};r.a("AdfGecko18Agent.prototype.Init",{Init:Kd.prototype.Init});Kd.prototype.Wc=function(a){u.u(a);var b=a.ownerDocument;if(void 0===b.getBoxObjectFor)return a=a.getBoundingClientRect(),a=Math.round(a.left),a+=b.documentElement.scrollLeft;var d=b.getBoxObjectFor(a);a=d.screenX;d=b.getBoxObjectFor(b.documentElement);return a-=d.screenX};
r.a("AdfGecko18Agent.prototype.getElementLeft",{Wc:Kd.prototype.Wc});Kd.prototype.Ld=function(a){u.Hb(a);var b=a.ownerDocument;if(void 0===b.getBoxObjectFor)return a=a.getBoundingClientRect(),a=Math.round(a.top),a+=b.documentElement.scrollTop;var d=b.getBoxObjectFor(a);a=d.screenY;d=b.getBoxObjectFor(b.documentElement);return a-=d.screenY};r.a("AdfGecko18Agent.prototype.getElementTop",{Ld:Kd.prototype.Ld});
Kd.prototype.jc=function(a){u.u(a);var b=a.ownerDocument;if(void 0===b.getBoxObjectFor){var d=a.getBoundingClientRect();a=Math.round(d.top);d=Math.round(d.left);b=b.documentElement;d+=b.scrollLeft;a+=b.scrollTop;return{x:d,y:a}}var e=b.getBoxObjectFor(a);a=e.screenY;d=e.screenX;e=b.getBoxObjectFor(b.documentElement);a-=e.screenY;d-=e.screenX;return{x:d,y:a}};r.a("AdfGecko18Agent.prototype.getElementPosition",{jc:Kd.prototype.jc});
Kd.prototype.yd=function(a,b,d){u.Hb(a);for(var e=0,f=0,g=a;null!=g;)e+=g.scrollTop,f+=g.scrollLeft,g=g.offsetParent;d+=e;b+=f;f=a.ownerDocument;e=Ld.JF(a);return d>=e.y&&b>=e.x?(a==f.documentElement?(f=a.clientWidth,a=a.clientHeight):(f=e.width,a=e.height),d<=e.y+a&&b<=e.x+f):!1};r.a("AdfGecko18Agent.prototype.pointInElementBounds",{yd:Kd.prototype.yd});
Kd.prototype.rd=function(a){u.Hb(a);for(var b=a.ownerDocument,d=Ld.JF(a),e=0,f=0,g=a;null!=g;)e+=g.scrollTop,f+=g.scrollLeft,g=g.offsetParent;e=d.y-e;f=d.x-f;a==b.documentElement?(b=a.clientWidth,a=a.clientHeight):(b=d.width,a=d.height);return{top:e,left:f,bottom:e+a,right:f+b}};r.a("AdfGecko18Agent.prototype.getElementPageBounds",{rd:Kd.prototype.rd});