function $AdfDhtmlTooltipManager$$() {
  this.Init()
}
$goog$exportSymbol$$("AdfDhtmlTooltipManager", $AdfDhtmlTooltipManager$$);
$AdfObject$$.$createSubclass$($AdfDhtmlTooltipManager$$);
$AdfDhtmlTooltipManager$$.prototype.Init = function $$AdfDhtmlTooltipManager$$$$Init$() {
  $AdfDhtmlTooltipManager$$.$superclass$.Init.call(this)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTooltipManager.prototype.Init", {Init:$AdfDhtmlTooltipManager$$.prototype.Init});
$AdfDhtmlTooltipManager$$.$_handleMouseMove$ = function $$AdfDhtmlTooltipManager$$$$_handleMouseMove$$($evt$$64_pageX$$inline_778$$) {
  var $bounds$$inline_780_myInstance$$ = $AdfDhtmlTooltipManager$$.$_theInstance$;
  if($bounds$$inline_780_myInstance$$.$_rollOverBoundsChecker$) {
    var $pageY$$inline_779_pos$$15$$ = $AdfAgent$$.$AGENT$.$getMousePosition$($evt$$64_pageX$$inline_778$$);
    $evt$$64_pageX$$inline_778$$ = $pageY$$inline_779_pos$$15$$.x;
    $pageY$$inline_779_pos$$15$$ = $pageY$$inline_779_pos$$15$$.y;
    $bounds$$inline_780_myInstance$$ = $bounds$$inline_780_myInstance$$.$_rollOverBoundsChecker$;
    ($evt$$64_pageX$$inline_778$$ < $bounds$$inline_780_myInstance$$.left || $evt$$64_pageX$$inline_778$$ > $bounds$$inline_780_myInstance$$.right || $pageY$$inline_779_pos$$15$$ < $bounds$$inline_780_myInstance$$.top || $pageY$$inline_779_pos$$15$$ > $bounds$$inline_780_myInstance$$.bottom) && $bounds$$inline_780_myInstance$$.$notify$()
  }
};
$AdfDhtmlTooltipManager$$.prototype.$showRollOverLabel$ = function $$AdfDhtmlTooltipManager$$$$$showRollOverLabel$$($boundsCheck_containerElement$$) {
  $AdfAssert$$.$assertDomElement$($boundsCheck_containerElement$$);
  if($boundsCheck_containerElement$$ != this.$_currRollOverTarget$) {
    this.$_currRollOverTarget$ = $boundsCheck_containerElement$$;
    var $agent$$93$$ = $AdfAgent$$.$AGENT$, $domDocument$$25_rollOverTop$$ = $agent$$93$$.$getDomDocument$();
    $agent$$93$$.$addBubbleEventListener$($domDocument$$25_rollOverTop$$, "mousemove", $AdfDhtmlTooltipManager$$.$_handleMouseMove$);
    var $pos$$16_rollOverLeft$$ = $agent$$93$$.$getElementPosition$($boundsCheck_containerElement$$), $domDocument$$25_rollOverTop$$ = $pos$$16_rollOverLeft$$.y, $pos$$16_rollOverLeft$$ = $pos$$16_rollOverLeft$$.x;
    this.$_offsetLeft$ != $JSCompiler_alias_NULL$$ && ($domDocument$$25_rollOverTop$$ -= this.$_offsetTop$, $pos$$16_rollOverLeft$$ -= this.$_offsetLeft$);
    var $rollOverWindow$$ = $JSCompiler_StaticMethods__getRollOverWindow$$(this), $contentNode$$12_oX$$ = $boundsCheck_containerElement$$.cloneNode($JSCompiler_alias_TRUE$$);
    $agent$$93$$.$modifyIdsInDomSubTree$($contentNode$$12_oX$$, $JSCompiler_alias_FALSE$$, "_afrtt");
    $rollOverWindow$$.$setContent$($contentNode$$12_oX$$);
    $rollOverWindow$$.show($domDocument$$25_rollOverTop$$, $pos$$16_rollOverLeft$$);
    if(this.$_offsetLeft$ == $JSCompiler_alias_NULL$$) {
      var $oY_ttStyle$$ = $agent$$93$$.getComputedStyle($rollOverWindow$$.$getElement$()), $contentNode$$12_oX$$ = this.$_offsetLeft$ = $AdfAgent$$.$getCSSLengthAsInt$($oY_ttStyle$$.borderLeftWidth) + $AdfAgent$$.$getCSSLengthAsInt$($oY_ttStyle$$.paddingLeft), $oY_ttStyle$$ = this.$_offsetTop$ = $AdfAgent$$.$getCSSLengthAsInt$($oY_ttStyle$$.borderTopWidth) + $AdfAgent$$.$getCSSLengthAsInt$($oY_ttStyle$$.paddingTop);
      $rollOverWindow$$.setPosition($domDocument$$25_rollOverTop$$ - $oY_ttStyle$$, $pos$$16_rollOverLeft$$ - $contentNode$$12_oX$$)
    }
    $boundsCheck_containerElement$$ = $agent$$93$$.$getElementPageBounds$($boundsCheck_containerElement$$);
    $boundsCheck_containerElement$$.$notify$ = this.$_hideRollOverCallback$;
    this.$_rollOverBoundsChecker$ = $boundsCheck_containerElement$$
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTooltipManager.prototype.showRollOverLabel", {$showRollOverLabel$:$AdfDhtmlTooltipManager$$.prototype.$showRollOverLabel$});
$AdfDhtmlTooltipManager$$.prototype.$hideRollOverLabel$ = function $$AdfDhtmlTooltipManager$$$$$hideRollOverLabel$$() {
  var $agent$$94_rollOverWindow$$1$$ = $JSCompiler_StaticMethods__getRollOverWindow$$(this);
  $agent$$94_rollOverWindow$$1$$ && ($agent$$94_rollOverWindow$$1$$.$hide$(), $agent$$94_rollOverWindow$$1$$.$destroy$(), this.$_rollOverWindow$ = $JSCompiler_alias_NULL$$);
  this.$_rollOverBoundsChecker$ = this.$_currRollOverTarget$ = $JSCompiler_alias_NULL$$;
  var $agent$$94_rollOverWindow$$1$$ = $AdfAgent$$.$AGENT$, $domDocument$$26$$ = $agent$$94_rollOverWindow$$1$$.$getDomDocument$();
  $agent$$94_rollOverWindow$$1$$.$removeBubbleEventListener$($domDocument$$26$$, "mousemove", $AdfDhtmlTooltipManager$$.$_handleMouseMove$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTooltipManager.prototype.hideRollOverLabel", {$hideRollOverLabel$:$AdfDhtmlTooltipManager$$.prototype.$hideRollOverLabel$});
function $JSCompiler_StaticMethods__getRollOverWindow$$($JSCompiler_StaticMethods__getRollOverWindow$self$$) {
  var $rollOverWindow$$2$$ = $JSCompiler_StaticMethods__getRollOverWindow$self$$.$_rollOverWindow$, $agent$$95$$ = $AdfAgent$$.$getAgent$();
  if($rollOverWindow$$2$$) {
    var $domDocument$$27_redistributeRollOverCallback$$ = $agent$$95$$.$getDomDocument$(), $element$$158_rollOverElem$$ = $rollOverWindow$$2$$.$getElement$();
    $AdfDomUtils$$.$isAncestor$($domDocument$$27_redistributeRollOverCallback$$, $element$$158_rollOverElem$$) || ($rollOverWindow$$2$$.$hide$(), $rollOverWindow$$2$$.$destroy$(), $JSCompiler_StaticMethods__getRollOverWindow$self$$.$_rollOverWindow$ = $rollOverWindow$$2$$ = $JSCompiler_alias_NULL$$)
  }
  $rollOverWindow$$2$$ || ($rollOverWindow$$2$$ = new $AdfDhtmlTooltip$$, $domDocument$$27_redistributeRollOverCallback$$ = $JSCompiler_StaticMethods__getRollOverWindow$self$$.$createCallback$($JSCompiler_StaticMethods__getRollOverWindow$self$$.$_redistributeRollOverCallback$), $element$$158_rollOverElem$$ = $rollOverWindow$$2$$.$getElement$(), $element$$158_rollOverElem$$.onmousedown = $domDocument$$27_redistributeRollOverCallback$$, $element$$158_rollOverElem$$.onmouseup = $domDocument$$27_redistributeRollOverCallback$$, 
  $element$$158_rollOverElem$$.onclick = $domDocument$$27_redistributeRollOverCallback$$, $element$$158_rollOverElem$$.ondblclick = $domDocument$$27_redistributeRollOverCallback$$, $element$$158_rollOverElem$$.oncontextmenu = $domDocument$$27_redistributeRollOverCallback$$, $agent$$95$$.$disableUserSelect$($element$$158_rollOverElem$$), $JSCompiler_StaticMethods__getRollOverWindow$self$$.$_rollOverWindow$ = $rollOverWindow$$2$$);
  return $rollOverWindow$$2$$
}
$AdfDhtmlTooltipManager$$.prototype.$_hideRollOverCallback$ = function $$AdfDhtmlTooltipManager$$$$$_hideRollOverCallback$$() {
  $AdfDhtmlTooltipManager$$.$getInstance$().$hideRollOverLabel$()
};
$AdfDhtmlTooltipManager$$.prototype.$_redistributeRollOverCallback$ = function $$AdfDhtmlTooltipManager$$$$$_redistributeRollOverCallback$$($event$$97$$) {
  $event$$97$$ || ($event$$97$$ = window.event);
  if(this.$_currRollOverTarget$) {
    var $agent$$96$$ = $AdfAgent$$.$AGENT$, $agent$$inline_784_dispatchTarget$$, $currRollOverTarget$$inline_787_event$$inline_783_newEvent$$12$$ = $event$$97$$;
    $agent$$inline_784_dispatchTarget$$ = $AdfAgent$$.$getAgent$();
    var $target$$inline_785_theParentNode$$inline_790$$ = $agent$$inline_784_dispatchTarget$$.$getEventTarget$($currRollOverTarget$$inline_787_event$$inline_783_newEvent$$12$$), $actualId$$inline_791_clickOnValidHref_targetId$$inline_786$$ = $target$$inline_785_theParentNode$$inline_790$$.id, $dispatchEventTarget$$inline_788_href$$9$$ = $currRollOverTarget$$inline_787_event$$inline_783_newEvent$$12$$ = this.$_currRollOverTarget$;
    if($currRollOverTarget$$inline_787_event$$inline_783_newEvent$$12$$) {
      for(var $tooltipRoot$$inline_789$$ = this.$_rollOverWindow$.$getElement$();$target$$inline_785_theParentNode$$inline_790$$ != $tooltipRoot$$inline_789$$ && ($actualId$$inline_791_clickOnValidHref_targetId$$inline_786$$ == $JSCompiler_alias_NULL$$ || "" == $actualId$$inline_791_clickOnValidHref_targetId$$inline_786$$);) {
        $target$$inline_785_theParentNode$$inline_790$$ = $target$$inline_785_theParentNode$$inline_790$$.parentNode;
        if($target$$inline_785_theParentNode$$inline_790$$ == $JSCompiler_alias_NULL$$) {
          break
        }
        $actualId$$inline_791_clickOnValidHref_targetId$$inline_786$$ = $target$$inline_785_theParentNode$$inline_790$$.id
      }
      $actualId$$inline_791_clickOnValidHref_targetId$$inline_786$$ != $JSCompiler_alias_NULL$$ && "" != $actualId$$inline_791_clickOnValidHref_targetId$$inline_786$$ && ($actualId$$inline_791_clickOnValidHref_targetId$$inline_786$$ = $actualId$$inline_791_clickOnValidHref_targetId$$inline_786$$.replace(/::_afrtt/, ""), $dispatchEventTarget$$inline_788_href$$9$$ = $agent$$inline_784_dispatchTarget$$.getElementById($actualId$$inline_791_clickOnValidHref_targetId$$inline_786$$))
    }
    $dispatchEventTarget$$inline_788_href$$9$$ || ($dispatchEventTarget$$inline_788_href$$9$$ = $currRollOverTarget$$inline_787_event$$inline_783_newEvent$$12$$);
    if($agent$$inline_784_dispatchTarget$$ = $dispatchEventTarget$$inline_788_href$$9$$) {
      $currRollOverTarget$$inline_787_event$$inline_783_newEvent$$12$$ = $agent$$96$$.$copyEvent$($event$$97$$);
      if($actualId$$inline_791_clickOnValidHref_targetId$$inline_786$$ = "click" == $event$$97$$.type && "A" == $agent$$96$$.$getNodeName$($agent$$inline_784_dispatchTarget$$) && $agent$$inline_784_dispatchTarget$$.href && "" != $agent$$inline_784_dispatchTarget$$.href) {
        $dispatchEventTarget$$inline_788_href$$9$$ = $agent$$inline_784_dispatchTarget$$.href, "#" == $dispatchEventTarget$$inline_788_href$$9$$.charAt($dispatchEventTarget$$inline_788_href$$9$$.length - 1) && -1 != $dispatchEventTarget$$inline_788_href$$9$$.indexOf($agent$$96$$.$getDomWindow$().location.pathname) && ($actualId$$inline_791_clickOnValidHref_targetId$$inline_786$$ = $JSCompiler_alias_FALSE$$)
      }
      $actualId$$inline_791_clickOnValidHref_targetId$$inline_786$$ || $agent$$96$$.$eatEvent$($event$$97$$);
      $agent$$96$$.dispatchEvent($agent$$inline_784_dispatchTarget$$, $currRollOverTarget$$inline_787_event$$inline_783_newEvent$$12$$)
    }
    return $JSCompiler_alias_TRUE$$
  }
};
$AdfDhtmlTooltipManager$$.$getInstance$ = function $$AdfDhtmlTooltipManager$$$$getInstance$$() {
  this.$_theInstance$ == $JSCompiler_alias_NULL$$ && (this.$_theInstance$ = new $AdfDhtmlTooltipManager$$);
  return this.$_theInstance$
};
$goog$exportSymbol$$("AdfDhtmlTooltipManager.getInstance", $AdfDhtmlTooltipManager$$.$getInstance$);
