function Lm(a,b,d,e,f,g,h){this.Init(a,b,d,e,f,g,h)}v("AdfDhtmlElementAnimator",Lm);v("AdfDhtmlElementAnimator",Lm);z.l(Lm);Lm.prototype.Init=function(a,b,d,e,f,g,h){Lm.f.Init.call(this);this.$wa=a;this.Hua=b;this.Q8=d;this.oW=e;this.ab=f;this.KZ=(new Date).getTime();this.gVa=g;this.fVa=h};z.a("AdfDhtmlElementAnimator.prototype.Init",{Init:Lm.prototype.Init});Lm.prototype.stop=function(){this.aAa=l;window.clearInterval(this.OX);var a=this.oW;Mm(this);return a};
z.a("AdfDhtmlElementAnimator.prototype.stop",{stop:Lm.prototype.stop});
function Qg(a,b,d,e,f,g,h){for(var m=w.b,q=d.length,s=Array(q),y=0;y<q;y++){var A=d[y],C=A.ib,C=C===k?A.properties:C,G=A.element,G=G===k?A.element:G,A={};Nm(A,C,G,"width","offsetWidth","borderLeftWidth","borderRightWidth");Nm(A,C,G,"height","offsetHeight","borderTopWidth","borderBottomWidth");var K=C.alpha;if(K!=n&&!isNaN(K)){var N=G.style.opacity;if(G.ownerDocument.all&&N==n)try{N=G.filters.alpha.opacity/100}catch(Q){}if(N==n||""==""+N)N=1;A.opacity=[N,K/100,l]}K=C.zIndex;if(K!=n&&!isNaN(K)){var N=
A,T;a:{if(T=m.getComputedStyle(G))if(T=T.zIndex,!isNaN(T))break a;T=0}N.zIndex=[T,K,l]}K=C.top;K!=n&&!isNaN(K)&&(N=(N=G.style.top)&&"auto"!=N?parseInt(N):m.nd(G),A.top=[N,K]);K=C.left;K!=n&&!isNaN(K)&&(N=(N=G.style.left)&&"auto"!=N?parseInt(N):m.rc(G),A.left=[N,K]);K=C.right;K!=n&&!isNaN(K)&&(N=(N=G.style.right)&&"auto"!=N?parseInt(N):m.rc(G),A.right=[N,K]);K=C.offsetTop;K!=n&&!isNaN(K)&&(A.offsetTop=[G.offsetTop,K]);K=C.offsetLeft;K!=n&&!isNaN(K)&&(A.offsetLeft=[G.offsetLeft,K]);K=C.scrollLeft;K!=
n&&!isNaN(K)&&(A.scrollLeft=[G.scrollLeft,K,l]);C=C.scrollTop;C!=n&&!isNaN(C)&&(A.scrollTop=[G.scrollTop,C,l]);s[y]={element:G,state:A}}b=Math.max(1,Math.round(b*Om));F.c.Ac()||(b=1);a=new Lm(s,e,f,g,h,a,b);a.Zsa=a.o(a.PRa);a.OX=self.setInterval(a.Zsa,Math.floor(1/Om));return a}Lm.animate=Qg;v("AdfDhtmlElementAnimator.animate",Qg);function Nm(a,b,d,e,f,g,h){b=b[e];b!=n&&!isNaN(b)&&(f=d[f],d.style!=n&&(f=Pm(f,d.style[g]),f=Pm(f,d.style[h])),a[e]=[f,b])}
function Mm(a){delete a.$wa;delete a.Hua;delete a.Q8;delete a.oW;delete a.ab;delete a.KZ;delete a.OX;delete a.Zsa;delete a.aAa}
Lm.prototype.PRa=function(){if(!(this.aAa||this.OX==n))if(this.r_a){window.clearInterval(this.OX);this.Q8!=n&&this.Q8(this.oW);if(this.ab){var a=this.ab;a.k()||(a=this.ab.e(),a=F.c.j(a));a&&(F.c.Iw(a),F.c.Dw())}Mm(this)}else{var a=this.$wa,b=a.length,d=Math.round(Om*((new Date).getTime()-this.KZ)),e=this.fVa,f=this.gVa,g=p;d>=e-1&&(this.r_a=g=l);for(var h=0;h<b;h++){var m=a[h],q=m.element,m=m.state,s,y;for(y in m){var A;if(g)A=m[y][1];else{A=parseFloat(m[y][0]);s=parseFloat(m[y][1]);var C=d/e,G=k;
switch(f){case 0:G=C;break;case 1:G=Math.pow(C,2);break;case 2:G=1-Math.pow(C-1,2);break;case 3:G=(Math.cos(C*Math.PI+Math.PI)+1)/2;break;default:D.i.severe("Invalid AdfDhtmlElementAnimator framing method: "+f),G=1}A+=G*(s-A)}s=A;m[y][2]||(s+="px");A=q;C=y;"opacity"==C&&w.b.G()==w.aa?(s*=100,A.style.filter=1==s?"":"alpha(opacity\x3d"+s+")"):"offsetLeft"==C?A.style.left=s:"offsetTop"==C?A.style.top=s:"scrollLeft"==C?w.b.te(A,s,n):"scrollTop"==C?w.b.te(A,n,s):A.style[C]=s}}a=this.Hua;a!=n&&a(this.oW)}};
function Pm(a,b){b!=n&&""!=b&&(a-=parseInt(b));return a}var Om=0.06;v("AdfDhtmlElementAnimator.FRAME_METHOD_CONSTANT_SPEED",0);v("AdfDhtmlElementAnimator.FRAME_METHOD_ACCELERATING",1);v("AdfDhtmlElementAnimator.FRAME_METHOD_DECELERATING",2);Lm.FRAME_METHOD_SLOW_FAST_SLOW=3;v("AdfDhtmlElementAnimator.FRAME_METHOD_SLOW_FAST_SLOW",3);