function $AdfDhtmlSimpleFloat$$() {
  this.Init();
}
$goog$exportSymbol$$("AdfDhtmlSimpleFloat", $AdfDhtmlSimpleFloat$$);
$AdfObject$$.$createSubclass$($AdfDhtmlSimpleFloat$$, $AdfDhtmlPopupWindow$$);
$AdfDhtmlSimpleFloat$$.$InitClass$ = function $$AdfDhtmlSimpleFloat$$$$InitClass$$() {
  this.$_DRAG_STYLECLASS$ = "p_AFDrag";
  this.$_INACTIVE_STYLECLASS$ = "p_AFInactive";
  this.$_CONTENT_ID$ = "contentContainer";
  this.$_BACKGROUND_EXPANDO$ = "data-afr-panelwindowbackground";
  this.$_TITLE_ID$ = "_ttxt";
};
$goog$exportSymbol$$("AdfDhtmlSimpleFloat.InitClass", $AdfDhtmlSimpleFloat$$.$InitClass$);
$AdfDhtmlSimpleFloat$$.prototype.Init = function $$AdfDhtmlSimpleFloat$$$$Init$() {
  $AdfDhtmlSimpleFloat$$.$superclass$.Init.call(this);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.Init", {Init:$AdfDhtmlSimpleFloat$$.prototype.Init});
$AdfDhtmlSimpleFloat$$.prototype.$getContainedComponentClientId$ = function $$AdfDhtmlSimpleFloat$$$$$getContainedComponentClientId$$() {
  return this.$_containedComponentId$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.getContainedComponentClientId", {$getContainedComponentClientId$:$AdfDhtmlSimpleFloat$$.prototype.$getContainedComponentClientId$});
$AdfDhtmlSimpleFloat$$.prototype.$GetFocusContent$ = function $$AdfDhtmlSimpleFloat$$$$$GetFocusContent$$() {
  var $agent$$143_peer$$82$$ = $AdfAgent$$.$AGENT$;
  if ($agent$$143_peer$$82$$.$getDomWindow$().$AdfSafariMobileAgent$ && $agent$$143_peer$$82$$ instanceof $AdfSafariMobileAgent$$) {
    return $AdfDhtmlSimpleFloat$$.$superclass$.$GetFocusContent$.call(this);
  }
  var $agent$$143_peer$$82$$ = $JSCompiler_StaticMethods__getContainedComponentPeer$$(this), $element$$171_subId$$14$$ = $AdfRichUIPeer$$.$CreateSubId$($agent$$143_peer$$82$$.$getComponent$().$getClientId$(), $AdfDhtmlSimpleFloat$$.$_CONTENT_ID$);
  ($element$$171_subId$$14$$ = $AdfAgent$$.$AGENT$.getElementById($element$$171_subId$$14$$)) && $AdfAgent$$.$AGENT$.$getPlatform$() == $AdfAgent$$.$GECKO_PLATFORM$ && ($element$$171_subId$$14$$.tabIndex = -1);
  $element$$171_subId$$14$$ && ($element$$171_subId$$14$$ = $AdfFocusUtils$$.$containsFocus$($element$$171_subId$$14$$) ? $AdfPage$$.$PAGE$.$_activeDomNode$ : $AdfFocusUtils$$.$getFirstTabStop$($element$$171_subId$$14$$));
  $element$$171_subId$$14$$ || ($agent$$143_peer$$82$$ instanceof $AdfDhtmlDialogPeer$$ && ($element$$171_subId$$14$$ = $agent$$143_peer$$82$$.$getDefaultButtonDom$(this.$getContainedComponentClientId$())), $element$$171_subId$$14$$ || ($element$$171_subId$$14$$ = $agent$$143_peer$$82$$.$getDomElement$()));
  return $element$$171_subId$$14$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.GetFocusContent", {$GetFocusContent$:$AdfDhtmlSimpleFloat$$.prototype.$GetFocusContent$});
$AdfDhtmlSimpleFloat$$.prototype.$setContent$ = function $$AdfDhtmlSimpleFloat$$$$$setContent$$($mainElement$$1_selectorContent$$1$$) {
  $AdfDhtmlSimpleFloat$$.$superclass$.$setContent$.call(this, $mainElement$$1_selectorContent$$1$$);
  $mainElement$$1_selectorContent$$1$$ = $JSCompiler_StaticMethods__getMainElement$$($mainElement$$1_selectorContent$$1$$);
  this.$setShadowAnchor$($mainElement$$1_selectorContent$$1$$);
  this.$_containedComponentId$ = $AdfRichUIPeer$$.$getFirstAncestorComponent$($mainElement$$1_selectorContent$$1$$).$getClientId$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.setContent", {$setContent$:$AdfDhtmlSimpleFloat$$.prototype.$setContent$});
$AdfDhtmlSimpleFloat$$.prototype.$setAccessibleAttrs$ = function $$AdfDhtmlSimpleFloat$$$$$setAccessibleAttrs$$($hints$$47$$) {
  var $wrapper$$19$$ = this.$getElement$(), $peer$$83_titleId$$1$$ = $JSCompiler_StaticMethods__getContainedComponentPeer$$(this), $contentId$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($peer$$83_titleId$$1$$.$getComponent$().$getClientId$(), $AdfDhtmlSimpleFloat$$.$_CONTENT_ID$), $peer$$83_titleId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($peer$$83_titleId$$1$$.$getComponent$().$getClientId$(), $AdfDhtmlSimpleFloat$$.$_TITLE_ID$);
  $wrapper$$19$$.setAttribute("role", "dialog");
  $wrapper$$19$$.setAttribute("aria-describedby", $contentId$$2$$);
  $wrapper$$19$$.setAttribute("aria-labelledby", $peer$$83_titleId$$1$$);
  $hints$$47$$.modal && $wrapper$$19$$.setAttribute("aria-modal", "true");
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.setAccessibleAttrs", {$setAccessibleAttrs$:$AdfDhtmlSimpleFloat$$.prototype.$setAccessibleAttrs$});
$AdfDhtmlSimpleFloat$$.prototype.$announceOpeningViaLiveRegion$ = function $$AdfDhtmlSimpleFloat$$$$$announceOpeningViaLiveRegion$$($hints$$48_laf$$52_liveContent$$1$$) {
  if ($hints$$48_laf$$52_liveContent$$1$$ && !$hints$$48_laf$$52_liveContent$$1$$.focus) {
    $hints$$48_laf$$52_liveContent$$1$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$();
    var $liveContainer$$2_liveContainerId$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($AdfPage$$.$PAGE$.$_documentClientId$, $AdfDhtmlDocumentPeer$$.$_GLOBAL_LIVE_CONTAINER_ID$), $liveContainer$$2_liveContainerId$$2$$ = $AdfAgent$$.$AGENT$.getElementById($liveContainer$$2_liveContainerId$$2$$), $liveTextKey$$1$$ = $AdfPage$$.$PAGE$.$getDomWindow$().$AdfSafariMobileAgent$ && $AdfAgent$$.$AGENT$ instanceof $AdfSafariMobileAgent$$ ? "af_panelWindow.INITIAL_FOCUS_LIVE_TEXT_MOBILE" : "af_panelWindow.INITIAL_FOCUS_LIVE_TEXT";
    $hints$$48_laf$$52_liveContent$$1$$ = $hints$$48_laf$$52_liveContent$$1$$.$getTranslatedString$($liveTextKey$$1$$);
    $AdfAgent$$.$AGENT$.$setTextContent$($liveContainer$$2_liveContainerId$$2$$, $hints$$48_laf$$52_liveContent$$1$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.announceOpeningViaLiveRegion", {$announceOpeningViaLiveRegion$:$AdfDhtmlSimpleFloat$$.prototype.$announceOpeningViaLiveRegion$});
$AdfDhtmlSimpleFloat$$.prototype.$removeAccessibleAttrs$ = function $$AdfDhtmlSimpleFloat$$$$$removeAccessibleAttrs$$() {
  var $liveContainer$$3_liveContainerId$$3$$ = $AdfRichUIPeer$$.$CreateSubId$($AdfPage$$.$PAGE$.$_documentClientId$, $AdfDhtmlDocumentPeer$$.$_GLOBAL_LIVE_CONTAINER_ID$);
  ($liveContainer$$3_liveContainerId$$3$$ = $AdfAgent$$.$AGENT$.getElementById($liveContainer$$3_liveContainerId$$3$$)) && $AdfAgent$$.$AGENT$.$setTextContent$($liveContainer$$3_liveContainerId$$3$$, "");
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.removeAccessibleAttrs", {$removeAccessibleAttrs$:$AdfDhtmlSimpleFloat$$.prototype.$removeAccessibleAttrs$});
function $JSCompiler_StaticMethods__getMainElement$$($content$$18_mainElement$$2$$) {
  $content$$18_mainElement$$2$$ = $content$$18_mainElement$$2$$.getElementsByTagName("table")[0];
  $AdfAssert$$.assert($content$$18_mainElement$$2$$, "Main Element of floating window must be a table");
  return $content$$18_mainElement$$2$$;
}
$AdfDhtmlSimpleFloat$$.prototype.$setDragElement$ = function $$AdfDhtmlSimpleFloat$$$$$setDragElement$$($dragElement$$) {
  this.$_dragElement$ = $dragElement$$;
  this.$_repositionable$ && (this.$_repositionable$.$destroy$(), delete this.$_repositionable$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.setDragElement", {$setDragElement$:$AdfDhtmlSimpleFloat$$.prototype.$setDragElement$});
$AdfDhtmlSimpleFloat$$.prototype.getModal = function $$AdfDhtmlSimpleFloat$$$$getModal$() {
  return this.$_modal$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.getModal", {getModal:$AdfDhtmlSimpleFloat$$.prototype.getModal});
$AdfDhtmlSimpleFloat$$.prototype.setModal = function $$AdfDhtmlSimpleFloat$$$$setModal$($modal$$1$$) {
  this.$_modal$ = $modal$$1$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.setModal", {setModal:$AdfDhtmlSimpleFloat$$.prototype.setModal});
$AdfDhtmlSimpleFloat$$.prototype.getInitialFocus = function $$AdfDhtmlSimpleFloat$$$$getInitialFocus$() {
  return this.$_initialFocus$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.getInitialFocus", {getInitialFocus:$AdfDhtmlSimpleFloat$$.prototype.getInitialFocus});
$AdfDhtmlSimpleFloat$$.prototype.setInitialFocus = function $$AdfDhtmlSimpleFloat$$$$setInitialFocus$($initialFocus$$1$$) {
  this.$_initialFocus$ = $initialFocus$$1$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.setInitialFocus", {setInitialFocus:$AdfDhtmlSimpleFloat$$.prototype.setInitialFocus});
$AdfDhtmlSimpleFloat$$.prototype.$activate$ = function $$AdfDhtmlSimpleFloat$$$$$activate$$() {
  this.$raiseToFront$();
  this.$showAsActive$();
  var $shadowAnchor$$1$$ = this.$getShadowAnchor$();
  $AdfDhtmlShadowDecorator$$.$hasShadowDecorator$($shadowAnchor$$1$$) && $AdfDhtmlShadowDecorator$$.$moveShadowDecorator$($shadowAnchor$$1$$);
  $AdfFocusUtils$$.$containsFocus$(this.$GetFocusContent$()) || $AdfFocusUtils$$.$isFocusChangePending$() || this.$FocusOnFirstElement$(!0);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.activate", {$activate$:$AdfDhtmlSimpleFloat$$.prototype.$activate$});
$AdfDhtmlSimpleFloat$$.prototype.$showAsActive$ = function $$AdfDhtmlSimpleFloat$$$$$showAsActive$$() {
  for (var $anchor$$18_containedComponentDomElement$$ = $JSCompiler_StaticMethods__getContainedComponentDomElement$$(this), $childNodes$$3$$ = $anchor$$18_containedComponentDomElement$$.childNodes, $childCount$$4$$ = $childNodes$$3$$.length, $i$$214$$ = 0;$i$$214$$ < $childCount$$4$$;$i$$214$$++) {
    var $childNode$$3$$ = $childNodes$$3$$[$i$$214$$], $childStyle$$3$$ = $childNode$$3$$.style;
    null != $childNode$$3$$.getAttribute($AdfDhtmlSimpleFloat$$.$_BACKGROUND_EXPANDO$) && ($childStyle$$3$$.display = "none");
  }
  $AdfDomUtils$$.$removeCSSClassName$($anchor$$18_containedComponentDomElement$$, $AdfDhtmlSimpleFloat$$.$_INACTIVE_STYLECLASS$);
  this.$raiseToFront$();
  $anchor$$18_containedComponentDomElement$$ = this.$getShadowAnchor$();
  $AdfDhtmlShadowDecorator$$.$hasShadowDecorator$($anchor$$18_containedComponentDomElement$$) && ($AdfDhtmlShadowDecorator$$.$moveShadowDecorator$($anchor$$18_containedComponentDomElement$$), $AdfDhtmlShadowDecorator$$.$showShadowDecorator$($anchor$$18_containedComponentDomElement$$, !0));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.showAsActive", {$showAsActive$:$AdfDhtmlSimpleFloat$$.prototype.$showAsActive$});
$AdfDhtmlSimpleFloat$$.prototype.$showAsInActive$ = function $$AdfDhtmlSimpleFloat$$$$$showAsInActive$$() {
  var $anchor$$19_zIndex$$ = this.$getElement$().style.zIndex, $containedComponentDomElement$$1$$ = $JSCompiler_StaticMethods__getContainedComponentDomElement$$(this);
  if ($containedComponentDomElement$$1$$) {
    for (var $w$$9$$ = $containedComponentDomElement$$1$$.offsetWidth, $h$$8$$ = $containedComponentDomElement$$1$$.offsetHeight, $childNodes$$4$$ = $containedComponentDomElement$$1$$.childNodes, $childCount$$5$$ = $childNodes$$4$$.length, $i$$215$$ = 0, $backgroundIndex$$ = 0;$i$$215$$ < $childCount$$5$$;$i$$215$$++) {
      var $childNode$$4$$ = $childNodes$$4$$[$i$$215$$], $childStyle$$4$$ = $childNode$$4$$.style;
      null != $childNode$$4$$.getAttribute($AdfDhtmlSimpleFloat$$.$_BACKGROUND_EXPANDO$) ? ($childStyle$$4$$.zIndex = $anchor$$19_zIndex$$ - 1, $childStyle$$4$$.marginLeft = $backgroundIndex$$ + "px", $childStyle$$4$$.marginTop = 3 - $backgroundIndex$$ + "px", $childStyle$$4$$.width = Math.max(0, $w$$9$$ - 2 - 2 * $backgroundIndex$$) + "px", $childStyle$$4$$.height = Math.max(0, $h$$8$$ - 2 - 2 * (3 - $backgroundIndex$$)) + "px", $childStyle$$4$$.display = "block", $backgroundIndex$$++) : $childStyle$$4$$.zIndex = 
      $anchor$$19_zIndex$$;
    }
    $AdfDomUtils$$.$addCSSClassName$($containedComponentDomElement$$1$$, $AdfDhtmlSimpleFloat$$.$_INACTIVE_STYLECLASS$);
    $anchor$$19_zIndex$$ = this.$getShadowAnchor$();
    $AdfDhtmlShadowDecorator$$.$hasShadowDecorator$($anchor$$19_zIndex$$) && ($AdfDhtmlShadowDecorator$$.$moveShadowDecorator$($anchor$$19_zIndex$$), $AdfDhtmlShadowDecorator$$.$showShadowDecorator$($anchor$$19_zIndex$$, !0));
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.showAsInActive", {$showAsInActive$:$AdfDhtmlSimpleFloat$$.prototype.$showAsInActive$});
$AdfDhtmlSimpleFloat$$.prototype.$CreateDomElement$ = function $$AdfDhtmlSimpleFloat$$$$$CreateDomElement$$() {
  var $closeLabel$$3_page$$78$$ = $AdfPage$$.$PAGE$, $domDocument$$24_tailElement$$2$$ = $closeLabel$$3_page$$78$$.$getDomDocument$(), $popupDiv$$ = $domDocument$$24_tailElement$$2$$.createElement("div");
  if (this.$NeedsCloseLink$()) {
    var $contentDiv$$1_linkDiv$$2$$ = $domDocument$$24_tailElement$$2$$.createElement("div");
    $popupDiv$$.appendChild($contentDiv$$1_linkDiv$$2$$);
    $closeLabel$$3_page$$78$$ = $closeLabel$$3_page$$78$$.$getLookAndFeel$().$getTranslatedString$("af_popup.TIP_DISMISS");
    $contentDiv$$1_linkDiv$$2$$.innerHTML = '\x3ca href\x3d"javascript:;" style\x3d"position:absolute;top:-999px;" onclick\x3d"var popupDiv \x3d this.parentNode.parentNode;var contentDiv \x3d AdfDomUtils.getChildElements(popupDiv)[1];var label \x3d popupDiv.getAttribute(\'aria-labelledby\');var compId \x3d label.split(\'::\')[0];var comp \x3d AdfPage.PAGE.findComponentByAbsoluteId(compId);var peer \x3d comp.getPeer();peer.bind(comp);peer.Cancel();"\x3e' + $closeLabel$$3_page$$78$$ + "\x3c/a\x3e";
  }
  $contentDiv$$1_linkDiv$$2$$ = $domDocument$$24_tailElement$$2$$.createElement("div");
  $popupDiv$$.appendChild($contentDiv$$1_linkDiv$$2$$);
  this.$SetContentParent$($contentDiv$$1_linkDiv$$2$$);
  $domDocument$$24_tailElement$$2$$ = $domDocument$$24_tailElement$$2$$.createElement("div");
  $domDocument$$24_tailElement$$2$$.setAttribute("role", "presentation");
  $AdfDomUtils$$.$addCSSClassName$($domDocument$$24_tailElement$$2$$, $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_STYLECLASS$);
  $popupDiv$$.appendChild($domDocument$$24_tailElement$$2$$);
  this.$_tailElement$ = $domDocument$$24_tailElement$$2$$;
  return $popupDiv$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.CreateDomElement", {$CreateDomElement$:$AdfDhtmlSimpleFloat$$.prototype.$CreateDomElement$});
$AdfDhtmlSimpleFloat$$.prototype.$SetContentParent$ = function $$AdfDhtmlSimpleFloat$$$$$SetContentParent$$($contentParentElement$$2$$) {
  this.$_contentElement$ = $contentParentElement$$2$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.SetContentParent", {$SetContentParent$:$AdfDhtmlSimpleFloat$$.prototype.$SetContentParent$});
$AdfDhtmlSimpleFloat$$.prototype.$GetContentParent$ = function $$AdfDhtmlSimpleFloat$$$$$GetContentParent$$() {
  return this.$_contentElement$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.GetContentParent", {$GetContentParent$:$AdfDhtmlSimpleFloat$$.prototype.$GetContentParent$});
$AdfDhtmlSimpleFloat$$.prototype.$GetAnimationDurationSkinProperty$ = function $$AdfDhtmlSimpleFloat$$$$$GetAnimationDurationSkinProperty$$() {
  var $peer$$84$$ = $JSCompiler_StaticMethods__getContainedComponentPeer$$(this);
  $AdfAssert$$.$assertPrototype$($peer$$84$$, $AdfRichUIPeer$$);
  return $peer$$84$$.$getAnimationDurationSkinProperty$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.GetAnimationDurationSkinProperty", {$GetAnimationDurationSkinProperty$:$AdfDhtmlSimpleFloat$$.prototype.$GetAnimationDurationSkinProperty$});
$AdfDhtmlSimpleFloat$$.prototype.$GetAnimateSkinProperty$ = function $$AdfDhtmlSimpleFloat$$$$$GetAnimateSkinProperty$$() {
  var $peer$$85$$ = $JSCompiler_StaticMethods__getContainedComponentPeer$$(this);
  $AdfAssert$$.$assertPrototype$($peer$$85$$, $AdfRichUIPeer$$);
  return $peer$$85$$.$getAnimateSkinProperty$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.GetAnimateSkinProperty", {$GetAnimateSkinProperty$:$AdfDhtmlSimpleFloat$$.prototype.$GetAnimateSkinProperty$});
$AdfDhtmlSimpleFloat$$.prototype.$ShouldHideOnClip$ = function $$AdfDhtmlSimpleFloat$$$$$ShouldHideOnClip$$() {
  return !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.ShouldHideOnClip", {$ShouldHideOnClip$:$AdfDhtmlSimpleFloat$$.prototype.$ShouldHideOnClip$});
$AdfDhtmlSimpleFloat$$.prototype.$handleComponentRemoved$ = function $$AdfDhtmlSimpleFloat$$$$$handleComponentRemoved$$() {
  this.$_bindInited$ && ($AdfDhtmlShadowDecorator$$.$removeShadowDecorator$(this.$getShadowAnchor$()), this.$_repositionable$ && (this.$_repositionable$.$destroy$(), delete this.$_repositionable$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.handleComponentRemoved", {$handleComponentRemoved$:$AdfDhtmlSimpleFloat$$.prototype.$handleComponentRemoved$});
$AdfDhtmlSimpleFloat$$.prototype.$handleBindToComponent$ = function $$AdfDhtmlSimpleFloat$$$$$handleBindToComponent$$() {
  if (!this.$_repositionable$) {
    this.$setShadowAnchor$($JSCompiler_StaticMethods__getMainElement$$(this.$getContent$()));
    var $afterAnimation$$2_component$$672$$ = !this.$isAnimating$();
    $afterAnimation$$2_component$$672$$ && this.$CreateShadow$($afterAnimation$$2_component$$672$$);
    if ($afterAnimation$$2_component$$672$$ = $AdfPage$$.$PAGE$.$findComponent$(this.$_containedComponentId$)) {
      var $peer$$86$$ = $afterAnimation$$2_component$$672$$.$getPeer$();
      $peer$$86$$.bind($afterAnimation$$2_component$$672$$);
      this.$setDragElement$($peer$$86$$.$getDragElement$());
      this.$initializeRepositionable$();
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.handleBindToComponent", {$handleBindToComponent$:$AdfDhtmlSimpleFloat$$.prototype.$handleBindToComponent$});
$AdfDhtmlSimpleFloat$$.prototype.$initializeRepositionable$ = function $$AdfDhtmlSimpleFloat$$$$$initializeRepositionable$$() {
  if (!this.$_repositionable$) {
    var $repositionable$$ = this.$_repositionable$ = new $AdfRepositionable$$(this, this.$_dragElement$);
    $repositionable$$.$setDragStartHandler$(this.$_dragStartHandler$);
    $repositionable$$.$setDragEndHandler$(this.$_dragEndHandler$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.initializeRepositionable", {$initializeRepositionable$:$AdfDhtmlSimpleFloat$$.prototype.$initializeRepositionable$});
$AdfDhtmlSimpleFloat$$.prototype.$HandleEscapeKey$ = function $$AdfDhtmlSimpleFloat$$$$$HandleEscapeKey$$($event$$118$$) {
  var $peer$$87$$ = $JSCompiler_StaticMethods__getContainedComponentPeer$$(this);
  $peer$$87$$ && $peer$$87$$.$handleEscapeKey$ ? $peer$$87$$.$handleEscapeKey$($event$$118$$) : $AdfDhtmlSimpleFloat$$.$superclass$.$HandleEscapeKey$.call(this.event);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.HandleEscapeKey", {$HandleEscapeKey$:$AdfDhtmlSimpleFloat$$.prototype.$HandleEscapeKey$});
$AdfDhtmlSimpleFloat$$.prototype.$DoShow$ = function $$AdfDhtmlSimpleFloat$$$$$DoShow$$($hints$$49$$) {
  this.$_bindInited$ || (this.$_bindInited$ = !0, this.$handleBindToComponent$());
  this.$setDragElement$($hints$$49$$.dragElement);
  this.setModal($hints$$49$$.modal);
  var $dialogManager$$3$$ = $AdfDhtmlDialogManager$$.$getInstance$();
  $dialogManager$$3$$.$registerDialog$(this);
  var $leftPercentage$$1_modal$$2_topPercentage$$1$$ = $hints$$49$$.leftPosition;
  $leftPercentage$$1_modal$$2_topPercentage$$1$$ && isNaN($leftPercentage$$1_modal$$2_topPercentage$$1$$) && ($leftPercentage$$1_modal$$2_topPercentage$$1$$ = parseFloat($leftPercentage$$1_modal$$2_topPercentage$$1$$));
  this.$_leftPercentage$ = $leftPercentage$$1_modal$$2_topPercentage$$1$$;
  ($leftPercentage$$1_modal$$2_topPercentage$$1$$ = $hints$$49$$.topPosition) && isNaN($leftPercentage$$1_modal$$2_topPercentage$$1$$) && ($leftPercentage$$1_modal$$2_topPercentage$$1$$ = parseFloat($leftPercentage$$1_modal$$2_topPercentage$$1$$));
  this.$_topPercentage$ = $leftPercentage$$1_modal$$2_topPercentage$$1$$;
  $AdfDhtmlSimpleFloat$$.$superclass$.$DoShow$.call(this, $hints$$49$$);
  this.$_dragElement$ && this.$initializeRepositionable$();
  ($leftPercentage$$1_modal$$2_topPercentage$$1$$ = this.$_modal$) && $AdfPage$$.$PAGE$.$getModalityManager$().$pushModal$(this.$getElement$());
  $hints$$49$$.focus && $dialogManager$$3$$.$activateDialog$(this);
  $leftPercentage$$1_modal$$2_topPercentage$$1$$ && $hints$$49$$.restoreImmediate && $AdfDhtmlSimpleFloat$$.$_isMessageDialogVisible$() && 2 != this.$getZorderScope$() && $AdfPage$$.$PAGE$.$showMessages$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.DoShow", {$DoShow$:$AdfDhtmlSimpleFloat$$.prototype.$DoShow$});
$AdfDhtmlSimpleFloat$$.prototype.show = function $$AdfDhtmlSimpleFloat$$$$show$($hints$$50$$) {
  if ($hints$$50$$ && $hints$$50$$[AdfRichPopup.$HINT_TAIL$] && $hints$$50$$[AdfRichPopup.$HINT_TAIL$] != AdfRichPopup.$TAIL_NONE$) {
    var $capitalizedValue$$1_tailPosition$$2$$ = this.$getInitialPopupTailPosition$($hints$$50$$.align);
    this.$_tailPosition$ = $capitalizedValue$$1_tailPosition$$2$$;
    $AdfDomUtils$$.$addCSSClassName$(this.$_tailElement$, $capitalizedValue$$1_tailPosition$$2$$);
    $capitalizedValue$$1_tailPosition$$2$$ = $hints$$50$$[AdfRichPopup.$HINT_TAIL$].charAt(0).toUpperCase() + $hints$$50$$[AdfRichPopup.$HINT_TAIL$].substring(1);
    $AdfDomUtils$$.$addCSSClassName$(this.$getElement$(), "AFDialogTail" + $capitalizedValue$$1_tailPosition$$2$$);
  } else {
    this.$_tailElement$ = null;
  }
  $AdfDhtmlSimpleFloat$$.$superclass$.show.call(this, $hints$$50$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.show", {show:$AdfDhtmlSimpleFloat$$.prototype.show});
$AdfDhtmlSimpleFloat$$.$_isMessageDialogVisible$ = function $$AdfDhtmlSimpleFloat$$$$_isMessageDialogVisible$$() {
  var $docComp_page$$79_popups$$2$$ = $AdfPage$$.$PAGE$, $count$$16_docId$$ = $docComp_page$$79_popups$$2$$.$getDefaultMessageHandlerComponentId$(), $docComp_page$$79_popups$$2$$ = $docComp_page$$79_popups$$2$$.$findComponent$($count$$16_docId$$), $docComp_page$$79_popups$$2$$ = $docComp_page$$79_popups$$2$$.$getPeer$().$getAllPopups$($docComp_page$$79_popups$$2$$), $count$$16_docId$$ = 0;
  for (i in $docComp_page$$79_popups$$2$$) {
    $count$$16_docId$$++;
  }
  return 0 < $count$$16_docId$$;
};
$AdfDhtmlSimpleFloat$$.prototype.$destroy$ = function $$AdfDhtmlSimpleFloat$$$$$destroy$$() {
  $AdfDhtmlDialogManager$$.$getInstance$().$unregisterDialog$(this);
  var $page$$80$$ = $AdfPage$$.$PAGE$;
  this.$_modal$ && $page$$80$$.$getModalityManager$().$popModal$(this.$getElement$());
  this.$_repositionable$ && (this.$_repositionable$.$destroy$(), delete this.$_repositionable$);
  $AdfDhtmlSimpleFloat$$.$superclass$.$destroy$.call(this);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.destroy", {$destroy$:$AdfDhtmlSimpleFloat$$.prototype.$destroy$});
function $JSCompiler_StaticMethods__getContainedComponentPeer$$($JSCompiler_StaticMethods__getContainedComponentPeer$self_containedComponent$$1$$) {
  var $containedPeer$$ = null;
  null != $JSCompiler_StaticMethods__getContainedComponentPeer$self_containedComponent$$1$$.$_containedComponentId$ && ($JSCompiler_StaticMethods__getContainedComponentPeer$self_containedComponent$$1$$ = $AdfPage$$.$PAGE$.$findComponent$($JSCompiler_StaticMethods__getContainedComponentPeer$self_containedComponent$$1$$.$_containedComponentId$), null != $JSCompiler_StaticMethods__getContainedComponentPeer$self_containedComponent$$1$$ && ($containedPeer$$ = $JSCompiler_StaticMethods__getContainedComponentPeer$self_containedComponent$$1$$.$getPeer$(), 
  $containedPeer$$.bind($JSCompiler_StaticMethods__getContainedComponentPeer$self_containedComponent$$1$$)));
  return $containedPeer$$;
}
function $JSCompiler_StaticMethods__getContainedComponentDomElement$$($JSCompiler_StaticMethods__getContainedComponentDomElement$self_containedPeer$$1$$) {
  $JSCompiler_StaticMethods__getContainedComponentDomElement$self_containedPeer$$1$$ = $JSCompiler_StaticMethods__getContainedComponentPeer$$($JSCompiler_StaticMethods__getContainedComponentDomElement$self_containedPeer$$1$$);
  return null != $JSCompiler_StaticMethods__getContainedComponentDomElement$self_containedPeer$$1$$ ? $JSCompiler_StaticMethods__getContainedComponentDomElement$self_containedPeer$$1$$.$getDomElement$() : null;
}
$AdfDhtmlSimpleFloat$$.prototype.$_dragStartHandler$ = function $$AdfDhtmlSimpleFloat$$$$$_dragStartHandler$$() {
  var $containedComponentDomElement$$2$$ = $JSCompiler_StaticMethods__getContainedComponentDomElement$$(this);
  $AdfDomUtils$$.$addCSSClassName$($containedComponentDomElement$$2$$, $AdfDhtmlSimpleFloat$$.$_DRAG_STYLECLASS$);
  $AdfDhtmlShadowDecorator$$.$hasShadowDecorator$(this.$getShadowAnchor$()) && $AdfDhtmlShadowDecorator$$.$showShadowDecorator$(this.$getShadowAnchor$(), !1);
  this.$_isDragging$ = !0;
  this.$getAlignElement$() && (this.$setAlignElement$(null), this.$Position$(AdfRichPopup.$ALIGN_OVERLAP$));
};
$AdfDhtmlSimpleFloat$$.prototype.$_dragEndHandler$ = function $$AdfDhtmlSimpleFloat$$$$$_dragEndHandler$$() {
  var $containedComponentDomElement$$3$$ = $JSCompiler_StaticMethods__getContainedComponentDomElement$$(this);
  $AdfDomUtils$$.$removeCSSClassName$($containedComponentDomElement$$3$$, $AdfDhtmlSimpleFloat$$.$_DRAG_STYLECLASS$);
  $AdfDhtmlShadowDecorator$$.$hasShadowDecorator$(this.$getShadowAnchor$()) && $AdfDhtmlShadowDecorator$$.$showShadowDecorator$(this.$getShadowAnchor$(), !0);
  delete this.$_isDragging$;
  this.setPosition(this.$getTop$(), this.$getLeft$());
};
$AdfDhtmlSimpleFloat$$.prototype.$handleActivate$ = function $$AdfDhtmlSimpleFloat$$$$$handleActivate$$($focusOnFirstElement$$1$$) {
  var $mgr$$ = $AdfDhtmlDialogManager$$.$getInstance$();
  return $mgr$$.$getActiveDialog$() == this ? !1 : $mgr$$.$activateDialog$(this) ? ($focusOnFirstElement$$1$$ && this.$FocusOnFirstElement$(), !0) : !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.handleActivate", {$handleActivate$:$AdfDhtmlSimpleFloat$$.prototype.$handleActivate$});
$AdfDhtmlSimpleFloat$$.prototype.$isAnimating$ = function $$AdfDhtmlSimpleFloat$$$$$isAnimating$$() {
  return this.$_isDragging$ ? !0 : $AdfDhtmlSimpleFloat$$.$superclass$.$isAnimating$.call(this);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.isAnimating", {$isAnimating$:$AdfDhtmlSimpleFloat$$.prototype.$isAnimating$});
$AdfDhtmlSimpleFloat$$.prototype.$setDragging$ = function $$AdfDhtmlSimpleFloat$$$$$setDragging$$($dragging$$) {
  this.$_isDragging$ = $dragging$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.setDragging", {$setDragging$:$AdfDhtmlSimpleFloat$$.prototype.$setDragging$});
$AdfDhtmlSimpleFloat$$.prototype.$setShadowVisibility$ = function $$AdfDhtmlSimpleFloat$$$$$setShadowVisibility$$($visible$$) {
  var $shadowAnchor$$2$$ = this.$getShadowAnchor$();
  $visible$$ ? $AdfDhtmlShadowDecorator$$.$hasShadowDecorator$($shadowAnchor$$2$$) || $AdfDhtmlShadowDecorator$$.$createShadowDecorator$($shadowAnchor$$2$$, this.$getElement$().parentNode) : $AdfDhtmlShadowDecorator$$.$hasShadowDecorator$($shadowAnchor$$2$$) && $AdfDhtmlShadowDecorator$$.$removeShadowDecorator$(this.$getShadowAnchor$());
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.setShadowVisibility", {$setShadowVisibility$:$AdfDhtmlSimpleFloat$$.prototype.$setShadowVisibility$});
$AdfDhtmlSimpleFloat$$.prototype.$getAlignPosition$ = function $$AdfDhtmlSimpleFloat$$$$$getAlignPosition$$() {
  if (this.$getAlignElement$()) {
    return null;
  }
  var $agent$$145_w$$10$$ = $AdfAgent$$.$AGENT$, $dir$$2_isRTL$$2$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $windowHeight$$7_ydelta$$2$$ = $agent$$145_w$$10$$.getWindowHeight(), $windowWidth$$7_xdelta$$2$$ = $agent$$145_w$$10$$.getWindowWidth(), $docScrollTop$$1$$ = $agent$$145_w$$10$$.$getBrowserViewportScrollTop$(), $docScrollLeft$$1_pos$$15$$ = $agent$$145_w$$10$$.$getBrowserViewportScrollLeft$();
  0 < $docScrollTop$$1$$ && $agent$$145_w$$10$$.$getPlatform$() == $AdfAgent$$.$GECKO_PLATFORM$ && ($windowHeight$$7_ydelta$$2$$ = Math.min($windowHeight$$7_ydelta$$2$$, $agent$$145_w$$10$$.$getDomDocument$().body.clientHeight));
  var $agent$$145_w$$10$$ = this.getWidth(), $h$$9$$ = this.getHeight(), $top$$12_topPercentage$$2$$ = this.$_topPercentage$, $left$$12_leftPercentage$$2$$ = this.$_leftPercentage$;
  $left$$12_leftPercentage$$2$$ || ($left$$12_leftPercentage$$2$$ = .5);
  $top$$12_topPercentage$$2$$ || ($top$$12_topPercentage$$2$$ = .5);
  $dir$$2_isRTL$$2$$ = $dir$$2_isRTL$$2$$ ? -1 : 1;
  $top$$12_topPercentage$$2$$ = Math.max(0, Math.round($windowHeight$$7_ydelta$$2$$ * $top$$12_topPercentage$$2$$ - $h$$9$$ / 2)) + $docScrollTop$$1$$;
  $left$$12_leftPercentage$$2$$ = Math.max(0, Math.round($windowWidth$$7_xdelta$$2$$ * $left$$12_leftPercentage$$2$$ - $agent$$145_w$$10$$ / 2 * $dir$$2_isRTL$$2$$)) + $dir$$2_isRTL$$2$$ * $docScrollLeft$$1_pos$$15$$;
  $windowHeight$$7_ydelta$$2$$ = $windowHeight$$7_ydelta$$2$$ + $docScrollTop$$1$$ - ($top$$12_topPercentage$$2$$ + $h$$9$$);
  0 > $windowHeight$$7_ydelta$$2$$ && ($top$$12_topPercentage$$2$$ = Math.max($docScrollTop$$1$$, $top$$12_topPercentage$$2$$ + $windowHeight$$7_ydelta$$2$$));
  $windowWidth$$7_xdelta$$2$$ = $windowWidth$$7_xdelta$$2$$ + $docScrollLeft$$1_pos$$15$$ - ($left$$12_leftPercentage$$2$$ + $dir$$2_isRTL$$2$$ * $agent$$145_w$$10$$);
  0 > $windowWidth$$7_xdelta$$2$$ && ($left$$12_leftPercentage$$2$$ = Math.max($docScrollLeft$$1_pos$$15$$, $left$$12_leftPercentage$$2$$ + $windowWidth$$7_xdelta$$2$$));
  $docScrollLeft$$1_pos$$15$$ = {y:$top$$12_topPercentage$$2$$, x:$left$$12_leftPercentage$$2$$};
  this.$setAlignPosition$($docScrollLeft$$1_pos$$15$$);
  return $docScrollLeft$$1_pos$$15$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.getAlignPosition", {$getAlignPosition$:$AdfDhtmlSimpleFloat$$.prototype.$getAlignPosition$});
$AdfDhtmlSimpleFloat$$.prototype.setPosition = function $$AdfDhtmlSimpleFloat$$$$setPosition$($positionTop$$1$$, $positionLeft$$1$$) {
  if (this.$getAlignElement$()) {
    $AdfDhtmlSimpleFloat$$.$superclass$.setPosition.call(this, $positionTop$$1$$, $positionLeft$$1$$);
  } else {
    if (this.$isAnimating$()) {
      var $agent$$146_thisWidth$$ = $AdfAgent$$.$AGENT$, $leftPercentage$$3_windowHeight$$8$$ = $agent$$146_thisWidth$$.getWindowHeight(), $popup$$7_popupId$$23_windowWidth$$8$$ = $agent$$146_thisWidth$$.getWindowWidth(), $docScrollTop$$2_hints$$51$$ = $agent$$146_thisWidth$$.$getBrowserViewportScrollTop$(), $docScrollLeft$$2$$ = $agent$$146_thisWidth$$.$getBrowserViewportScrollLeft$();
      0 < $docScrollTop$$2_hints$$51$$ && $agent$$146_thisWidth$$.$getPlatform$() == $AdfAgent$$.$GECKO_PLATFORM$ && ($leftPercentage$$3_windowHeight$$8$$ = Math.min($leftPercentage$$3_windowHeight$$8$$, $agent$$146_thisWidth$$.$getDomDocument$().body.clientHeight));
      var $thisHeight$$ = this.getHeight(), $agent$$146_thisWidth$$ = this.getWidth(), $topPercentage$$3$$ = 0;
      $leftPercentage$$3_windowHeight$$8$$ > $thisHeight$$ && ($topPercentage$$3$$ = ($positionTop$$1$$ - $docScrollTop$$2_hints$$51$$ + $thisHeight$$ / 2) / $leftPercentage$$3_windowHeight$$8$$);
      $leftPercentage$$3_windowHeight$$8$$ = 0;
      $popup$$7_popupId$$23_windowWidth$$8$$ > $agent$$146_thisWidth$$ && ($leftPercentage$$3_windowHeight$$8$$ = ($positionLeft$$1$$ - $docScrollLeft$$2$$ + $agent$$146_thisWidth$$ / 2) / $popup$$7_popupId$$23_windowWidth$$8$$);
      !isNaN($topPercentage$$3$$) && !isNaN($leftPercentage$$3_windowHeight$$8$$) && 1 > $topPercentage$$3$$ && 1 > $leftPercentage$$3_windowHeight$$8$$ && (this.$_topPercentage$ = $topPercentage$$3$$, this.$_leftPercentage$ = $leftPercentage$$3_windowHeight$$8$$, $AdfDhtmlSimpleFloat$$.$superclass$.setPosition.call(this, 0 == $topPercentage$$3$$ ? $docScrollTop$$2_hints$$51$$ : $positionTop$$1$$, 0 == $leftPercentage$$3_windowHeight$$8$$ ? $docScrollLeft$$2$$ : $positionLeft$$1$$));
    } else {
      $popup$$7_popupId$$23_windowWidth$$8$$ = this.$getPopupClientId$(), $AdfAssert$$.$assertString$($popup$$7_popupId$$23_windowWidth$$8$$), ($popup$$7_popupId$$23_windowWidth$$8$$ = $AdfPage$$.$PAGE$.$findComponent$($popup$$7_popupId$$23_windowWidth$$8$$)) && $popup$$7_popupId$$23_windowWidth$$8$$ instanceof AdfRichPopup && ($docScrollTop$$2_hints$$51$$ = {}, $docScrollTop$$2_hints$$51$$.leftPosition = this.$_leftPercentage$, $docScrollTop$$2_hints$$51$$.topPosition = this.$_topPercentage$, $docScrollTop$$2_hints$$51$$[AdfRichPopup.$HINT_ALIGN$] = 
      AdfRichPopup.$ALIGN_OVERLAP$, $docScrollTop$$2_hints$$51$$[AdfRichPopup.$HINT_ALIGN_ID$] = "", $popup$$7_popupId$$23_windowWidth$$8$$.$getPeer$().$syncPrivateProperties$($popup$$7_popupId$$23_windowWidth$$8$$, $docScrollTop$$2_hints$$51$$, !0)), $AdfDhtmlSimpleFloat$$.$superclass$.setPosition.call(this, $positionTop$$1$$, $positionLeft$$1$$);
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.setPosition", {setPosition:$AdfDhtmlSimpleFloat$$.prototype.setPosition});
$AdfDhtmlSimpleFloat$$.prototype.$getFirstTabStop$ = function $$AdfDhtmlSimpleFloat$$$$$getFirstTabStop$$() {
  return this.$GetFocusContent$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSimpleFloat.prototype.getFirstTabStop", {$getFirstTabStop$:$AdfDhtmlSimpleFloat$$.prototype.$getFirstTabStop$});
