function pg(a){this.Init(a)}v("AdfAbstractFloatingElement",pg);z.l(pg);pg.prototype.Init=function(a){pg.f.Init.call(this);this.XUa=a;this.Usa=this.Pza=this.hn=this.UV=n};z.a("AdfAbstractFloatingElement.prototype.Init",{Init:pg.prototype.Init});pg.prototype.bT=function(){var a=F.c.w();return a.forms&&0<a.forms.length&&a.forms[0].id?a.forms[0].id:n};z.a("AdfAbstractFloatingElement.prototype.GetFirstFormId",{bT:pg.prototype.bT});
pg.prototype.I1=function(a){this.hn=a;this.sD(a);var b=a.style;b.position="absolute";b.zIndex=2;this.Lz()&&F.c.Mf().jp(a,this.cT(),this.bT())};z.a("AdfAbstractFloatingElement.prototype.setElement",{I1:pg.prototype.I1});pg.prototype.Lz=t(l);z.a("AdfAbstractFloatingElement.prototype.ImmediateZorderRegistration",{Lz:pg.prototype.Lz});pg.prototype.La=r("hn");z.a("AdfAbstractFloatingElement.prototype.getElement",{La:pg.prototype.La});
pg.prototype.VJ=function(a){a&&a.id?(this.R8=a.id,delete this.UV):(this.UV=a,delete this.R8)};z.a("AdfAbstractFloatingElement.prototype.setAlignElement",{VJ:pg.prototype.VJ});pg.prototype.Ty=function(a){this.Usa=a;delete this.UV;delete this.R8};z.a("AdfAbstractFloatingElement.prototype.setAlignPosition",{Ty:pg.prototype.Ty});pg.prototype.cy=r("Usa");z.a("AdfAbstractFloatingElement.prototype.getAlignPosition",{cy:pg.prototype.cy});
pg.prototype.Xr=function(){var a=this.R8,b=this.UV;a&&!b&&(b=w.b.getElementById(a));return b};z.a("AdfAbstractFloatingElement.prototype.getAlignElement",{Xr:pg.prototype.Xr});pg.prototype.show=function(){this.hn.style.display=""};z.a("AdfAbstractFloatingElement.prototype.show",{show:pg.prototype.show});pg.prototype.rb=function(){this.hn.style.display="none"};z.a("AdfAbstractFloatingElement.prototype.hide",{rb:pg.prototype.rb});pg.prototype.cancel=function(){this.rb()};
z.a("AdfAbstractFloatingElement.prototype.cancel",{cancel:pg.prototype.cancel});pg.prototype.ud=function(){F.c.Mf().Ci(this.hn)};z.a("AdfAbstractFloatingElement.prototype.destroy",{ud:pg.prototype.ud});pg.prototype.getWidth=function(){return this.La().offsetWidth};z.a("AdfAbstractFloatingElement.prototype.getWidth",{getWidth:pg.prototype.getWidth});pg.prototype.getHeight=function(){return this.La().offsetHeight};z.a("AdfAbstractFloatingElement.prototype.getHeight",{getHeight:pg.prototype.getHeight});
pg.prototype.sD=da("Pza");z.a("AdfAbstractFloatingElement.prototype.setShadowAnchor",{sD:pg.prototype.sD});pg.prototype.kf=r("Pza");z.a("AdfAbstractFloatingElement.prototype.getShadowAnchor",{kf:pg.prototype.kf});pg.prototype.tEa=function(a){isNaN(a)||(a+="px");this.hn.style.top=a;qg.yi(this.kf())&&qg.ms(this.kf())};z.a("AdfAbstractFloatingElement.prototype.setTop",{tEa:pg.prototype.tEa});pg.prototype.oJ=function(){return parseInt(this.hn.style.top)};
z.a("AdfAbstractFloatingElement.prototype.getTop",{oJ:pg.prototype.oJ});pg.prototype.hEa=function(a){isNaN(a)||(a+="px");this.hn.style.left=a;qg.yi(this.kf())&&qg.ms(this.kf())};z.a("AdfAbstractFloatingElement.prototype.setLeft",{hEa:pg.prototype.hEa});pg.prototype.YI=function(){return parseInt(this.hn.style.left)};z.a("AdfAbstractFloatingElement.prototype.getLeft",{YI:pg.prototype.YI});
pg.prototype.setPosition=function(a,b){isNaN(a)||(a+="px");isNaN(b)||(b+="px");this.hn.style.left=b;this.hn.style.top=a;qg.yi(this.kf())&&qg.ms(this.kf())};z.a("AdfAbstractFloatingElement.prototype.setPosition",{setPosition:pg.prototype.setPosition});pg.prototype.bk=function(){F.c.Mf().bk(this.hn)};z.a("AdfAbstractFloatingElement.prototype.raiseToFront",{bk:pg.prototype.bk});
pg.prototype.OS=function(a,b){for(var d=F.c.w().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.setAttribute("role","presentation");return d};z.a("AdfAbstractFloatingElement.prototype.CreateTable",{OS:pg.prototype.OS});pg.prototype.cT=r("XUa");z.a("AdfAbstractFloatingElement.prototype.GetFloatingType",{cT:pg.prototype.cT});