$AdfDhtmlTrainButtonBarPeer$$.prototype.$GetSubIdDomElement$ = function $$AdfDhtmlTrainButtonBarPeer$$$$$GetSubIdDomElement$$($subElementId$$55_subId$$59$$) {
  $AdfAssert$$.$assertNonEmptyString$($subElementId$$55_subId$$59$$);
  var $buttonLocator_rootElement$$155$$ = this.$getDomElement$(), $childElements$$14_component$$1856$$ = $buttonLocator_rootElement$$155$$.getElementsByTagName("div");
  if(!$childElements$$14_component$$1856$$ || 0 == $childElements$$14_component$$1856$$.length) {
    $childElements$$14_component$$1856$$ = $buttonLocator_rootElement$$155$$.getElementsByTagName("button")
  }
  if("back_button" == $subElementId$$55_subId$$59$$) {
    return $childElements$$14_component$$1856$$[0]
  }
  if("next_button" == $subElementId$$55_subId$$59$$) {
    return $childElements$$14_component$$1856$$[1]
  }
  var $startIndex$$21$$ = $subElementId$$55_subId$$59$$.indexOf("#");
  if(-1 < $startIndex$$21$$) {
    $buttonLocator_rootElement$$155$$ = $subElementId$$55_subId$$59$$.substring(0, $startIndex$$21$$);
    $subElementId$$55_subId$$59$$ = $subElementId$$55_subId$$59$$.substring($startIndex$$21$$ + 1);
    var $buttonElementId_peer$$193$$;
    "back_button" == $buttonLocator_rootElement$$155$$ ? $buttonElementId_peer$$193$$ = $childElements$$14_component$$1856$$[0].id : "next_button" == $buttonLocator_rootElement$$155$$ && ($buttonElementId_peer$$193$$ = $childElements$$14_component$$1856$$[1].id);
    if($buttonElementId_peer$$193$$) {
      return $childElements$$14_component$$1856$$ = $AdfPage$$.$PAGE$.$findComponent$($buttonElementId_peer$$193$$), $buttonElementId_peer$$193$$ = $childElements$$14_component$$1856$$.$getPeer$(), $buttonElementId_peer$$193$$.bind($childElements$$14_component$$1856$$), $buttonElementId_peer$$193$$.$GetSubIdDomElement$($subElementId$$55_subId$$59$$)
    }
  }
  return $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTrainButtonBarPeer.prototype.GetSubIdDomElement", {$GetSubIdDomElement$:$AdfDhtmlTrainButtonBarPeer$$.prototype.$GetSubIdDomElement$});
$AdfDhtmlTrainButtonBarPeer$$.prototype.$GetBestMatchSubId$ = function $$AdfDhtmlTrainButtonBarPeer$$$$$GetBestMatchSubId$$($buttonSubId_domElement$$606$$) {
  var $rootElement$$156_subId$$60$$ = this.$getDomElement$(), $childElements$$15_component$$1857$$ = $rootElement$$156_subId$$60$$.getElementsByTagName("div");
  if(!$childElements$$15_component$$1857$$ || 0 == $childElements$$15_component$$1857$$.length) {
    $childElements$$15_component$$1857$$ = $rootElement$$156_subId$$60$$.getElementsByTagName("button")
  }
  if($buttonSubId_domElement$$606$$ == $childElements$$15_component$$1857$$[0]) {
    return"back_button"
  }
  if($buttonSubId_domElement$$606$$ == $childElements$$15_component$$1857$$[1]) {
    return"next_button"
  }
  var $buttonComponentId_peer$$194$$, $rootElement$$156_subId$$60$$ = $JSCompiler_alias_NULL$$;
  $AdfDomUtils$$.$isAncestor$($childElements$$15_component$$1857$$[0], $buttonSubId_domElement$$606$$) ? ($buttonComponentId_peer$$194$$ = $childElements$$15_component$$1857$$[0].id, $rootElement$$156_subId$$60$$ = "back_button") : $AdfDomUtils$$.$isAncestor$($childElements$$15_component$$1857$$[1], $buttonSubId_domElement$$606$$) && ($buttonComponentId_peer$$194$$ = $childElements$$15_component$$1857$$[1].id, $rootElement$$156_subId$$60$$ = "next_button");
  $buttonComponentId_peer$$194$$ && ($childElements$$15_component$$1857$$ = $AdfPage$$.$PAGE$.$findComponent$($buttonComponentId_peer$$194$$), $buttonComponentId_peer$$194$$ = $childElements$$15_component$$1857$$.$getPeer$(), $buttonComponentId_peer$$194$$.bind($childElements$$15_component$$1857$$), ($buttonSubId_domElement$$606$$ = $buttonComponentId_peer$$194$$.$GetBestMatchSubId$($buttonSubId_domElement$$606$$)) && ($rootElement$$156_subId$$60$$ = $rootElement$$156_subId$$60$$ + "#" + $buttonSubId_domElement$$606$$));
  return $rootElement$$156_subId$$60$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTrainButtonBarPeer.prototype.GetBestMatchSubId", {$GetBestMatchSubId$:$AdfDhtmlTrainButtonBarPeer$$.prototype.$GetBestMatchSubId$});
