$AdfDhtmlMenuPeer$$.$_SUB_ID_MAP$ = {scroll_up_button:"ScrollUp", scroll_down_button:"ScrollDown", popup:"menu", close_button:"close", detach_handle:"handle", popup_scroll_box:"ScrollBox"};
$AdfDhtmlMenuPeer$$.prototype.$GetSubIdDomElement$ = function $$AdfDhtmlMenuPeer$$$$$GetSubIdDomElement$$($subElementId$$26$$) {
  var $component$$1828$$ = this.$getComponent$(), $childElement$$30_rootElement$$151$$ = $AdfSubIdUtils$$.$getSubIdDomElementByMappedSubId$($subElementId$$26$$, $AdfDhtmlMenuPeer$$.$_SUB_ID_MAP$, $component$$1828$$);
  if($childElement$$30_rootElement$$151$$) {
    return $childElement$$30_rootElement$$151$$
  }
  $childElement$$30_rootElement$$151$$ = this.$getDomElement$();
  return $AdfMenuSubIdUtils$$.$getMenuItemElement$($component$$1828$$, $childElement$$30_rootElement$$151$$, $subElementId$$26$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlMenuPeer.prototype.GetSubIdDomElement", {$GetSubIdDomElement$:$AdfDhtmlMenuPeer$$.prototype.$GetSubIdDomElement$});
$AdfDhtmlMenuPeer$$.prototype.$GetBestMatchSubId$ = function $$AdfDhtmlMenuPeer$$$$$GetBestMatchSubId$$($childElement$$31_clientSubId$$3$$) {
  var $component$$1829_subId$$44_subIdMap$$1$$ = this.$getComponent$(), $idx$$2_rootElement$$152$$ = this.$getDomElement$(), $component$$1829_subId$$44_subIdMap$$1$$ = $AdfMenuSubIdUtils$$.$getMenuItemBestMatchSubId$($component$$1829_subId$$44_subIdMap$$1$$, $idx$$2_rootElement$$152$$, $childElement$$31_clientSubId$$3$$);
  if($component$$1829_subId$$44_subIdMap$$1$$ != $JSCompiler_alias_NULL$$) {
    return $component$$1829_subId$$44_subIdMap$$1$$
  }
  $component$$1829_subId$$44_subIdMap$$1$$ = $AdfSubIdUtils$$.$getBestMatchSubId$($childElement$$31_clientSubId$$3$$, this, $AdfDhtmlMenuPeer$$.$_SUB_ID_MAP$);
  if($component$$1829_subId$$44_subIdMap$$1$$ != $JSCompiler_alias_NULL$$) {
    return $component$$1829_subId$$44_subIdMap$$1$$
  }
  if($childElement$$31_clientSubId$$3$$ && $childElement$$31_clientSubId$$3$$.id && ($idx$$2_rootElement$$152$$ = $childElement$$31_clientSubId$$3$$.id.lastIndexOf("::"), 0 < $idx$$2_rootElement$$152$$ && $childElement$$31_clientSubId$$3$$.id.substr(0, $idx$$2_rootElement$$152$$) == this.$getComponent$().$getClientId$())) {
    $component$$1829_subId$$44_subIdMap$$1$$ = $AdfDhtmlMenuPeer$$.$_SUB_ID_MAP$;
    $childElement$$31_clientSubId$$3$$ = $childElement$$31_clientSubId$$3$$.id.substr($idx$$2_rootElement$$152$$ + 2);
    for(var $extSubId$$ in $component$$1829_subId$$44_subIdMap$$1$$) {
      if($component$$1829_subId$$44_subIdMap$$1$$[$extSubId$$] == $childElement$$31_clientSubId$$3$$) {
        return $extSubId$$
      }
    }
  }
  return $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlMenuPeer.prototype.GetBestMatchSubId", {$GetBestMatchSubId$:$AdfDhtmlMenuPeer$$.prototype.$GetBestMatchSubId$});
