var AdfDhtmlBaseGanttPeer=AdfRichUIPeer.createPeerClass(AdfRichUIPeer,"AdfDhtmlBaseGanttPeer");A_h("AdfDhtmlBaseGanttPeer",AdfDhtmlBaseGanttPeer);
AdfDhtmlBaseGanttPeer.InitSubclass=function(){this.p="tid";this.vd="st";this.Af="et";this.Q="rid";this.j="part";this.J="sid";this.Bu="sidf";this.kR="sidt";this.HD="hl";this.LE="vl";this.Fl="grbr";this.Rb="in";this.Ti="lbl";this.hR="linker";this.ud="split";this.pc="bar";this.$Q="arrow";this.bR="bg";this.ec="pc";this.He="right";this.Ap="left";this.du="la";this.Zt="ia";this.eu="l";this.fu="r";this.u=":";this.la="ctt";this.Zb="dtt";this.ip="cPopup";this.mR="tPopup";this.ND="lc";this.iD="_sac";this.Ut=
"_sc";this.sE="_sal";this.rE="_sah";this.oD="_create";this.Ou="_update";this.jE="_print";this.iu="_link";this.Nu="_unlink";this.Hl="_indent";this.Jl="_outdent";this.qp="_cut";this.np="_copy";this.fE="_paste";this.rp="_delete";this.zE="_ta";this.GD="_gd";this.OD="_legend";this.GE="_undo";this.lE="_redo";this.Yt="_ec";this.CD="_ea";this.Xt="_ebb";this.hD="_ca";this.Tt="_cbb";this.Dp="_prop";this.pp="_bCut";this.mp="_bCopy";this.dE="_bPaste";this.Gl="_bIndent";this.Il="_bOutdent";this.FE="_bUndo";this.kE=
"_bRedo";this.NE="_bZi";this.OE="_bZo";this.hu="_bLink";this.Mu="_bUnlink";this.MD="_bLegend";this.iE="_bPrint";this.El="_bDelete";this.nD="_bCreate";this.tp="_bEdit";this.rD="_tpCut";this.mD="_tpCopy";this.gE="_tpPaste";this.JE="_tpUpdate";this.tD="_tpDelete";this.JD="_tpIndent";this.cE="_tpOutdent";this.qR="_tpVs";this.qD="_cpCut";this.lD="_cpCopy";this.eE="_cpPaste";this.sD="_cpDelete";this.IE="_cpUpdate";this.PD="_cpLink";this.HE="_cpUnlink";this.QD="_pTAMaj";this.TD="_pTAMin";this.Gp="st_conv";
this.Wt="et_conv";this.wd="st_tt_l";this.Gb=20;this.sd=5;this.KB=80;AdfRichUIPeer.addComponentEventHandlers(this,AdfActionEvent.ACTION_EVENT_TYPE);AdfRichUIPeer.addComponentEventHandlers(this,AdfPopupOpeningEvent.POPUP_OPENING_EVENT_TYPE);AdfRichUIPeer.addComponentEventHandlers(this,AdfPopupClosedEvent.POPUP_CLOSED_EVENT_TYPE);AdfRichUIPeer.addComponentEventHandlers(this,AdfPopupOpenedEvent.POPUP_OPENED_EVENT_TYPE);AdfRichUIPeer.addComponentEventHandlers(this,AdfComponentEvent.CONTEXT_MENU_EVENT_TYPE);
AdfRichUIPeer.addComponentEventHandlers(this,AdfDropEvent.DROP_EVENT_TYPE);AdfRichUIPeer.addComponentEventHandlers(this,AdfUIInputEvent.DOUBLE_CLICK_EVENT_TYPE);AdfRichUIPeer.addComponentEventHandlers(this,AdfUIInputEvent.CLICK_EVENT_TYPE);AdfRichUIPeer.addComponentEventHandlers(this,AdfComponentEvent.BLUR_EVENT_TYPE);AdfRichUIPeer.addSuppressedPPRAttributes(this,"scrollLeft");var a=this.Bf={};a[this.Hl]="indent";a[this.Jl]="outdent";a[this.oD]="create";a[this.Ou]="update";a[this.OD]="legend";a[this.qp]=
"cut";a[this.np]="copy";a[this.fE]="paste";a[this.rp]="delete";a[this.sE]="showAsList";a[this.rE]="showAsHier";a[this.iD]="showAllColumns";a[this.Gl]="indent";a[this.Il]="outdent";a[this.MD]="legend";a[this.El]="delete";a[this.nD]="create";a[this.tp]="update";a[this.pp]="cut";a[this.mp]="copy";a[this.dE]="paste";a[this.JD]="indent";a[this.cE]="outdent";a[this.JE]="update";a[this.tD]="delete";a[this.rD]="cut";a[this.mD]="copy";a[this.gE]="paste";a[this.qD]="cut";a[this.lD]="copy";a[this.eE]="paste";
a[this.IE]="update";a[this.sD]="delete";a[this.Qu]="viewSelectedTask";a=this.yf={};a[this.Ut]="showColumn";a[this.zE]="showTimeAxisDialog";a[this.GD]="gotoDate";a[this.QD]="showTimeAxisDialog";a[this.TD]="showTimeAxisDialog";a[this.iu]="link";a[this.Nu]="unlink";a[this.hu]="link";a[this.Mu]="unlink";a[this.iR]="link";a[this.nR]="unlink";a[this.PD]="link";a[this.HE]="unlink";a[this.NE]="zoomin";a[this.OE]="zoomout";a[this.jE]="print";a[this.iE]="print";a[this.Yt]="expandNode";a[this.CD]="expandAllNodes";
a[this.Xt]="expandAllNodesBelow";a[this.hD]="collapseAllNodes";a[this.Tt]="collapseAllNodesBelow";a[this.Dp]="properties";a[this.GE]="undo";a[this.lE]="redo";a[this.FE]="undo";a[this.kE]="redo";this.ai=A_c;this.Dr=6;this.ok="days";this.bl=this.qk=A_c;this.Cp=100;this.Ll=10;this.W="_afrRK";this.jD="_afrColCount";this.bE="_afrNdCol";this.aE="_afrDisImg";this.Bp=8;this.gR=0;this.rR=1;this.Qi="p_AFDropTarget";this.CE="af|treeTable::expanded-icon-style";this.BE="af|treeTable::collapsed-icon-style";this.AE=
"af|treeTable::node-anim-icon-style";this.DE="af|treeTable::leaf-icon-style";this.EE="af|treeTable::selector-icon-style";this.dR=new A_Cc};A_h("AdfDhtmlBaseGanttPeer.InitSubclass",AdfDhtmlBaseGanttPeer.InitSubclass);
AdfDhtmlBaseGanttPeer.prototype.DispatchComponentEvent=function(a){AdfDhtmlBaseGanttPeer.superclass.DispatchComponentEvent.call(this,a);if(a.getSource()!=this.getComponent()){var b=this.getComponent().getProperty("clientListeners");if(b){var c=a.getType();(b=b[c])&&(c==AdfSelectionEvent.SELECTION_EVENT_TYPE||c==AdfRowDisclosureEvent.ROW_DISCLOSURE_EVENT_TYPE?"oracle.adf.RichTreeTable"==a.getSource().getComponentType()&&A_k.Fr(a,b):A_k.Fr(a,b))}}};
A_h("AdfDhtmlBaseGanttPeer.prototype.DispatchComponentEvent",AdfDhtmlBaseGanttPeer.prototype.DispatchComponentEvent);AdfDhtmlBaseGanttPeer.prototype.needsResizeNotify=A_f(A_b);A_h("AdfDhtmlBaseGanttPeer.prototype.needsResizeNotify",AdfDhtmlBaseGanttPeer.prototype.needsResizeNotify);AdfDhtmlBaseGanttPeer.prototype.ResizeNotify=function(){this.bl=A_c;var a=AdfDhtmlBaseGanttPeer.createSubId(this.getComponent().getClientId(),"cttp"),a=AdfAgent.AGENT.getElementById(a);a!=A_&&a.setAttribute("role","application")};
A_h("AdfDhtmlBaseGanttPeer.prototype.ResizeNotify",AdfDhtmlBaseGanttPeer.prototype.ResizeNotify);AdfDhtmlBaseGanttPeer.prototype.InitDomElement=function(a,b){AdfDhtmlBaseGanttPeer.superclass.InitDomElement.call(this,a,b);this.eq=parseInt(b.getAttribute("currentLeft"));this.Um=0;this.Dh=A_;this.Kq=0;this.Hj=A_};A_h("AdfDhtmlBaseGanttPeer.prototype.InitDomElement",AdfDhtmlBaseGanttPeer.prototype.InitDomElement);
function A_Dc(a){a.Qv==A_a&&(a.Qv=AdfDhtmlBaseGanttPeer.createSubId(a.getComponent().getClientId(),AdfDhtmlBaseGanttPeer.Zb));return a.Qv}function A_L(a){a.Dv==A_a&&(a.Dv=AdfDhtmlBaseGanttPeer.createSubId(a.getComponent().getClientId(),AdfDhtmlBaseGanttPeer.la));return a.Dv}AdfDhtmlBaseGanttPeer.createSubId=function(a,b,c){b!=A_&&(a=a.concat(AdfDhtmlBaseGanttPeer.u).concat(b));c!=A_&&(a=a.concat("::").concat(c));return a};
AdfDhtmlBaseGanttPeer.VS=function(){return AdfAgent.AGENT.atLeast(AdfAgent.IE_PLATFORM,9)?5:4};
AdfDhtmlBaseGanttPeer.ur=function(a,b){AdfAssert.assert(a!=A_);var c=AdfAgent.AGENT,d=document.getElementById(AdfDhtmlBaseGanttPeer.createSubId(a,A_,"majorAxis")),e=document.getElementById(AdfDhtmlBaseGanttPeer.createSubId(a,A_,"minorAxis")),f=d;d==A_&&(f=e);var g=f.lastChild;if(g!=A_){var h=g.innerHTML,l=0;try{g.innerHTML="bq",l=g.offsetHeight}finally{g.innerHTML=h}d!=A_&&e!=A_?(d.style.height=l+"px",e.style.height=l+"px"):f.style.height=2*l+1+"px";axes=c.getElementById(AdfDhtmlBaseGanttPeer.createSubId(AdfDhtmlBaseGanttPeer.createSubId(a,
AdfDhtmlBaseGanttPeer.la),"axes"));axesHeight=axes.parentNode.parentNode.offsetHeight;b==A_&&(b=AdfDhtmlBaseGanttPeer.dK(a));column=document.getElementById(a+":dtt:"+b);h=column.offsetHeight;if(0!=h){var m=axesHeight-h;if(0>m){if(1==h%2){h+=1;column.style.height=h+"px";var n=column.offsetHeight;n!=h&&(column.style.height=h-(n-h)+"px")}l=h/2;d!=A_&&e!=A_?(d.style.height=l+"px",e.style.height=l+"px",n=axes.parentNode.parentNode.offsetHeight,n!=h&&(m=(n-h)/2,d.style.height=l-m+"px",e.style.height=l-
m+"px")):(f.style.height=h+"px",n=axes.parentNode.parentNode.offsetHeight,n!=h&&(f.style.height=h-(n-h)+"px"));f=c.getComputedStyle(g);g="border-box"==c.getBoxSizing(g,f)?l:l-parseInt(f.paddingTop,10)-parseInt(f.paddingBottom,10);isNaN(g)||(c=parseInt(c.getComputedStyle(d.parentNode).borderBottomWidth,10),AdfDhtmlBaseGanttPeer.hz(d,g-c),AdfDhtmlBaseGanttPeer.hz(e,g))}else 0<m&&(column.style.height=h+m+"px",n=column.offsetHeight,n!=axesHeight&&(column.style.height=h+m-(n-axesHeight)+"px"));if((d=AdfPage.PAGE.findComponent(AdfDhtmlBaseGanttPeer.createSubId(a,
AdfDhtmlBaseGanttPeer.la)).getPeer())&&d.jd)try{d.ER(0,A_,axes.parentNode.parentNode.offsetWidth,0,A_b)}catch(p){}}}};A_h("AdfDhtmlBaseGanttPeer.adjustHeaders",AdfDhtmlBaseGanttPeer.ur);AdfDhtmlBaseGanttPeer.hz=function(a,b){if(a!=A_)for(var c=a.lastChild.className,d=a.childNodes,e=0;e<d.length;e++){var f=d[e];f.className==c&&(f.style.height=b+"px");var g=f.offsetHeight-b;0!=g&&(f.style.height=b-g+"px")}};
AdfDhtmlBaseGanttPeer.BM=function(a){var b=AdfDhtmlBaseGanttPeer.createSubId(a,AdfDhtmlBaseGanttPeer.la),c=AdfDhtmlBaseGanttPeer.createSubId(a,AdfDhtmlBaseGanttPeer.Zb),d=document.getElementById(b),e=document.getElementById(c),c=d.childNodes[1].childNodes,f=e.childNodes[1].childNodes;if(!(0==f.length||0==c.length)){cttHeight=d.offsetHeight;dttHeight=e.offsetHeight;cttHeight<dttHeight?d.style.height=e.style.height:dttHeight<cttHeight&&(e.style.height=d.style.height);for(var g=[],h=[],l=e=0,m=0;m<f.length;m++){var n;
if("TABLE"==f[m].nodeName){n=f[m].rows;for(var p=0;p<n.length;p++)n[p].getAttribute("_afrrk")!=A_&&(h[e]=n[p],e+=1)}}for(m=0;m<c.length;m++)if("TABLE"==c[m].nodeName){n=c[m].rows;for(p=0;p<n.length;p++)n[p].getAttribute("_afrrk")!=A_&&(g[l]=n[p],l+=1)}if(!(0==e||0==l)){n=A_;for(m=0;m<g.length;m++)if(h[0].getAttribute("_afrrk")==g[m].getAttribute("_afrrk")){n=m;break}if(n==A_)for(m=0;m<h.length;m++)if(g[0].getAttribute("_afrrk")==h[m].getAttribute("_afrrk")){n=-m;break}if(n!=A_){l=0;if(0<=n){p=g.length-
n;p>h.length&&(p=h.length);for(m=0;m<p;m++){if(g[m+n].offsetHeight<h[m].offsetHeight){var q=AdfDhtmlBaseGanttPeer.Oh(g[m+n]);if(q){q.style.height=h[m].offsetHeight+"px";var v=g[m+n].offsetHeight-h[m].offsetHeight;0!=v&&(q.style.height=h[m].offsetHeight-v+"px")}}l+=h[m].offsetHeight}}else{n=-n;p=h.length-n;p>g.length&&(p=g.length);for(m=0;m<p;m++){if(g[m].offsetHeight<h[m+n].offsetHeight&&(q=AdfDhtmlBaseGanttPeer.Oh(g[m])))q.style.height=h[m+n].offsetHeight+"px",v=g[m].offsetHeight-h[m+n].offsetHeight,
0!=v&&(q.style.height=h[m+n].offsetHeight-v+"px");l+=h[m+n].offsetHeight}}g=AdfPage.PAGE.findComponent(a).getPeer();a=A_Ec(g,d);d=A_M(g,d);d!=A_&&(b=AdfPage.PAGE.findComponent(b).getPeer(),(d=l/e*b.GetRowCount()-d.childNodes[0].offsetHeight)&&b._adjustCanvasHeight(d,a));AdfDhtmlBaseGanttPeer.zv(f);AdfDhtmlBaseGanttPeer.zv(c)}}}};
AdfDhtmlBaseGanttPeer.Oh=function(a){return"DIV"==a.nodeName&&a.id&&-1!==a.id.indexOf("tsb",a.id.length-3)?a:0<a.childNodes.length?AdfDhtmlBaseGanttPeer.Oh(a.childNodes[0]):A_};
AdfDhtmlBaseGanttPeer.zv=function(a){for(var b=0;b<a.length;b++){if("DIV"!=a[b].nodeName)var c=a[b],d=c.parentNode;else c=a[b].childNodes[0],d=a[b].parentNode;if(c.ln!=c.offsetHeight){var e=c.offsetHeight-c.ln;c.ln=c.offsetHeight;0==b&&1<a.length?(c.Qn="DIV"!=a[b].nodeName?a[b+1].Qn-c.ln:a[b+1].childNodes[0].Qn-c.ln,d.scrollTop+=e):0==b&&0!=d.scrollTop&&(d.scrollTop+=e)}}};
AdfDhtmlBaseGanttPeer.prototype.mw=function(a){a||(a=AdfPage.PAGE.getDomWindow().event);0<a.detail||0>a.wheelDelta?A_Fc(this,a,A_c):(0>a.detail||0<a.wheelDelta)&&A_Fc(this,a,A_b);AdfAgent.AGENT.eatEvent(a)};A_h("AdfDhtmlBaseGanttPeer.prototype._handleMouseWheel",AdfDhtmlBaseGanttPeer.prototype.mw);
AdfDhtmlBaseGanttPeer.pk=function(a,b,c,d,e,f){a:{a=AdfPage.PAGE.findComponent(a).getPeer();var g=a.getComponent().getClientId(),h=a.md();if(h!=A_){if(0!=e){AdfPage.PAGE.getLocaleContext().isRightToLeft()?h.scrollLeft-=e:h.scrollLeft+=e;var l=h.scrollLeft;AdfPage.PAGE.getLocaleContext().isRightToLeft()&&(l=0-h.scrollLeft);if((0<e&&h.clientWidth+l>=h.scrollWidth||0>e&&0>=l)&&0==f){a.Na();break a}}if(0!=f&&(h.scrollTop+=f,(0<f&&h.clientHeight+h.scrollTop>=h.scrollHeight||0>f&&0>=h.scrollTop)&&0==e)){a.Na();
break a}a.Rx(e,f)||(a.Op(c,d,A_c),a.ii=setTimeout('AdfDhtmlBaseGanttPeer.doAutoScroll("'+g+'","'+b+'",'+(c+e)+","+(d+f)+","+e+","+f+")",1))}}};AdfDhtmlBaseGanttPeer.prototype.Na=function(){this.ob&&(this.ii!=A_&&clearTimeout(this.ii),this.ob=A_c)};AdfDhtmlBaseGanttPeer.prototype.lg=A_d();
AdfDhtmlBaseGanttPeer.prototype.Jg=function(a){var b=A_Gc(this);b!=A_&&(b.style.display="none");var c=a.getNativeEventTarget(),b=this.getComponent();if(c!=A_&&"DIV"==c.nodeName)if("DIV"==c.parentNode.nodeName&&(c.getAttribute(AdfDhtmlBaseGanttPeer.p)!=A_||c.parentNode.getAttribute(AdfDhtmlBaseGanttPeer.p)!=A_||c.parentNode.parentNode.getAttribute(AdfDhtmlBaseGanttPeer.p)!=A_)){var d={};c.getAttribute(AdfDhtmlBaseGanttPeer.p)==A_&&(c=c.parentNode);c.getAttribute(AdfDhtmlBaseGanttPeer.p)==A_&&(c=c.parentNode);
d.taskId=c.getAttribute(AdfDhtmlBaseGanttPeer.p);d.rowKey=A_N(this,c);this.Qr(d);a=new A_Hc(b,d);a.setPartial(A_b);b.queueEvent(a)}else c=A_N(this,c),c!=A_&&(d={},d.rowKey=c,d.location=A_Ic(this,a.getNativeEvent()),a=new A_Hc(b,d),a.setPartial(A_b),b.queueEvent(a))};A_h("AdfDhtmlBaseGanttPeer.prototype.HandleComponentDblClick",AdfDhtmlBaseGanttPeer.prototype.Jg);
function A_Ic(a,b){var c=A_M(a),d=b.clientX,e=AdfAgent.AGENT,d=AdfPage.PAGE.getLocaleContext().isRightToLeft()?e.getWindowWidth(window)-d-A_Jc(a.getDomElement()):d-e.getElementLeft(a.getDomElement());return d-A_Kc(a)+a.Th(c)+e.getBrowserViewportScrollLeft()}
AdfDhtmlBaseGanttPeer.prototype.HandleComponentAction=function(a){var b=a.getSource();if(!b.getDisabled()){var b=b.getClientId(),c=AdfDhtmlBaseGanttPeer.Bf,d;for(d in c)if(0<=b.indexOf(d)){this.ff(c[d]);a.cancel();return}c=AdfDhtmlBaseGanttPeer.yf;for(d in c)if(0<=b.indexOf(d)){this[c[d]].call(this,a);a.cancel();return}if(-1!=b.indexOf("_major_")||-1!=b.indexOf("_minor_"))d=this.getComponent().getClientId(),b=a.getSource().getClientId(),d=b.substr(b.indexOf(d)+d.length+1,b.length).split("_"),b=0,
c=A_M(this),c!=A_&&(b=parseInt(c.scrollLeft)),c=this.getComponent(),d=new A_Lc(c,d[1],d[2],b),d.setPartial(A_b),c.queueEvent(d),a.cancel()}};A_h("AdfDhtmlBaseGanttPeer.prototype.HandleComponentAction",AdfDhtmlBaseGanttPeer.prototype.HandleComponentAction);AdfDhtmlBaseGanttPeer.prototype.qf=function(a){var b=AdfDhtmlBaseGanttPeer.createSubId(this.getComponent().getClientId(),AdfDhtmlBaseGanttPeer.ip);a.getSource().getClientId()==b&&(this.ai=A_b)};
A_h("AdfDhtmlBaseGanttPeer.prototype.HandleComponentPopupOpened",AdfDhtmlBaseGanttPeer.prototype.qf);AdfDhtmlBaseGanttPeer.prototype.rd=function(a){var b=AdfDhtmlBaseGanttPeer.createSubId(this.getComponent().getClientId(),AdfDhtmlBaseGanttPeer.ip);a.getSource().getClientId()==b&&(this.ai=A_c);this.Sk!=A_&&(this.Sk.style.border=this.bz);this.Sk=A_};A_h("AdfDhtmlBaseGanttPeer.prototype.HandleComponentPopupClosed",AdfDhtmlBaseGanttPeer.prototype.rd);
AdfDhtmlBaseGanttPeer.prototype.Kg=function(a){this.getComponent().getClientId();var b=A_L(this);0==a.getSource().getClientId().indexOf(b)&&a.cancel()};A_h("AdfDhtmlBaseGanttPeer.prototype.HandleComponentPopupOpening",AdfDhtmlBaseGanttPeer.prototype.Kg);AdfDhtmlBaseGanttPeer.qs=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("mobile")&&-1!=a.indexOf("safari")};AdfDhtmlBaseGanttPeer.F=function(){return AdfAgent.guessOS()==AdfAgent.ANDROID_OS||AdfDhtmlBaseGanttPeer.qs()};
function A_Mc(a){a=a.getDomElement().getAttribute("rccm");return a!=A_?a:AdfDhtmlBaseGanttPeer.ip}
AdfDhtmlBaseGanttPeer.prototype.ab=function(a){var b=a.getNativeEventTarget();if(b!=A_){for(;1!=b.nodeType;)if(b=b.parentNode,b==A_)return;a=a.getNativeEvent();var c=this.getComponent(),d=A_L(this);"srcomaj"==b.getAttribute("down")||b.parentNode!=A_&&"srcomaj"==b.parentNode.getAttribute("down")?this.showContextMenu(a,"matap",c,A_,A_,d):"srcomin"==b.getAttribute("down")||b.parentNode!=A_&&"srcomin"==b.parentNode.getAttribute("down")?this.showContextMenu(a,"mitap",c,A_,A_,d):(b=this.getComponent().getClientId()+
AdfDhtmlBaseGanttPeer.u+AdfDhtmlBaseGanttPeer.Zb,"header"==AdfPage.PAGE.findComponent(b).getPeer().YS(a)&&(this.showContextMenu(a,"vp",c,A_,A_,d),a.stopPropagation()))}};A_h("AdfDhtmlBaseGanttPeer.prototype.HandleComponentContextMenu",AdfDhtmlBaseGanttPeer.prototype.ab);A_h("AdfDhtmlBaseGanttPeer.prototype.HandleComponentContextMenu",AdfDhtmlBaseGanttPeer.prototype.ab);
AdfDhtmlBaseGanttPeer.prototype.Yd=function(a){a=a.getSource();A_L(this);a.getClientId();AdfDhtmlBaseGanttPeer.F()&&(a=this.getTooltip(),a!=A_&&(a.style.display="none"))};A_h("AdfDhtmlBaseGanttPeer.prototype.HandleComponentBlur",AdfDhtmlBaseGanttPeer.prototype.Yd);AdfDhtmlBaseGanttPeer.prototype.Ih=function(){AdfAgent.AGENT.enableUserSelect(this.getDomElement())};AdfDhtmlBaseGanttPeer.prototype.pg=function(){AdfAgent.AGENT.enableUserSelect(this.getDomElement())};
function A_Nc(a,b,c){if(c!=A_){var d=c.parentNode;c.firstChild.src=c.firstChild.getAttribute("src_dwn");var e=a.getComponent(),f={};f.rowKey=A_N(a,d);f.dpType=c.getAttribute("dpType");d=new A_O(e,"depLnMenu",f);d.setPartial(A_b);e.queueEvent(d);e=a.getComponent();d=A_L(a);a.showContextMenu(b,"dPopup",e,c,A_,d)}}
function A_Oc(a,b){var c=A_M(a),d=parseInt(b.style.left),e=parseInt(b.style.width),f=c.scrollLeft;c.scrollLeft+c.clientWidth<c.scrollWidth&&d>=c.scrollLeft+c.clientWidth?(f=d+e-c.clientWidth,f+c.clientWidth>c.scrollWidth&&(f=c.scrollWidth-c.clientWidth)):0<c.scrollLeft&&(d<c.scrollLeft&&(f=d),0>f&&(f=0));c.scrollLeft=f;d=AdfAgent.AGENT.getElementTop(c);d=AdfAgent.AGENT.getElementTop(b)-d;e=parseInt(b.parentNode.style.height);f=c.scrollTop;c.scrollTop+c.clientHeight<c.scrollHeight&&d>=c.clientHeight?
(f=d+e+f-c.clientHeight,f+c.clientHeight>c.scrollHeight&&(f=c.scrollHeight-c.clientHeight)):0<c.scrollTop&&(0>d&&(f-=Math.abs(d)),0>f&&(f=0));c.scrollTop=f}function A_P(a,b,c){return b.parentNode==A_||b.parentNode.id==A_L(a)?A_:AdfAgent.AGENT.getAttribute(b,c)!=A_?b:A_P(a,b.parentNode,c)}AdfDhtmlBaseGanttPeer.prototype.Ry=function(a){return"DIV"==a.nodeName&&AdfAgent.AGENT.getAttribute(a,AdfDhtmlBaseGanttPeer.p)!=A_};
function A_Pc(a,b){if(a.Ry(b))return b;for(var c=0;c<b.childNodes.length;c++){var d=A_Pc(a,b.childNodes[c]);if(d!=A_)return d}return A_}function A_Qc(a,b){for(var c=A_L(a),c=AdfPage.PAGE.findComponent(c).getPeer().getDomElement(),c=A_Ec(a,c).childNodes,d=c.length,e={},f=0;f<d&&!e.P;++f)for(var g=c[f].rows,h=g.length,l=0;l<h;++l){var m=g[l],n=AdfAgent.AGENT.getAttribute(m,AdfDhtmlBaseGanttPeer.W);if(n==b){e.P=n;e.Ia=m;break}}return e}
AdfDhtmlBaseGanttPeer.setScrollPos=function(a,b,c){a=AdfPage.PAGE.findComponent(a);a!=A_&&(-1!=b&&a.iz(b),-1!=c&&(A_M(a.getPeer()).scrollTop=c))};A_h("AdfDhtmlBaseGanttPeer.setScrollPos",AdfDhtmlBaseGanttPeer.setScrollPos);AdfDhtmlBaseGanttPeer.vg=function(a){a=AdfPage.PAGE.findComponent(a);a!=A_&&a.getPeer()._hideStatus()};A_h("AdfDhtmlBaseGanttPeer.hideStatus",AdfDhtmlBaseGanttPeer.vg);AdfDhtmlBaseGanttPeer.Cs=function(a){a=AdfPage.PAGE.findComponent(a);a!=A_&&a.getPeer().Cs()};
A_h("AdfDhtmlBaseGanttPeer.refreshChart",AdfDhtmlBaseGanttPeer.Cs);AdfDhtmlBaseGanttPeer.prototype.Cs=function(){var a=AdfPage.PAGE,b=a.getLookAndFeel().getTranslatedString("af_table.LABEL_FETCHING");A_Rc(this,b);this.Dh=a.scheduleTimer(this,this.dz,A_,AdfDhtmlBaseGanttPeer.Ll);this.Um++};
AdfDhtmlBaseGanttPeer.prototype.dz=function(){var a=AdfPage.PAGE;this.getComponent();var b=A_Dc(this),b=AdfPage.PAGE.findComponent(b).getPeer(),c=A_L(this),c=AdfPage.PAGE.findComponent(c).getPeer();if((b.IsFetchPending()||b.BusyAnimating()||c.BusyAnimating())&&this.Um<AdfDhtmlBaseGanttPeer.Cp){if(b=this.Dh)a.cancelTimer(b),delete this.Dh;this.Dh=a.scheduleTimer(this,this.dz,A_,AdfDhtmlBaseGanttPeer.Ll);this.Um++}else{if(b=this.Dh)a.cancelTimer(b),delete this.Dh;this.Um=0;for(var a=A_Sc(this),c=A_M(this).scrollTop,
d=AdfAgent.AGENT,e=A_Ec(this),f=e.childNodes,b={},g=f.length-1;0<=g&&!b.P;--g)for(var h=f[g].Qn,l=f[g].rows,m=l.length-1;0<=m;--m){var n=l[m];if(n.offsetTop-(c-h)+AdfDhtmlBaseGanttPeer.Bp<e.offsetHeight){h=d.getAttribute(n,AdfDhtmlBaseGanttPeer.W);b.P=h;b.Ia=n;break}}c={};c.startRowKey=a.P;c.endRowKey=b.P;a=new A_O(this.getComponent(),"refresh",c);AdfPage.PAGE.queueEventToServer(a)}};AdfDhtmlBaseGanttPeer.bM=function(a,b,c){a=AdfPage.PAGE.findComponent(a);a.getPeer().Dr=b;a.getPeer().ok=c};
A_h("AdfDhtmlBaseGanttPeer.setDateIncrementAndUnit",AdfDhtmlBaseGanttPeer.bM);function A_Tc(a){var b=new Date;b.setTime(AdfAgent.AGENT.getAttribute(a.getDomElement(),"startDate"));return b}function A_Uc(a){var b=new Date;b.setTime(AdfAgent.AGENT.getAttribute(a.getDomElement(),"endDate"));return b}function A_Vc(a){return AdfAgent.AGENT.getAttribute(a.getDomElement(),"width")}function A_Wc(a,b,c,d){return a*(c.getTime()-b.getTime())/d+b.getTime()}
AdfDhtmlBaseGanttPeer.dM=function(a,b,c){a=AdfPage.PAGE.findComponent(a);a.getPeer().ts=b;a.getPeer().us=c};A_h("AdfDhtmlBaseGanttPeer.setMajorAndMinorZoomLevel",AdfDhtmlBaseGanttPeer.dM);function A_Xc(a){a=a.getDomElement();return a!=A_&&(a=a.getAttribute("fetchSize"),a!=A_)?parseInt(a):-1}
function A_Q(a,b){if(a.ss==A_){a.ss=[];var c=a.getDomElement().getAttribute("resources");if(c!=A_)for(var c=c.split("|"),d=0;d<c.length;d+=2)a.ss[c[d]]=c[d+1];a.getDomElement().removeAttribute("resources")}"start_time"==b?b="st":"end_time"==b?b="et":"duration"==b?b="dur":"resource"==b?b="res":"complete_through"==b&&(b="ct");c=a.ss[b];return c==A_?"":c}AdfDhtmlBaseGanttPeer.prototype.yj=function(a,b){for(var c=b,d=this.getDomElement();c;){if(c==a)return A_b;if(c==d)break;c=c.parentNode}return A_c};
function A_N(a,b){var c=b.getAttribute?b.getAttribute("_afrrk"):A_;return c!=A_?c:b.parentNode==A_?A_:A_N(a,b.parentNode)}function A_Yc(a,b){var c=A_L(a);b.getAttribute("id");if(b.getAttribute("id")==c)return A_;c=b.getAttribute("_afrrk");return c!=A_?c:b.parentNode==A_?A_:A_Yc(a,b.parentNode)}
function A_Kc(a){if(AdfPage.PAGE.getLocaleContext().isRightToLeft()){var b=0,c=a.getComponent().getClientId()+"::majorAxis",c=document.getElementById(c);if(c!=A_&&c.offsetParent)for(b+=c.offsetWidth;c.offsetParent;)b+=c.offsetLeft,c=c.offsetParent;return c.offsetWidth-b-A_Jc(a.getDomElement())}b=0;c=a.getComponent().getClientId()+"::majorAxis";c=document.getElementById(c);if(c!=A_)if(c.offsetParent)for(;c.offsetParent;)b+=c.offsetLeft,c=c.offsetParent;else c.x&&(b+=c.x);return b-AdfAgent.AGENT.getElementLeft(a.getDomElement())}
AdfDhtmlBaseGanttPeer.Zh=function(a,b){var c=AdfPage.PAGE,d=c.findComponent(b),e=a.getAddedSet();if(e!=A_)for(var f in e)if(f!=A_&&(e=d.getClientId()+":"+AdfDhtmlBaseGanttPeer.la+":"+f+":tsb",e=AdfAgent.AGENT.getElementById(e),e!=A_))for(var g=0;g<e.childNodes.length;g++){var h=e.childNodes[g];if(h.getAttribute(AdfDhtmlBaseGanttPeer.j)!=A_&&(h.getAttribute(AdfDhtmlBaseGanttPeer.j)==AdfDhtmlBaseGanttPeer.LE&&"-1px"==h.style.top||h.getAttribute(AdfDhtmlBaseGanttPeer.j)==AdfDhtmlBaseGanttPeer.HD)){d=
new A_O(d,"rowDiscloseRefresh");c.queueEventToServer(d);return}}};A_h("AdfDhtmlBaseGanttPeer.handleDisclosure",AdfDhtmlBaseGanttPeer.Zh);AdfDhtmlBaseGanttPeer.prototype.cs=function(){return[AdfDhtmlBaseGanttPeer.Gl,AdfDhtmlBaseGanttPeer.Il,AdfDhtmlBaseGanttPeer.Hl,AdfDhtmlBaseGanttPeer.Jl]};function A_Zc(a,b,c){var d=AdfPage.PAGE;a=a.getComponent().getClientId();for(var e=0;e<b.length;e++){var f=d.findComponent(a+AdfDhtmlBaseGanttPeer.u+b[e]);f&&f.setProperty("disabled",c)}}
AdfDhtmlBaseGanttPeer.prototype.Fg=function(a){var b=AdfPage.PAGE,c=b.findComponent(a+AdfDhtmlBaseGanttPeer.u+AdfDhtmlBaseGanttPeer.Zb),d=b.findComponent(a+AdfDhtmlBaseGanttPeer.u+AdfDhtmlBaseGanttPeer.Yt),e=b.findComponent(a+AdfDhtmlBaseGanttPeer.u+AdfDhtmlBaseGanttPeer.Xt),b=b.findComponent(a+AdfDhtmlBaseGanttPeer.u+AdfDhtmlBaseGanttPeer.Tt);if("none"==c.getRowSelection())return d&&d.setProperty("disabled",A_b),e&&e.setProperty("disabled",A_b),b&&b.setProperty("disabled",A_b),0;a=0;var f=A_,g=c.getSelectedRowKeys(),
h;for(h in g)if(0==a&&(f=h),a++,1<a)break;if(1<a||f==A_)d&&d.setProperty("disabled",A_b),e&&e.setProperty("disabled",A_b),b&&b.setProperty("disabled",A_b);else{h=this.getComponent().getClientId()+AdfDhtmlBaseGanttPeer.u+AdfDhtmlBaseGanttPeer.Zb;h=AdfPage.PAGE.findComponent(h).getPeer().getDomElement();h=A__c(this,f,h);a:{g=A_;h!=A_&&(g=h.oz);if(A_!=g){var l;b:{l=g;var g=AdfAgent.AGENT,m=A_Ec(this),g=g.getIntAttribute(m,AdfDhtmlBaseGanttPeer.jD,-1);l=l.cells;g=0<=g?g:l.length;for(m=0;m<g;m++){var n=
l[m];if(AdfAgent.AGENT.getAttribute(n,AdfDhtmlBaseGanttPeer.bE)){l=n;break b}}l=A_}if(A_!=l){b:{g=AdfAgent.AGENT;l=l.getElementsByTagName("SPAN");m=l.length;for(n=0;n<m;n++)if(A_a!=g.getAttribute(l[n],AdfDhtmlBaseGanttPeer.aE))for(var p=l[n],q=p.childNodes.length,v=0;v<q;v++){var u=p.childNodes[v],w;if(w=1==u.nodeType){var r=u,x=AdfPage.PAGE.getLookAndFeel(),s=A_0c();w=x.getStyleClass(s.ey);var z=x.getStyleClass(s.TI),A=x.getStyleClass(s.collapsed),x=x.getStyleClass(s.Uy),s=r.className;0<=s.indexOf(w)||
0<=s.indexOf(A)||0<=s.indexOf(x)||0<=s.indexOf(z)?w=A_b:(r=r.parentNode.className,w=0<=r.indexOf(w)||0<=r.indexOf(A)||0<=r.indexOf(x))}if(w){g=u;break b}}g=A_}if(A_!=g){l=AdfPage.PAGE.getLookAndFeel().getStyleClass(A_0c().Uy);g=0<=g.className.indexOf(l);break a}}}g=A_c}c=c.isPathExpanded(f);f=this.isVisible(h);c==A_&&(c=A_c);d&&(f?d.setProperty("disabled",g):d.setProperty("disabled",A_b),d.setSelected(!c));e&&(f?e.setProperty("disabled",g):e.setProperty("disabled",A_b));b&&(f?b.setProperty("disabled",
g||!c):b.setProperty("disabled",A_b))}d=this.cs();0<a?A_Zc(this,d,A_c):A_Zc(this,d,A_b);return a};A_h("AdfDhtmlBaseGanttPeer.prototype.updateMenuItems",AdfDhtmlBaseGanttPeer.prototype.Fg);AdfDhtmlBaseGanttPeer.prototype.isVisible=function(a){return a!=A_?A_b:A_c};AdfDhtmlBaseGanttPeer.cL=function(a,b){var c=AdfPage.PAGE,d=c.findComponent(b),e=c.findComponent(A_L(d.getPeer())).getPeer().getDomElement().offsetWidth,f=parseInt(a.getNewValue()),d=new A_1c(d,e,f);c.queueEventToServer(d)};
A_h("AdfDhtmlBaseGanttPeer.handleZoomMenu",AdfDhtmlBaseGanttPeer.cL);AdfDhtmlBaseGanttPeer.LT=function(a,b,c){if("ok"==c.getOutcome()){var d=AdfPage.PAGE;a=d.findComponent(a);b=new A_2c(a,b);d.queueEventToServer(b)}c.getSource().hide();c.cancel()};AdfDhtmlBaseGanttPeer.UK=function(a,b,c){var d=AdfPage.PAGE,e=d.findComponent(b),f=parseInt(a.getNewValue());a=c[f].type;c=c[f].xS;c==A_||""==c?(b=new A_2c(e,a),d.queueEventToServer(b)):eval(c+"('"+b+"')")};A_h("AdfDhtmlBaseGanttPeer.handleFilterMenu",AdfDhtmlBaseGanttPeer.UK);
AdfDhtmlBaseGanttPeer.WK=function(a,b){if("ok"==b.getOutcome()){var c=AdfPage.PAGE,d=c.findComponent(a),d=new A_O(d,"gotoDate");c.queueEventToServer(d)}};A_h("AdfDhtmlBaseGanttPeer.handleGotoDateOK",AdfDhtmlBaseGanttPeer.WK);AdfDhtmlBaseGanttPeer.prototype.JK=function(){var a=AdfPage.PAGE,b=this.getComponent().getClientId()+AdfDhtmlBaseGanttPeer.u+"datePopup",a=a.findComponent(b);a!=A_&&a.show()};A_h("AdfDhtmlBaseGanttPeer.prototype.gotoDate",AdfDhtmlBaseGanttPeer.prototype.JK);
AdfDhtmlBaseGanttPeer.VK=function(a,b){var c=AdfPage.PAGE.findComponent(a);AdfPage.PAGE.getLocaleContext().isRightToLeft()?A_M(c.getPeer()).scrollLeft=0-b:A_M(c.getPeer()).scrollLeft=b};A_h("AdfDhtmlBaseGanttPeer.handleGotoDate",AdfDhtmlBaseGanttPeer.VK);AdfDhtmlBaseGanttPeer.prototype.qM=function(a){AdfPage.PAGE.findComponent(a).show()};A_h("AdfDhtmlBaseGanttPeer.prototype.showAdaDialog",AdfDhtmlBaseGanttPeer.prototype.qM);
AdfDhtmlBaseGanttPeer.prototype.sM=function(){var a=AdfPage.PAGE,b=this.getComponent(),c=A_M(this);if(c!=A_&&0<parseInt(c.scrollLeft)){var d={};d.scrollLeft=parseInt(c.scrollLeft);c=new A_O(b,"showTimeAxisDialog",d);a.queueEventToServer(c)}b=b.getClientId()+AdfDhtmlBaseGanttPeer.u+"gPopup";a=a.findComponent(b);a!=A_&&a.show()};A_h("AdfDhtmlBaseGanttPeer.prototype.showTimeAxisDialog",AdfDhtmlBaseGanttPeer.prototype.sM);AdfDhtmlBaseGanttPeer.prototype.link=function(){this.ff("link")};
A_h("AdfDhtmlBaseGanttPeer.prototype.link",AdfDhtmlBaseGanttPeer.prototype.link);AdfDhtmlBaseGanttPeer.prototype.Ys=function(){this.ff("unlink")};A_h("AdfDhtmlBaseGanttPeer.prototype.unlink",AdfDhtmlBaseGanttPeer.prototype.Ys);AdfDhtmlBaseGanttPeer.prototype.print=function(){var a=AdfPage.PAGE,b=this.getComponent(),b=new A_O(b,"print");b.setPartial(A_c);a.queueEventToServer(b)};A_h("AdfDhtmlBaseGanttPeer.prototype.print",AdfDhtmlBaseGanttPeer.prototype.print);
AdfDhtmlBaseGanttPeer.prototype.undo=function(){var a=AdfPage.PAGE,b=this.getComponent(),c=this.getWidth(),d={};d.width=c;c=A_M(this);c!=A_&&(d.scrollLeft=parseInt(c.scrollLeft));b=new A_O(b,"undo",d);a.queueEventToServer(b)};A_h("AdfDhtmlBaseGanttPeer.prototype.undo",AdfDhtmlBaseGanttPeer.prototype.undo);
AdfDhtmlBaseGanttPeer.prototype.redo=function(){var a=AdfPage.PAGE,b=this.getComponent(),c=this.getWidth(),d={};d.width=c;c=A_M(this);c!=A_&&(d.scrollLeft=parseInt(c.scrollLeft));b=new A_O(b,"redo",d);a.queueEventToServer(b)};A_h("AdfDhtmlBaseGanttPeer.prototype.redo",AdfDhtmlBaseGanttPeer.prototype.redo);
AdfDhtmlBaseGanttPeer.prototype.PM=function(){var a=AdfPage.PAGE,b=this.getComponent(),c=this.getWidth(),d={};d.width=c;c=A_M(this);c!=A_&&(d.scrollLeft=parseInt(c.scrollLeft),d.scrollTop=parseInt(c.scrollTop));b=new A_O(b,"zoomin",d);a.queueEventToServer(b)};A_h("AdfDhtmlBaseGanttPeer.prototype.zoomin",AdfDhtmlBaseGanttPeer.prototype.PM);
AdfDhtmlBaseGanttPeer.prototype.QM=function(){var a=AdfPage.PAGE,b=this.getComponent(),c=this.getWidth(),d={};d.width=c;c=A_M(this);c!=A_&&(d.scrollLeft=parseInt(c.scrollLeft),d.scrollTop=parseInt(c.scrollTop));b=new A_O(b,"zoomout",d);a.queueEventToServer(b)};A_h("AdfDhtmlBaseGanttPeer.prototype.zoomout",AdfDhtmlBaseGanttPeer.prototype.QM);AdfDhtmlBaseGanttPeer.uS=function(a){AdfPage.PAGE.findComponent(a).getPeer().zoom(A_)};
AdfDhtmlBaseGanttPeer.prototype.zoom=function(){var a=AdfPage.PAGE,b=this.getComponent(),c=this.getWidth(),d={};d.width=c;c=A_M(this);c!=A_&&(d.scrollLeft=parseInt(c.scrollLeft),d.scrollTop=parseInt(c.scrollTop));d.MajorScale=this.ts;d.MinorScale=this.us;b=new A_O(b,"zoom",d);a.queueEventToServer(b)};A_h("AdfDhtmlBaseGanttPeer.prototype.zoom",AdfDhtmlBaseGanttPeer.prototype.zoom);AdfDhtmlBaseGanttPeer.prototype.ff=function(a){var b=AdfPage.PAGE,c=this.getComponent();a=new A_O(c,a);b.queueEventToServer(a)};
AdfDhtmlBaseGanttPeer.prototype.rM=function(a){var b=AdfPage.PAGE,c=this.getComponent(),d=c.getClientId();a=a.getSource().getClientId();var e=0;-1<d.indexOf(AdfDhtmlBaseGanttPeer.u)&&(e=d.lastIndexOf(AdfDhtmlBaseGanttPeer.u)+1);var d=a.substr(0,a.indexOf(AdfDhtmlBaseGanttPeer.u,e)+1),e=AdfDhtmlBaseGanttPeer.Ut,e=a.substr(a.indexOf(e)+e.length).replace(/_afrColId_/g,AdfDhtmlBaseGanttPeer.u),f=b.findComponent(d+e),d=A_c;f!=A_&&(d=f.getVisible());c=new AdfTableShowColumnsEvent(c,e,d?"hide":"show");b.queueEventToServer(c);
(b=b.findComponent(a))&&b.setSelected(!d)};A_h("AdfDhtmlBaseGanttPeer.prototype.showColumn",AdfDhtmlBaseGanttPeer.prototype.rM);function A_3c(a){return a.target==A_?a.srcElement:a.target}A_g=AdfDhtmlBaseGanttPeer.prototype;A_g.getTooltip=function(){var a=this.getComponent().getClientId()+"::tt";return document.getElementById(a)};function A_Gc(a){a=a.getComponent().getClientId()+"::tt";return document.getElementById(a)}
function A_4c(a){a=a.getComponent().getClientId()+"::dt";return document.getElementById(a)}
A_g.Ns=function(a){if(!this.ai&&!this.ca){this.dragger=A_3c(a);!A_5c(this,"edit")&&this.se()&&(this.dragger.style.cursor="move");this.$=A_b;this.ua=A_c;this.dragger.parentNode.style.border="solid 1px #000000";a=AdfAgent.AGENT.getComputedStyle(this.dragger.parentNode).marginTop;var b=a.indexOf("px");-1!=b&&(a=parseInt(a.substring(0,b)),this.dragger.parentNode.style.marginTop=a-1+"px");AdfPage.PAGE.getLocaleContext().isRightToLeft()?this.dragger.parentNode.style.right=parseInt(this.dragger.parentNode.style.right)-
1+"px":this.dragger.parentNode.style.left=parseInt(this.dragger.parentNode.style.left)-1+"px"}};
A_g.Es=function(){if(!this.ca){this.dragger!=A_&&(this.dragger.style.cursor="default");var a=this.getTooltip();a!=A_&&(a.style.display="none");a=A_4c(this);a!=A_&&(a.style.display="none");this.Ps=A_c;if(!this.ua&&this.dragger!=A_){this.dragger.parentNode.style.border="";var a=AdfAgent.AGENT.getComputedStyle(this.dragger.parentNode).marginTop,b=a.indexOf("px");-1!=b&&(a=parseInt(a.substring(0,b)),this.dragger.parentNode.style.marginTop=a+1+"px");AdfPage.PAGE.getLocaleContext().isRightToLeft()?this.dragger.parentNode.style.right=
parseInt(this.dragger.parentNode.style.right)+1+"px":this.dragger.parentNode.style.left=parseInt(this.dragger.parentNode.style.left)+1+"px";this.dragger=A_}}};A_g.Pk=function(){if(!this.ca){this.dragger!=A_&&(this.dragger.style.cursor="default");var a=this.getTooltip();a!=A_&&(a.style.display="none");a=A_4c(this);a!=A_&&(a.style.display="none");this.Ps=A_c;this.dragger=A_}};A_g.Ek=A_d();A_h("AdfDhtmlBaseGanttPeer.prototype.handleSelectTask",AdfDhtmlBaseGanttPeer.prototype.Ek);
AdfDhtmlBaseGanttPeer.prototype.Ss=function(a){this.qk=A_b;a.cancelBubble=A_b;var b=A_3c(a);"bg"==b.getAttribute("part")&&(b=b.parentNode);b!=A_&&(b.style.cursor="url("+A_6c(this)+"/bi/cursors/hand.cur), default");AdfAgent.AGENT.disableUserSelect(this.getDomElement());AdfPage.PAGE.startDrag(a,this.createCallback(this.Yx),this.createCallback(this.Hr))};A_h("AdfDhtmlBaseGanttPeer.prototype.startDragPan",AdfDhtmlBaseGanttPeer.prototype.Ss);
AdfDhtmlBaseGanttPeer.prototype.Yx=function(a,b,c){a.cancelBubble=A_b;a=A_M(this);a.scrollLeft-=b;a.scrollTop-=c};A_h("AdfDhtmlBaseGanttPeer.prototype.contDragPan",AdfDhtmlBaseGanttPeer.prototype.Yx);AdfDhtmlBaseGanttPeer.prototype.Hr=function(a){AdfAgent.AGENT.enableUserSelect(this.getDomElement());a.cancelBubble=A_b;this.qk=A_c;a=A_3c(a);"bg"==a.getAttribute("part")&&(a=a.parentNode);a!=A_&&(a.style.cursor="default")};A_h("AdfDhtmlBaseGanttPeer.prototype.endDragPan",AdfDhtmlBaseGanttPeer.prototype.Hr);
AdfDhtmlBaseGanttPeer.prototype.Ms=A_f(A_c);
AdfDhtmlBaseGanttPeer.prototype.Jh=function(a,b,c){if(this.dragger!=A_)if((A_5c(this,"edit")||!this.se())&&!A_7c(a))this.hi(a);else if(A_5c(this,"linking")&&A_7c(a))this.hi(a);else if(this.kc){if(this.kc)if(A_7c(a)){a.cancelBubble=A_b;var d=this.getComponent();b=document.getElementById(d.getClientId()+"::hline");c=document.getElementById(d.getClientId()+"::vline");d=document.getElementById(d.getClientId()+"::connector");if(b!=A_&&c!=A_&&d!=A_){AdfPage.PAGE.getLocaleContext().isRightToLeft()?d.style.right=
parseInt(this.t(a))-6+"px":d.style.left=parseInt(this.t(a))-6+"px";d.style.top=parseInt(this.ha(a))-13+"px";var e=this.t(a)-parseInt(this.Cn),d=this.ha(a)-parseInt(this.rs);0<=e?(b.style.width=e+"px",AdfPage.PAGE.getLocaleContext().isRightToLeft()?b.style.right=this.Cn+"px":b.style.left=this.Cn+"px"):(AdfPage.PAGE.getLocaleContext().isRightToLeft()?b.style.right=parseInt(this.t(a))-1+"px":b.style.left=parseInt(this.t(a))-1+"px",e=parseInt(this.Cn)-parseInt(this.t(a)),b.style.width=e+"px");0<=d?(c.style.height=
d+"px",AdfPage.PAGE.getLocaleContext().isRightToLeft()?c.style.right=parseInt(this.t(a))-1+"px":c.style.left=parseInt(this.t(a))-1+"px",c.style.top=this.rs+"px"):(c.style.top=this.ha(a)+"px",e=parseInt(this.rs)-parseInt(this.ha(a)),c.style.height=e+"px",AdfPage.PAGE.getLocaleContext().isRightToLeft()?c.style.right=parseInt(this.t(a))-1+"px":c.style.left=parseInt(this.t(a))-1+"px")}}else this.Ih(a)}else"split"==this.Ld?this.mk(a,b,c):"recurring"==this.Ld?this.mk(a,b,c):"entire"==this.Ld?this.Ar(a,
b,c):this.mk(a,b,c)};A_h("AdfDhtmlBaseGanttPeer.prototype.contDrag",AdfDhtmlBaseGanttPeer.prototype.Jh);AdfDhtmlBaseGanttPeer.prototype.ve=function(a){this.Na();AdfAgent.AGENT.enableUserSelect(this.getDomElement());if(this.dragger!=A_&&(!A_5c(this,"edit")&&this.se()||A_7c(a)))if(!A_5c(this,"linking")||!A_7c(a))"split"==this.Ld?this.Nh(a):"recurring"==this.Ld?this.Nh(a):"entire"==this.Ld?this.Ir(a):this.Nh(a)};A_h("AdfDhtmlBaseGanttPeer.prototype.endDrag",AdfDhtmlBaseGanttPeer.prototype.ve);
function A_5c(a,b){var c=a.getDomElement(),d=A_c;c!=A_&&(c=c.getAttribute("featuresOff"),c!=A_&&c.match(b)&&(d=A_b));return d}A_g=AdfDhtmlBaseGanttPeer.prototype;A_g.se=function(){var a=A_;if(this.dragger!=A_){var b=this.dragger.parentNode;b!=A_&&(a=b.getAttribute("ea"))}return a==A_?A_b:A_c};function A_6c(a){a=a.getDomElement();var b=A_;a!=A_&&(b=a.getAttribute("contextPath"));return b}A_g.Qr=A_d();A_g.hi=A_d();function A_8c(a,b){a.Op(a.t(b),a.ha(b),A_b)}
A_g.Op=function(a,b,c){var d=new Date;d.setTime(this.nc.getTime());var e=new Date;e.setTime(this.ue.getTime());var f=this.ok;if(this.$){var g=this.Ra(),h=this.getComponent().getClientId()+AdfDhtmlBaseGanttPeer.u+AdfDhtmlBaseGanttPeer.la,h=AdfPage.PAGE.findComponent(h),g=parseInt(A_9c(g))-A_Kc(this),g=this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.J)!=A_?g+h.getScrollLeft()-2:g-h.getScrollLeft()+2,g=A_Wc(g,A_Tc(this),A_Uc(this),A_Vc(this)),h=this.ue.getTime()-this.nc.getTime();d.setTime(g);e.setTime(g+
h)}else if(this.ua){if(this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.ec)==A_){for(var g=A_,h=this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.J),l=this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.Q),m=0;m<this.dragger.parentNode.childNodes.length;m++)if(l!=A_){if(this.dragger.parentNode.childNodes[m].getAttribute(AdfDhtmlBaseGanttPeer.j)==AdfDhtmlBaseGanttPeer.pc&&l==this.dragger.parentNode.childNodes[m].getAttribute(AdfDhtmlBaseGanttPeer.Q)){g=this.dragger.parentNode.childNodes[m];break}}else if(this.dragger.parentNode.childNodes[m].getAttribute(AdfDhtmlBaseGanttPeer.j)==
AdfDhtmlBaseGanttPeer.pc||h!=A_&&h==this.dragger.parentNode.childNodes[m].getAttribute(AdfDhtmlBaseGanttPeer.J)){g=this.dragger.parentNode.childNodes[m];break}g=h!=A_?parseInt(A_9c(this.dragger.parentNode))+parseInt(A_9c(g))+parseInt(this.resizeGhostBar.style.width):parseInt(A_9c(g))+parseInt(this.resizeGhostBar.style.width)}else this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.ec)!=A_&&(g=parseInt(A_9c(this.dragger))+parseInt(this.dragger.style.width));g=A_Wc(g,A_Tc(this),A_Uc(this),A_Vc(this));e.setTime(g)}g=
A_Gc(this);g!=A_&&(m="",h=this.getDomElement(),l=A_$c(this,AdfDhtmlBaseGanttPeer.Wt),l!=A_?l=l.getAsString(e):(l=A_ad(this,e),"hour"==f&&(l+="\x3c/b\x3e")),this.$?(e=A_$c(this,AdfDhtmlBaseGanttPeer.Gp),e!=A_?d=e.getAsString(d):(d=A_ad(this,d),"hour"==f&&(d+="\x3c/b\x3e")),m="\x3ctable cellpadding\x3d'0' cellspacing\x3d'0' style\x3d'padding-bottom:3px;padding-right:3px'\x3e\x3ctr valign\x3d'top'\x3e\x3ctd class\x3d'"+h.getAttribute(AdfDhtmlBaseGanttPeer.wd)+"' style\x3d'text-align:right; padding:0 8px 0 0; white-space: nowrap;'\x3e"+
A_Q(this,"start_time")+"\x3c/td\x3e\x3ctd style\x3d'text-align:left;'\x3e"+d+"\x3c/td\x3e\x3c/tr\x3e",m=m+"\x3ctr valign\x3d'top'\x3e\x3ctd class\x3d'"+h.getAttribute(AdfDhtmlBaseGanttPeer.wd)+"' style\x3d'text-align:right; padding:0 8px 0 0; white-space: nowrap;'\x3e"+A_Q(this,"end_time")+"\x3c/td\x3e\x3ctd style\x3d'text-align:left;'\x3e"+l+"\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e"):this.ua&&("hour"==f?(f=(e.getTime()-this.nc.getTime())/36E5,f=Math.max(0,Math.round(100*f)/100),f+=" h"):(f=(e.getTime()-
this.nc.getTime())/864E5,f=Math.max(0,Math.round(100*f)/100),f=f+" "+A_Q(this,"days")),m="\x3ctable cellpadding\x3d'0' cellspacing\x3d'0' style\x3d'padding-bottom:3px;padding-right:3px'\x3e\x3ctr valign\x3d'top'\x3e\x3ctd class\x3d'"+h.getAttribute(AdfDhtmlBaseGanttPeer.wd)+"' style\x3d'text-align:right; padding:0 8px 0 0; white-space: nowrap;'\x3e"+A_Q(this,"end_time")+"\x3c/td\x3e\x3ctd style\x3d'text-align:left;'\x3e"+l+"\x3c/td\x3e\x3c/tr\x3e",m=m+"\x3ctr valign\x3d'top'\x3e\x3ctd class\x3d'"+
h.getAttribute(AdfDhtmlBaseGanttPeer.wd)+"' style\x3d'text-align:right; padding:0 8px 0 0; white-space: nowrap;'\x3e"+A_Q(this,"duration")+"\x3c/td\x3e\x3ctd style\x3d'text-align:left;'\x3e"+f+"\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e"),g.childNodes[0].childNodes[1].childNodes[1].innerHTML=m,c&&(g.style.display="block",g.style.top=b-50+"px",g.style.left=a-parseInt(g.offsetWidth)-10+"px"))};
function A_9c(a){var b=a.style.left;AdfPage.PAGE.getLocaleContext().isRightToLeft()&&(b=a.style.right);return b}function A_7c(a){return a==A_?window.event.ctrlKey?A_b:A_c:a.ctrlKey?A_b:A_c}
function A_bd(a,b,c){var d=parseInt(AdfAgent.AGENT.getDomWindow().document.documentElement.scrollLeft);b.style.left=parseInt(c)-d+5+"px";a=AdfAgent.AGENT.getElementPageBounds(a.getDomElement());d=parseInt(b.style.left)+parseInt(b.offsetWidth)+10-(a.right-a.left+d);0<d&&(b.style.left=parseInt(b.style.left)-d+"px");AdfPage.PAGE.getLocaleContext().isRightToLeft()&&(b.style.right=b.style.left,b.style.left="")}
function A_cd(a,b,c,d){var e=AdfAgent.AGENT.getElementPageBounds(a.getDomElement()),f=AdfAgent.AGENT.getDomWindow().document.documentElement,g=parseInt(f.scrollLeft),f=parseInt(f.scrollTop),h=parseInt(c)-g+5;b.style.left=h+"px";g=h+parseInt(b.offsetWidth)+10-(e.right-e.left+g);0<g&&(h-=g);AdfPage.PAGE.getLocaleContext().isRightToLeft()?(b.style.right=h+"px",b.style.left=""):b.style.left=h+"px";h=parseInt(d)-f+5;b.style.top=h+"px";g=h+parseInt(b.offsetHeight)+10-(e.bottom-e.top+f);0<g?(b.style.top=
h-g+"px",a.qz(b,c,d,f,e)):b.style.top=h+"px"}A_g.qz=A_d();
A_g.DomReplaceNotify=function(a){if(!this.ai){var b=a.getAttribute("parentId");if(b!=A_){var c=a.getAttribute(AdfDhtmlBaseGanttPeer.p),b=document.getElementById(b),c=A_dd(b,c);c!=A_&&c.setAttribute("tooltip",a.getAttribute("tooltip"))}if(this.dragger!=A_){var c=a.getAttribute("getX"),b=a.getAttribute("getY"),d=this.getTooltip();if(a.getAttribute("tooltip")==A_||""==a.getAttribute("tooltip"))return A_;d.style.top=parseInt(b)+5+"px";var e=AdfAgent.AGENT.getElementPageBounds(this.getDomElement()),e=
parseInt(d.style.top)+parseInt(d.style.height)-e.bottom+5;0<e&&(d.style.top=parseInt(d.style.top)-e+"px");d.childNodes[0].childNodes[1].childNodes[1].innerHTML=a.getAttribute("tooltip");d.style.display="block";A_cd(this,d,c,b);return A_}}};A_h("AdfDhtmlBaseGanttPeer.prototype.DomReplaceNotify",AdfDhtmlBaseGanttPeer.prototype.DomReplaceNotify);
AdfDhtmlBaseGanttPeer.prototype.showTooltip=function(a){if(!this.ca&&!this.qk&&!this.ai){var b=A_ed(this,this.dragger),c=b[0],d=b[1],b=A_dd(d,c);if(b!=A_&&(b.getAttribute("tooltip")==A_||""==b.getAttribute("tooltip")))b=A_;if(b==A_){if(this.dragger.getAttribute(AdfDhtmlBaseGanttPeer.j)==AdfDhtmlBaseGanttPeer.Rb||"IMG"==this.dragger.nodeName)this.dragger=A_P(this,this.dragger,AdfDhtmlBaseGanttPeer.p);this.dragger.getAttribute("tooltip")!=A_&&""==this.dragger.getAttribute("tooltip")||(b={},b.taskId=
c,b.rowKey=A_Yc(this,this.dragger),b.parentId=d.getAttribute("id"),b.getX=this.t(a),b.getY=this.ha(a),c=this.getComponent(),a=AdfPage.PAGE,b=new A_O(c,"onDemandTooltip",b),b.setPartial(A_b),a.queueEventToServer(b))}else c=this.getTooltip(),c.style.top=parseInt(this.ha(a))+5+"px",d=AdfAgent.AGENT.getElementPageBounds(this.getDomElement()),d=parseInt(c.style.top)+parseInt(c.style.height)-d.bottom+5,0<d&&(c.style.top=parseInt(c.style.top)-d+"px"),c.childNodes[0].childNodes[1].childNodes[1].innerHTML=
b.getAttribute("tooltip"),c.style.display="block",A_cd(this,c,this.t(a),this.ha(a))}};
function A_Fc(a,b,c){var d=a.getTooltip();d!=A_&&(d.style.display="none");a.Sn!=A_&&clearTimeout(a.Sn);var e=a.getComponent(),d=A_4c(a);a.bl=A_b;var f=document.getElementById(e.getClientId()),e=f.getAttribute("major"),f=f.getAttribute("minor"),e=A_xa(a.ts,c,e);c=A_xa(a.us,c,f);e!=A_&&c!=A_&&(a.ts=e[0],a.us=c[0]);d.style.top=parseInt(a.ha(b))-30+"px";f=AdfAgent.AGENT.getElementPageBounds(a.getDomElement());f=parseInt(d.style.top)+parseInt(d.style.height)-f.bottom+5;0<f&&(d.style.top=parseInt(d.style.top)-
f+"px");d.childNodes[0].childNodes[1].childNodes[1].innerHTML="\x3cdiv style\x3d'position:relative;padding-bottom:3px;padding-right:3px'\x3e"+e[1]+", "+c[1]+"\x3c/div\x3e";d.style.display="block";A_bd(a,d,a.t(b));b=a.getComponent().getClientId();a.Sn=setTimeout('AdfDhtmlBaseGanttPeer.callZoom("'+b+'")',1E3)}
function A_xa(a,b,c){c=c.split(";");c.pop();for(var d=0;d<c.length;d++){var e=c[d].split(",");if(a==e[0]){if(b&&d<c.length-1)return c[d+1].split(",");if(!b&&0<d)return c[d-1].split(",")}}return A_}
function A_ed(a,b){var c=A_,d=A_,d=A_,c=a.getComponent().getClientId()+AdfDhtmlBaseGanttPeer.u+AdfDhtmlBaseGanttPeer.la;if(b!=A_){if(b.getAttribute("id")==c)return A_;var c=b.getAttribute(AdfDhtmlBaseGanttPeer.p),d=A_P(a,b.parentNode,"id"),d=[c,d],e=b.getAttribute(AdfDhtmlBaseGanttPeer.J),f=b.getAttribute(AdfDhtmlBaseGanttPeer.Q);if(c==A_||e!=A_||f!=A_)d=A_ed(a,b.parentNode)}return d}
function A_dd(a,b){for(var c=A_,d=0;d<a.childNodes.length;d++){var e=a.childNodes[d];if("DIV"==e.nodeName&&e.getAttribute(AdfDhtmlBaseGanttPeer.p)==b){c=e;break}}return c}
AdfDhtmlBaseGanttPeer.prototype.getWidth=function(){var a=this.getDomElement(),b=AdfAgent.AGENT.getComputedStyle(a),c=0;"100%"==b.width||"webkit"==AdfAgent.AGENT.getPlatform()&&"auto"==b.left?c=parseInt(AdfAgent.AGENT.getWindowClientWidth(AdfAgent.AGENT.getDomWindow())):(c="",c=AdfAgent.AGENT.getPlatform()==AdfAgent.IE_PLATFORM?a.clientWidth:b.width,c="auto"==b.left?Math.min(parseInt(AdfAgent.AGENT.getWindowClientWidth(AdfAgent.AGENT.getDomWindow())),parseInt(c)):Math.min(parseInt(AdfAgent.AGENT.getWindowClientWidth(AdfAgent.AGENT.getDomWindow())),
parseInt(b.left)+parseInt(c)));parseInt(AdfAgent.AGENT.getWindowClientHeight(AdfAgent.AGENT.getDomWindow()))<parseInt(AdfAgent.AGENT.getWindowScrollHeight(AdfAgent.AGENT.getDomWindow()))&&(c-=14);return c};function A_fd(a){return(0>a||9<a?"":"0")+a}function A_$c(a,b){var c=a.getDomElement().getAttribute(b);return c!=A_?eval(c):A_}
function A_ad(a,b,c){a=a.getDomElement().getAttribute("df");a+="";var d="",e=0,f="",g="",f=b.getYear()+"",g=b.getMonth()+1,h=b.getDate(),l=b.getHours(),m=b.getMinutes();b={};4>f.length&&(f=""+(f-0+1900));b.y=""+f;b.yyyy=f;b.yy=f;b.M=A_fd(g);b.MM=A_fd(g);b.d=A_fd(h);b.dd=A_fd(h);b.H=A_fd(l);b.HH=A_fd(l);b.h=0==l?12:12<l?l-12:l;b.h=A_fd(b.h);b.hh=A_fd(b.h);b.K=11<l?l-12:l;b.k=l+1;b.KK=A_fd(b.K);b.kk=A_fd(b.k);b.a=11<l?"PM":"AM";b.m=A_fd(m);for(b.mm=A_fd(m);e<a.length;){f=a.charAt(e);for(g="";a.charAt(e)==
f&&e<a.length;)g+=a.charAt(e++);if(c==A_a&&("H"==g||"HH"==g||"hh"==g||"h"==g))d+="\x3cb\x3e";d=b[g]!=A_?d+b[g]:d+g}return d}AdfDhtmlBaseGanttPeer.RK=function(a,b,c){"width"==a.getPropertyName()&&AdfDhtmlBaseGanttPeer.ur(b,c)};A_h("AdfDhtmlBaseGanttPeer.handleColumnPropertyChange",AdfDhtmlBaseGanttPeer.RK);
AdfDhtmlBaseGanttPeer.js=function(a,b){var c=a.getPropertyName();if("scrollLeft"==c){var d=parseInt(a.getNewValue()),e=AdfPage.PAGE.findComponent(b),c=e.getPeer(),f=parseInt(A_Xc(c)),g=AdfAgent.AGENT.getElementById(A_L(c)).offsetWidth,h=a.getSource(),h=new AdfScrollEvent(e,"chartHorizontalScroll",a,d,h.getScrollTop());e.queueEvent(h);if(-1<f&&(e.setProperty("scrollLeft",d,A_b,AdfUIComponent.PROPAGATE_ALWAYS),d+g>c.eq+f||d-g<c.eq-f)){c.eq=d;var f=AdfPage.PAGE,g=A_gd(c),h=c.hw(),l={};l.startRowKey=
g;l.endRowKey=h;d=new A_hd(e,d,l);f.queueEventToServer(d);d=f.getLookAndFeel().getTranslatedString("af_table.LABEL_FETCHING");A_Rc(c,d)}}else"selectedRowKeys"==c?(e=AdfPage.PAGE.findComponent(b),c=e.getPeer(),c.Fg(b)):"collapsed"==c&&a.getNewValue()==A_c&&setTimeout(function(){AdfDhtmlBaseGanttPeer.ur(b)},10)};A_h("AdfDhtmlBaseGanttPeer.handlePropertyChange",AdfDhtmlBaseGanttPeer.js);
AdfDhtmlBaseGanttPeer.dK=function(a){a=AdfDhtmlBaseGanttPeer.createSubId(a,AdfDhtmlBaseGanttPeer.Zb);var b=AdfAgent.AGENT.getElementById(a),b=AdfAgent.AGENT.getAttribute(b,"_leafColClientIds"),b=eval(b);return 0<b.length?b[b.length-1].substring(a.length+1):A_};AdfDhtmlBaseGanttPeer.SK=function(a){AdfPage.PAGE.findComponent(a).getPeer().mt(a)};A_h("AdfDhtmlBaseGanttPeer.handleDataFetch",AdfDhtmlBaseGanttPeer.SK);
AdfDhtmlBaseGanttPeer.prototype.mt=function(a){this._hideStatus();var b=AdfPage.PAGE,c=A_Dc(this),c=b.findComponent(c).getPeer(),d=A_L(this),d=b.findComponent(d).getPeer();if((c.IsFetchPending()||c.BusyAnimating()||d.BusyAnimating())&&this.yx<AdfDhtmlBaseGanttPeer.Cp){if(c=this.bn)b.cancelTimer(c),delete this.bn;this.bn=b.scheduleTimer(this,this.mt,a,AdfDhtmlBaseGanttPeer.Ll);this.yx++}else{if(c=this.bn)b.cancelTimer(c),delete this.bn;this.yx=0;AdfDhtmlBaseGanttPeer.BM(a);this.Gy(a)}};
AdfDhtmlBaseGanttPeer.prototype.Gy=function(a){var b=AdfPage.PAGE;if(b.findComponent(a+AdfDhtmlBaseGanttPeer.u+AdfDhtmlBaseGanttPeer.Zb).getSelectedRowKeys()==A_&&this.Kq<AdfDhtmlBaseGanttPeer.Cp){var c=this.Hj;c&&(b.cancelTimer(c),delete this.Hj);this.Hj=b.scheduleTimer(this,this.Gy,a,AdfDhtmlBaseGanttPeer.Ll);this.Kq++}else{if(c=this.Hj)b.cancelTimer(c),delete this.Hj;this.Kq=0;this.ks(a)}};AdfDhtmlBaseGanttPeer.prototype.ks=function(a){this.Fg(a)};
AdfDhtmlBaseGanttPeer.prototype.Rr=function(){return this.getComponent().getClientId()+"::ghost"};A_h("AdfDhtmlBaseGanttPeer.prototype.getGhostId",AdfDhtmlBaseGanttPeer.prototype.Rr);AdfDhtmlBaseGanttPeer.prototype.Ra=function(){return document.getElementById(this.Rr())};A_h("AdfDhtmlBaseGanttPeer.prototype.getGhost",AdfDhtmlBaseGanttPeer.prototype.Ra);
AdfDhtmlBaseGanttPeer.sJ=function(a,b,c){var d=document.getElementById(c);0>a?(a=Math.min(0,a+5),AdfPage.PAGE.getLocaleContext().isRightToLeft()?d.style.right=parseInt(d.style.right)+5+"px":d.style.left=parseInt(d.style.left)+5+"px"):0<a&&(a=Math.max(0,a-5),AdfPage.PAGE.getLocaleContext().isRightToLeft()?d.style.right=parseInt(d.style.right)-5+"px":d.style.left=parseInt(d.style.left)-5+"px");0>b?(b=Math.min(0,b+5),d.style.top=parseInt(d.style.top)+5+"px"):0<b&&(b=Math.max(0,b-5),d.style.top=parseInt(d.style.top)-
5+"px");if(0==a&&0==b){clearTimeout(this.IK);for(a=d.firstChild;a.firstChild;)a.removeChild(a.firstChild);d.style.display="none"}else this.IK=setTimeout("AdfDhtmlBaseGanttPeer.doMove("+a+","+b+',"'+c+'")',1)};AdfDhtmlBaseGanttPeer.prototype.ia=function(a){var b=this.bf(a.getNativeEventTarget());if(b!=A_a){a=a.getNativeEventTarget();if(a!=A_&&a.parentNode!=A_&&(a=a.getAttribute(AdfDhtmlBaseGanttPeer.j),a==A_||"bg"==a))return;this.Ob(b);this.C=b}};
A_h("AdfDhtmlBaseGanttPeer.prototype.HandleComponentClick",AdfDhtmlBaseGanttPeer.prototype.ia);AdfDhtmlBaseGanttPeer.prototype.xk=function(a){return this.bf(a)};AdfDhtmlBaseGanttPeer.prototype.bf=A_f(A_);function A_id(a,b,c,d){b=b.concat(c);d!=A_&&(b=b.concat(" "),d instanceof Date&&(d=A_ad(a,d,A_b)),b=b.concat(d));return b=b.concat(", ")}
AdfDhtmlBaseGanttPeer.prototype.Ob=function(a){if(a!=A_&&(a.setAttribute("tabIndex",0),a.focus(),a=a.getAttribute("data-tooltip"),a!=A_)){var b=AdfDhtmlBaseGanttPeer.createSubId(this.getComponent().getClientId(),A_,"ots");AdfAgent.AGENT.getElementById(b).textContent=a}};
AdfDhtmlBaseGanttPeer.CB=function(a,b){for(var c=AdfAgent.AGENT,d=c.getElementById(b+"::stp").getElementsByTagName("td"),e=0;e<d.length;e++)a=0<e?a.concat(", "):a.concat(" "),a=a.concat(d[e].textContent),a=a.concat(" "),e+1<d.length&&(a=a.concat(d[e+1].textContent),e++);c.getElementById(b+"::sts").textContent=a};A_h("AdfDhtmlBaseGanttPeer.HandleLegendUpdate",AdfDhtmlBaseGanttPeer.CB);
AdfDhtmlBaseGanttPeer.DB=function(a,b,c,d){var e=AdfPage.PAGE.findComponent(a).getPeer(),e=A_Q(e,"tu");b!=A_&&(e=e.concat(" "),e=e.concat(b));c!=A_&&d!=A_&&(b=document.getElementById(c),d=A_dd(b,d),d!=A_&&d.setAttribute("data-tooltip",e));AdfAgent.AGENT.getElementById(a+"::ots").textContent=e};A_h("AdfDhtmlBaseGanttPeer.HandleTooltipFetched",AdfDhtmlBaseGanttPeer.DB);