function AdfDhtmlPopupSelector(){this.Init()}AdfObject.createSubclass(AdfDhtmlPopupSelector,AdfDhtmlPopupWindow);
AdfDhtmlPopupSelector.InitClass=function(){this._STYLECLASS="AFPopupSelector";this._HEADER_STYLECLASS="AFPopupSelectorHeader";this._HEADER_START_STYLECLASS="AFPopupSelectorHeaderStart";this._HEADER_END_STYLECLASS="AFPopupSelectorHeaderEnd";this._CONTENT_STYLECLASS="AFPopupSelectorContent";this._CONTENT_START_STYLECLASS="AFPopupSelectorContentStart";this._CONTENT_END_STYLECLASS="AFPopupSelectorContentEnd";this._FOOTER_STYLECLASS="AFPopupSelectorFooter";this._FOOTER_START_STYLECLASS="AFPopupSelectorFooterStart";
this._FOOTER_END_STYLECLASS="AFPopupSelectorFooterEnd";this._POPUP_LIVE_CONTENT_ID="AFPopupLiveContent"};AdfDhtmlPopupSelector.prototype.Init=function(){AdfDhtmlPopupSelector.superclass.Init.call(this)};
AdfDhtmlPopupSelector.prototype.CreateDomElement=function(){var a=AdfPage.PAGE,b=a.getDomDocument(),d=b.createElement("div"),a=a.getLookAndFeel(),e=this.CreateTable(3,3);e.cellPadding=0;e.cellSpacing=0;e.setAttribute("role","presentation");d.appendChild(e);e=e.getElementsByTagName("td");e[1].innerHTML="\x26#160;";var f=e[4];if(this.NeedsCloseLink()){f=b.createElement("div");e[4].appendChild(f);var g=a.getTranslatedString("af_popup.TIP_DISMISS");f.innerHTML='\x3ca href\x3d"javascript:;" style\x3d"position:absolute;top:-999px;" onclick\x3d"AdfPage.PAGE.getAutoDismissalManager().dismiss(this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode)"\x3e'+
g+"\x3c/a\x3e";f=b.createElement("div");e[4].appendChild(f)}e[3].innerHTML="\x26#160;";e[5].innerHTML="\x26#160;";e[7].innerHTML="\x26#160;";this.SetContentParent(f);b=AdfDhtmlPopupSelector;AdfDomUtils.addCSSClassName(d,a.getStyleClass(AdfDhtmlPopupSelector._STYLECLASS));AdfDomUtils.addCSSClassName(e[0],a.getStyleClass(b._HEADER_START_STYLECLASS));AdfDomUtils.addCSSClassName(e[1],a.getStyleClass(b._HEADER_STYLECLASS));AdfDomUtils.addCSSClassName(e[2],a.getStyleClass(b._HEADER_END_STYLECLASS));AdfDomUtils.addCSSClassName(e[3],
a.getStyleClass(b._CONTENT_START_STYLECLASS));AdfDomUtils.addCSSClassName(e[4],a.getStyleClass(b._CONTENT_STYLECLASS));AdfDomUtils.addCSSClassName(e[5],a.getStyleClass(b._CONTENT_END_STYLECLASS));AdfDomUtils.addCSSClassName(e[6],a.getStyleClass(b._FOOTER_START_STYLECLASS));AdfDomUtils.addCSSClassName(e[7],a.getStyleClass(b._FOOTER_STYLECLASS));AdfDomUtils.addCSSClassName(e[8],a.getStyleClass(b._FOOTER_END_STYLECLASS));return d};
AdfDhtmlPopupSelector.prototype.SetContentParent=function(a){this._contentElement=a};AdfDhtmlPopupSelector.prototype.GetContentParent=function(){return this._contentElement};AdfDhtmlPopupSelector.prototype.GetAnimationDurationSkinProperty=function(){return".AFPopupSelector-tr-open-animation-duration"};AdfDhtmlPopupSelector.prototype.GetAnimateSkinProperty=function(){return".AFPopupSelector-tr-animate"};
AdfDhtmlPopupSelector.prototype.setAccessibleAttrs=function(a){var b=this.getElement();b.setAttribute("role","dialog");(a=a[AdfDhtmlPopupHints.ARIA_LABEL])&&b.setAttribute("aria-label",a)};
AdfDhtmlPopupSelector.prototype.show=function(a){if(a&&a[AdfDhtmlPopupHints.ALIGN]&&!a[AdfDhtmlPopupHints.ALIGN_ELEMENT]){var b=a[AdfRichPopup.HINT_LAUNCH_ID];b&&(a[AdfRichPopup.HINT_ALIGN_ID]=b,a[AdfDhtmlPopupHints.ALIGN_ELEMENT]=AdfAgent.AGENT.getElementById(b))}a&&(a[AdfDhtmlPopupHints.ALIGN_ELEMENT]&&!a[AdfDhtmlPopupHints.ALIGN])&&(a[AdfDhtmlPopupHints.ALIGN]=AdfRichPopup.ALIGN_AFTER_START);AdfDhtmlPopupSelector.superclass.show.call(this,a)};