$AdfDhtmlCalendarPeer$$.$_SUB_ID_MAP$ = {day_view_button:"_adfCalDV", week_view_button:"_adfCalWV", month_view_button:"_adfCalMV", list_view_button:"_adfCalLV", previous_button:"_adfCalPD", next_button:"_adfCalND", today_button:"_adfCalTD"};
$AdfDhtmlCalendarPeer$$.prototype.$GetSubIdDomElement$ = function $$AdfDhtmlCalendarPeer$$$$$GetSubIdDomElement$$($childElements$$11_motherDiv_subElementId$$4$$) {
  $AdfAssert$$.$assertNonEmptyString$($childElements$$11_motherDiv_subElementId$$4$$);
  var $clientSubId_result$$29$$ = $AdfDhtmlCalendarPeer$$.$_SUB_ID_MAP$[$childElements$$11_motherDiv_subElementId$$4$$], $component$$1802_index$$183$$ = this.$getComponent$();
  if($clientSubId_result$$29$$) {
    return $AdfSubIdUtils$$.$getSubIdElementById$($component$$1802_index$$183$$, $clientSubId_result$$29$$, $JSCompiler_alias_TRUE$$)
  }
  if("all_activities_in_view" == $childElements$$11_motherDiv_subElementId$$4$$) {
    if($component$$1802_index$$183$$.$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$) == $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) {
      $childElements$$11_motherDiv_subElementId$$4$$ = $AdfAgent$$.$getAgent$().getElementById($component$$1802_index$$183$$.$getClientId$());
      $childElements$$11_motherDiv_subElementId$$4$$ = $childElements$$11_motherDiv_subElementId$$4$$.getElementsByTagName("a");
      var $clientSubId_result$$29$$ = [], $i$$628$$ = $component$$1802_index$$183$$ = 0
    }else {
      $childElements$$11_motherDiv_subElementId$$4$$ = $AdfAgent$$.$getAgent$().getElementById($component$$1802_index$$183$$.$getClientId$()), $childElements$$11_motherDiv_subElementId$$4$$ = $childElements$$11_motherDiv_subElementId$$4$$.getElementsByTagName("div"), $clientSubId_result$$29$$ = [], $i$$628$$ = $component$$1802_index$$183$$ = 0
    }
    for(;$i$$628$$ < $childElements$$11_motherDiv_subElementId$$4$$.length;$i$$628$$++) {
      "true" == $childElements$$11_motherDiv_subElementId$$4$$[$i$$628$$].getAttribute($AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$) && "none" != $childElements$$11_motherDiv_subElementId$$4$$[$i$$628$$].style.display && ($clientSubId_result$$29$$[$component$$1802_index$$183$$++] = $childElements$$11_motherDiv_subElementId$$4$$[$i$$628$$])
    }
    return $clientSubId_result$$29$$
  }
  if("all_more_links_in_view" == $childElements$$11_motherDiv_subElementId$$4$$) {
    $childElements$$11_motherDiv_subElementId$$4$$ = $AdfAgent$$.$getAgent$().getElementById($component$$1802_index$$183$$.$getClientId$());
    $childElements$$11_motherDiv_subElementId$$4$$ = $childElements$$11_motherDiv_subElementId$$4$$.getElementsByTagName("div");
    $clientSubId_result$$29$$ = [];
    for($i$$628$$ = $component$$1802_index$$183$$ = 0;$i$$628$$ < $childElements$$11_motherDiv_subElementId$$4$$.length;$i$$628$$++) {
      if($childElements$$11_motherDiv_subElementId$$4$$[$i$$628$$].getAttribute($AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$)) {
        var $hrefChild$$ = $childElements$$11_motherDiv_subElementId$$4$$[$i$$628$$].getElementsByTagName("a");
        1 == $hrefChild$$.length && "none" != $hrefChild$$[0].style.display && ($clientSubId_result$$29$$[$component$$1802_index$$183$$++] = $hrefChild$$[0])
      }
    }
    return $clientSubId_result$$29$$
  }
  if("all_date_links" == $childElements$$11_motherDiv_subElementId$$4$$) {
    $childElements$$11_motherDiv_subElementId$$4$$ = $AdfAgent$$.$getAgent$().getElementById($component$$1802_index$$183$$.$getClientId$());
    $childElements$$11_motherDiv_subElementId$$4$$ = $childElements$$11_motherDiv_subElementId$$4$$.getElementsByTagName("a");
    $clientSubId_result$$29$$ = [];
    for($i$$628$$ = $component$$1802_index$$183$$ = 0;$i$$628$$ < $childElements$$11_motherDiv_subElementId$$4$$.length;$i$$628$$++) {
      $childElements$$11_motherDiv_subElementId$$4$$[$i$$628$$].getAttribute($AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$) && ($clientSubId_result$$29$$[$component$$1802_index$$183$$++] = $childElements$$11_motherDiv_subElementId$$4$$[$i$$628$$])
    }
    return $clientSubId_result$$29$$
  }
  return $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.GetSubIdDomElement", {$GetSubIdDomElement$:$AdfDhtmlCalendarPeer$$.prototype.$GetSubIdDomElement$});
$AdfDhtmlCalendarPeer$$.prototype.$GetBestMatchSubId$ = function $$AdfDhtmlCalendarPeer$$$$$GetBestMatchSubId$$($domElement$$541$$) {
  var $isActivityElement_subId$$37_view$$16$$ = $AdfSubIdUtils$$.$getBestMatchSubId$($domElement$$541$$, this, $AdfDhtmlCalendarPeer$$.$_SUB_ID_MAP$);
  if($isActivityElement_subId$$37_view$$16$$ != $JSCompiler_alias_NULL$$) {
    return $isActivityElement_subId$$37_view$$16$$
  }
  var $isActivityElement_subId$$37_view$$16$$ = "true" == $domElement$$541$$.getAttribute($AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$), $isDisplayChangeElement$$ = $domElement$$541$$.getAttribute($AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$) != $JSCompiler_alias_NULL$$, $nodeName$$13$$ = $AdfAgent$$.$AGENT$.$getNodeName$($domElement$$541$$);
  !$isDisplayChangeElement$$ && "A" == $nodeName$$13$$ && ($isDisplayChangeElement$$ = $domElement$$541$$.parentNode.getAttribute($AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$) != $JSCompiler_alias_NULL$$);
  if("none" == $domElement$$541$$.style.display || !$isActivityElement_subId$$37_view$$16$$ && !$isDisplayChangeElement$$) {
    return $JSCompiler_alias_NULL$$
  }
  if($isActivityElement_subId$$37_view$$16$$) {
    return"all_activities_in_view"
  }
  if($isDisplayChangeElement$$) {
    $isActivityElement_subId$$37_view$$16$$ = this.$getComponent$().$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$);
    if($domElement$$541$$.getAttribute($AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$) != $JSCompiler_alias_NULL$$) {
      return"all_date_links"
    }
    if($domElement$$541$$.parentNode.getAttribute($AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$) != $JSCompiler_alias_NULL$$ && $isActivityElement_subId$$37_view$$16$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$) {
      return"all_more_links_in_view"
    }
  }
  return $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.GetBestMatchSubId", {$GetBestMatchSubId$:$AdfDhtmlCalendarPeer$$.prototype.$GetBestMatchSubId$});
