$AdfDhtmlColumnPeer$$.$_SUB_ID_MAP$ = {sort_indicator_ascending:"sort_indicator_ascending", sort_indicator_descending:"sort_indicator_descending", filter_field:"filter_field", header_text:"header_text"};
$AdfDhtmlColumnPeer$$.prototype.$GetSubIdDomElement$ = function $$AdfDhtmlColumnPeer$$$$$GetSubIdDomElement$$($filterField_filterRow_subElementId$$7$$) {
  $AdfAssert$$.$assertNonEmptyString$($filterField_filterRow_subElementId$$7$$);
  if("sort_indicator_ascending" == $filterField_filterRow_subElementId$$7$$ || "sort_indicator_descending" == $filterField_filterRow_subElementId$$7$$) {
    var $domElement$$545_elems$$7_sortElem$$ = $JSCompiler_StaticMethods__getSortElement$$(this);
    if($domElement$$545_elems$$7_sortElem$$) {
      return"sort_indicator_ascending" == $filterField_filterRow_subElementId$$7$$ ? $AdfDomUtils$$.$getFirstDescendentElement$($domElement$$545_elems$$7_sortElem$$.rows[0].cells[0], "A") : $AdfDomUtils$$.$getFirstDescendentElement$($domElement$$545_elems$$7_sortElem$$.rows[0].cells[1], "A")
    }
  }else {
    if("filter_field" == $filterField_filterRow_subElementId$$7$$) {
      for(var $domElement$$545_elems$$7_sortElem$$ = this.$getDomElement$(), $index$$184_tr$$24$$ = $domElement$$545_elems$$7_sortElem$$.parentNode;"TR" != $index$$184_tr$$24$$.nodeName && $index$$184_tr$$24$$.parentNode;) {
        $index$$184_tr$$24$$ = $index$$184_tr$$24$$.parentNode
      }
      if($filterField_filterRow_subElementId$$7$$ = $index$$184_tr$$24$$.previousSibling) {
        for(var $cells$$30$$ = $index$$184_tr$$24$$.cells, $cellCount$$14$$ = $cells$$30$$.length, $index$$184_tr$$24$$ = 0;$index$$184_tr$$24$$ < $cellCount$$14$$;$index$$184_tr$$24$$++) {
          if($cells$$30$$[$index$$184_tr$$24$$] == $domElement$$545_elems$$7_sortElem$$) {
            $domElement$$545_elems$$7_sortElem$$ = $filterField_filterRow_subElementId$$7$$.cells[$index$$184_tr$$24$$].getElementsByTagName("input");
            if(0 < $domElement$$545_elems$$7_sortElem$$.length && ($filterField_filterRow_subElementId$$7$$ = $domElement$$545_elems$$7_sortElem$$[0], -1 != $filterField_filterRow_subElementId$$7$$.id.indexOf("_afrFltr"))) {
              return $filterField_filterRow_subElementId$$7$$
            }
            break
          }
        }
      }
    }else {
      if("filter_label" == $filterField_filterRow_subElementId$$7$$) {
        $domElement$$545_elems$$7_sortElem$$ = this.$getDomElement$();
        for($index$$184_tr$$24$$ = $domElement$$545_elems$$7_sortElem$$.parentNode;"TR" != $index$$184_tr$$24$$.nodeName && $index$$184_tr$$24$$.parentNode;) {
          $index$$184_tr$$24$$ = $index$$184_tr$$24$$.parentNode
        }
        if($filterField_filterRow_subElementId$$7$$ = $index$$184_tr$$24$$.previousSibling) {
          $cells$$30$$ = $index$$184_tr$$24$$.cells;
          $cellCount$$14$$ = $cells$$30$$.length;
          for($index$$184_tr$$24$$ = 0;$index$$184_tr$$24$$ < $cellCount$$14$$;$index$$184_tr$$24$$++) {
            if($cells$$30$$[$index$$184_tr$$24$$] == $domElement$$545_elems$$7_sortElem$$) {
              return $domElement$$545_elems$$7_sortElem$$ = $filterField_filterRow_subElementId$$7$$.cells[$index$$184_tr$$24$$].getElementsByTagName("label"), 0 < $domElement$$545_elems$$7_sortElem$$.length ? $domElement$$545_elems$$7_sortElem$$[0] : $filterField_filterRow_subElementId$$7$$.cells[$index$$184_tr$$24$$]
            }
          }
        }
      }else {
        if("header_text" == $filterField_filterRow_subElementId$$7$$ && ($domElement$$545_elems$$7_sortElem$$ = this.$getDomElement$())) {
          return $JSCompiler_StaticMethods__getSortElement$$(this) ? $domElement$$545_elems$$7_sortElem$$.firstChild.nextSibling : $domElement$$545_elems$$7_sortElem$$.firstChild
        }
      }
    }
  }
  return $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlColumnPeer.prototype.GetSubIdDomElement", {$GetSubIdDomElement$:$AdfDhtmlColumnPeer$$.prototype.$GetSubIdDomElement$});
function $JSCompiler_StaticMethods__getSortElement$$($JSCompiler_StaticMethods__getSortElement$self_clientId$$441_sortId$$) {
  $JSCompiler_StaticMethods__getSortElement$self_clientId$$441_sortId$$ = $JSCompiler_StaticMethods__getSortElement$self_clientId$$441_sortId$$.$getComponent$().$getClientId$();
  $JSCompiler_StaticMethods__getSortElement$self_clientId$$441_sortId$$ = $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_StaticMethods__getSortElement$self_clientId$$441_sortId$$, $AdfDhtmlTableBasePeer$$.$__SORT_INDICATOR$);
  return $AdfAgent$$.$AGENT$.getElementById($JSCompiler_StaticMethods__getSortElement$self_clientId$$441_sortId$$)
}
$AdfDhtmlColumnPeer$$.prototype.$GetBestMatchSubId$ = function $$AdfDhtmlColumnPeer$$$$$GetBestMatchSubId$$($domElement$$546$$) {
  if("A" == $domElement$$546$$.nodeName) {
    var $filterRow$$1_sortElem$$1$$ = $JSCompiler_StaticMethods__getSortElement$$(this);
    if($filterRow$$1_sortElem$$1$$) {
      if($AdfDomUtils$$.$isAncestor$($filterRow$$1_sortElem$$1$$.rows[0].cells[0], $domElement$$546$$)) {
        return"sort_indicator_ascending"
      }
      if($AdfDomUtils$$.$isAncestor$($filterRow$$1_sortElem$$1$$.rows[0].cells[1], $domElement$$546$$)) {
        return"sort_indicator_descending"
      }
    }
  }
  if($domElement$$546$$.id && -1 != $domElement$$546$$.id.indexOf("_afrFltr") && "INPUT" == $domElement$$546$$.nodeName) {
    return"filter_field"
  }
  if("LABEL" == $domElement$$546$$.nodeName) {
    for(var $colElement_elems$$8$$ = this.$getDomElement$(), $index$$185_tr$$25$$ = $colElement_elems$$8$$.parentNode;"TR" != $index$$185_tr$$25$$.nodeName && $index$$185_tr$$25$$.parentNode;) {
      $index$$185_tr$$25$$ = $index$$185_tr$$25$$.parentNode
    }
    if($filterRow$$1_sortElem$$1$$ = $index$$185_tr$$25$$.previousSibling) {
      for(var $cells$$31$$ = $index$$185_tr$$25$$.cells, $cellCount$$15$$ = $cells$$31$$.length, $index$$185_tr$$25$$ = 0;$index$$185_tr$$25$$ < $cellCount$$15$$;$index$$185_tr$$25$$++) {
        if($cells$$31$$[$index$$185_tr$$25$$] == $colElement_elems$$8$$) {
          $colElement_elems$$8$$ = $filterRow$$1_sortElem$$1$$.cells[$index$$185_tr$$25$$].getElementsByTagName("label");
          if(0 < $colElement_elems$$8$$.length) {
            if($colElement_elems$$8$$[0] == $domElement$$546$$) {
              return"filter_label"
            }
          }else {
            if($filterRow$$1_sortElem$$1$$.cells[$index$$185_tr$$25$$] == $domElement$$546$$) {
              return"filter_label"
            }
          }
          break
        }
      }
    }
  }
  if($colElement_elems$$8$$ = this.$getDomElement$()) {
    if($JSCompiler_StaticMethods__getSortElement$$(this)) {
      if($colElement_elems$$8$$.firstChild.nextSibling == $domElement$$546$$) {
        return"header_text"
      }
    }else {
      if($colElement_elems$$8$$.firstChild == $domElement$$546$$) {
        return"header_text"
      }
    }
  }
  return $AdfSubIdUtils$$.$getBestMatchSubId$($domElement$$546$$, this, $AdfDhtmlColumnPeer$$.$_SUB_ID_MAP$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlColumnPeer.prototype.GetBestMatchSubId", {$GetBestMatchSubId$:$AdfDhtmlColumnPeer$$.prototype.$GetBestMatchSubId$});
