$AdfDhtmlMessagePeer$$.prototype.$GetSubIdDomElement$ = function $$AdfDhtmlMessagePeer$$$$$GetSubIdDomElement$$($msgType$$1_subElementId$$27$$) {
  var $clientId$$444_msgIndex$$1$$ = this.$getComponent$().$getClientId$(), $domElement$$567$$ = $AdfAgent$$.$getAgent$().getElementById($clientId$$444_msgIndex$$1$$), $clientId$$444_msgIndex$$1$$ = 0, $openBracket$$ = -1;
  "]" == $msgType$$1_subElementId$$27$$.charAt($msgType$$1_subElementId$$27$$.length - 1) && ($openBracket$$ = $msgType$$1_subElementId$$27$$.lastIndexOf("["), $clientId$$444_msgIndex$$1$$ = 1 * $msgType$$1_subElementId$$27$$.substring($openBracket$$ + 1, $msgType$$1_subElementId$$27$$.length - 1));
  $msgType$$1_subElementId$$27$$ = 0 < $openBracket$$ ? $msgType$$1_subElementId$$27$$.substring(0, $openBracket$$) : $msgType$$1_subElementId$$27$$;
  var $attrValue$$19_childElements$$12$$;
  "summary" == $msgType$$1_subElementId$$27$$ ? $attrValue$$19_childElements$$12$$ = "af|message::type" : "detail" == $msgType$$1_subElementId$$27$$ ? $attrValue$$19_childElements$$12$$ = "af|message::detail" : "intro" == $msgType$$1_subElementId$$27$$ && ($attrValue$$19_childElements$$12$$ = "af|message::intro");
  if(!$attrValue$$19_childElements$$12$$) {
    return $JSCompiler_alias_NULL$$
  }
  $attrValue$$19_childElements$$12$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().getStyleClass($attrValue$$19_childElements$$12$$);
  if(0 == $clientId$$444_msgIndex$$1$$) {
    return $AdfSubIdUtils$$.$getChildElementByAttributeValue$($domElement$$567$$, "class", $attrValue$$19_childElements$$12$$)
  }
  $attrValue$$19_childElements$$12$$ = $AdfSubIdUtils$$.$getChildElementsByAttributeValue$($domElement$$567$$, "class", $attrValue$$19_childElements$$12$$);
  return $clientId$$444_msgIndex$$1$$ < $attrValue$$19_childElements$$12$$.length ? $attrValue$$19_childElements$$12$$[$clientId$$444_msgIndex$$1$$] : $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlMessagePeer.prototype.GetSubIdDomElement", {$GetSubIdDomElement$:$AdfDhtmlMessagePeer$$.prototype.$GetSubIdDomElement$});
$AdfDhtmlMessagePeer$$.prototype.$GetBestMatchSubId$ = function $$AdfDhtmlMessagePeer$$$$$GetBestMatchSubId$$($domElement$$568$$) {
  var $i$$632_isIntroElem_laf$$117$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $clazz$$4_clientId$$445_isTypeElem_rootDOM$$ = $domElement$$568$$.getAttribute("class"), $candidateElements_introCSS$$ = $i$$632_isIntroElem_laf$$117$$.getStyleClass("af|message::intro"), $detailCSS_subId$$45$$ = $i$$632_isIntroElem_laf$$117$$.getStyleClass("af|message::detail"), $typeCSS$$ = $i$$632_isIntroElem_laf$$117$$.getStyleClass("af|message::type"), $i$$632_isIntroElem_laf$$117$$ = RegExp($candidateElements_introCSS$$.replace("|", 
  "\\|")).test($clazz$$4_clientId$$445_isTypeElem_rootDOM$$), $isDetailElem$$ = !$i$$632_isIntroElem_laf$$117$$ && RegExp($detailCSS_subId$$45$$.replace("|", "\\|")).test($clazz$$4_clientId$$445_isTypeElem_rootDOM$$), $clazz$$4_clientId$$445_isTypeElem_rootDOM$$ = !$isDetailElem$$ && RegExp($typeCSS$$.replace("|", "\\|")).test($clazz$$4_clientId$$445_isTypeElem_rootDOM$$);
  if(!$i$$632_isIntroElem_laf$$117$$ && !$isDetailElem$$ && !$clazz$$4_clientId$$445_isTypeElem_rootDOM$$) {
    return $JSCompiler_alias_NULL$$
  }
  $clazz$$4_clientId$$445_isTypeElem_rootDOM$$ = this.$getComponent$().$getClientId$();
  $clazz$$4_clientId$$445_isTypeElem_rootDOM$$ = $AdfAgent$$.$getAgent$().getElementById($clazz$$4_clientId$$445_isTypeElem_rootDOM$$);
  $candidateElements_introCSS$$ = $AdfSubIdUtils$$.$getChildElementsByAttributeValue$($clazz$$4_clientId$$445_isTypeElem_rootDOM$$, "class", $i$$632_isIntroElem_laf$$117$$ ? $candidateElements_introCSS$$ : $isDetailElem$$ ? $detailCSS_subId$$45$$ : $typeCSS$$);
  $detailCSS_subId$$45$$ = $i$$632_isIntroElem_laf$$117$$ ? "intro" : $isDetailElem$$ ? "detail" : "summary";
  for($i$$632_isIntroElem_laf$$117$$ = 0;$i$$632_isIntroElem_laf$$117$$ < $candidateElements_introCSS$$.length;$i$$632_isIntroElem_laf$$117$$++) {
    if($candidateElements_introCSS$$[$i$$632_isIntroElem_laf$$117$$] == $domElement$$568$$) {
      return $detailCSS_subId$$45$$ + "[" + $i$$632_isIntroElem_laf$$117$$ + "]"
    }
  }
  return $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlMessagePeer.prototype.GetBestMatchSubId", {$GetBestMatchSubId$:$AdfDhtmlMessagePeer$$.prototype.$GetBestMatchSubId$});
