// SpryAccordion.js - version 0.15 - Spry Pre-Release 1.6.1
//
// Copyright (c) 2007. Adobe Systems Incorporated.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
//   * Redistributions of source code must retain the above copyright notice,
//     this list of conditions and the following disclaimer.
//   * Redistributions in binary form must reproduce the above copyright notice,
//     this list of conditions and the following disclaimer in the documentation
//     and/or other materials provided with the distribution.
//   * Neither the name of Adobe Systems Incorporated nor the names of its
//     contributors may be used to endorse or promote products derived from this
//     software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('d 5;4(!5)5={};4(!5.6)5.6={};5.6.7=9(k,18){3.k=3.17(k);3.2g=0;3.1H="2w";3.T="2v";3.U="2u";3.1w="2t";3.1p=A;3.16=A;3.r=u;3.E=u;3.1e=u;3.1Z=5.6.7.1Q;3.1f=5.6.7.20;3.z=A;3.P=0;5.6.7.1B(3,18,A);3.2j()};5.6.7.f.17=9(n){4(n&&1R n=="2x")a 2y.2C(n);a n};5.6.7.f.K=9(n,t){4(!n||!t||(n.t&&n.t.1U(F 1A("\\\\b"+t+"\\\\b"))!=-1))a;n.t+=(n.t?" ":"")+t};5.6.7.f.I=9(n,t){4(!n||!t||(n.t&&n.t.1U(F 1A("\\\\b"+t+"\\\\b"))==-1))a;n.t=n.t.2s(F 1A("\\\\s*\\\\b"+t+"\\\\b","g"),"")};5.6.7.1B=9(j,12,1S){4(!12)a;S(d 1d 2l 12){4(1S&&12[1d]==2a)2m;j[1d]=12[1d]}};5.6.7.f.22=9(e,8){4(8)3.K(3.1j(8),3.1H);a o};5.6.7.f.1P=9(e,8){4(8)3.I(3.1j(8),3.1H);a o};5.6.7.f.R=9(1c){d N=3.r;d x;4(1R 1c=="2n")x=3.L()[1c];w x=3.17(1c);4(!x||N==x)a u;d Q=N?3.10(N):u;d 1b=3.10(x);4(!1b)a u;4(3.z&&!3.P)3.P=(Q.1C)?Q.1C:Q.2c;4(3.1p){4(3.E)3.E.1s();3.E=F 5.6.7.G(3,x,{C:3.C,Y:3.Y,X:3.X});3.E.1z()}w{4(Q){Q.l.W="1n";Q.l.y="1m"}1b.l.W="2b";1b.l.y=3.z?3.P+"11":"1r"}4(N){3.I(N,3.T);3.K(N,3.U)}3.I(x,3.U);3.K(x,3.T);3.r=x;a x};5.6.7.f.1W=9(){4(!3.z&&3.r){d 8=3.r;d m=3.10(8);4(m){4(3.1p){4(3.E)3.E.1s();3.E=F 5.6.7.G(3,u,{C:3.C,Y:3.Y,X:3.X});3.E.1z()}w{m.l.W="1n";m.l.y="1m"}}3.I(8,3.T);3.K(8,3.U);3.r=u}};5.6.7.f.2J=9(){a 3.R(3.1u()+1)};5.6.7.f.2X=9(){a 3.R(3.1u()-1)};5.6.7.f.2V=9(){a 3.R(0)};5.6.7.f.2T=9(){d q=3.L();a 3.R(q[q.J-1])};5.6.7.f.1J=9(e,8){4(8!=3.r)3.R(8);w 3.1W();4(3.16)3.15();4(e.1a)e.1a();w e.1M=o;4(e.1h)e.1h();w e.1K=A;a o};5.6.7.f.27=9(e){3.1e=A;3.K(3.k,3.1w);a o};5.6.7.f.26=9(e){3.1e=o;3.I(3.k,3.1w);a o};5.6.7.1Q=2W;5.6.7.20=2Q;5.6.7.f.23=9(e){d 13=e.2R;4(!3.1e||(13!=3.1Z&&13!=3.1f))a A;d q=3.L();4(!q||q.J<1)a o;d r=3.r?3.r:q[0];d B=(13==3.1f)?r.1v:r.1Y;29(B){4(B.2d==1)2H;B=(13==3.1f)?B.1v:B.1Y}4(B&&r!=B)3.R(B);4(e.1a)e.1a();w e.1M=o;4(e.1h)e.1h();w e.1K=A;a o};5.6.7.f.2i=9(8){4(!8)a;d 14=3.1j(8);4(14){d v=3;5.6.7.D(14,"2M",9(e){a v.1J(e,8)},o);5.6.7.D(14,"2P",9(e){a v.22(e,8)},o);5.6.7.D(14,"2G",9(e){a v.1P(e,8)},o)}};5.6.7.D=9(k,1F,1G,1L){2S{4(k.D)k.D(1F,1G,1L);w 4(k.1N)k.1N("2E"+1F,1G)}2D(e){}};5.6.7.f.2h=9(8,1O){d m=3.10(8);4(1O){3.r=8;3.I(8,3.U);3.K(8,3.T);4(m){4(3.z){4(3.P)m.l.y=3.P+"11"}w{m.l.y="1r"}}}w{3.I(8,3.T);3.K(8,3.U);4(m){m.l.y="1m";m.l.W="1n"}}3.2i(8)};5.6.7.f.2j=9(){d q=3.L();S(d i=0;i<q.J;i++)3.2h(q[i],i==3.2g);3.16=(3.16&&3.k.2o.2N("2O"));4(3.16){d v=3;5.6.7.D(3.k,"15",9(e){a v.27(e)},o);5.6.7.D(3.k,"19",9(e){a v.26(e)},o);5.6.7.D(3.k,"2F",9(e){a v.23(e)},o)}};5.6.7.f.L=9(){a 3.1i(3.k)};5.6.7.f.2I=9(){a 3.r};5.6.7.f.24=9(8){d q=3.L();S(d i=0;i<q.J;i++){4(8==q[i])a i}a-1};5.6.7.f.1u=9(){a 3.24(3.r)};5.6.7.f.1j=9(8){4(!8)a u;a 3.1i(8)[0]};5.6.7.f.10=9(8){4(!8)a u;a 3.1i(8)[1]};5.6.7.f.1i=9(k){d 1y=[];d V=k.2z;29(V){4(V.2d==1)1y.2f(V);V=V.1v}a 1y};5.6.7.f.15=9(){4(3.k&&3.k.15)3.k.15()};5.6.7.f.19=9(){4(3.k&&3.k.19)3.k.19()};5.6.7.G=9(M,8,18){3.Z=u;3.1g=0;3.Y=2r;3.C=2k;3.1t=0;3.X=5.6.7.G.25;3.1q=u;3.8=8;3.2p=M.17(8);3.H=[];3.z=M.z;5.6.7.1B(3,18,A);3.1g=2B.2L(2A/3.Y);d q=M.L();S(d i=0;i<q.J;i++){d p=q[i];d c=M.10(p);4(c){d h=c.1C;4(h==2a)h=0;4(p==8&&h==0)c.l.W="2b";4(p==8||h>0){d j=F 2q;j.8=p;j.m=c;j.1o=h;j.1l=(p==8)?(M.z?M.P:c.2c):0;j.1V=j.1l-j.1o;j.O=c.l.O;3.H.2f(j);c.l.O="2U";c.l.y=h+"11"}}}};5.6.7.G.25=9(1k,2e,28,C){1k/=C;a 2e+((2-1k)*1k*28)};5.6.7.G.f.1z=9(){d v=3;3.1t=(F 1I).21();3.Z=1T(9(){v.1D()},3.1g)};5.6.7.G.f.1s=9(){4(3.Z){2K(3.Z);S(i=0;i<3.H.J;i++){j=3.H[i];j.m.l.O=j.O}}3.Z=u};5.6.7.G.f.1D=9(){d 1X=(F 1I).21();d 1x=1X-3.1t;d i,j;4(1x>=3.C){S(i=0;i<3.H.J;i++){j=3.H[i];4(j.8!=3.8){j.m.l.W="1n";j.m.l.y="1m"}j.m.l.O=j.O;j.m.l.y=(3.z||j.1l==0)?j.1l+"11":"1r"}4(3.1q)3.1q();a}S(i=0;i<3.H.J;i++){j=3.H[i];d 1E=3.X(1x,j.1o,j.1V,3.C);j.m.l.y=((1E<0)?0:1E)+"11"}d v=3;3.Z=1T(9(){v.1D()},3.1g)};',62,184,'|||this|if|Spry|Widget|Accordion|panel|function|return|||var||prototype||||obj|element|style|content|ele|false||panels|currentPanel||className|null|self|else|panelB|height|useFixedPanelHeights|true|nextPanel|duration|addEventListener|animator|new|PanelAnimator|panelData|removeClassName|length|addClassName|getPanels|accordion|panelA|overflow|fixedPanelHeight|contentA|openPanel|for|openClass|closedClass|child|display|transition|fps|timer|getPanelContent|px|optionsObj|key|tab|focus|enableKeyboardNavigation|getElement|opts|blur|preventDefault|contentB|elementOrIndex|optionName|hasFocus|nextPanelKeyCode|interval|stopPropagation|getElementChildren|getPanelTab|time|toHeight|0px|none|fromHeight|enableAnimation|onComplete|auto|stop|startTime|getCurrentPanelIndex|nextSibling|focusedClass|elapsedTime|children|start|RegExp|setOptions|offsetHeight|stepAnimation|ht|eventType|handler|hoverClass|Date|onPanelTabClick|cancelBubble|capture|returnValue|attachEvent|isDefault|onPanelTabMouseOut|KEY_UP|typeof|ignoreUndefinedProps|setTimeout|search|distance|closePanel|curTime|previousSibling|previousPanelKeyCode|KEY_DOWN|getTime|onPanelTabMouseOver|onKeyDown|getPanelIndex|defaultTransition|onBlur|onFocus|finish|while|undefined|block|scrollHeight|nodeType|begin|push|defaultPanel|initPanel|attachPanelHandlers|attachBehaviors|500|in|continue|number|attributes|panelToOpen|Object|60|replace|AccordionFocused|AccordionPanelClosed|AccordionPanelOpen|AccordionPanelTabHover|string|document|firstChild|1000|Math|getElementById|catch|on|keydown|mouseout|break|getCurrentPanel|openNextPanel|clearTimeout|floor|click|getNamedItem|tabindex|mouseover|40|keyCode|try|openLastPanel|hidden|openFirstPanel|38|openPreviousPanel'.split('|'),0,{}))
