var C={};m("AdfDomUtils",C);C.kb=function(a){return null==a?!1:"none"!=a.style.display};m("AdfDomUtils.isVisible",C.kb);C.Iy=function(a){if(null==a)return!1;for(;null!=a;){if(a.style&&"none"==a.style.display)return!1;a=a.parentNode}return!0};m("AdfDomUtils.isInVisibleSubtree",C.Iy);C.Oaa=function(a){var b=a.childNodes;if(null!=b)for(var d=null,e=b.length-1;-1<e;e--)d=b[e],1==d.nodeType&&"SCRIPT"==d.tagName&&a.removeChild(d)};m("AdfDomUtils.stripScripts",C.Oaa);
C.setVisible=function(a,b){u.assert(null!=a);a.style.display="true"===b||!0===b?"":"none"};m("AdfDomUtils.setVisible",C.setVisible);C.HSa=function(a,b){if(-1!=b.indexOf("px"))return parseInt(b,10);var d=a.ownerDocument.createElement("div");try{d.style.width=b}catch(f){v.l.fine("Exception while trying to  style width to: "+b)}a.appendChild(d);var e=d.offsetWidth;a.removeChild(d);return e};m("AdfDomUtils.getOffsetSizeFromCssLength",C.HSa);
C.ITa=function(a,b){u.Hb(a);u.Hb(b);if(b==a)return!0;if(a==b.ownerDocument)for(;null!=b;)if(b=b.parentNode,b==a)return!0;return!1};m("AdfDomUtils.isNodeInDocumentHierarchy",C.ITa);C.Nc=function(a,b){if(null!=b)for(var d=b?b.parentNode:null;d;){if(d==a)return!0;d=d.parentNode}return!1};m("AdfDomUtils.isAncestor",C.Nc);C.Nb=function(a,b){return b==a?!0:C.Nc(a,b)};C.isAncestorOrSelf=C.Nb;m("AdfDomUtils.isAncestorOrSelf",C.Nb);
C.y9=function(a,b){if(a==b)return 0;var d=0,e;if(C.Nc(a,b))for(e=b.parentNode;e;){d++;if(e==a)return d;e=e.parentNode}else if(C.Nc(b,a))for(e=a.parentNode;e;){d++;if(e==b)return d;e=e.parentNode}return(d=C.X8(a,b))?C.y9(d,a)+C.y9(d,b):Number.POSITIVE_INFINITY};m("AdfDomUtils.getNodeDistance",C.y9);C.X8=function(a,b){if(a==b)return a;for(var d=a;d;){if(C.Nc(d,b))return d;d=d.parentNode}return null};m("AdfDomUtils.getCommonAncestor",C.X8);
C.lf=function(a){u.Hb(a);for(var b=a.ownerDocument,d=q.b;a!=b;){if("FORM"==d.Na(a))return a;a=a.parentNode;u.assert(a,"Should never get this far with disconnected DOM")}return null};m("AdfDomUtils.getFormElement",C.lf);C.l9=function(a){for(var b=a.getElementsByTagName("input"),d=b.length,e=null,f=0;f<d;++f){var g=b[f];if("file"==g.type&&(g.value||"true"==g.getAttribute("_afrMultiFileUpload"))){e=a;break}}return e};m("AdfDomUtils.getInputFileForm",C.l9);
C.ZH=function(a){a=a.enctype;return null!=a&&"multipart/form-data"==a.toLowerCase()?!0:!1};m("AdfDomUtils.isMultiPartForm",C.ZH);
C.Rra=function(a,b){for(var d=[],e=a.elements,f=0,g=e.length;f<g;++f)e[f].getAttribute("name")==b&&d.push(e[f]);if(0==d.length)return null;f=d[0];switch(f.tagName){case "TEXTAREA":return f.value;case "INPUT":switch(f.getAttribute("type")){case "radio":f=0;for(g=d.length;f<g;++f)if(d[f].checked)return d[f].value;return null;case "checkbox":if(1==d.length)return f.checked?f.value:null;e=[];f=0;for(g=d.length;f<g;++f)d[f].checked&&e.push(d[f].value);return e;default:return f.value}case "SELECT":if(1==
f.multiple){e=[];d=f.options;f=0;for(g=d.length;f<g;++f)d[f].selected&&e.push(d[f].value);return 0==e.length?null:e}return f.value;default:return null}};m("AdfDomUtils.getFormElementValue",C.Rra);C.FH=function(a,b){if(null==a)return null;var d=a.getElementsByTagName(b);return d.length?d[0]:null};m("AdfDomUtils.getFirstElementByTagName",C.FH);C.Xra=function(a,b){if(null==a)return null;var d=a.getElementsByTagName(b);return d.length?d[d.length-1]:null};m("AdfDomUtils.getLastElementByTagName",C.Xra);
C.ib=function(a,b){return C.Ic(a,b,0)};m("AdfDomUtils.getFirstDescendentElement",C.ib);C.Ic=function(a,b,d){u.u(a);u.J(b);u.Da(d);b=a.getElementsByTagName(b);u.assert(b);var e=b.length;return e>d?(b[0]==a&&e>d+1&&d++,b[d]):null};m("AdfDomUtils.getDescendentElement",C.Ic);C.pa=function(a){return C.Ora(a,1)};m("AdfDomUtils.getFirstChildElement",C.pa);C.Ha=function(a){if(null==a)return null;for(;null!=a;a=a.parentNode)if(1==a.nodeType)return a;return null};m("AdfDomUtils.getElement",C.Ha);
C.Dc=function(a){a=a.childNodes;var b=[];if(a)for(var d=a.length,e=0;e<d;e++){var f=a[e];1==f.nodeType&&b.push(f)}return b};m("AdfDomUtils.getChildElements",C.Dc);C.zm=function(a){if(a=a.childNodes)for(var b=a.length-1;0<=b;b--){var d=a[b];if(1==d.nodeType)return d}return null};m("AdfDomUtils.getLastChildElement",C.zm);
C.ksa=function(a){var b=0;if(a=a.childNodes)for(var d=a.length,e=0;e<d;e++){var f=a[e],g=f.nodeType;8!=g&&(3==g?0!=f.data.replace(/\s*/,"").length&&++b:1==g&&(null!=f.style&&"none"==f.style.display||++b))}return b};m("AdfDomUtils.getNonWhitespaceChildCount",C.ksa);
C.vC=function(a){var b=null;if(a=a.childNodes)for(var d=a.length,e=0;e<d;e++){childNode=a[e];var f=childNode.nodeType;if(8!=f)if(3==f){if(0<childNode.data.replace(/\s*/,"").length)return null}else if(1==f){if(null==childNode.style||"none"!=childNode.style.display){if(b)return null;b=childNode}}else return null}return b};m("AdfDomUtils.getOnlyChildElement",C.vC);
C.Ru=function(a,b,d){var e=q.b.R(),f=[];if(e.evaluate){var g=".//input|.//select|.//textarea|.//button|.//a";if(d)for(var h=0;h<d.length;h++)g=g+"|.//"+d[h];a=e.evaluate(g,a,null,XPathResult.ANY_TYPE,null);for(d=a.iterateNext();d;)!b&&(d.disabled||-1==d.tabIndex)||"A"==d.nodeName&&!d.href||f.push(d),d=a.iterateNext()}else{a=a.getElementsByTagName("*");e=a.length;g="^INPUT|SELECT|BUTTON|^A\\b|TEXTAREA";if(d)for(var l,h=0;h<d.length;h++)l=d[h].toUpperCase(),g=g+"|"+l;g=new RegExp(g);for(h=0;h<e;h++)d=
a[h],d.tagName.match(g)&&(b||!d.disabled&&-1!=d.tabIndex)&&("A"!=d.nodeName||d.href)&&f.push(d)}return f};m("AdfDomUtils.getInputElementsInNode",C.Ru);C.jy=function(a,b){for(var d=C.Ru(a,!0,["ul"]),e=0;e<d.length;e++){var f=d[e];b?(void 0===f.q3&&void 0!==f.tabIndex&&-1!==f.tabIndex&&(f.q3=f.tabIndex,f.tabIndex=-1),void 0===f.p3&&"UL"==f.tagName&&q.b.S()==q.Yc&&(f.p3=f.style.overflow,f.style.overflow="hidden")):(void 0!==f.q3&&(f.tabIndex=f.q3,delete f.q3),void 0!==f.p3&&(f.style.overflow=f.p3,delete f.p3))}};
m("AdfDomUtils.disableTabStop",C.jy);C.zb=function(a){if(a)for(a=a.nextSibling;a;){if(1==a.nodeType)return a;a=a.nextSibling}};m("AdfDomUtils.getNextElement",C.zb);C.lc=function(a){if(a)for(a=a.previousSibling;a;){if(1==a.nodeType)return a;a=a.previousSibling}};m("AdfDomUtils.getPreviousElement",C.lc);C.Ora=function(a,b){var d=a.childNodes;if(d)for(var e=d.length,f=0;f<e;f++){var g=d[f];if(g.nodeType==b)return g}return null};m("AdfDomUtils.getFirstChildNodeByType",C.Ora);
C.QSa=function(a){var b=a.offsetLeft,d=a.offsetTop,e=q.b;for(a=a.offsetParent;a;){var f=e.getComputedStyle(a);if("static"!=f.position&&(e.S()!=q.Yc||"TD"!=a.tagName||"relative"!=f.position))break;b+=a.offsetLeft;d+=a.offsetTop;a=a.offsetParent}return{x:b,y:d}};m("AdfDomUtils.getRelativePosition",C.QSa);C.jc=function(a){var b=-1;if(a){var d=a;for(a=a.nodeType;d;)d.nodeType==a&&b++,d=d.previousSibling}return b};m("AdfDomUtils.getElementPosition",C.jc);
C.Mi=function(a,b,d){var e=null;if(a)for(var f=-1,e=a.firstChild;e&&f<d;)e.nodeType==b&&f++,f!=d&&(e=e.nextSibling);return e};m("AdfDomUtils.getChildElementByPosition",C.Mi);C.rSa=function(a){u.u(a);var b=-1;do b++,a=a.parentNode;while(a);return b};m("AdfDomUtils.getElementDepth",C.rSa);
C.OY=function(a,b,d,e,f){var g=q.b,h=0==a.offsetHeight;if(!(f&&f[a.localName]||!h&&!g.yd(a,b,d)))for(h||(e=a),a=a.firstChild;a;){if(1==a.nodeType&&(h=g.getComputedStyle(a),!h||"hidden"!=h.visibility&&"none"!=h.display)&&(h=C.OY(a,b,d,e,f),h!=e))return h;a=a.nextSibling}return e};m("AdfDomUtils.getElementAtPoint",C.OY);C.apb=function(a,b,d){return a.scrollWidth!=b||a.scrollHeight!=d};m("AdfDomUtils.canScroll",C.apb);
C.Kpb=function(a,b,d){var e=a.clientWidth,f=a.clientHeight,g=0,h=0,l=a.scrollTop,n=a.scrollLeft;b-=n;d-=l;n&&5>b?g=-Math.min(n,10):5>e-b&&(g=Math.min(a.scrollWidth-e,10));l&&5>d?h=-Math.min(l,10):5>f-d&&(h=Math.min(a.scrollHeight-f,10));return g||h?{x:g,y:h}:null};m("AdfDomUtils.getAutoScrollDeltas",C.Kpb);C.jI=function(a){for(var b=a.childNodes,d=b.length-1;0<=d;d--)a.removeChild(b[d])};m("AdfDomUtils.removeAllNodes",C.jI);C.Krb=function(a,b){C.setScrollLeft(a,a.scrollLeft+b)};
m("AdfDomUtils.scrollRightBy",C.Krb);C.setScrollLeft=function(a,b){b=Math.max(b,0);a.scrollLeft=Math.min(b,a.scrollWidth-a.clientWidth)};m("AdfDomUtils.setScrollLeft",C.setScrollLeft);C.Jrb=function(a,b){C.setScrollTop(a,a.scrollTop+b)};m("AdfDomUtils.scrollDownBy",C.Jrb);C.setScrollTop=function(a,b){b=Math.max(b,0);a.scrollTop=Math.min(b,a.scrollHeight-a.clientHeight)};m("AdfDomUtils.setScrollTop",C.setScrollTop);
C.V$=function(a){var b=a.offsetTop,d=a.offsetHeight,e=a.offsetParent;for(a=a.parentNode;a&&a.scrollHeight<=a.offsetHeight;)a.offsetParent!=e&&(b+=a.offsetTop,e=a.offsetParent),a=a.parentNode;null!=a&&(b<a.scrollTop?a.scrollTop=b:b+d>a.scrollTop+a.clientHeight&&(a.scrollTop=b+d-a.clientHeight))};m("AdfDomUtils.scrollChildIntoViewY",C.V$);C.gqb=function(a){var b="";a&&(b+=a.nodeName,a.id&&(b+=" id\x3d"+a.id),a.P9a&&(b+=" peer id\x3d"+a.P9a),a.className&&(b+=" class\x3d"+a.className));return b};
m("AdfDomUtils.getNodeInfo",C.gqb);C.EVa=function(a){var b=q.b,d=a.U(),e=C.Ha(b.ca(d)),f=e.getAttribute("href",2);if(null==f||""==f)a=a.getSource().o().i().parentNode,e=C.XY(a,e,"href"),null!=e&&(f=e.getAttribute("href",2));null!=f&&("#"!=f&&0!=f.indexOf("javascript:")||b.preventDefault(d))};m("AdfDomUtils.suppressActionLinkBrowserContextMenu",C.EVa);
C.mz=function(a,b){var d=A.c.H().aZ(b),e=q.b;null==d||e.Gy(a,d)||(e.S()==q.ia&&a.tagName==d.tagName&&"IMG"==d.tagName?(a.src=d.src,a.alt=d.alt,a.title=a.title,a.border=d.border):(d=d.cloneNode(!0),e.kI(d,a)))};m("AdfDomUtils.swapIcon",C.mz);
C.ika=function(a,b){if(a&&"string"===typeof a){if(b===a)return 0;var d=b.length,e=a.length;if(!a.indexOf)return-1;var f=a.indexOf(b);if(0<=f){var g=0==f||" "==a.charAt(f-1),h=f+d,h=h==e||" "==a.charAt(h);if(g&&h)return f;var l=a.lastIndexOf(b);if(l!=f)return g=a.charAt(l-1),h=l+d,h=h==e||" "==a.charAt(h),g&&h?l:a.indexOf(" "+b+" ")}}return-1};C.w=function(a,b){u.u(a);var d=!1;if(null!=b){u.J(b);var e=a.className;-1==C.ika(e,b)&&(a.className=e?b+" "+e:b,d=!0)}return d};
m("AdfDomUtils.addCSSClassName",C.w);C.O=function(a,b){u.u(a);var d=!1;if(null!=b){var e=a.className,f=C.ika(e,b);-1!=f&&(d=f+b.length,f=0==f?null:e.substring(0,f),e=d==e.length?null:e.substring(d+1),a.className=null==f?null==e?"":e:null==e?f:f+e,d=!0)}return d};m("AdfDomUtils.removeCSSClassName",C.O);C.qd=function(a,b,d){return(a?C.w:C.O)(b,d)};m("AdfDomUtils.addOrRemoveCSSClassName",C.qd);C.sa=function(a,b){return null!=b?-1!=C.ika(a.className,b):!1};m("AdfDomUtils.containsCSSClassName",C.sa);
C.jm=function(a,b,d){if(null!=b){var e=a.style.cssText;a.style.cssText=null==e||""==e?b:1==d?e+";"+b:b+";"+e}};m("AdfDomUtils.addInlineStyle",C.jm);C.Bpb=function(a){u.u(a,"TD");null==a.firstChild&&a.appendChild(a.ownerDocument.createElement("div"))};m("AdfDomUtils.fillEmptyCell",C.Bpb);C.getElementsByClassName=function(a,b){null==a&&(a=q.b.R().documentElement);for(var d=a.getElementsByTagName("*"),e=d.length,f=[],g,h=0;h<e;h++)g=d[h],C.sa(g,b)&&f.push(g);return f};
m("AdfDomUtils.getElementsByClassName",C.getElementsByClassName);C.Nrb=function(a,b){var d=q.b,e=I.j(a.g(),"state"),e=d.getElementById(e);u.Hb(e);null!=b?d.bc(e," "+b+" "):d.bc(e,"")};m("AdfDomUtils.setAccessibleState",C.Nrb);C.Pu=function(a,b,d,e){u.Ja(d);u.u(a);if(!b&&d(a,e))return a;if(a.getElementsByTagName){a=a.getElementsByTagName("*");b=a.length;for(var f=0;f<b;f++){var g=a[f];if(d(g,e))return g}}return null};m("AdfDomUtils.getFirstElementMatch",C.Pu);
C.x9=function(a,b,d,e,f){u.Ja(e);u.u(a);u.Bu(b);var g=null;if(!d&&(g=C.Pu(a,!0,e,f),null!=g))return g;for(;a&&a!=b;)if(a.nextSibling){if(a=a.nextSibling,1==a.nodeType&&(g=C.Pu(a,!1,e,f),null!=g))return g}else a=a.parentNode;return null};m("AdfDomUtils.getNextElementMatch",C.x9);C.n9=function(a,b,d,e){u.Ja(d);u.u(a);if(a.getElementsByTagName)for(var f=a.getElementsByTagName("*"),g=f.length-1;0<=g;g--){var h=f[g];if(d(h,e))return h}return!b&&d(a,e)?a:null};m("AdfDomUtils.getLastElementMatch",C.n9);
C.ssa=function(a,b,d,e){u.Ja(d);u.u(a);for(u.Bu(b);a&&a!=b;){for(var f=a.previousSibling;f&&1!=f.nodeType;)f=f.previousSibling;if(f){matchElement=C.n9(f,!1,d,e);if(null!=matchElement)return matchElement;a=f}else if(a=a.parentNode,a!=b&&d(a,e))return a}return null};m("AdfDomUtils.getPreviousElementMatch",C.ssa);C.VO=function(a,b,d,e){u.Ja(d);u.u(a);var f=d(a,e);return b||f!=C.FILTER_ACCEPT?f==C.FILTER_REJECT?null:C.Dqa(a,a,d,e):a};m("AdfDomUtils.getFirstFilteredElement",C.VO);
C.Dqa=function(a,b,d,e){if(null==a)return null;var f=d(a,e);a==b&&(f=C.FILTER_SKIP);if(f==C.FILTER_ACCEPT)return a;var g=null;if(f!=C.FILTER_REJECT)for(a=a.firstChild;a&&!g;)g=C.Dqa(a,b,d,e),a=a.nextSibling;return g};m("AdfDomUtils.depthFirstFilter",C.Dqa);
C.isa=function(a,b,d,e,f){u.Ja(e);u.u(a);u.Bu(b);var g=null;if(!d&&(g=C.VO(a,!1,e,f),null!=g))return g;for(;a&&a!=b;)if(a.nextSibling){if(a=a.nextSibling,1==a.nodeType&&(g=C.VO(a,!1,e,f),null!=g))return g}else if((a=a.parentNode)&&a!=b&&1==a.nodeType&&e(a,f)==C.FILTER_ACCEPT)return a;return null};m("AdfDomUtils.getNextFilteredElement",C.isa);
C.wua=function(a,b,d,e){if(null==a)return null;var f=d(a,e),g=null;a==b&&(f=C.FILTER_SKIP);if(f!=C.FILTER_REJECT)for(var h=a.lastChild;h&&!g;)g=C.wua(h,b,d,e),h=h.previousSibling;g||f!=C.FILTER_ACCEPT||(g=a);return g};m("AdfDomUtils.reverseDepthFirstFilter",C.wua);C.o9=function(a,b,d,e){u.Ja(d);u.u(a);var f=C.wua(a,a,d,e);return null!=f?f:b||d(a,e)!=C.FILTER_ACCEPT?null:a};m("AdfDomUtils.getLastFilteredElement",C.o9);
C.tsa=function(a,b,d,e){u.Ja(d);u.u(a);u.Bu(b);for(var f=null;a&&a!=b;)if(a.previousSibling){if(a=a.previousSibling,1==a.nodeType&&(f=C.o9(a,!1,d,e),null!=f))return f}else if((a=a.parentNode)&&a!=b&&1==a.nodeType&&d(a,e)==C.FILTER_ACCEPT)return a;return null};m("AdfDomUtils.getPreviousFilteredElement",C.tsa);C.XY=function(a,b,d){for(;b&&b!=a;){if(1==b.nodeType&&q.b.getAttribute(b,d))return b;b=b.parentNode}return null};m("AdfDomUtils.getParentWithAttr",C.XY);
C.Ou=C.oj=function(a,b,d,e){u.Ya(b);u.J(d);u.u(a);e||(e="*");a=a.getElementsByTagName(e);e=a.length;for(var f=0;f<e;f++)if(element=a[f],element.getAttribute(b)==d)return element;return null};m("AdfDomUtils.getFirstChildElementByAttributeValue",C.Ou);C.Wra=function(a,b,d,e){u.Ya(b);u.J(d);u.u(a);e||(e="*");a=a.getElementsByTagName(e);for(e=a.length-1;0<=e;e--)if(element=a[e],element.getAttribute(b)==d)return element;return null};m("AdfDomUtils.getLastChildElementByAttributeValue",C.Wra);
C.ny=function(a,b,d,e){u.Ya(b);u.Ya(d);u.u(a);e||(e="*");a=a.getElementsByTagName(e);e=a.length;for(var f=[],g=0;g<e;g++){var h=a[g];h.getAttribute(b)==d&&f.push(h)}return 0<f.length?f:null};m("AdfDomUtils.getChildElementsByAttributeValue",C.ny);C.IO=function(a,b,d,e){u.u(a);u.Ja(b);d||(d="*");a=a.getElementsByTagName(d);d=a.length;for(var f=[],g=0;g<d;g++){var h=a[g];b(h,e)&&f.push(h)}return 0<f.length?f:null};m("AdfDomUtils.getChildElementsByMatch",C.IO);
C.IO=function(a,b,d,e){u.u(a);u.Ja(b);d||(d="*");a=a.getElementsByTagName(d);d=a.length;for(var f=[],g=0;g<d;g++){var h=a[g];b(h,e)&&f.push(h)}return 0<f.length?f:null};m("AdfDomUtils.getChildElementsByMatch",C.IO);C.HY=function(a,b,d){u.u(a);u.Mb(b);u.assert(2==b.length);d||(d="*");return C.oj(a,b[0],b[1],d)};m("AdfDomUtils.getChildElementByValueMap",C.HY);C.Fsa=function(a){u.u(a);var b=q.b,d=a.attributes.tabIndex;return null!=d&&b.hasAttribute(a,d)?d.value:void 0};m("AdfDomUtils.getTabIndex",C.Fsa);
C.p8=function(a,b){var d=a.createElement("span");(d.innerHTML=b)&&0<=b.indexOf("\x3c")&&C.SHa(d);return d};m("AdfDomUtils.cleanHtml",C.p8);C.SHa=function(a){for(var b=q.b,d=a.childNodes,e=d.length-1;0<=e;){var f=d.item(e);if(1==f.nodeType)if(C.H1a[f.nodeName]){for(var g=f.attributes,h=g.length-1;0<=h;h--){var l=g[h];b.hasAttribute(f,l)&&(C.G1a[l.name]||f.removeAttribute(l.nodeName))}C.SHa(f)}else a.removeChild(f);e--}};
C.L8=function(a,b){if(null==b)return null;for(var d=a.childNodes,e=0;e<d.length;++e)if(q.b.mc(d[e])==b)return d[e];return null};m("AdfDomUtils.findAccessKeyDom",C.L8);
C.FC=function(a,b,d){if(null==b)return!1;var e=a.getPropertyValue("accessKey"),f=C.L8(b,e);if(null!=e){var g=a.o().R();return null!=f?(a=d.indexOf(e),-1==a?(C.IOa(b,f),C.n7(b,d)):(C.xlb(f),0<a&&b.insertBefore(g.createTextNode(d.substring(0,a)),f),C.n7(f,e),a+1<d.length&&b.appendChild(g.createTextNode(d.substr(a+1)))),!0):C.wmb(a,b,e,f,d)}null!=f&&C.IOa(f);C.n7(b,d);return!0};m("AdfDomUtils.handleTextChangeWithAccessKey",C.FC);
C.cI=function(a){var b=C.Jeb();null==b&&(b="RCFHelpWindow",C.yPa(b));window.open(a,b,"width\x3d650,height\x3d450,resizable\x3dyes,scrollbars\x3dyes,alwaysRaised").focus()};m("AdfDomUtils.launchHelpWindow",C.cI);C.eWa=function(a,b){var d=q.b,e;for(e in b){var f=b[e];void 0!=f&&d.setAttribute(a,e,f)}};m("AdfDomUtils.writeAttributesToElement",C.eWa);C.wRa=function(a,b){for(var d=0;d<a.attributes.length;d++){var e=a.attributes[d];b.setAttribute(e.nodeName,e.value)}};
m("AdfDomUtils.copyAllAttributes",C.wRa);C.A9=function(a){var b=null;try{b=a.getParent()}catch(d){}if(null==b)return null;for(;null!=b;){if(b instanceof AdfRichPopup)return b;try{b=b.getParent()}catch(d){return!1}if(null==b)return!1}};m("AdfDomUtils.getPopupAncestor",C.A9);C.vta=function(a){a=C.A9(a);return null==a?null:0==a?!1:!0};m("AdfDomUtils.isInPopup",C.vta);
C.Jeb=function(){for(var a=C.XBa+"\x3d",b=document.cookie.split(";"),d=b.length,e=0;e<d;e++){for(var f=b[e],g=0;" "==f.charAt(g);)g++;f=f.substring(g,f.length);if(0==f.indexOf(a))return f.substring(a.length,f.length)}return null};C.yPa=function(a){document.cookie=C.XBa+"\x3d"+a+"; ; path\x3d/"};
C.wmb=function(a,b,d,e,f){var g=q.b.zh(b,"_adfAccessKeyStyleClass",null);if(null==g)C.n7(b,f);else{var h=f.indexOf(d);if(0<=h){if(0<h)q.b.bc(b,f.substring(0,h));else for(;null!=b.lastChild;)b.removeChild(b.lastChild);a=a.o().R();e=a.createElement("SPAN");e.className=g;q.b.bc(e,d);b.appendChild(e);h+1<f.length&&b.appendChild(a.createTextNode(f.substr(h+1)))}else q.b.bc(b,f)}return!0};C.xlb=function(a){for(var b,d=a.parentNode;null!=(b=a.previousSibling);)d.removeChild(b);for(;null!=(b=a.nextSibling);)d.removeChild(b)};
C.n7=function(a,b){"BUTTON"==a.tagName?q.b.jQ(a,b):q.b.bc(a,b)};C.IOa=function(a,b){q.b.tg(a,"_adfAccessKeyStyleClass",b.className);b.parentNode.removeChild(b)};C.YE=function(a,b,d,e){if(null!=e){e=C.ib(b,"SPAN");var f=a.getPropertyValue("accessKey"),f=null==f?null:C.L8(b,f);return C.FC(a,e&&e!=f?e:b,d)}return!1};C.gpb=function(a,b,d){a=C.Pu(b,!0,C.rjb);if(!a)return!1;d?(d=A.c.H().getIcon("AFRequiredIcon"),a.appendChild(d)):C.jI(a);return!0};m("AdfDomUtils.componentShowRequiredChanged",C.gpb);
C.rjb=function(a){return"SPAN"==a.tagName&&C.sa(a,C.U4a)?!0:!1};C.U4a="p_rqi";C.H1a={SPAN:1,B:1,A:1,I:1,EM:1,BR:1,HR:1,LI:1,OL:1,UL:1,P:1,TT:1,BIG:1,SMALL:1,PRE:1};C.G1a={"class":1,style:1,href:1};C.XBa="ORA_ADF_HELPWINDOWNAME";C.FILTER_ACCEPT=1;m("AdfDomUtils.FILTER_ACCEPT",C.FILTER_ACCEPT);C.FILTER_REJECT=0;m("AdfDomUtils.FILTER_REJECT",C.FILTER_REJECT);C.FILTER_SKIP=-1;m("AdfDomUtils.FILTER_SKIP",C.FILTER_SKIP);