// SprySlidingPanels.js - version 0.5.1 - Spry Pre-Release 1.6.1
//
// 2011. Kingdom Creation
//
// Copyright (c) 2006. 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,r){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--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}('9 4;7(!4)4={};7(!4.5)4.5={};4.5.6=8(a,b){3.v=3.T(a);3.p=o;3.w=O;3.1U=o;3.18=m;3.1V=4.5.6.1W;3.1m=4.5.6.1X;3.19="2P";3.1n="2Q";3.1o="2R";3.U=o;3.Z=[];3.I=O;3.1Y="2S";3.1p="2T";3.P=o;3.1Z=1;3.V=m;3.D=1;3.1q=2U;3.20=o;3.21=o;3.22=2V;3.2W=o;4.5.6.1r(3,b);7(3.v)3.v.11.2X="2Y";7(3.12){7(E 3.12=="1a")3.w=3.J()[3.12];u 3.w=3.T(3.12)}7(!3.w)3.w=3.J()[0];3.23();3.1b=0;7(4.5.6.1s){3.1t()}u{4.5.6.1u.1v(3)}};4.5.6.l.2Z=8(){7(E 3.1w!="Q")3.U=3.1w;7(E 3.1x!="Q")3.P=3.1x;7(E 3.1y!="Q")3.V=3.1y};4.5.6.l.31=8(){3.U=o;3.P=o;3.V=o};4.5.6.l.32=8(){3.1w=3.U;3.1x=3.P;3.1y=3.V;3.U=m;3.P=m;3.V=m};4.5.6.l.33=8(){9 a=3.p;3.p=m;3.A(3.w);3.p=a};4.5.6.l.34=8(){3.A(3.12)};4.5.6.l.24=8(e){3.18=o;3.R(3.v,3.1n);n m};4.5.6.l.25=8(e){3.18=m;3.13(3.v,3.1n);n m};4.5.6.1W=37;4.5.6.35=38;4.5.6.1X=39;4.5.6.36=3a;4.5.6.l.26=8(e){9 a=e.3b;7(!3.18||(a!=3.1V&&a!=3.1m))n o;7(a==3.1m)3.1z();u 3.1A();7(e.K)e.K();u e.3c=m;7(e.27)e.27();u e.3d=o;n m};4.5.6.l.1B=8(){3.D=1;9 a=4.5.6.r.F;3.L();9 b=3.p;3.p=o;4.5.6.r.F=4.5.6.r.1c;3.1z();3.G=m;3.p=b;4.5.6.r.F=a};4.5.6.l.1C=8(){3.D=0;9 a=4.5.6.r.F;3.L();9 b=3.p;3.p=o;4.5.6.r.F=4.5.6.r.1c;3.1A();4.5.6.r.F=a;3.G=m;3.p=b};4.5.6.l.28=4.5.6.l.1B;4.5.6.l.29=4.5.6.l.1C;4.5.6.l.1D=8(e){3.v.3e(\'2a\',3.1E);3.B.x=O;3.B.1F=m};4.5.6.l.2b=8(e){7(3.P){7(e.2c.H!=1)n m;9 t=e.3f[0];3.B.x=t.3g;3.B.y=t.3h;3.B.1F=o;3.2d=o;9 a=3;4.5.6.z(3.v,"2a",8(e){n a.1E(e||C.S)},m);4.5.6.z(3.v,"3i",8(e){n a.2e(e||C.S)},m)}n m};4.5.6.l.1E=8(e){7(3.B.2f&&e.K)e.K();7(3.B.1F){9 t=e.2c[0],1G=3.B.x-t.3j,1H=3.B.y-t.3k;7(3.1Z==1){7(1d.2g(1G)>=3.B.2h){3.1D();7(e.K)e.K();7(1G>0){3.1B()}u{3.1C()}}}u{7(1d.2g(1H)>=3.B.2i){3.1D();7(e.K)e.K();7(1H>0){3.28()}u{3.29()}}}}n m};4.5.6.l.2e=8(e){3.2d=m;7(3.P){}};4.5.6.l.2j=8(e){9 a=3.p;3.p=m;3.2k=o;3.A(3.14(3.w));3.2k=m;3.p=a};4.5.6.l.2l=8(a){7(E(3.1I)=="1a"){3.13(3.Z[3.1I],3.1p)}3.1I=a;3.R(3.Z[a],3.1p)};4.5.6.l.2m=8(a){9 b=15.3l("a");b.3m="&3n\\2n&3o\\2n";n b};4.5.6.l.23=8(){7(!3.I)n;7(3.T(3.I)){3.Z=[];3.I=3.T(3.I);3.R(3.I,3.1Y);9 a=3.1J();9 b=3;16(9 i=0;i<a;i++){9 c=3.2m(i);c.3p("3q",i);c.2o=i;c.3r=8(){b.L();b.2p=o;b.A(3.2o);b.2p=m;b.G=m};3.Z.1v(c);3.I.3s(c)}}};4.5.6.l.3t=8(){};4.5.6.l.1t=8(){9 a=3.v;7(!a)n;7(3.1U){9 b=O;9 c=(15.2q)?a.3u.2q("3v"):O;7(c||a.3w.3x()=="a")b=a;7(b){9 d=3;4.5.6.z(b,"3y",8(e){n d.24(e||C.S)},m);4.5.6.z(b,"3z",8(e){n d.25(e||C.S)},m);4.5.6.z(b,"3A",8(e){n d.26(e||C.S)},m)}}3.G=m;3.B={2h:30,2i:30,2f:m};9 f=3.1e();9 d=3;4.5.6.z(f,"3B",8(e){n d.2b(e||C.S)},m);4.5.6.z(C,"3C",8(e){n d.2j(e||C.S)},m);7(3.w){9 g=3.p;3.p=m;3.A(3.w);3.p=g}7(3.2r){3.2r()}7(3.V){3.2s()}};4.5.6.l.1K=8(){9 a=3.J(),2t=a.H,1b=a.H-1,2u=3.2v();16(9 i=0;i<2t;i++){7(a[i]==a[1b]&&3.D==1){9 b=3.p;3.A(0);3.p=b;3.D=1;2w}7(a[i]==2u){3.D==1?(i++):(i--);3.A(3.D==1?(i>=a.H?0:i):(i<0?a.H-1:i));2w}}};4.5.6.l.2s=8(){9 a=3;9 b=m;3.M=2x(8(){a.1K()},3.1q)};4.5.6.l.2y=8(){7(3.M&&E 3.M==\'1a\'){3.M=3D(3.M);3.M=O}};4.5.6.l.3E=8(a){3.D=a};4.5.6.l.T=8(a){7(a&&E a=="3F")n 15.3G(a);n a};4.5.6.l.R=8(a,b){7(!a||!b||(a.N&&a.N.2z(W 1L("\\\\b"+b+"\\\\b"))!=-1))n;a.N+=(a.N?" ":"")+b};4.5.6.l.13=8(a,b){7(!a||!b||(a.N&&a.N.2z(W 1L("\\\\b"+b+"\\\\b"))==-1))n;a.N=a.N.3H(W 1L("\\\\s*\\\\b"+b+"\\\\b","g"),"")};4.5.6.1r=8(a,b,c){7(!b)n;16(9 d 3I b){7(c&&b[d]==Q)3J;a[d]=b[d]}};4.5.6.l.1M=8(a){9 b=[];9 c=a.3K;3L(c){7(c.3M==1)b.1v(c);c=c.3N}n b};4.5.6.l.2v=8(){n 3.w};4.5.6.l.1e=8(){n 3.1M(3.v)[0]};4.5.6.l.J=8(){n 3.1M(3.1e())};4.5.6.l.1J=8(){n 3.J().H};4.5.6.1s=m;4.5.6.1u=[];4.5.6.2A=8(a){7(E C.z!=\'Q\')C.z(\'2B\',a,m);u 7(E 15.z!=\'Q\')15.z(\'2B\',a,m);u 7(E C.1f!=\'Q\')C.1f(\'3O\',a)};4.5.6.2C=8(a){4.5.6.1s=o;9 q=4.5.6.1u;9 b=q.H;16(9 i=0;i<b;i++){q[i].1t()}};4.5.6.2A(4.5.6.2C);4.5.6.z=8(a,b,c,d){3P{7(a.z)a.z(b,c,d);u 7(a.1f)a.1f("3Q"+b,c)}3R(e){}};4.5.6.l.14=8(a){7(a){a=3.T(a);9 b=3.J();9 c=b.H;16(9 i=0;i<c;i++){7(b[i]==a)n i}}n-1};4.5.6.l.A=8(a){9 b=-1;7(E a=="1a")b=a;u b=3.14(a);9 c=3.1J();7(c>0)b=(b>=c)?c-1:b;u b=0;9 i=b;3.1b=c-1;3.D==1?(i++):(i--);3.3S=(3.D==1)?(i>=c?0:i):(i<0?c-1:i);3.3T=(3.D==1)?(i>=c?i:0):(i<0?i:c-1);7(3.2D){3.2D(b)}7(!3.U)n;9 d=3.J()[b];9 e=3.1e();7(d&&e){7(3.I){3.2l(b)}7(3.w)3.13(3.w,3.19);3.w=d;7(3.2E){3.2E()}7(3.2F){3.2F(b)}9 f=-d.2G;9 g=-d.2H;7(3.p){7(3.1g)3.1g.1N();9 h=e.2G;9 j=e.2H;7(h!=f||j!=g){9 k=3;3.R(3.v,3.1o);3.1g=W 4.5.6.r(e,h,j,f,g,{X:3.X,1h:3.1h,17:3.17,1i:8(){k.13(k.v,k.1o);k.R(d,k.19)}});3.1g.2I()}}u{e.11.2J=f+"1j";e.11.2K=g+"1j";3.R(d,3.19)}}n d};4.5.6.l.L=8(){9 a=3;3.G=o;7(3.M){7(3.20){3.2y();7(3.21){1O(8(){a.M=2x(8(){a.1K()},a.1q)},3.22)}}}};4.5.6.l.3U=8(){3.L();3.A(0);3.G=m};4.5.6.l.3V=8(){3.L();3.A(3.J().H-1);3.G=m};4.5.6.l.1A=8(){3.L();3.A(3.14(3.w)-1);3.G=m};4.5.6.l.1z=8(){3.L();3.A(3.14(3.w)+1);3.G=m};4.5.6.r=8(a,b,c,d,e,f){3.v=a;3.1k=b;3.1l=c;3.1P=d;3.1Q=e;3.1h=3W;3.X=3X;3.17=4.5.6.r.F;3.1R=0;3.Y=0;3.1i=O;9 g=3;3.1S=8(){g.2L()};4.5.6.1r(3,f,o);3.1T=3Y/3.1h};4.5.6.r.F=8(a,b,c,d){a/=d;n b+((2-a)*a*c)};4.5.6.r.1c=8(a,b,c,d){9 e=c;7(a==0)n b;7(a==d)n b+e;7((a/=d/2)<1)n e/2*1d.2M(2,10*(a-1))+b;n e/2*(-1d.2M(2,-10*--a)+2)+b};4.5.6.r.F=4.5.6.r.1c;4.5.6.r.l.2I=8(){3.1N();3.1R=(W 2N()).2O();3.Y=1O(3.1S,3.1T)};4.5.6.r.l.1N=8(){7(3.Y)3Z(3.Y);3.Y=0};4.5.6.r.l.2L=8(){9 a=(W 2N()).2O()-3.1R;9 b=a>=3.X;9 x,y;7(b){x=3.1k=3.1P;y=3.1l=3.1Q}u{x=3.17(a,3.1k,3.1P-3.1k,3.X);y=3.17(a,3.1l,3.1Q-3.1l,3.X)}3.v.11.2J=x+"1j";3.v.11.2K=y+"1j";7(!b)3.Y=1O(3.1S,3.1T);u 7(3.1i)3.1i()};',62,248,'|||this|Spry|Widget|SlidingPanels|if|function|var||||||||||||prototype|false|return|true|enableAnimation||PanelAnimator|||else|element|currentPanel|||addEventListener|showPanel|touch|window|automaticSlidingDirection|typeof|defaultTransition|userInteracted|length|indicator|getContentPanels|preventDefault|userInteraction|automaticSlidingTimer|className|null|enableTouchNavigation|undefined|addClassName|event|getElement|enabled|automatic|new|duration|timerID|indicators||style|defaultPanel|removeClassName|getContentPanelIndex|document|for|transition|hasFocus|currentPanelClass|number|lastPanelIndex|swipeTransition|Math|getContentGroup|attachEvent|animator|fps|finish|px|curX|curY|nextPanelKeyCode|focusedClass|animatingClass|currentIndicatorClass|automaticDelay|setOptions|onloadDidFire|attachBehaviors|loadQueue|push|wasEnabled|wasEnableTouchNavigation|wasAutomatic|showNextPanel|showPreviousPanel|swipeLeft|swipeRight|cancelTouch|onTouchMove|moving|deltaX|deltaY|previousIndicator|getContentPanelsCount|automaticSlidingFunction|RegExp|getElementChildren|stop|setTimeout|dstX|dstY|startTime|intervalFunc|interval|enableKeyboardNavigation|previousPanelKeyCode|KEY_LEFT|KEY_RIGHT|indicatorClass|touchSlidingDirection|interupt|reinstateAfterStop|reinstateAfterDelay|createIndicators|onFocus|onBlur|onKeyDown|stopPropagation|swipeUp|swipeDown|touchmove|onTouchStart|touches|swiping|onTouchEnd|preventDefaultEvents|abs|minDeltaHorizontal|minDeltaVertical|onOrientationChange|orientationChanged|updateIndicators|createIndicator|x3B|index|clicking|getNamedItem|attachMoreBehaviors|startSliding|panelcount|current|getCurrentPanel|break|setInterval|stopSliding|search|addLoadListener|load|processLoadQueue|panelDemandShow|loadPanelImages|panelChange|offsetLeft|offsetTop|start|left|top|step|pow|Date|getTime|SlidingPanelsCurrentPanel|SlidingPanelsFocused|SlidingPanelsAnimating|SlidingPanelsIndicators|SlidingPanelsCurrentIndicator|6000|9000|processNow|overflow|hidden|restoreEnableSettings||enable|disable|showInitialPanel|showDefaultPanel|KEY_UP|KEY_DOWN||||40|keyCode|returnValue|cancelBubble|removeEventListener|targetTouches|clientX|clientY|touchend|pageX|pageY|createElement|innerHTML|bull|nbsp|setAttribute|rel|onclick|appendChild|onMouseOver|attributes|tabindex|nodeName|toLowerCase|focus|blur|keydown|touchstart|orientationchange|clearInterval|setSlidingDirection|string|getElementById|replace|in|continue|firstChild|while|nodeType|nextSibling|onload|try|on|catch|nextPanelIndex|previousPanelIndex|showFirstPanel|showLastPanel|60|500|1000|clearTimeout'.split('|'),0,{}))
