function Md(a,b){this.Init(a,b)}m("AdfGecko18Agent",Md);r.v(Md,Od);Md.prototype.Init=function(a,b){Md.h.Init.call(this,a,b)};r.a("AdfGecko18Agent.prototype.Init",{Init:Md.prototype.Init});Md.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:Md.prototype.Wc});Md.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:Md.prototype.Ld});
Md.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:Md.prototype.jc});
Md.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=Nd.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:Md.prototype.yd});
Md.prototype.rd=function(a){u.Hb(a);for(var b=a.ownerDocument,d=Nd.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:Md.prototype.rd});