$AdfDhtmlChooseDatePeer$$.$_SUB_ID_MAP$ = {grid:"cg", monthSelector:"mSel", yearSelector:"ys", timezoneSelector:"tz"};
$AdfDhtmlChooseDatePeer$$.prototype.$GetBestMatchSubId$ = function $$AdfDhtmlChooseDatePeer$$$$$GetBestMatchSubId$$($domElement$$543$$) {
  var $selDay$$ = this.$_getCurrentSelection$($JSCompiler_alias_FALSE$$);
  return $selDay$$ != $JSCompiler_alias_NULL$$ && $selDay$$ == $domElement$$543$$ ? "selectedDate" : $JSCompiler_StaticMethods__getFirstDayOfMonth$$(this) == $domElement$$543$$ ? "firstOfMonth" : $AdfSubIdUtils$$.$getBestMatchSubId$($domElement$$543$$, this, $AdfDhtmlChooseDatePeer$$.$_SUB_ID_MAP$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlChooseDatePeer.prototype.GetBestMatchSubId", {$GetBestMatchSubId$:$AdfDhtmlChooseDatePeer$$.prototype.$GetBestMatchSubId$});
$AdfDhtmlChooseDatePeer$$.prototype.$GetSubIdDomElement$ = function $$AdfDhtmlChooseDatePeer$$$$$GetSubIdDomElement$$($selDayCurr_subElementId$$5$$) {
  $AdfAssert$$.$assertNonEmptyString$($selDayCurr_subElementId$$5$$);
  var $component$$1804_domElem$$12$$ = this.$getComponent$();
  return($component$$1804_domElem$$12$$ = $AdfSubIdUtils$$.$getSubIdDomElementByMappedSubId$($selDayCurr_subElementId$$5$$, $AdfDhtmlChooseDatePeer$$.$_SUB_ID_MAP$, $component$$1804_domElem$$12$$)) ? $component$$1804_domElem$$12$$ : "selectedDate" == $selDayCurr_subElementId$$5$$ ? this.$_getCurrentSelection$($JSCompiler_alias_FALSE$$) : "selectedDateNextSibling" == $selDayCurr_subElementId$$5$$ ? ($selDayCurr_subElementId$$5$$ = this.$_getCurrentSelection$($JSCompiler_alias_FALSE$$), $AdfDomUtils$$.$getNextElement$($selDayCurr_subElementId$$5$$)) : 
  "selectedDatePrevSibling" == $selDayCurr_subElementId$$5$$ ? ($selDayCurr_subElementId$$5$$ = this.$_getCurrentSelection$($JSCompiler_alias_FALSE$$), $AdfDomUtils$$.$getPreviousElement$($selDayCurr_subElementId$$5$$)) : "firstOfMonth" == $selDayCurr_subElementId$$5$$ ? $JSCompiler_StaticMethods__getFirstDayOfMonth$$(this) : $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlChooseDatePeer.prototype.GetSubIdDomElement", {$GetSubIdDomElement$:$AdfDhtmlChooseDatePeer$$.prototype.$GetSubIdDomElement$});
function $JSCompiler_StaticMethods__getFirstDayOfMonth$$($JSCompiler_StaticMethods__getFirstDayOfMonth$self_rows$$59$$) {
  $JSCompiler_StaticMethods__getFirstDayOfMonth$self_rows$$59$$ = $JSCompiler_StaticMethods__getGridElement$$($JSCompiler_StaticMethods__getFirstDayOfMonth$self_rows$$59$$).childNodes[0].childNodes;
  for(i = 0;i < $JSCompiler_StaticMethods__getFirstDayOfMonth$self_rows$$59$$.length;i++) {
    if("TR" == $AdfAgent$$.$AGENT$.$getNodeName$($JSCompiler_StaticMethods__getFirstDayOfMonth$self_rows$$59$$[i])) {
      var $tr$$23$$ = $JSCompiler_StaticMethods__getFirstDayOfMonth$self_rows$$59$$[i];
      for(j = 0;j < $tr$$23$$.childNodes.length;j++) {
        var $child$$67$$ = $tr$$23$$.childNodes[j];
        if("TD" == $AdfAgent$$.$AGENT$.$getNodeName$($child$$67$$) && "1" == $AdfAgent$$.$AGENT$.$getTextContent$($child$$67$$)) {
          return $child$$67$$
        }
      }
    }
  }
  return $JSCompiler_alias_NULL$$
}
;