$AdfDhtmlTrainPeer$$.prototype.$GetSubIdDomElement$ = function $$AdfDhtmlTrainPeer$$$$$GetSubIdDomElement$$($locator$$25_stopIndex$$1$$) {
  $AdfAssert$$.$assertNonEmptyString$($locator$$25_stopIndex$$1$$);
  var $component$$2477_stamp$$ = this.$getComponent$(), $subElementId$$70_trainStopPeer$$ = $locator$$25_stopIndex$$1$$, $nestedSubElementId$$7$$, $startIndex$$30$$ = $locator$$25_stopIndex$$1$$.lastIndexOf("#");
  -1 < $startIndex$$30$$ && ($subElementId$$70_trainStopPeer$$ = $locator$$25_stopIndex$$1$$.substring(0, $startIndex$$30$$), $AdfAssert$$.$assertNonEmptyString$($subElementId$$70_trainStopPeer$$), $nestedSubElementId$$7$$ = $locator$$25_stopIndex$$1$$.substring($startIndex$$30$$ + 1));
  var $clientId$$533$$;
  if ($subElementId$$70_trainStopPeer$$ && (-1 != $subElementId$$70_trainStopPeer$$.indexOf("stop[") || -1 != $subElementId$$70_trainStopPeer$$.indexOf($AdfDhtmlTrainPeer$$.$_NODE_STAMP_ID$)) && ($locator$$25_stopIndex$$1$$ = $subElementId$$70_trainStopPeer$$.substring($subElementId$$70_trainStopPeer$$.indexOf("[") + 1, $subElementId$$70_trainStopPeer$$.indexOf("]")), $clientId$$533$$ = $component$$2477_stamp$$.$getClientId$() + ":" + $locator$$25_stopIndex$$1$$ + ":" + $AdfDhtmlTrainPeer$$.$_NODE_STAMP_ID$, 
  !$nestedSubElementId$$7$$)) {
    return $AdfAgent$$.$AGENT$.getElementById($clientId$$533$$);
  }
  if ($nestedSubElementId$$7$$ && ($component$$2477_stamp$$ = $AdfPage$$.$PAGE$.$findComponent$($clientId$$533$$))) {
    return $subElementId$$70_trainStopPeer$$ = $component$$2477_stamp$$.$getPeer$(), $subElementId$$70_trainStopPeer$$.bind($component$$2477_stamp$$), $subElementId$$70_trainStopPeer$$.$GetSubIdDomElement$($nestedSubElementId$$7$$);
  }
  $AdfLogger$$.$LOGGER$.warning("Sub Id doesn't exist for this component:", $subElementId$$70_trainStopPeer$$);
  return null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTrainPeer.prototype.GetSubIdDomElement", {$GetSubIdDomElement$:$AdfDhtmlTrainPeer$$.prototype.$GetSubIdDomElement$});
$AdfDhtmlTrainPeer$$.prototype.$GetBestMatchSubId$ = function $$AdfDhtmlTrainPeer$$$$$GetBestMatchSubId$$($domElement$$701$$) {
  var $singleColonLastIndex_stamp$$1$$, $clientId$$534_stopIndex$$2$$ = $domElement$$701$$.id;
  if ($clientId$$534_stopIndex$$2$$ && -1 != $clientId$$534_stopIndex$$2$$.indexOf($AdfDhtmlTrainPeer$$.$_NODE_STAMP_ID$)) {
    return $singleColonLastIndex_stamp$$1$$ = $clientId$$534_stopIndex$$2$$.lastIndexOf(":"), $clientId$$534_stopIndex$$2$$ = $clientId$$534_stopIndex$$2$$.substring($singleColonLastIndex_stamp$$1$$ - 1, $singleColonLastIndex_stamp$$1$$), "stop[" + $clientId$$534_stopIndex$$2$$ + "]";
  }
  for (var $element$$402_trainStopPeer$$1$$ = $domElement$$701$$;$element$$402_trainStopPeer$$1$$;$element$$402_trainStopPeer$$1$$ = $element$$402_trainStopPeer$$1$$.parentNode) {
    if (($clientId$$534_stopIndex$$2$$ = $element$$402_trainStopPeer$$1$$.id) && -1 != $clientId$$534_stopIndex$$2$$.indexOf($AdfDhtmlTrainPeer$$.$_NODE_STAMP_ID$)) {
      $singleColonLastIndex_stamp$$1$$ = $AdfPage$$.$PAGE$.$findComponent$($clientId$$534_stopIndex$$2$$);
      break;
    }
  }
  return $singleColonLastIndex_stamp$$1$$ ? ($element$$402_trainStopPeer$$1$$ = $singleColonLastIndex_stamp$$1$$.$getPeer$(), $element$$402_trainStopPeer$$1$$.bind($singleColonLastIndex_stamp$$1$$), $singleColonLastIndex_stamp$$1$$ = $clientId$$534_stopIndex$$2$$.lastIndexOf(":"), $clientId$$534_stopIndex$$2$$ = $clientId$$534_stopIndex$$2$$.substring($singleColonLastIndex_stamp$$1$$ - 1, $singleColonLastIndex_stamp$$1$$), "stop[" + $clientId$$534_stopIndex$$2$$ + "]#" + $element$$402_trainStopPeer$$1$$.$GetBestMatchSubId$($domElement$$701$$)) : 
  null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTrainPeer.prototype.GetBestMatchSubId", {$GetBestMatchSubId$:$AdfDhtmlTrainPeer$$.prototype.$GetBestMatchSubId$});
$AdfDhtmlTrainPeer$$.$_NODE_STAMP_ID$ = "_afrStopNavItem";
