$AdfDhtmlMessagesPeer$$.prototype.$GetSubIdDomElement$ = function $$AdfDhtmlMessagesPeer$$$$$GetSubIdDomElement$$($msgType$$2_subElementId$$28$$) {
  var $clientId$$446_laf$$118$$ = this.$getComponent$().$getClientId$(), $domElement$$569_introEl_tableEl_tableElements$$ = $AdfAgent$$.$getAgent$().getElementById($clientId$$446_laf$$118$$), $msgIndex$$2_page$$228$$ = $AdfPage$$.$PAGE$, $clientId$$446_laf$$118$$ = $msgIndex$$2_page$$228$$.$getLookAndFeel$(), $dlgEl_docCmp$$ = $msgIndex$$2_page$$228$$.$findComponentByAbsoluteId$($msgIndex$$2_page$$228$$.$_documentClientId$), $docPeer$$ = $dlgEl_docCmp$$.$getPeer$(), $childEl_grpTitleCSS_introCSS$$1_isInline_openBracket$$1$$ = 
  $docPeer$$.$isMessagesInline$(), $dlgEl_docCmp$$ = $docPeer$$.$getSubIdDomElement$($dlgEl_docCmp$$, "page.messageDialog");
  if("ok" == $msgType$$2_subElementId$$28$$) {
    if($childEl_grpTitleCSS_introCSS$$1_isInline_openBracket$$1$$) {
      return $JSCompiler_alias_NULL$$
    }
    var $attrValue$$21_childElements$$13_dlgCmp$$ = $msgIndex$$2_page$$228$$.$findComponentByAbsoluteId$($dlgEl_docCmp$$.id);
    return $attrValue$$21_childElements$$13_dlgCmp$$.$getPeer$().$getSubIdDomElement$($attrValue$$21_childElements$$13_dlgCmp$$, "cancel_button")
  }
  $childEl_grpTitleCSS_introCSS$$1_isInline_openBracket$$1$$ || ($domElement$$569_introEl_tableEl_tableElements$$ = $dlgEl_docCmp$$);
  $msgIndex$$2_page$$228$$ = 0;
  $childEl_grpTitleCSS_introCSS$$1_isInline_openBracket$$1$$ = -1;
  "]" == $msgType$$2_subElementId$$28$$.charAt($msgType$$2_subElementId$$28$$.length - 1) && ($childEl_grpTitleCSS_introCSS$$1_isInline_openBracket$$1$$ = $msgType$$2_subElementId$$28$$.lastIndexOf("["), $msgIndex$$2_page$$228$$ = 1 * $msgType$$2_subElementId$$28$$.substring($childEl_grpTitleCSS_introCSS$$1_isInline_openBracket$$1$$ + 1, $msgType$$2_subElementId$$28$$.length - 1));
  if("page." == $msgType$$2_subElementId$$28$$.substr(0, 5)) {
    $msgType$$2_subElementId$$28$$ = 0 < $childEl_grpTitleCSS_introCSS$$1_isInline_openBracket$$1$$ ? $msgType$$2_subElementId$$28$$.substring(5, $childEl_grpTitleCSS_introCSS$$1_isInline_openBracket$$1$$) : $msgType$$2_subElementId$$28$$.substring(5);
    $childEl_grpTitleCSS_introCSS$$1_isInline_openBracket$$1$$ = $clientId$$446_laf$$118$$.getStyleClass($AdfDhtmlMessagesPeer$$.$_MESSAGES_INTRO_CLASS$);
    $domElement$$569_introEl_tableEl_tableElements$$ = $AdfDomUtils$$.getElementsByClassName($domElement$$569_introEl_tableEl_tableElements$$, $childEl_grpTitleCSS_introCSS$$1_isInline_openBracket$$1$$);
    if(!$domElement$$569_introEl_tableEl_tableElements$$ || 0 == $domElement$$569_introEl_tableEl_tableElements$$.length) {
      return $JSCompiler_alias_NULL$$
    }
    if("intro" == $msgType$$2_subElementId$$28$$) {
      return $domElement$$569_introEl_tableEl_tableElements$$[0]
    }
    $domElement$$569_introEl_tableEl_tableElements$$ = $domElement$$569_introEl_tableEl_tableElements$$[0].parentNode.getElementsByTagName("table");
    $domElement$$569_introEl_tableEl_tableElements$$ = $domElement$$569_introEl_tableEl_tableElements$$.length ? $domElement$$569_introEl_tableEl_tableElements$$[0] : $JSCompiler_alias_NULL$$;
    if(!$domElement$$569_introEl_tableEl_tableElements$$) {
      return $JSCompiler_alias_NULL$$
    }
    $childEl_grpTitleCSS_introCSS$$1_isInline_openBracket$$1$$ = $clientId$$446_laf$$118$$.getStyleClass($AdfDhtmlMessagesPeer$$.$_MESSAGES_GROUP_TITLE_CLASS$);
    if($childEl_grpTitleCSS_introCSS$$1_isInline_openBracket$$1$$ = $AdfSubIdUtils$$.$getChildElementByAttributeValue$($domElement$$569_introEl_tableEl_tableElements$$, "class", $childEl_grpTitleCSS_introCSS$$1_isInline_openBracket$$1$$)) {
      return $JSCompiler_alias_NULL$$
    }
  }else {
    $msgType$$2_subElementId$$28$$ = 0 < $childEl_grpTitleCSS_introCSS$$1_isInline_openBracket$$1$$ ? $msgType$$2_subElementId$$28$$.substring(0, $childEl_grpTitleCSS_introCSS$$1_isInline_openBracket$$1$$) : $msgType$$2_subElementId$$28$$;
    $childEl_grpTitleCSS_introCSS$$1_isInline_openBracket$$1$$ = $clientId$$446_laf$$118$$.getStyleClass($AdfDhtmlMessagesPeer$$.$_MESSAGES_GROUP_TITLE_CLASS$);
    $childEl_grpTitleCSS_introCSS$$1_isInline_openBracket$$1$$ = $AdfSubIdUtils$$.$getChildElementByAttributeValue$($domElement$$569_introEl_tableEl_tableElements$$, "class", $childEl_grpTitleCSS_introCSS$$1_isInline_openBracket$$1$$);
    if(!$childEl_grpTitleCSS_introCSS$$1_isInline_openBracket$$1$$) {
      return $domElement$$569_introEl_tableEl_tableElements$$
    }
    for($domElement$$569_introEl_tableEl_tableElements$$ = $childEl_grpTitleCSS_introCSS$$1_isInline_openBracket$$1$$.parentNode;"TABLE" != $domElement$$569_introEl_tableEl_tableElements$$.nodeName && $domElement$$569_introEl_tableEl_tableElements$$.parentNode;) {
      $domElement$$569_introEl_tableEl_tableElements$$ = $domElement$$569_introEl_tableEl_tableElements$$.parentNode
    }
  }
  "summary" == $msgType$$2_subElementId$$28$$ ? $attrValue$$21_childElements$$13_dlgCmp$$ = $clientId$$446_laf$$118$$.getStyleClass($AdfDhtmlMessagesPeer$$.$_MESSAGES_TYPE_CLASS$) : "detail" == $msgType$$2_subElementId$$28$$ && ($attrValue$$21_childElements$$13_dlgCmp$$ = $clientId$$446_laf$$118$$.getStyleClass($AdfDhtmlMessagesPeer$$.$_MESSAGES_DETAIL_CLASS$));
  if(!$attrValue$$21_childElements$$13_dlgCmp$$) {
    return $JSCompiler_alias_NULL$$
  }
  if(0 == $msgIndex$$2_page$$228$$) {
    return $AdfSubIdUtils$$.$getChildElementByAttributeValue$($domElement$$569_introEl_tableEl_tableElements$$, "class", $attrValue$$21_childElements$$13_dlgCmp$$)
  }
  $attrValue$$21_childElements$$13_dlgCmp$$ = $AdfSubIdUtils$$.$getChildElementsByAttributeValue$($domElement$$569_introEl_tableEl_tableElements$$, "class", $attrValue$$21_childElements$$13_dlgCmp$$);
  return $msgIndex$$2_page$$228$$ < $attrValue$$21_childElements$$13_dlgCmp$$.length ? $attrValue$$21_childElements$$13_dlgCmp$$[$msgIndex$$2_page$$228$$] : $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlMessagesPeer.prototype.GetSubIdDomElement", {$GetSubIdDomElement$:$AdfDhtmlMessagesPeer$$.prototype.$GetSubIdDomElement$});
$AdfDhtmlMessagesPeer$$.prototype.$GetBestMatchSubId$ = function $$AdfDhtmlMessagesPeer$$$$$GetBestMatchSubId$$($domElement$$570$$) {
  var $clazz$$5_isTypeElem$$1_rootElem$$11$$ = $domElement$$570$$.getAttribute("class"), $dlgCmp$$1_introCSS$$2_isDetailElem$$1_page$$229_subId$$46$$ = $AdfPage$$.$PAGE$, $candidateElements$$1_compLvlRegEx_laf$$119$$ = $dlgCmp$$1_introCSS$$2_isDetailElem$$1_page$$229_subId$$46$$.$getLookAndFeel$(), $agent$$717_isPageLevelMsgElement$$ = $AdfAgent$$.$getAgent$(), $detailCSS$$1_dlgEl$$1_docCmp$$1_i$$633$$ = $dlgCmp$$1_introCSS$$2_isDetailElem$$1_page$$229_subId$$46$$.$findComponentByAbsoluteId$($dlgCmp$$1_introCSS$$2_isDetailElem$$1_page$$229_subId$$46$$.$_documentClientId$), 
  $docPeer$$1_typeCSS$$1$$ = $detailCSS$$1_dlgEl$$1_docCmp$$1_i$$633$$.$getPeer$();
  if(!$docPeer$$1_typeCSS$$1$$.$isMessagesInline$() && ($detailCSS$$1_dlgEl$$1_docCmp$$1_i$$633$$ = $docPeer$$1_typeCSS$$1$$.$getSubIdDomElement$($detailCSS$$1_dlgEl$$1_docCmp$$1_i$$633$$, "page.messageDialog"), $dlgCmp$$1_introCSS$$2_isDetailElem$$1_page$$229_subId$$46$$ = $dlgCmp$$1_introCSS$$2_isDetailElem$$1_page$$229_subId$$46$$.$findComponentByAbsoluteId$($detailCSS$$1_dlgEl$$1_docCmp$$1_i$$633$$.id), $dlgCmp$$1_introCSS$$2_isDetailElem$$1_page$$229_subId$$46$$.$getPeer$().$getSubIdDomElement$($dlgCmp$$1_introCSS$$2_isDetailElem$$1_page$$229_subId$$46$$, 
  "cancel_button") == $domElement$$570$$)) {
    return"ok"
  }
  var $dlgCmp$$1_introCSS$$2_isDetailElem$$1_page$$229_subId$$46$$ = $candidateElements$$1_compLvlRegEx_laf$$119$$.getStyleClass($AdfDhtmlMessagesPeer$$.$_MESSAGES_INTRO_CLASS$), $curElem_isIntroElem$$1$$ = RegExp($dlgCmp$$1_introCSS$$2_isDetailElem$$1_page$$229_subId$$46$$.replace("|", "\\|")).test($clazz$$5_isTypeElem$$1_rootElem$$11$$), $detailCSS$$1_dlgEl$$1_docCmp$$1_i$$633$$ = $candidateElements$$1_compLvlRegEx_laf$$119$$.getStyleClass($AdfDhtmlMessagesPeer$$.$_MESSAGES_DETAIL_CLASS$), $dlgCmp$$1_introCSS$$2_isDetailElem$$1_page$$229_subId$$46$$ = 
  !$curElem_isIntroElem$$1$$ && RegExp($detailCSS$$1_dlgEl$$1_docCmp$$1_i$$633$$.replace("|", "\\|")).test($clazz$$5_isTypeElem$$1_rootElem$$11$$), $docPeer$$1_typeCSS$$1$$ = $candidateElements$$1_compLvlRegEx_laf$$119$$.getStyleClass($AdfDhtmlMessagesPeer$$.$_MESSAGES_TYPE_CLASS$), $clazz$$5_isTypeElem$$1_rootElem$$11$$ = !$dlgCmp$$1_introCSS$$2_isDetailElem$$1_page$$229_subId$$46$$ && RegExp($docPeer$$1_typeCSS$$1$$.replace("|", "\\|")).test($clazz$$5_isTypeElem$$1_rootElem$$11$$);
  if(!$curElem_isIntroElem$$1$$ && !$dlgCmp$$1_introCSS$$2_isDetailElem$$1_page$$229_subId$$46$$ && !$clazz$$5_isTypeElem$$1_rootElem$$11$$) {
    return $JSCompiler_alias_NULL$$
  }
  if($curElem_isIntroElem$$1$$) {
    return"page.intro"
  }
  for(var $clazz$$5_isTypeElem$$1_rootElem$$11$$ = $agent$$717_isPageLevelMsgElement$$.getElementById(this.$getComponent$().$getClientId$()), $agent$$717_isPageLevelMsgElement$$ = $JSCompiler_alias_NULL$$, $curElem_isIntroElem$$1$$ = $domElement$$570$$, $step$$9$$ = 15, $pageLvlRegEx$$ = RegExp($candidateElements$$1_compLvlRegEx_laf$$119$$.getStyleClass("af|messages::message-list-page").replace("|", "\\|")), $candidateElements$$1_compLvlRegEx_laf$$119$$ = RegExp($candidateElements$$1_compLvlRegEx_laf$$119$$.getStyleClass("af|message::component-messages-list-container").replace("|", 
  "\\|"));0 < $step$$9$$ && $curElem_isIntroElem$$1$$ != $clazz$$5_isTypeElem$$1_rootElem$$11$$ && $curElem_isIntroElem$$1$$ != $JSCompiler_alias_NULL$$;) {
    var $curElemClazz$$ = $curElem_isIntroElem$$1$$.getAttribute("class");
    if($pageLvlRegEx$$.test($curElemClazz$$)) {
      $agent$$717_isPageLevelMsgElement$$ = $JSCompiler_alias_TRUE$$;
      break
    }else {
      if($candidateElements$$1_compLvlRegEx_laf$$119$$.test($curElemClazz$$)) {
        $agent$$717_isPageLevelMsgElement$$ = $JSCompiler_alias_FALSE$$;
        break
      }
    }
    $curElem_isIntroElem$$1$$ = $curElem_isIntroElem$$1$$.parentNode;
    $step$$9$$--
  }
  if($agent$$717_isPageLevelMsgElement$$ != $JSCompiler_alias_NULL$$) {
    $candidateElements$$1_compLvlRegEx_laf$$119$$ = $AdfSubIdUtils$$.$getChildElementsByAttributeValue$($curElem_isIntroElem$$1$$, "class", $dlgCmp$$1_introCSS$$2_isDetailElem$$1_page$$229_subId$$46$$ == $JSCompiler_alias_TRUE$$ ? $detailCSS$$1_dlgEl$$1_docCmp$$1_i$$633$$ : $docPeer$$1_typeCSS$$1$$);
    $dlgCmp$$1_introCSS$$2_isDetailElem$$1_page$$229_subId$$46$$ = ($agent$$717_isPageLevelMsgElement$$ == $JSCompiler_alias_TRUE$$ ? "page." : "") + ($dlgCmp$$1_introCSS$$2_isDetailElem$$1_page$$229_subId$$46$$ ? "detail" : "summary");
    for($detailCSS$$1_dlgEl$$1_docCmp$$1_i$$633$$ = 0;$detailCSS$$1_dlgEl$$1_docCmp$$1_i$$633$$ < $candidateElements$$1_compLvlRegEx_laf$$119$$.length;$detailCSS$$1_dlgEl$$1_docCmp$$1_i$$633$$++) {
      if($candidateElements$$1_compLvlRegEx_laf$$119$$[$detailCSS$$1_dlgEl$$1_docCmp$$1_i$$633$$] == $domElement$$570$$) {
        return $dlgCmp$$1_introCSS$$2_isDetailElem$$1_page$$229_subId$$46$$ + "[" + $detailCSS$$1_dlgEl$$1_docCmp$$1_i$$633$$ + "]"
      }
    }
  }
  return $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlMessagesPeer.prototype.GetBestMatchSubId", {$GetBestMatchSubId$:$AdfDhtmlMessagesPeer$$.prototype.$GetBestMatchSubId$});
