function Ji(a){this.Init(a)}m("AdfAbstractFloatingElement",Ji);r.v(Ji);Ji.prototype.Init=function(a){Ji.h.Init.call(this);this.Kdb=a;this.bHa=this.BPa=this.Un=this.t3=null};r.a("AdfAbstractFloatingElement.prototype.Init",{Init:Ji.prototype.Init});Ji.prototype.b0=function(){var a=A.c.R();return a.forms&&0<a.forms.length&&a.forms[0].id?a.forms[0].id:null};r.a("AdfAbstractFloatingElement.prototype.GetFirstFormId",{b0:Ji.prototype.b0});
Ji.prototype.haa=function(a){this.Un=a;this.sI(a);var b=a.style;b.position="absolute";b.zIndex=2;this.UD()&&A.c.Gg().Tr(a,this.c0(),this.b0())};r.a("AdfAbstractFloatingElement.prototype.setElement",{haa:Ji.prototype.haa});Ji.prototype.UD=function(){return!0};r.a("AdfAbstractFloatingElement.prototype.ImmediateZorderRegistration",{UD:Ji.prototype.UD});Ji.prototype.Ha=function(){return this.Un};r.a("AdfAbstractFloatingElement.prototype.getElement",{Ha:Ji.prototype.Ha});
Ji.prototype.iQ=function(a){a&&a.id?(this.lia=a.id,delete this.t3):(this.t3=a,delete this.lia)};r.a("AdfAbstractFloatingElement.prototype.setAlignElement",{iQ:Ji.prototype.iQ});Ji.prototype.ov=function(a){this.bHa=a;delete this.t3;delete this.lia};r.a("AdfAbstractFloatingElement.prototype.setAlignPosition",{ov:Ji.prototype.ov});Ji.prototype.jC=function(){return this.bHa};r.a("AdfAbstractFloatingElement.prototype.getAlignPosition",{jC:Ji.prototype.jC});
Ji.prototype.Op=function(){var a=this.lia,b=this.t3;a&&!b&&(b=q.b.getElementById(a));return b};r.a("AdfAbstractFloatingElement.prototype.getAlignElement",{Op:Ji.prototype.Op});Ji.prototype.show=function(){this.Un.style.display=""};r.a("AdfAbstractFloatingElement.prototype.show",{show:Ji.prototype.show});Ji.prototype.Tb=function(){this.Un.style.display="none"};r.a("AdfAbstractFloatingElement.prototype.hide",{Tb:Ji.prototype.Tb});Ji.prototype.cancel=function(){this.Tb()};
r.a("AdfAbstractFloatingElement.prototype.cancel",{cancel:Ji.prototype.cancel});Ji.prototype.Jd=function(){A.c.Gg().Si(this.Un)};r.a("AdfAbstractFloatingElement.prototype.destroy",{Jd:Ji.prototype.Jd});Ji.prototype.getWidth=function(){return this.Ha().offsetWidth};r.a("AdfAbstractFloatingElement.prototype.getWidth",{getWidth:Ji.prototype.getWidth});Ji.prototype.getHeight=function(){return this.Ha().offsetHeight};r.a("AdfAbstractFloatingElement.prototype.getHeight",{getHeight:Ji.prototype.getHeight});
Ji.prototype.sI=function(a){this.BPa=a};r.a("AdfAbstractFloatingElement.prototype.setShadowAnchor",{sI:Ji.prototype.sI});Ji.prototype.Zf=function(){return this.BPa};r.a("AdfAbstractFloatingElement.prototype.getShadowAnchor",{Zf:Ji.prototype.Zf});Ji.prototype.iVa=function(a){isNaN(a)||(a+="px");this.Un.style.top=a;Ki.uj(this.Zf())&&Ki.ev(this.Zf())};r.a("AdfAbstractFloatingElement.prototype.setTop",{iVa:Ji.prototype.iVa});Ji.prototype.vP=function(){return parseInt(this.Un.style.top)};
r.a("AdfAbstractFloatingElement.prototype.getTop",{vP:Ji.prototype.vP});Ji.prototype.XUa=function(a){isNaN(a)||(a+="px");this.Un.style.left=a;Ki.uj(this.Zf())&&Ki.ev(this.Zf())};r.a("AdfAbstractFloatingElement.prototype.setLeft",{XUa:Ji.prototype.XUa});Ji.prototype.$O=function(){return parseInt(this.Un.style.left)};r.a("AdfAbstractFloatingElement.prototype.getLeft",{$O:Ji.prototype.$O});
Ji.prototype.setPosition=function(a,b){isNaN(a)||(a+="px");isNaN(b)||(b+="px");this.Un.style.left=b;this.Un.style.top=a;Ki.uj(this.Zf())&&Ki.ev(this.Zf())};r.a("AdfAbstractFloatingElement.prototype.setPosition",{setPosition:Ji.prototype.setPosition});Ji.prototype.vl=function(){A.c.Gg().vl(this.Un)};r.a("AdfAbstractFloatingElement.prototype.raiseToFront",{vl:Ji.prototype.vl});
Ji.prototype.N_=function(a,b){for(var d=A.c.R().createElement("table"),e=0;e<a;e++)for(var f=d.insertRow(e),g=0;g<b;g++)f.insertCell(g);d.cellPadding=0;d.cellSpacing=0;d.zo="presentation";return d};r.a("AdfAbstractFloatingElement.prototype.CreateTable",{N_:Ji.prototype.N_});Ji.prototype.c0=function(){return this.Kdb};r.a("AdfAbstractFloatingElement.prototype.GetFloatingType",{c0:Ji.prototype.c0});