AdfDhtmlPivotTablePeer.prototype.Ec=function(a,b){void 0==b&&(b=!1);var c=this.b.Kj;this.hw=!this.hw;c.innerHTML=a+(this.hw?" ":"");var d=c.style;if(""==d.display||"none"==d.display){d.zIndex=5;d.visibility="hidden";d.display="block";if(b)d.top=Math.floor((this.ve-c.offsetHeight)/2)+"px",d.left=Math.floor((this.xe-c.offsetWidth)/2)+"px";else{var e=AdfAgent.AGENT.getElementPosition(this.getDomElement());this.Ar&&(d.top=Math.max(0,this.Ar.y-e.y-c.offsetHeight-16)+"px",d.left=Math.max(0,this.Ar.x-e.x-
c.offsetWidth-16)+"px")}d.visibility="visible"}};AdfDhtmlPivotTablePeer.prototype._hideStatus=function(){this.b.Kj.style.display="none"};AdfDhtmlPivotTablePeer.Fh=function(a){return AdfDhtmlPivotTablePeer.W(a,a.id+"::PPRTarget")};AdfDhtmlPivotTablePeer.W=function(a,b){for(var c=a.childNodes,d=0;d<c.length;d++)if(b==c[d].id)return c[d];return null};AdfDhtmlPivotTablePeer.pS=function(a,b){for(var c=a.childNodes,d=0;d<c.length;d++)if(c[d].id&&0==c[d].id.indexOf(b))return c[d];return null};
function A_pf(a,b,c){var d=null;for(a=a.getDomElement();!d&&b&&b!=a&&1==b.nodeType;)b.tagName==c?d=b:b=b.parentNode;return d}function A_jc(a,b,c){return null==b.parentNode||b.parentNode.id==a.getComponent().getClientId()?null:null!=AdfAgent.AGENT.getAttribute(b,c)?b:A_jc(a,b.parentNode,c)}AdfDhtmlPivotTablePeer.prototype.Uj=function(a,b){for(var c=b,d=this.getDomElement();c;){if(c==a)return!0;if(c==d)break;c=c.parentNode}return!1};function A_df(a){try{a.focus()}catch(b){}}
AdfDhtmlPivotTablePeer.Ka=function(a,b){a&&a.style.cursor!=b&&(a.style.cursor=b)};function A_3e(a,b){for(var c=AdfAgent.getAgent(),d,e=a.getDomElement(),f=/^INPUT|SELECT|OPTION|TEXTAREA/;null!=b&&b!=e&&"TD"!=(d=c.getNodeName(b))&&"TH"!=d;){if(d.match(f)&&!b.readOnly)return!0;b=b.parentNode}return!1}function A_5g(a,b,c){return void 0!=b.style&&"none"==b.style.display?!1:b==a.getDomElement()||void 0!=c&&b==c||void 0==b.parentNode?!0:A_5g(a,b.parentNode,c)}
function A_nf(a,b){var c=AdfAgent.AGENT.getDomDocument(),d=[];if(c.evaluate)for(var c=c.evaluate(".//input|.//select|.//textarea|.//button|.//a|.//INPUT|.//SELECT|.//TEXTAREA|.//BUTTON|.//A",b,null,XPathResult.ANY_TYPE,null),e=c.iterateNext();e;)!e.disabled&&(!e.tabIndex||0<e.tabIndex)&&A_5g(a,e,b)&&d.push(e),e=c.iterateNext();else for(var c=b.getElementsByTagName("*"),f=c.length,g=/^INPUT|SELECT|BUTTON|^A\b|TEXTAREA/,h=0;h<f;h++)e=c[h],e.tagName.match(g)&&!e.disabled&&(!e.tabIndex||0<e.tabIndex)&&
A_5g(a,e,b)&&d.push(e);return d}function A_Af(a,b){for(var c=0;c<a.length;c++)if(a[c]==b)return c;return-1}function A_uf(a,b){var c=A_4f(a,b.parentNode);return A_6g(b,c)}function A_6g(a,b){var c=a.parentNode,c=AdfAgent.AGENT.getIntAttribute(b,"_startRow")+c.rowIndex-1,d=AdfAgent.AGENT.getIntAttribute(b,"_startCol");return{row:c,col:d+a.cellIndex-1}}function A_6f(a,b){return a.getIntAttribute(b,"_iCol",0)+1}
function A_Xe(a,b){var c=A_4f(a,b),d=null,e=null;c&&AdfAgent.AGENT.getAttribute(c,"_component")==AdfDhtmlPivotTablePeer.IB&&(d=A_Zf(a,b))&&(e=A_7g(d,c));return[e,d]}function A_7g(a,b){var c=A_6g(a,b);return c.row+":"+c.col}function A_Zf(a,b){for(var c=null,d=a.A(AdfPivotTableUtils.Ne),e=a.A(AdfPivotTableUtils.de),f=a.A(AdfPivotTableUtils.Me);!c&&b;)"TD"==b.tagName?A_d.ta(b,d)||A_d.ta(b,e)||A_d.ta(b,f)?c=b:b=A_pf(a,b.parentNode,"TD"):b=A_pf(a,b,"TD");return c}
function A_4f(a,b){for(var c=AdfAgent.AGENT,d=b,e=null,f=a.getDomElement();!e&&d&&d!=f&&1==d.nodeType;)c.getAttribute(d,"_component")?e=d:d=d.parentNode;return e}function A_5f(a,b){for(var c=a.length,d=-1,e=0;e<c;e++)a[e]==b&&(d=e);return d}function A_8g(a){for(var b=a.length,c=0;c<b;c++){var d=a[c];if(!d._placeholder)return d}return null}function A_9g(a,b,c,d,e,f){d+=e;A_2(a.b,c.childNodes[0],d+f,b);A_2(a.b,c,d,b)}
AdfDhtmlPivotTablePeer.prototype.A=function(a){if(void 0==this.da){var b=AdfAgent.AGENT;this.da={};var c=this.getDomElement();this.da[AdfPivotTableUtils.de]=b.getAttribute(c,AdfPivotTableUtils.de);this.da[AdfPivotTableUtils.Me]=b.getAttribute(c,AdfPivotTableUtils.Me);this.da[AdfPivotTableUtils.Ne]=b.getAttribute(c,AdfPivotTableUtils.Ne);this.da[AdfPivotTableUtils.gj]=b.getAttribute(c,AdfPivotTableUtils.gj);this.da[AdfPivotTableUtils.Mi]=b.getAttribute(c,AdfPivotTableUtils.Mi);this.da[AdfPivotTableUtils.fj]=
b.getAttribute(c,AdfPivotTableUtils.fj);this.da[AdfPivotTableUtils.Li]=b.getAttribute(c,AdfPivotTableUtils.Li);this.da[AdfPivotTableUtils.ej]=b.getAttribute(c,AdfPivotTableUtils.ej);this.da[AdfPivotTableUtils.Ki]=b.getAttribute(c,AdfPivotTableUtils.Ki);this.da[AdfPivotTableUtils.zp]=b.getAttribute(c,AdfPivotTableUtils.zp);this.da[AdfPivotTableUtils.Ap]=b.getAttribute(c,AdfPivotTableUtils.Ap);this.da[AdfPivotTableUtils.yp]=b.getAttribute(c,AdfPivotTableUtils.yp);this.da[AdfPivotTableUtils.Dp]=b.getAttribute(c,
AdfPivotTableUtils.Dp);this.da[AdfPivotTableUtils.Bp]=b.getAttribute(c,AdfPivotTableUtils.Bp);this.da[AdfPivotTableUtils.Cp]=b.getAttribute(c,AdfPivotTableUtils.Cp);this.da[AdfPivotTableUtils.No]=b.getAttribute(c,AdfPivotTableUtils.No);this.da[AdfPivotTableUtils.Oo]=b.getAttribute(c,AdfPivotTableUtils.Oo);this.da[AdfPivotTableUtils.Mo]=b.getAttribute(c,AdfPivotTableUtils.Mo);this.da[AdfPivotTableUtils.Lo]=b.getAttribute(c,AdfPivotTableUtils.Lo);this.da[AdfPivotTableUtils.Io]=b.getAttribute(c,AdfPivotTableUtils.Io);
this.da[AdfPivotTableUtils.Jo]=b.getAttribute(c,AdfPivotTableUtils.Jo);this.da[AdfPivotTableUtils.Ep]=b.getAttribute(c,AdfPivotTableUtils.Ep);this.da[AdfPivotTableUtils.Ko]=b.getAttribute(c,AdfPivotTableUtils.Ko);this.da[AdfPivotTableUtils.Hp]=b.getAttribute(c,AdfPivotTableUtils.Hp);this.da[AdfPivotTableUtils.Ll]=b.getAttribute(c,AdfPivotTableUtils.Ll)}return this.da[a]};function A_$g(a,b){var c=a.className;-1==A_d.Wm(c,b)&&(a.className=c?c+" "+b:b)}
function A_ag(a,b,c){function d(){return AdfDhtmlPivotTablePeer.Ly(arguments)}AdfAssert.assertFunction(b);d.tI=a;d.cH=b;d.Aj=c;return d}AdfDhtmlPivotTablePeer.Ly=function(a){var b=a.callee;return b.cH.apply(b.tI,null==b.Aj||0==b.Aj.length?a:0==a.length?b.Aj:b.Aj.concat.apply(b.Aj,a))};A_a("AdfDhtmlPivotTablePeer.callbackCaller",AdfDhtmlPivotTablePeer.Ly);
AdfDhtmlPivotTablePeer.prototype.os=function(a){var b;if(null==a||a.constructor==String)b=a;else if(a.constructor==Array)b=a.map(this.os,this);else if("object"==typeof a){b={};for(var c in a)a.hasOwnProperty(c)&&(b[c]=this.os(a[c]))}else b=a;return b};function A_wf(a){return AdfAgent.AGENT.getOS()==AdfAgent.MAC_OS?a.metaKey:a.ctrlKey};