function $AdfAbstractFloatingElement$$($floatingType$$) {
  this.Init($floatingType$$)
}
$goog$exportSymbol$$("AdfAbstractFloatingElement", $AdfAbstractFloatingElement$$);
$AdfObject$$.$createSubclass$($AdfAbstractFloatingElement$$);
$AdfAbstractFloatingElement$$.prototype.Init = function $$AdfAbstractFloatingElement$$$$Init$($floatingType$$1$$) {
  $AdfAbstractFloatingElement$$.$superclass$.Init.call(this);
  this.$_floatingType$ = $floatingType$$1$$;
  this.$_alignPosition$ = this.$_shadowAnchor$ = this.$_rootElement$ = this.$_alignElement$ = $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.Init", {Init:$AdfAbstractFloatingElement$$.prototype.Init});
$AdfAbstractFloatingElement$$.prototype.$GetFirstFormId$ = function $$AdfAbstractFloatingElement$$$$$GetFirstFormId$$() {
  var $domDocument$$10$$ = $AdfPage$$.$PAGE$.$getDomDocument$();
  return $domDocument$$10$$.forms && 0 < $domDocument$$10$$.forms.length && $domDocument$$10$$.forms[0].id ? $domDocument$$10$$.forms[0].id : $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.GetFirstFormId", {$GetFirstFormId$:$AdfAbstractFloatingElement$$.prototype.$GetFirstFormId$});
$AdfAbstractFloatingElement$$.prototype.$setElement$ = function $$AdfAbstractFloatingElement$$$$$setElement$$($element$$140$$) {
  this.$_rootElement$ = $element$$140$$;
  this.$setShadowAnchor$($element$$140$$);
  var $elementStyle$$ = $element$$140$$.style;
  $elementStyle$$.position = "absolute";
  $elementStyle$$.zIndex = 2;
  this.$ImmediateZorderRegistration$() && $AdfPage$$.$PAGE$.$getZOrderManager$().$addElementToLayer$($element$$140$$, this.$GetFloatingType$(), this.$GetFirstFormId$())
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.setElement", {$setElement$:$AdfAbstractFloatingElement$$.prototype.$setElement$});
$AdfAbstractFloatingElement$$.prototype.$ImmediateZorderRegistration$ = $JSCompiler_returnArg$$($JSCompiler_alias_TRUE$$);
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.ImmediateZorderRegistration", {$ImmediateZorderRegistration$:$AdfAbstractFloatingElement$$.prototype.$ImmediateZorderRegistration$});
$AdfAbstractFloatingElement$$.prototype.$getElement$ = $JSCompiler_get$$("$_rootElement$");
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.getElement", {$getElement$:$AdfAbstractFloatingElement$$.prototype.$getElement$});
$AdfAbstractFloatingElement$$.prototype.$setAlignElement$ = function $$AdfAbstractFloatingElement$$$$$setAlignElement$$($alignElement$$2$$) {
  $alignElement$$2$$ && $alignElement$$2$$.id ? (this.$_alignElementId$ = $alignElement$$2$$.id, delete this.$_alignElement$) : (this.$_alignElement$ = $alignElement$$2$$, delete this.$_alignElementId$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.setAlignElement", {$setAlignElement$:$AdfAbstractFloatingElement$$.prototype.$setAlignElement$});
$AdfAbstractFloatingElement$$.prototype.$setAlignPosition$ = function $$AdfAbstractFloatingElement$$$$$setAlignPosition$$($pos$$8$$) {
  this.$_alignPosition$ = $pos$$8$$;
  delete this.$_alignElement$;
  delete this.$_alignElementId$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.setAlignPosition", {$setAlignPosition$:$AdfAbstractFloatingElement$$.prototype.$setAlignPosition$});
$AdfAbstractFloatingElement$$.prototype.$getAlignPosition$ = $JSCompiler_get$$("$_alignPosition$");
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.getAlignPosition", {$getAlignPosition$:$AdfAbstractFloatingElement$$.prototype.$getAlignPosition$});
$AdfAbstractFloatingElement$$.prototype.$getAlignElement$ = function $$AdfAbstractFloatingElement$$$$$getAlignElement$$() {
  var $alignElementId$$ = this.$_alignElementId$, $alignElement$$3$$ = this.$_alignElement$;
  $alignElementId$$ && !$alignElement$$3$$ && ($alignElement$$3$$ = $AdfAgent$$.$AGENT$.getElementById($alignElementId$$));
  return $alignElement$$3$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.getAlignElement", {$getAlignElement$:$AdfAbstractFloatingElement$$.prototype.$getAlignElement$});
$AdfAbstractFloatingElement$$.prototype.show = function $$AdfAbstractFloatingElement$$$$show$() {
  this.$_rootElement$.style.display = ""
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.show", {show:$AdfAbstractFloatingElement$$.prototype.show});
$AdfAbstractFloatingElement$$.prototype.$hide$ = function $$AdfAbstractFloatingElement$$$$$hide$$() {
  this.$_rootElement$.style.display = "none"
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.hide", {$hide$:$AdfAbstractFloatingElement$$.prototype.$hide$});
$AdfAbstractFloatingElement$$.prototype.cancel = function $$AdfAbstractFloatingElement$$$$cancel$() {
  this.$hide$()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.cancel", {cancel:$AdfAbstractFloatingElement$$.prototype.cancel});
$AdfAbstractFloatingElement$$.prototype.$destroy$ = function $$AdfAbstractFloatingElement$$$$$destroy$$() {
  $AdfPage$$.$PAGE$.$getZOrderManager$().$removeElement$(this.$_rootElement$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.destroy", {$destroy$:$AdfAbstractFloatingElement$$.prototype.$destroy$});
$AdfAbstractFloatingElement$$.prototype.getWidth = function $$AdfAbstractFloatingElement$$$$getWidth$() {
  return this.$getElement$().offsetWidth
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.getWidth", {getWidth:$AdfAbstractFloatingElement$$.prototype.getWidth});
$AdfAbstractFloatingElement$$.prototype.getHeight = function $$AdfAbstractFloatingElement$$$$getHeight$() {
  return this.$getElement$().offsetHeight
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.getHeight", {getHeight:$AdfAbstractFloatingElement$$.prototype.getHeight});
$AdfAbstractFloatingElement$$.prototype.$setShadowAnchor$ = $JSCompiler_set$$("$_shadowAnchor$");
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.setShadowAnchor", {$setShadowAnchor$:$AdfAbstractFloatingElement$$.prototype.$setShadowAnchor$});
$AdfAbstractFloatingElement$$.prototype.$getShadowAnchor$ = $JSCompiler_get$$("$_shadowAnchor$");
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.getShadowAnchor", {$getShadowAnchor$:$AdfAbstractFloatingElement$$.prototype.$getShadowAnchor$});
$AdfAbstractFloatingElement$$.prototype.$setTop$ = function $$AdfAbstractFloatingElement$$$$$setTop$$($position$$) {
  isNaN($position$$) || ($position$$ += "px");
  this.$_rootElement$.style.top = $position$$;
  $AdfDhtmlShadowDecorator$$.$hasShadowDecorator$(this.$getShadowAnchor$()) && $AdfDhtmlShadowDecorator$$.$moveShadowDecorator$(this.$getShadowAnchor$())
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.setTop", {$setTop$:$AdfAbstractFloatingElement$$.prototype.$setTop$});
$AdfAbstractFloatingElement$$.prototype.$getTop$ = function $$AdfAbstractFloatingElement$$$$$getTop$$() {
  return parseInt(this.$_rootElement$.style.top)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.getTop", {$getTop$:$AdfAbstractFloatingElement$$.prototype.$getTop$});
$AdfAbstractFloatingElement$$.prototype.$setLeft$ = function $$AdfAbstractFloatingElement$$$$$setLeft$$($position$$1$$) {
  isNaN($position$$1$$) || ($position$$1$$ += "px");
  this.$_rootElement$.style.left = $position$$1$$;
  $AdfDhtmlShadowDecorator$$.$hasShadowDecorator$(this.$getShadowAnchor$()) && $AdfDhtmlShadowDecorator$$.$moveShadowDecorator$(this.$getShadowAnchor$())
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.setLeft", {$setLeft$:$AdfAbstractFloatingElement$$.prototype.$setLeft$});
$AdfAbstractFloatingElement$$.prototype.$getLeft$ = function $$AdfAbstractFloatingElement$$$$$getLeft$$() {
  return parseInt(this.$_rootElement$.style.left)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.getLeft", {$getLeft$:$AdfAbstractFloatingElement$$.prototype.$getLeft$});
$AdfAbstractFloatingElement$$.prototype.setPosition = function $$AdfAbstractFloatingElement$$$$setPosition$($positionTop$$, $positionLeft$$) {
  isNaN($positionTop$$) || ($positionTop$$ += "px");
  isNaN($positionLeft$$) || ($positionLeft$$ += "px");
  this.$_rootElement$.style.left = $positionLeft$$;
  this.$_rootElement$.style.top = $positionTop$$;
  $AdfDhtmlShadowDecorator$$.$hasShadowDecorator$(this.$getShadowAnchor$()) && $AdfDhtmlShadowDecorator$$.$moveShadowDecorator$(this.$getShadowAnchor$())
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.setPosition", {setPosition:$AdfAbstractFloatingElement$$.prototype.setPosition});
$AdfAbstractFloatingElement$$.prototype.$raiseToFront$ = function $$AdfAbstractFloatingElement$$$$$raiseToFront$$() {
  $AdfPage$$.$PAGE$.$getZOrderManager$().$raiseToFront$(this.$_rootElement$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.raiseToFront", {$raiseToFront$:$AdfAbstractFloatingElement$$.prototype.$raiseToFront$});
$AdfAbstractFloatingElement$$.prototype.$CreateTable$ = function $$AdfAbstractFloatingElement$$$$$CreateTable$$($rows$$1$$, $cols$$) {
  for(var $table$$8$$ = $AdfPage$$.$PAGE$.$getDomDocument$().createElement("table"), $i$$110$$ = 0;$i$$110$$ < $rows$$1$$;$i$$110$$++) {
    for(var $tr$$ = $table$$8$$.insertRow($i$$110$$), $j$$8$$ = 0;$j$$8$$ < $cols$$;$j$$8$$++) {
      $tr$$.insertCell($j$$8$$)
    }
  }
  $table$$8$$.cellPadding = 0;
  $table$$8$$.cellSpacing = 0;
  $table$$8$$.setAttribute("role", "presentation");
  return $table$$8$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.CreateTable", {$CreateTable$:$AdfAbstractFloatingElement$$.prototype.$CreateTable$});
$AdfAbstractFloatingElement$$.prototype.$GetFloatingType$ = $JSCompiler_get$$("$_floatingType$");
$AdfObject$$.$exportPrototypeSymbol$("AdfAbstractFloatingElement.prototype.GetFloatingType", {$GetFloatingType$:$AdfAbstractFloatingElement$$.prototype.$GetFloatingType$});
