eval(function(e,j,p,v,x,D){x=function(F){return(F<j?"":x(parseInt(F/j)))+((F%=j)>35?String.fromCharCode(F+29):F.toString(36))};if(!"".replace(/^/,String)){for(;p--;)D[x(p)]=v[p]||x(p);v=[function(F){return D[F]}];x=function(){return"\\w+"};p=1}for(;p--;)if(v[p])e=e.replace(new RegExp("\\b"+x(p)+"\\b","g"),v[p]);return e}("m 9F={af:'1.11'};h $5k(L){k(L!=7D)};h $t(L){o(!$5k(L))k V;o(L.3T)k'B';m t=57 L;o(t=='2w'&&L.a7){2k(L.6m){17 1:k'B';17 3:k(/\\S/).2U(L.8q)?'ak':'ad'}}o(t=='2w'||t=='h'){2k(L.7A){17 2b:k'1p';17 6N:k'6d';17 19:k'4k'}o(57 L.M=='4w'){o(L.2M)k'9U';o(L.7p)k'12'}}k t};h $1X(){m 4Q={};G(m i=0;i<12.M;i++){G(m C 15 12[i]){m ap=12[i][C];m 4X=4Q[C];o(4X&&$t(ap)=='2w'&&$t(4X)=='2w')4Q[C]=$1X(4X,ap);14 4Q[C]=ap}}k 4Q};m $N=h(){m 1b=12;o(!1b[1])1b=[c,1b[0]];G(m C 15 1b[1])1b[0][C]=1b[1][C];k 1b[0]};m $4a=h(){G(m i=0,l=12.M;i<l;i++){12[i].N=h(1F){G(m 1H 15 1F){o(!c.1z[1H])c.1z[1H]=1F[1H];o(!c[1H])c[1H]=$4a.5F(1H)}}}};$4a.5F=h(1H){k h(Q){k c.1z[1H].3m(Q,2b.1z.7M.1Q(12,1))}};$4a(62,2b,6p,7I);h $2i(L){k!!(L||L===0)};h $7m(L,7C){k $5k(L)?L:7C};h $6J(3O,22){k 1c.9W(1c.6J()*(22-3O+1)+3O)};h $3e(){k J 98().99()};h $4c(1w){9T(1w);9Q(1w);k 1r};m 33=h(L){L=L||{};L.N=$N;k L};m 9R=J 33(P);m aX=J 33(K);K.5K=K.3i('5K')[0];P.3p=!!(K.79);o(P.aV)P.2t=P[P.aQ?'b0':'7B']=1a;14 o(K.8o&&!K.bb&&!bc.b6)P.3A=P[P.3p?'aO':'5j']=1a;14 o(K.aN!=1r)P.6k=1a;P.aw=P.3A;ax.N=$N;o(57 4N=='7D'){m 4N=h(){};o(P.3A)K.8j(\"av\");4N.1z=(P.3A)?P[\"[[aq.1z]]\"]:{}}4N.1z.3T=h(){};o(P.7B)6o{K.ar(\"at\",V,1a)}6f(e){};m 19=h(1v){m 4H=h(){k(12[0]!==1r&&c.1n&&$t(c.1n)=='h')?c.1n.3m(c,12):c};$N(4H,c);4H.1z=1v;4H.7A=19;k 4H};19.1u=h(){};19.1z={N:h(1v){m 5N=J c(1r);G(m C 15 1v){m 7E=5N[C];5N[C]=19.7F(7E,1v[C])}k J 19(5N)},3o:h(){G(m i=0,l=12.M;i<l;i++)$N(c.1z,12[i])}};19.7F=h(3u,21){o(3u&&3u!=21){m t=$t(21);o(t!=$t(3u))k 21;2k(t){17'h':m 7s=h(){c.1q=12.7p.1q;k 21.3m(c,12)};7s.1q=3u;k 7s;17'2w':k $1X(3u,21)}}k 21};m 8E=J 19({aI:h(O){c.3F=c.3F||[];c.3F.1f(O);k c},8Q:h(){o(c.3F&&c.3F.M)c.3F.89().1V(10,c)},aH:h(){c.3F=[]}});m 2e=J 19({1L:h(t,O){o(O!=19.1u){c.$X=c.$X||{};c.$X[t]=c.$X[t]||[];c.$X[t].6F(O)}k c},1o:h(t,1b,1V){o(c.$X&&c.$X[t]){c.$X[t].1D(h(O){O.2v({'Q':c,'1V':1V,'12':1b})()},c)}k c},49:h(t,O){o(c.$X&&c.$X[t])c.$X[t].2y(O);k c}});m 44=J 19({3v:h(){c.r=$1X.3m(1r,[c.r].N(12));o(c.1L){G(m 4z 15 c.r){o($t(c.r[4z]=='h')&&(/^4W[A-Z]/).2U(4z))c.1L(4z,c.r[4z])}}k c}});2b.N({4Z:h(O,Q){G(m i=0,j=c.M;i<j;i++)O.1Q(Q,c[i],i,c)},2D:h(O,Q){m 4d=[];G(m i=0,j=c.M;i<j;i++){o(O.1Q(Q,c[i],i,c))4d.1f(c[i])}k 4d},2E:h(O,Q){m 4d=[];G(m i=0,j=c.M;i<j;i++)4d[i]=O.1Q(Q,c[i],i,c);k 4d},5O:h(O,Q){G(m i=0,j=c.M;i<j;i++){o(!O.1Q(Q,c[i],i,c))k V}k 1a},aC:h(O,Q){G(m i=0,j=c.M;i<j;i++){o(O.1Q(Q,c[i],i,c))k 1a}k V},48:h(2M,R){m 4g=c.M;G(m i=(R<0)?1c.22(0,4g+R):R||0;i<4g;i++){o(c[i]===2M)k i}k-1},7x:h(1d,M){1d=1d||0;o(1d<0)1d=c.M+1d;M=M||(c.M-1d);m 7g=[];G(m i=0;i<M;i++)7g[i]=c[1d++];k 7g},2y:h(2M){m i=0;m 4g=c.M;6g(i<4g){o(c[i]===2M){c.5t(i,1);4g--}14{i++}}k c},1e:h(2M,R){k c.48(2M,R)!=-1},aE:h(1C){m L={},M=1c.3O(c.M,1C.M);G(m i=0;i<M;i++)L[1C[i]]=c[i];k L},N:h(1p){G(m i=0,j=1p.M;i<j;i++)c.1f(1p[i]);k c},1X:h(1p){G(m i=0,l=1p.M;i<l;i++)c.6F(1p[i]);k c},6F:h(2M){o(!c.1e(2M))c.1f(2M);k c},aG:h(){k c[$6J(0,c.M-1)]||1r},6z:h(){k c[c.M-1]||1r}});2b.1z.1D=2b.1z.4Z;2b.1D=2b.4Z;h $A(1p){k 2b.7x(1p)};h $1D(3q,O,Q){o(3q&&57 3q.M=='4w'&&$t(3q)!='2w'){2b.4Z(3q,O,Q)}14{G(m 1E 15 3q)O.1Q(Q||3q,3q[1E],1E)}};2b.1z.2U=2b.1z.1e;6p.N({2U:h(5p,2p){k(($t(5p)=='2L')?J 6N(5p,2p):5p).2U(c)},2G:h(){k 4t(c,10)},8i:h(){k 4G(c)},6V:h(){k c.2Z(/-\\D/g,h(2B){k 2B.6W(1).7G()})},8t:h(){k c.2Z(/\\w[A-Z]/g,h(2B){k(2B.6W(0)+'-'+2B.6W(1).4M())})},70:h(){k c.2Z(/\\b[a-z]/g,h(2B){k 2B.7G()})},4m:h(){k c.2Z(/^\\s+|\\s+$/g,'')},6S:h(){k c.2Z(/\\s{2,}/g,' ').4m()},5T:h(1p){m 2n=c.2B(/\\d{1,3}/g);k(2n)?2n.5T(1p):V},5z:h(1p){m 3G=c.2B(/^#?(\\w{1,2})(\\w{1,2})(\\w{1,2})$/);k(3G)?3G.7M(1).5z(1p):V},1e:h(2L,s){k(s)?(s+c+s).48(s+2L+s)>-1:c.48(2L)>-1},9f:h(){k c.2Z(/([.*+?^${}()|[\\]\\/\\\\])/g,'\\\\$1')}});2b.N({5T:h(1p){o(c.M<3)k V;o(c.M==4&&c[3]==0&&!1p)k'aM';m 3G=[];G(m i=0;i<3;i++){m 3U=(c[i]-0).8J(16);3G.1f((3U.M==1)?'0'+3U:3U)}k 1p?3G:'#'+3G.2u('')},5z:h(1p){o(c.M!=3)k V;m 2n=[];G(m i=0;i<3;i++){2n.1f(4t((c[i].M==1)?c[i]+c[i]:c[i],16))}k 1p?2n:'2n('+2n.2u(',')+')'}});62.N({2v:h(r){m O=c;r=$1X({'Q':O,'u':V,'12':1r,'1V':V,'3s':V,'5V':V},r);o($2i(r.12)&&$t(r.12)!='1p')r.12=[r.12];k h(u){m 1b;o(r.u){u=u||P.u;1b=[(r.u===1a)?u:J r.u(u)];o(r.12)1b.N(r.12)}14 1b=r.12||12;m 35=h(){k O.3m($7m(r.Q,O),1b)};o(r.1V)k aL(35,r.1V);o(r.3s)k aK(35,r.3s);o(r.5V)6o{k 35()}6f(aJ){k V};k 35()}},aB:h(1b,Q){k c.2v({'12':1b,'Q':Q})},5V:h(1b,Q){k c.2v({'12':1b,'Q':Q,'5V':1a})()},Q:h(Q,1b){k c.2v({'Q':Q,'12':1b})},aA:h(Q,1b){k c.2v({'Q':Q,'u':1a,'12':1b})},1V:h(1V,Q,1b){k c.2v({'1V':1V,'Q':Q,'12':1b})()},3s:h(7v,Q,1b){k c.2v({'3s':7v,'Q':Q,'12':1b})()}});7I.N({2G:h(){k 4t(c)},8i:h(){k 4G(c)},1t:h(3O,22){k 1c.3O(22,1c.22(3O,c))},3w:h(4n){4n=1c.3d(10,4n||0);k 1c.3w(c*4n)/4n},as:h(O){G(m i=0;i<c;i++)O(i)}});m I=J 19({1n:h(q,1F){o($t(q)=='2L'){o(P.2t&&1F&&(1F.1E||1F.t)){m 1E=(1F.1E)?' 1E=\"'+1F.1E+'\"':'';m t=(1F.t)?' t=\"'+1F.t+'\"':'';4b 1F.1E;4b 1F.t;q='<'+q+1E+t+'>'}q=K.8j(q)}q=$(q);k(!1F||!q)?q:q.1U(1F)}});m 1M=J 19({1n:h(U){k(U)?$N(U,c):c}});1M.N=h(1F){G(m 1H 15 1F){c.1z[1H]=1F[1H];c[1H]=$4a.5F(1H)}};h $(q){o(!q)k 1r;o(q.3T)k 2a.4e(q);o([P,K].1e(q))k q;m t=$t(q);o(t=='2L'){q=K.5o(q);t=(q)?'B':V}o(t!='B')k 1r;o(q.3T)k 2a.4e(q);o(['2w','ao'].1e(q.59.4M()))k q;$N(q,I.1z);q.3T=h(){};k 2a.4e(q)};K.5s=K.3i;h $$(){m U=[];G(m i=0,j=12.M;i<j;i++){m 1B=12[i];2k($t(1B)){17'B':U.1f(1B);17'au':1J;17 V:1J;17'2L':1B=K.5s(1B,1a);6P:U.N(1B)}}k $$.4C(U)};$$.4C=h(1p){m U=[];G(m i=0,l=1p.M;i<l;i++){o(1p[i].$5u)54;m B=$(1p[i]);o(B&&!B.$5u){B.$5u=1a;U.1f(B)}}G(m n=0,d=U.M;n<d;n++)U[n].$5u=1r;k J 1M(U)};1M.5y=h(C){k h(){m 1b=12;m 1k=[];m U=1a;G(m i=0,j=c.M,35;i<j;i++){35=c[i][C].3m(c[i],1b);o($t(35)!='B')U=V;1k.1f(35)};k(U)?$$.4C(1k):1k}};I.N=h(1v){G(m C 15 1v){4N.1z[C]=1v[C];I.1z[C]=1v[C];I[C]=$4a.5F(C);m 8k=(2b.1z[C])?C+'1M':C;1M.1z[8k]=1M.5y(C)}};I.N({1U:h(1F){G(m 1H 15 1F){m 4P=1F[1H];2k(1H){17'6I':c.5H(4P);1J;17'X':o(c.5r)c.5r(4P);1J;17'1v':c.5J(4P);1J;6P:c.58(1H,4P)}}k c},28:h(q,8l){q=$(q);2k(8l){17'8g':q.2K.6D(c,q);1J;17'7N':m 4v=q.8s();o(!4v)q.2K.6M(c);14 q.2K.6D(c,4v);1J;17'1j':m 6X=q.6H;o(6X){q.6D(c,6X);1J}6P:q.6M(c)}k c},b8:h(q){k c.28(q,'8g')},9e:h(q){k c.28(q,'7N')},b1:h(q){k c.28(q,'4E')},aT:h(q){k c.28(q,'1j')},9i:h(){m U=[];$1D(12,h(8d){U=U.6i(8d)});$$(U).28(c);k c},2y:h(){k c.2K.8r(c)},aR:h(8e){m q=$(c.aP(8e!==V));o(!q.$X)k q;q.$X={};G(m t 15 c.$X)q.$X[t]={'1C':$A(c.$X[t].1C),'1I':$A(c.$X[t].1I)};k q.5C()},aU:h(q){q=$(q);c.2K.an(q,c);k q},8b:h(2s){c.6M(K.aY(2s));k c},6Y:h(1l){k c.1l.1e(1l,' ')},8m:h(1l){o(!c.6Y(1l))c.1l=(c.1l+' '+1l).6S();k c},8f:h(1l){c.1l=c.1l.2Z(J 6N('(^|\\\\s)'+1l+'(?:\\\\s|$)'),'$1').6S();k c},aW:h(1l){k c.6Y(1l)?c.8f(1l):c.8m(1l)},26:h(C,F){2k(C){17'29':k c.8n(4G(F));17'9P':C=(P.2t)?'9O':'9S'}C=C.6V();2k($t(F)){17'4w':o(!['9V','8u'].1e(C))F+='3Y';1J;17'1p':F='2n('+F.2u(',')+')'}c.1A[C]=F;k c},5H:h(1W){2k($t(1W)){17'2w':I.5v(c,'26',1W);1J;17'2L':c.1A.71=1W}k c},8n:h(29){o(29==0){o(c.1A.3C!=\"4K\")c.1A.3C=\"4K\"}14{o(c.1A.3C!=\"6y\")c.1A.3C=\"6y\"}o(!c.5R||!c.5R.9N)c.1A.8u=1;o(P.2t)c.1A.2D=(29==1)?'':\"9X(29=\"+29*56+\")\";c.1A.29=c.$1G.29=29;k c},1R:h(C){C=C.6V();m 1y=c.1A[C];o(!$2i(1y)){o(C=='29')k c.$1G.29;1y=[];G(m 1A 15 I.3y){o(C==1A){I.3y[1A].1D(h(s){m 1A=c.1R(s);1y.1f(4t(1A)?1A:'7T')},c);o(C=='3t'){m 5O=1y.5O(h(3U){k(3U==1y[0])});k(5O)?1y[0]:V}k 1y.2u(' ')}}o(C.1e('3t')){o(I.3y.3t.1e(C)){k['7X','63','6u'].2E(h(p){k c.1R(C+p)},c).2u(' ')}14 o(I.87.1e(C)){k['7S','7O','7P','7Y'].2E(h(p){k c.1R('3t'+p+C.2Z('3t',''))},c).2u(' ')}}o(K.8v)1y=K.8v.9D(c,1r).9L(C.8t());14 o(c.5R)1y=c.5R[C]}o(P.2t)1y=I.7W(C,1y,c);o(1y&&C.2U(/5P/i)&&1y.1e('2n')){k 1y.4r('2n').5t(1,4).2E(h(5P){k 5P.5T()}).2u(' ')}k 1y},9b:h(){k I.74(c,'1R',12)},4x:h(5U,1d){5U+='9I';m q=(1d)?c[1d]:c[5U];6g(q&&$t(q)!='B')q=q[5U];k $(q)},9G:h(){k c.4x('3u')},8s:h(){k c.4x('4v')},am:h(){k c.4x('4v','6H')},6z:h(){k c.4x('3u','ac')},ag:h(){k $(c.2K)},ah:h(){k $$(c.8o)},6e:h(q){k!!$A(c.3i('*')).1e(q)},5d:h(C){m 3c=I.5h[C];o(3c)k c[3c];m 6w=I.82[C]||0;o(!P.2t||6w)k c.aj(C,6w);m 6C=c.ab[C];k(6C)?6C.8q:1r},a2:h(C){m 3c=I.5h[C];o(3c)c[3c]='';14 c.9y(C);k c},a1:h(){k I.74(c,'5d',12)},58:h(C,F){m 3c=I.5h[C];o(3c)c[3c]=F;14 c.a4(C,F);k c},5J:h(1W){k I.5v(c,'58',1W)},5L:h(){c.7U=$A(12).2u('');k c},a5:h(2s){m 2J=c.4l();o(['1A','3f'].1e(2J)){o(P.2t){o(2J=='1A')c.8a.71=2s;14 o(2J=='3f')c.58('2s',2s);k c}14{c.8r(c.6H);k c.8b(2s)}}c[$5k(c.7l)?'7l':'7V']=2s;k c},a6:h(){m 2J=c.4l();o(['1A','3f'].1e(2J)){o(P.2t){o(2J=='1A')k c.8a.71;14 o(2J=='3f')k c.5d('2s')}14{k c.7U}}k($7m(c.7l,c.7V))},4l:h(){k c.59.4M()},1u:h(){2a.4q(c.3i('*'));k c.5L('')}});I.7W=h(C,1y,B){o($2i(4t(1y)))k 1y;o(['34','2A'].1e(C)){m 1I=(C=='2A')?['1m','4F']:['1j','4E'];m 2P=0;1I.1D(h(F){2P+=B.1R('3t-'+F+'-2A').2G()+B.1R('7t-'+F).2G()});k B['1x'+C.70()]-2P+'3Y'}14 o(C.2U(/3t(.+)7X|2I|7t/)){k'7T'}k 1y};I.3y={'3t':[],'7t':[],'2I':[]};['7S','7O','7P','7Y'].1D(h(86){G(m 1A 15 I.3y)I.3y[1A].1f(1A+86)});I.87=['cC','cA','cB'];I.74=h(q,2N,1C){m 1y={};$1D(1C,h(1g){1y[1g]=q[2N](1g)});k 1y};I.5v=h(q,2N,72){G(m 1g 15 72)q[2N](1g,72[1g]);k q};I.5h=J 33({'4k':'1l','G':'cg','cf':'cd','ce':'cj','ck':'cp','co':'cn','cG':'cm','cF':'cL','d0':'cZ','F':'F','85':'85','84':'84','80':'80','81':'81'});I.82={'4Y':2,'3N':2};I.2c={51:{2C:h(t,O){o(c.6s)c.6s(t,O,V);14 c.d4('4W'+t,O);k c},3L:h(t,O){o(c.8c)c.8c(t,O,V);14 c.d3('4W'+t,O);k c}}};P.N(I.2c.51);K.N(I.2c.51);I.N(I.2c.51);m 2a={U:[],4e:h(q){o(!q.$1G){2a.U.1f(q);q.$1G={'29':1}}k q},4q:h(U){G(m i=0,j=U.M,q;i<j;i++){o(!(q=U[i])||!q.$1G)54;o(q.$X)q.1o('4q').5C();G(m p 15 q.$1G)q.$1G[p]=1r;G(m d 15 I.1z)q[d]=1r;2a.U[2a.U.48(q)]=1r;q.3T=q.$1G=q=1r}2a.U.2y(1r)},1u:h(){2a.4e(P);2a.4e(K);2a.4q(2a.U)}};P.2C('7H',h(){P.2C('66',2a.1u);o(P.2t)P.2C('66',cJ)});m 2l=J 19({1n:h(u){o(u&&u.$83)k u;c.$83=1a;u=u||P.u;c.u=u;c.t=u.t;c.2X=u.2X||u.cI;o(c.2X.6m==3)c.2X=c.2X.2K;c.89=u.cN;c.cO=u.cT;c.cS=u.cP;c.cQ=u.cl;o(['6n','47'].1e(c.t)){c.cb=(u.88)?u.88/cc:-(u.bz||0)/3}14 o(c.t.1e('1g')){c.5a=u.7Q||u.bx;G(m 1E 15 2l.1C){o(2l.1C[1E]==c.5a){c.1g=1E;1J}}o(c.t=='7w'){m 5b=c.5a-bw;o(5b>0&&5b<13)c.1g='f'+5b}c.1g=c.1g||6p.bA(c.5a).4M()}14 o(c.t.2U(/(8x|2O|bG)/)){c.1Y={'x':u.6q||u.7Z+K.2r.4I,'y':u.6r||u.7R+K.2r.4J};c.8C={'x':u.6q?u.6q-P.8P:u.7Z,'y':u.6r?u.6r-P.8O:u.7R};c.bC=(u.7Q==3)||(u.bt==2);2k(c.t){17'6c':c.1Z=u.1Z||u.bs;1J;17'69':c.1Z=u.1Z||u.9c}c.8p()}k c},1K:h(){k c.5g().5e()},5g:h(){o(c.u.5g)c.u.5g();14 c.u.bk=1a;k c},5e:h(){o(c.u.5e)c.u.5e();14 c.u.bi=V;k c}});2l.5x={1Z:h(){o(c.1Z&&c.1Z.6m==3)c.1Z=c.1Z.2K},8w:h(){6o{2l.5x.1Z.1Q(c)}6f(e){c.1Z=c.2X}}};2l.1z.8p=(P.6k)?2l.5x.8w:2l.5x.1Z;2l.1C=J 33({'bq':13,'bn':38,'bI':40,'1m':37,'4F':39,'bY':27,'c4':32,'c9':8,'c6':9,'4b':46});I.2c.2e={1L:h(t,O){c.$X=c.$X||{};c.$X[t]=c.$X[t]||{'1C':[],'1I':[]};o(c.$X[t].1C.1e(O))k c;c.$X[t].1C.1f(O);m 5w=t;m 23=I.2e[t];o(23){o(23.6j)23.6j.1Q(c,O);o(23.2E)O=23.2E;o(23.t)5w=23.t}o(!c.6s)O=O.2v({'Q':c,'u':1a});c.$X[t].1I.1f(O);k(I.6h.1e(5w))?c.2C(5w,O):c},49:h(t,O){o(!c.$X||!c.$X[t])k c;m 1h=c.$X[t].1C.48(O);o(1h==-1)k c;m 1g=c.$X[t].1C.5t(1h,1)[0];m F=c.$X[t].1I.5t(1h,1)[0];m 23=I.2e[t];o(23){o(23.2y)23.2y.1Q(c,O);o(23.t)t=23.t}k(I.6h.1e(t))?c.3L(t,F):c},5r:h(1W){k I.5v(c,'1L',1W)},5C:h(t){o(!c.$X)k c;o(!t){G(m 5D 15 c.$X)c.5C(5D);c.$X=1r}14 o(c.$X[t]){c.$X[t].1C.1D(h(O){c.49(t,O)},c);c.$X[t]=1r}k c},1o:h(t,1b,1V){o(c.$X&&c.$X[t]){c.$X[t].1C.1D(h(O){O.2v({'Q':c,'1V':1V,'12':1b})()},c)}k c},8h:h(R,t){o(!R.$X)k c;o(!t){G(m 5D 15 R.$X)c.8h(R,5D)}14 o(R.$X[t]){R.$X[t].1C.1D(h(O){c.1L(t,O)},c)}k c}};P.N(I.2c.2e);K.N(I.2c.2e);I.N(I.2c.2e);I.2e=J 33({'7o':{t:'6c',2E:h(u){u=J 2l(u);o(u.1Z!=c&&!c.6e(u.1Z))c.1o('7o',u)}},'7r':{t:'69',2E:h(u){u=J 2l(u);o(u.1Z!=c&&!c.6e(u.1Z))c.1o('7r',u)}},'47':{t:(P.6k)?'6n':'47'}});I.6h=['8x','bJ','6x','5X','47','6n','6c','69','2Y','7w','bT','by','3n','66','7H','bK','bM','bN','bX','2S','c7','c8','3Z','8W','8X','ca','2f'];62.N({3I:h(Q,1b){k c.2v({'Q':Q,'12':1b,'u':2l})}});1M.N({c3:h(2J){k J 1M(c.2D(h(q){k(I.4l(q)==2J)}))},7L:h(1l,2d){m U=c.2D(h(q){k(q.1l&&q.1l.1e(1l,' '))});k(2d)?U:J 1M(U)},7J:h(3B,2d){m U=c.2D(h(q){k(q.3B==3B)});k(2d)?U:J 1M(U)},7K:h(1E,65,F,2d){m U=c.2D(h(q){m 21=I.5d(q,1E);o(!21)k V;o(!65)k 1a;2k(65){17'=':k(21==F);17'*=':k(21.1e(F));17'^=':k(21.7i(0,F.M)==F);17'$=':k(21.7i(21.M-F.M)==F);17'!=':k(21!=F);17'~=':k 21.1e(F,' ')}k V});k(2d)?U:J 1M(U)}});h $E(1B,2D){k($(2D)||K).9r(1B)};h $br(1B,2D){k($(2D)||K).5s(1B)};$$.2W={'6d':/^(\\w*|\\*)(?:#([\\w-]+)|\\.([\\w-]+))?(?:\\[(\\w+)(?:([!*^$]?=)[\"']?([^\"'\\]]*)[\"']?)?])?$/,'3p':{64:h(1k,2H,Y,i){m 2h=[2H.bl?'6R:':'',Y[1]];o(Y[2])2h.1f('[@3B=\"',Y[2],'\"]');o(Y[3])2h.1f('[1e(6i(\" \", @4k, \" \"), \" ',Y[3],' \")]');o(Y[4]){o(Y[5]&&Y[6]){2k(Y[5]){17'*=':2h.1f('[1e(@',Y[4],', \"',Y[6],'\")]');1J;17'^=':2h.1f('[bf-bu(@',Y[4],', \"',Y[6],'\")]');1J;17'$=':2h.1f('[cR(@',Y[4],', 2L-M(@',Y[4],') - ',Y[6].M,' + 1) = \"',Y[6],'\"]');1J;17'=':2h.1f('[@',Y[4],'=\"',Y[6],'\"]');1J;17'!=':2h.1f('[@',Y[4],'!=\"',Y[6],'\"]')}}14{2h.1f('[@',Y[4],']')}}1k.1f(2h.2u(''));k 1k},67:h(1k,2H,2d){m U=[];m 3p=K.79('.//'+1k.2u('//'),2H,$$.2W.7z,cM.cV,1r);G(m i=0,j=3p.cU;i<j;i++)U.1f(3p.cr(i));k(2d)?U:J 1M(U.2E($))}},'9p':{64:h(1k,2H,Y,i){o(i==0){o(Y[2]){m q=2H.5o(Y[2]);o(!q||((Y[1]!='*')&&(I.4l(q)!=Y[1])))k V;1k=[q]}14{1k=$A(2H.3i(Y[1]))}}14{1k=$$.2W.3i(1k,Y[1]);o(Y[2])1k=1M.7J(1k,Y[2],1a)}o(Y[3])1k=1M.7L(1k,Y[3],1a);o(Y[4])1k=1M.7K(1k,Y[4],Y[5],Y[6],1a);k 1k},67:h(1k,2H,2d){k(2d)?1k:$$.4C(1k)}},7z:h(7y){k(7y=='6R')?'9C://cv.cx.cw/ay/6R':V},3i:h(2H,59){m 6b=[];G(m i=0,j=2H.M;i<j;i++)6b.N(2H[i].3i(59));k 6b}};$$.2W.2N=(P.3p)?'3p':'9p';I.2c.6a={5M:h(1B,2d){m 1k=[];1B=1B.4m().4r(' ');G(m i=0,j=1B.M;i<j;i++){m 9q=1B[i];m Y=9q.2B($$.2W.6d);o(!Y)1J;Y[1]=Y[1]||'*';m 2h=$$.2W[$$.2W.2N].64(1k,c,Y,i);o(!2h)1J;1k=2h}k $$.2W[$$.2W.2N].67(1k,c,2d)},9r:h(1B){k $(c.5M(1B,1a)[0]||V)},5s:h(1B,2d){m U=[];1B=1B.4r(',');G(m i=0,j=1B.M;i<j;i++)U=U.6i(c.5M(1B[i],1a));k(2d)?U:$$.4C(U)}};I.N({5o:h(3B){m q=K.5o(3B);o(!q)k V;G(m 1q=q.2K;1q!=c;1q=1q.2K){o(!1q)k V}k q},ct:h(1l){k c.5M('.'+1l)}});K.N(I.2c.6a);I.N(I.2c.6a);I.N({31:h(x,y){c.4I=x;c.4J=y},5S:h(){k{'2f':{'x':c.4I,'y':c.4J},'2P':{'x':c.3M,'y':c.3D},'5Z':{'x':c.5B,'y':c.5Q}}},3g:h(1S){1S=1S||[];m q=c,1m=0,1j=0;bp{1m+=q.bo||0;1j+=q.bH||0;q=q.c2}6g(q);1S.1D(h(B){1m-=B.4I||0;1j-=B.4J||0});k{'x':1m,'y':1j}},8Y:h(1S){k c.3g(1S).y},8Z:h(1S){k c.3g(1S).x},61:h(1S){m 1s=c.3g(1S);m L={'2A':c.3M,'34':c.3D,'1m':1s.x,'1j':1s.y};L.4F=L.1m+L.2A;L.4E=L.1j+L.34;k L}});I.2e.6t={6j:h(O){o(P.5l){O.1Q(c);k}m 4p=h(){o(P.5l)k;P.5l=1a;P.1w=$4c(P.1w);c.1o('6t')}.Q(c);o(K.4T&&P.3A){P.1w=h(){o(['5l','6v'].1e(K.4T))4p()}.3s(50)}14 o(K.4T&&P.2t){o(!$('68')){m 3N=(P.c1.c0=='bZ:')?'://0':'9a:c5(0)';K.bR('<3f 3B=\"68\" bS 3N=\"'+3N+'\"><\\/3f>');$('68').bU=h(){o(c.4T=='6v')4p()}}}14{P.2C(\"3n\",4p);K.2C(\"bV\",4p)}}};P.bQ=h(O){k c.1L('6t',O)};P.N({7h:h(){o(c.5j)k c.bP;o(c.9s)k K.4i.9A;k K.2r.9A},76:h(){o(c.5j)k c.bL;o(c.9s)k K.4i.9k;k K.2r.9k},8N:h(){o(c.2t)k 1c.22(K.2r.3M,K.2r.5B);o(c.3A)k K.4i.5B;k K.2r.5B},8M:h(){o(c.2t)k 1c.22(K.2r.3D,K.2r.5Q);o(c.3A)k K.4i.5Q;k K.2r.5Q},77:h(){k c.8P||K.2r.4I},75:h(){k c.8O||K.2r.4J},5S:h(){k{'2P':{'x':c.7h(),'y':c.76()},'5Z':{'x':c.8N(),'y':c.8M()},'2f':{'x':c.77(),'y':c.75()}}},3g:h(){k{'x':0,'y':0}}});m 18={};18.2m=J 19({r:{4f:19.1u,2o:19.1u,8U:19.1u,1N:h(p){k-(1c.94(1c.7k*p)-1)/2},3h:bO,25:'3Y',45:1a,8V:50},1n:h(r){c.B=c.B||1r;c.3v(r);o(c.r.1n)c.r.1n.1Q(c)},1T:h(){m 3e=$3e();o(3e<c.3e+c.r.3h){c.8R=c.r.1N((3e-c.3e)/c.r.3h);c.3J();c.3K()}14{c.1K(1a);c.1U(c.T);c.1o('2o',c.B,10);c.8Q()}},1U:h(T){c.W=T;c.3K();k c},3J:h(){c.W=c.3H(c.R,c.T)},3H:h(R,T){k(T-R)*c.8R+R},1d:h(R,T){o(!c.r.45)c.1K();14 o(c.1w)k c;c.R=R;c.T=T;c.2S=c.T-c.R;c.3e=$3e();c.1w=c.1T.3s(1c.3w(9j/c.r.8V),c);c.1o('4f',c.B);k c},1K:h(2j){o(!c.1w)k c;c.1w=$4c(c.1w);o(!2j)c.1o('8U',c.B);k c},23:h(R,T){k c.1d(R,T)},bW:h(2j){k c.1K(2j)}});18.2m.3o(J 8E,J 2e,J 44);18.2R={3Z:h(C,T){o(C.2U(/5P/i))k c.6u;m t=$t(T);o((t=='1p')||(t=='2L'&&T.1e(' ')))k c.5y;k c.8y},2q:h(q,C,43){o(!43.1f)43=[43];m R=43[0],T=43[1];o(!$2i(T)){T=R;R=q.1R(C)}m 1i=c.3Z(C,T);k{'R':1i.2q(R),'T':1i.2q(T),'1i':1i}}};18.2R.8y={2q:h(F){k 4G(F)},3X:h(R,T,41){k 41.3H(R,T)},3W:h(F,25,C){o(25=='3Y'&&C!='29')F=1c.3w(F);k F+25}};18.2R.5y={2q:h(F){k F.1f?F:F.4r(' ').2E(h(v){k 4G(v)})},3X:h(R,T,41){m W=[];G(m i=0;i<R.M;i++)W[i]=41.3H(R[i],T[i]);k W},3W:h(F,25,C){o(25=='3Y'&&C!='29')F=F.2E(1c.3w);k F.2u(25+' ')+25}};18.2R.6u={2q:h(F){k F.1f?F:F.5z(1a)},3X:h(R,T,41){m W=[];G(m i=0;i<R.M;i++)W[i]=1c.3w(41.3H(R[i],T[i]));k W},3W:h(F){k'2n('+F.2u(',')+')'}};18.63=18.2m.N({1n:h(q,C,r){c.B=$(q);c.C=C;c.1q(r)},4U:h(){k c.1U(0)},3J:h(){c.W=c.1i.3X(c.R,c.T,c)},1U:h(T){c.1i=18.2R.3Z(c.C,T);k c.1q(c.1i.2q(T))},1d:h(R,T){o(c.1w&&c.r.45)k c;m 1O=18.2R.2q(c.B,c.C,[R,T]);c.1i=1O.1i;k c.1q(1O.R,1O.T)},3K:h(){c.B.26(c.C,c.1i.3W(c.W,c.r.25,c.C))}});I.N({bm:h(C,r){k J 18.63(c,C,r)}});18.3y=18.2m.N({1n:h(q,r){c.B=$(q);c.1q(r)},3J:h(){G(m p 15 c.R)c.W[p]=c.1i[p].3X(c.R[p],c.T[p],c)},1U:h(T){m 1O={};c.1i={};G(m p 15 T){c.1i[p]=18.2R.3Z(p,T[p]);1O[p]=c.1i[p].2q(T[p])}k c.1q(1O)},1d:h(L){o(c.1w&&c.r.45)k c;c.W={};c.1i={};m R={},T={};G(m p 15 L){m 1O=18.2R.2q(c.B,p,L[p]);R[p]=1O.R;T[p]=1O.T;c.1i[p]=1O.1i}k c.1q(R,T)},3K:h(){G(m p 15 c.W)c.B.26(p,c.1i[p].3W(c.W[p],c.r.25,p))}});I.N({bg:h(r){k J 18.3y(c,r)}});18.1M=18.2m.N({1n:h(U,r){c.U=$$(U);c.1q(r)},3J:h(){G(m i 15 c.R){m 4o=c.R[i],3j=c.T[i],3b=c.1i[i],4s=c.W[i]={};G(m p 15 4o)4s[p]=3b[p].3X(4o[p],3j[p],c)}},1U:h(T){m 1O={};c.1i={};G(m i 15 T){m 3j=T[i],3b=c.1i[i]={},9l=1O[i]={};G(m p 15 3j){3b[p]=18.2R.3Z(p,3j[p]);9l[p]=3b[p].2q(3j[p])}}k c.1q(1O)},1d:h(L){o(c.1w&&c.r.45)k c;c.W={};c.1i={};m R={},T={};G(m i 15 L){m 6l=L[i],4o=R[i]={},3j=T[i]={},3b=c.1i[i]={};G(m p 15 6l){m 1O=18.2R.2q(c.U[i],p,6l[p]);4o[p]=1O.R;3j[p]=1O.T;3b[p]=1O.1i}}k c.1q(R,T)},3K:h(){G(m i 15 c.W){m 4s=c.W[i],3b=c.1i[i];G(m p 15 4s)c.U[i].26(p,3b[p].3W(4s[p],c.r.25,p))}}});18.bh=18.2m.N({r:{1S:[],1x:{'x':0,'y':0},8G:1a},1n:h(B,r){c.W=[];c.B=$(B);c.2g={'1K':c.1K.Q(c,V)};c.1q(r);o(c.r.8G){c.1L('4f',h(){K.1L('47',c.2g.1K)}.Q(c));c.1L('2o',h(){K.49('47',c.2g.1K)}.Q(c))}},3J:h(){G(m i=0;i<2;i++)c.W[i]=c.3H(c.R[i],c.T[i])},31:h(x,y){o(c.1w&&c.r.45)k c;m q=c.B.5S();m 1I={'x':x,'y':y};G(m z 15 q.2P){m 22=q.5Z[z]-q.2P[z];o($2i(1I[z]))1I[z]=($t(1I[z])=='4w')?1I[z].1t(0,22):22;14 1I[z]=q.2f[z];1I[z]+=c.r.1x[z]}k c.1d([q.2f.x,q.2f.y],[1I.x,1I.y])},bj:h(){k c.31(V,0)},bD:h(){k c.31(V,'9d')},bE:h(){k c.31(0,V)},bF:h(){k c.31('9d',V)},9c:h(q){m 1q=c.B.3g(c.r.1S);m 2X=$(q).3g(c.r.1S);k c.31(2X.x-1q.x,2X.y-1q.y)},3K:h(){c.B.31(c.W[0],c.W[1])}});18.bB=18.2m.N({r:{1P:'7u'},1n:h(q,r){c.B=$(q);c.2z=J I('4L',{'6I':$N(c.B.9b('2I'),{'bv':'4K'})}).9e(c.B).9i(c.B);c.B.26('2I',0);c.3v(r);c.W=[];c.1q(c.r);c.4O=1a;c.1L('2o',h(){c.4O=(c.W[0]===0)});o(P.5j)c.1L('2o',h(){o(c.4O)c.B.2y().28(c.2z)})},3J:h(){G(m i=0;i<2;i++)c.W[i]=c.3H(c.R[i],c.T[i])},7u:h(){c.2I='2I-1j';c.4S='34';c.1x=c.B.3D},7e:h(){c.2I='2I-1m';c.4S='2A';c.1x=c.B.3M},9h:h(1P){c[1P||c.r.1P]();k c.1d([c.B.1R(c.2I).2G(),c.2z.1R(c.4S).2G()],[0,c.1x])},9g:h(1P){c[1P||c.r.1P]();k c.1d([c.B.1R(c.2I).2G(),c.2z.1R(c.4S).2G()],[-c.1x,0])},4U:h(1P){c[1P||c.r.1P]();c.4O=V;k c.1U([-c.1x,0])},7a:h(1P){c[1P||c.r.1P]();c.4O=1a;k c.1U([0,c.1x])},cH:h(1P){o(c.2z.3D==0||c.2z.3M==0)k c.9h(1P);k c.9g(1P)},3K:h(){c.B.26(c.2I,c.W[0]+c.r.25);c.2z.26(c.4S,c.W[1]+c.r.25)}});18.6E=h(1N,2p){2p=2p||[];o($t(2p)!='1p')2p=[2p];k $N(1N,{cK:h(1h){k 1N(1h,2p)},d1:h(1h){k 1-1N(1-1h,2p)},d5:h(1h){k(1h<=0.5)?1N(2*1h,2p)/2:(2-1N(2*(1-1h),2p))/2}})};18.2Q=J 33({d2:h(p){k p}});18.2Q.N=h(7c){G(m 1N 15 7c){18.2Q[1N]=J 18.6E(7c[1N]);18.2Q.6G(1N)}};18.2Q.6G=h(1N){['cX','cW','cY'].1D(h(73){18.2Q[1N.4M()+73]=18.2Q[1N]['ci'+73]})};18.2Q.N({ch:h(p,x){k 1c.3d(p,x[0]||6)},cq:h(p){k 1c.3d(2,8*(p-1))},cD:h(p){k 1-1c.96(1c.cE(p))},cz:h(p){k 1-1c.96((1-p)*1c.7k/2)},cy:h(p,x){x=x[0]||1.cs;k 1c.3d(p,2)*((x+1)*p-x)},cu:h(p){m F;G(m a=0,b=1;1;a+=b,b/=2){o(p>=(7-4*a)/11){F=-1c.3d((11-6*a-11*p)/4,2)+b*b;1J}}k F},be:h(p,x){k 1c.3d(2,10*--p)*1c.94(20*p*1c.7k*(x[0]||1)/3)}});['aa','a3','a0','a9'].1D(h(1N,i){18.2Q[1N]=J 18.6E(h(p){k 1c.3d(p,[i+2])});18.2Q.6G(1N)});m 3z={};3z.2m=J 19({r:{4B:V,25:'3Y',4f:19.1u,97:19.1u,2o:19.1u,92:19.1u,6Z:19.1u,1t:V,3a:{x:'1m',y:'1j'},3E:V,6O:6},1n:h(q,r){c.3v(r);c.B=$(q);c.4B=$(c.r.4B)||c.B;c.2O={'W':{},'1h':{}};c.F={'1d':{},'W':{}};c.2g={'1d':c.1d.3I(c),'3V':c.3V.3I(c),'36':c.36.3I(c),'1K':c.1K.Q(c)};c.95();o(c.r.1n)c.r.1n.1Q(c)},95:h(){c.4B.1L('5X',c.2g.1d);k c},a8:h(){c.4B.49('5X',c.2g.1d);k c},1d:h(u){c.1o('97',c.B);c.2O.1d=u.1Y;m 1t=c.r.1t;c.1t={'x':[],'y':[]};G(m z 15 c.r.3a){o(!c.r.3a[z])54;c.F.W[z]=c.B.1R(c.r.3a[z]).2G();c.2O.1h[z]=u.1Y[z]-c.F.W[z];o(1t&&1t[z]){G(m i=0;i<2;i++){o($2i(1t[z][i]))c.1t[z][i]=($t(1t[z][i])=='h')?1t[z][i]():1t[z][i]}}}o($t(c.r.3E)=='4w')c.r.3E={'x':c.r.3E,'y':c.r.3E};K.2C('2Y',c.2g.3V);K.2C('6x',c.2g.1K);c.1o('4f',c.B);u.1K()},3V:h(u){m 93=1c.3w(1c.9Z(1c.3d(u.1Y.x-c.2O.1d.x,2)+1c.3d(u.1Y.y-c.2O.1d.y,2)));o(93>c.r.6O){K.3L('2Y',c.2g.3V);K.2C('2Y',c.2g.36);c.36(u);c.1o('92',c.B)}u.1K()},36:h(u){c.4u=V;c.2O.W=u.1Y;G(m z 15 c.r.3a){o(!c.r.3a[z])54;c.F.W[z]=c.2O.W[z]-c.2O.1h[z];o(c.1t[z]){o($2i(c.1t[z][1])&&(c.F.W[z]>c.1t[z][1])){c.F.W[z]=c.1t[z][1];c.4u=1a}14 o($2i(c.1t[z][0])&&(c.F.W[z]<c.1t[z][0])){c.F.W[z]=c.1t[z][0];c.4u=1a}}o(c.r.3E[z])c.F.W[z]-=(c.F.W[z]%c.r.3E[z]);c.B.26(c.r.3a[z],c.F.W[z]+c.r.25)}c.1o('6Z',c.B);u.1K()},1K:h(){K.3L('2Y',c.2g.3V);K.3L('2Y',c.2g.36);K.3L('6x',c.2g.1K);c.1o('2o',c.B)}});3z.2m.3o(J 2e,J 44);I.N({ai:h(r){k J 3z.2m(c,$1X({3a:{x:'2A',y:'34'}},r))}});3z.91=3z.2m.N({r:{5q:[],2F:V,1S:[]},1n:h(q,r){c.3v(r);c.B=$(q);c.5q=$$(c.r.5q);c.2F=$(c.r.2F);c.1s={'B':c.B.1R('1s'),'2F':V};o(c.2F)c.1s.2F=c.2F.1R('1s');o(!['52','3P','4j'].1e(c.1s.B))c.1s.B='3P';m 1j=c.B.1R('1j').2G();m 1m=c.B.1R('1m').2G();o(c.1s.B=='3P'&&!['52','3P','4j'].1e(c.1s.2F)){1j=$2i(1j)?1j:c.B.8Y(c.r.1S);1m=$2i(1m)?1m:c.B.8Z(c.r.1S)}14{1j=$2i(1j)?1j:0;1m=$2i(1m)?1m:0}c.B.5H({'1j':1j,'1m':1m,'1s':c.1s.B});c.1q(c.B)},1d:h(u){c.2x=1r;o(c.2F){m 3R=c.2F.61();m q=c.B.61();o(c.1s.B=='3P'&&!['52','3P','4j'].1e(c.1s.2F)){c.r.1t={'x':[3R.1m,3R.4F-q.2A],'y':[3R.1j,3R.4E-q.34]}}14{c.r.1t={'y':[0,3R.34-q.34],'x':[0,3R.2A-q.2A]}}}c.1q(u)},36:h(u){c.1q(u);m 2x=c.4u?V:c.5q.2D(c.90,c).6z();o(c.2x!=2x){o(c.2x)c.2x.1o('ae',[c.B,c]);c.2x=2x?2x.1o('9Y',[c.B,c]):1r}k c},90:h(q){q=q.61(c.r.1S);m W=c.2O.W;k(W.x>q.1m&&W.x<q.4F&&W.y<q.4E&&W.y>q.1j)},1K:h(){o(c.2x&&!c.4u)c.2x.1o('9H',[c.B,c]);14 c.B.1o('9J',c);c.1q();k c}});I.N({9M:h(r){k J 3z.91(c,r)}});m 2V=J 33({r:{5W:V,5Y:V,3h:V,6T:V},1U:h(1g,F,r){r=$1X(c.r,r);F=9E(F);o(r.5W)F+='; 5W='+r.5W;o(r.5Y)F+='; 5Y='+r.5Y;o(r.3h){m 5A=J 98();5A.9K(5A.99()+r.3h*24*60*60*9j);F+='; al='+5A.bd()}o(r.6T)F+='; 6T';K.3Q=1g+'='+F;k $N(r,{'1g':1g,'F':F})},53:h(1g){m F=K.3Q.2B('(?:^|;)\\\\s*'+1g.9f()+'=([^;]*)');k F?aZ(F[1]):V},2y:h(3Q,r){o($t(3Q)=='2w')c.1U(3Q.1g,'',$1X(3Q,{3h:-1}));14 c.1U(3Q,'',$1X(r,{3h:-1}))}});m 8H=J 33({9a:h(1W,1v){1v=$1X({'4R':19.1u},1v);m 3f=J I('3f',{'3N':1W}).5r({'3n':1v.4R,'aS':h(){o(c.4T=='6v')c.1o('3n')}});4b 1v.4R;k 3f.5J(1v).28(K.5K)},1i:h(1W,1v){k J I('b9',$1X({'9z':'ba','b7':'b3','t':'2s/1i','4Y':1W},1v)).28(K.5K)},3S:h(1W,1v){1v=$1X({'4R':19.1u,'b2':19.1u,'b4':19.1u},1v);m 3S=J b5();3S.3N=1W;m B=J I('7q',{'3N':1W});['3n','8X','8W'].1D(h(t){m u=1v['4W'+t];4b 1v['4W'+t];B.1L(t,h(){c.49(t,12.7p);u.1Q(c)})});o(3S.2A&&3S.34)B.1o('3n',B,1);k B.5J(1v)},5E:h(42,r){r=$1X({2o:19.1u,8I:19.1u},r);o(!42.1f)42=[42];m 5E=[];m 5G=0;42.1D(h(1W){m 7q=J 8H.3S(1W,{'4R':h(){r.8I.1Q(c,5G);5G++;o(5G==42.M)r.2o()}});5E.1f(7q)});k J 1M(5E)}});m 2T=J 19({M:0,1n:h(2w){c.L=2w||{};c.4D()},53:h(1g){k(c.5I(1g))?c.L[1g]:1r},5I:h(1g){k(1g 15 c.L)},1U:h(1g,F){o(!c.5I(1g))c.M++;c.L[1g]=F;k c},4D:h(){c.M=0;G(m p 15 c.L)c.M++;k c},2y:h(1g){o(c.5I(1g)){4b c.L[1g];c.M--}k c},1D:h(O,Q){$1D(c.L,O,Q)},N:h(L){$N(c.L,L);k c.4D()},1X:h(){c.L=$1X.3m(1r,[c.L].N(12));k c.4D()},1u:h(){c.L={};c.M=0;k c},1C:h(){m 1C=[];G(m C 15 c.L)1C.1f(C);k 1C},1I:h(){m 1I=[];G(m C 15 c.L)1I.1f(c.L[C]);k 1I}});h $H(L){k J 2T(L)};2T.2V=2T.N({1n:h(1E,r){c.1E=1E;c.r=$N({'8A':1a},r||{});c.3n()},8z:h(){o(c.M==0){2V.2y(c.1E,c.r);k 1a}m 78=8F.8J(c.L);o(78.M>az)k V;2V.1U(c.1E,78,c.r);k 1a},3n:h(){c.L=8F.79(2V.53(c.1E),1a)||{};c.4D()}});2T.2V.2c={};['N','1U','1X','1u','2y'].1D(h(2N){2T.2V.2c[2N]=h(){2T.1z[2N].3m(c,12);o(c.r.8A)c.8z();k c}});2T.2V.3o(2T.2V.2c);m 8D=J 19({r:{4y:20,7b:1,5i:h(x,y){c.B.31(x,y)}},1n:h(B,r){c.3v(r);c.B=$(B);c.7f=([P,K].1e(B))?$(K.4i):c.B},1d:h(){c.7d=c.8B.3I(c);c.7f.2C('2Y',c.7d)},1K:h(){c.7f.3L('2Y',c.7d);c.1w=$4c(c.1w)},8B:h(u){c.1Y=(c.B==P)?u.8C:u.1Y;o(!c.1w)c.1w=c.2f.3s(50,c)},2f:h(){m q=c.B.5S();m 1h=c.B.3g();m 2S={'x':0,'y':0};G(m z 15 c.1Y){o(c.1Y[z]<(c.r.4y+1h[z])&&q.2f[z]!=0)2S[z]=(c.1Y[z]-c.r.4y-1h[z])*c.r.7b;14 o(c.1Y[z]+c.r.4y>(q.2P[z]+1h[z])&&q.2f[z]+q.2P[z]!=q.5Z[z])2S[z]=(c.1Y[z]-q.2P[z]+c.r.4y-1h[z])*c.r.7b}o(2S.y||2S.x)c.1o('5i',[q.2f.x+2S.x,q.2f.y+2S.y])}});8D.3o(J 2e,J 44);m 6B=J 19({r:{5i:19.1u,2o:19.1u,6U:h(1h){c.3x.26(c.p,1h)},1P:'7e',5f:56,1x:0},1n:h(q,3x,r){c.B=$(q);c.3x=$(3x);c.3v(r);c.6L=-1;c.6K=-1;c.1T=-1;c.B.1L('5X',c.8K.3I(c));m 55,1x;2k(c.r.1P){17'7e':c.z='x';c.p='1m';55={'x':'1m','y':V};1x='3M';1J;17'7u':c.z='y';c.p='1j';55={'x':V,'y':'1j'};1x='3D'}c.22=c.B[1x]-c.3x[1x]+(c.r.1x*2);c.8S=c.3x[1x]/2;c.8L=c.B['53'+c.p.70()].Q(c.B);c.3x.26('1s','52').26(c.p,-c.r.1x);m 6Q={};6Q[c.z]=[-c.r.1x,c.22-c.r.1x];c.36=J 3z.2m(c.3x,{1t:6Q,3a:55,6O:0,4f:h(){c.5m()}.Q(c),6Z:h(){c.5m()}.Q(c),2o:h(){c.5m();c.2j()}.Q(c)});o(c.r.1n)c.r.1n.1Q(c)},1U:h(1T){c.1T=1T.1t(0,c.r.5f);c.5n();c.2j();c.1o('6U',c.8T(c.1T));k c},8K:h(u){m 1s=u.1Y[c.z]-c.8L()-c.8S;1s=1s.1t(-c.r.1x,c.22-c.r.1x);c.1T=c.6A(1s);c.5n();c.2j();c.1o('6U',1s)},5m:h(){c.1T=c.6A(c.36.F.W[c.z]);c.5n()},5n:h(){o(c.6L!=c.1T){c.6L=c.1T;c.1o('5i',c.1T)}},2j:h(){o(c.6K!==c.1T){c.6K=c.1T;c.1o('2o',c.1T+'')}},6A:h(1s){k 1c.3w((1s+c.r.1x)/c.22*c.r.5f)},8T:h(1T){k c.22*1T/c.r.5f}});6B.3o(J 2e);6B.3o(J 44);m 9v=J 19({r:{9t:h(3r){3r.26('3C','6y')},9u:h(3r){3r.26('3C','4K')},7j:30,9o:56,9n:56,1l:'aF',4A:{'x':16,'y':16},4j:V},1n:h(U,r){c.3v(r);c.3l=J I('4L',{'4k':c.r.1l+'-3r','6I':{'1s':'3P','1j':'0','1m':'0','3C':'4K'}}).28(K.4i);c.2z=J I('4L').28(c.3l);$$(U).1D(c.9B,c);o(c.r.1n)c.r.1n.1Q(c)},9B:h(q){q.$1G.3k=(q.4Y&&q.4l()=='a')?q.4Y.2Z('9C://',''):(q.9z||V);o(q.4h){m 5c=q.4h.4r('::');o(5c.M>1){q.$1G.3k=5c[0].4m();q.$1G.4V=5c[1].4m()}14{q.$1G.4V=q.4h}q.9y('4h')}14{q.$1G.4V=V}o(q.$1G.3k&&q.$1G.3k.M>c.r.7j)q.$1G.3k=q.$1G.3k.7i(0,c.r.7j-1)+\"&aD;\";q.1L('7o',h(u){c.1d(q);o(!c.r.4j)c.7n(u);14 c.1s(q)}.Q(c));o(!c.r.4j)q.1L('2Y',c.7n.3I(c));m 2j=c.2j.Q(c);q.1L('7r',2j);q.1L('4q',2j)},1d:h(q){c.2z.1u();o(q.$1G.3k){c.4h=J I('9w').28(J I('4L',{'4k':c.r.1l+'-4h'}).28(c.2z)).5L(q.$1G.3k)}o(q.$1G.4V){c.2s=J I('9w').28(J I('4L',{'4k':c.r.1l+'-2s'}).28(c.2z)).5L(q.$1G.4V)}$4c(c.1w);c.1w=c.7a.1V(c.r.9o,c)},2j:h(u){$4c(c.1w);c.1w=c.4U.1V(c.r.9n,c)},1s:h(B){m 1h=B.3g();c.3l.5H({'1m':1h.x+c.r.4A.x,'1j':1h.y+c.r.4A.y})},7n:h(u){m 9m={'x':P.7h(),'y':P.76()};m 2f={'x':P.77(),'y':P.75()};m 3r={'x':c.3l.3M,'y':c.3l.3D};m 1H={'x':'1m','y':'1j'};G(m z 15 1H){m 1h=u.1Y[z]+c.r.4A[z];o((1h+3r[z]-2f[z])>9m[z])1h=u.1Y[z]-c.r.4A[z]-3r[z];c.3l.26(1H[z],1h)}},7a:h(){o(c.r.9x)c.1w=c.4U.1V(c.r.9x,c);c.1o('9t',[c.3l])},4U:h(){c.1o('9u',[c.3l])}});9v.3o(J 2e,J 44);",
62,812,"||||||||||||this|||||function|||return||var||if||el|options||type|event|||||||element|property|||value|for||Element|new|document|obj|length|extend|fn|window|bind|from||to|elements|false|now|events|param||||arguments||else|in||case|Fx|Class|true|args|Math|start|contains|push|key|pos|css|top|items|className|left|initialize|fireEvent|array|parent|null|position|limit|empty|properties|timer|offset|result|prototype|style|selector|keys|each|name|props|tmp|prop|values|break|stop|addEvent|Elements|transition|parsed|mode|call|getStyle|overflown|step|set|delay|source|merge|page|relatedTarget||current|max|custom||unit|setStyle||inject|opacity|Garbage|Array|Methods|nocash|Events|scroll|bound|temp|chk|end|switch|Event|Base|rgb|onComplete|params|parse|documentElement|text|ie|join|create|object|overed|remove|wrapper|width|match|addListener|filter|map|container|toInt|context|margin|tag|parentNode|string|item|method|mouse|size|Transitions|CSS|change|Hash|test|Cookie|shared|target|mousemove|replace||scrollTo||Abstract|height|returns|drag||||modifiers|iCss|index|pow|time|script|getPosition|duration|getElementsByTagName|iTo|myTitle|toolTip|apply|load|implement|xpath|iterable|tip|periodical|border|previous|setOptions|round|knob|Styles|Drag|webkit|id|visibility|offsetHeight|grid|chains|hex|compute|bindWithEvent|setNow|increase|removeListener|offsetWidth|src|min|absolute|cookie|cont|image|htmlElement|bit|check|getValue|getNow|px|select||fx|sources|fromTo|Options|wait||mousewheel|indexOf|removeEvent|native|delete|clear|results|collect|onStart|len|title|body|fixed|class|getTag|trim|precision|iFrom|domReady|trash|split|iNow|parseInt|out|next|number|walk|area|option|offsets|handle|unique|setLength|bottom|right|parseFloat|klass|scrollLeft|scrollTop|hidden|div|toLowerCase|HTMLElement|open|val|mix|onload|layout|readyState|hide|myText|on|mp|href|forEach||Listeners|relative|get|continue|mod|100|typeof|setProperty|tagName|code|fKey|dual|getProperty|preventDefault|steps|stopPropagation|Properties|onChange|webkit419|defined|loaded|draggedKnob|checkStep|getElementById|regex|droppables|addEvents|getElementsBySelector|splice|included|setMany|realType|fix|Multi|hexToRgb|date|scrollWidth|removeEvents|evType|images|generic|counter|setStyles|hasKey|setProperties|head|setHTML|getElements|proto|every|color|scrollHeight|currentStyle|getSize|rgbToHex|brother|attempt|domain|mousedown|path|scrollSize||getCoordinates|Function|Style|getParam|operator|unload|getItems|ie_ready|mouseout|Dom|found|mouseover|regexp|hasChild|catch|while|NativeEvents|concat|add|gecko|iProps|nodeType|DOMMouseScroll|try|String|pageX|pageY|addEventListener|domready|Color|complete|flag|mouseup|visible|getLast|toStep|Slider|node|insertBefore|Transition|include|compat|firstChild|styles|random|previousEnd|previousChange|appendChild|RegExp|snap|default|lim|xhtml|clean|secure|onTick|camelCase|charAt|first|hasClass|onDrag|capitalize|cssText|pairs|easeType|getMany|getScrollTop|getHeight|getScrollLeft|str|evaluate|show|velocity|transitions|coord|horizontal|mousemover|newArray|getWidth|substr|maxTitleChars|PI|innerText|pick|locate|mouseenter|callee|img|mouseleave|merged|padding|vertical|interval|keydown|copy|prefix|resolver|constructor|ie6|picked|undefined|pp|Merge|toUpperCase|beforeunload|Number|filterById|filterByAttribute|filterByClass|slice|after|Right|Bottom|which|clientY|Top|0px|innerHTML|textContent|fixStyle|Width|Left|clientX|multiple|selected|PropertiesIFlag|extended|checked|disabled|direction|borderShort|wheelDelta|shift|styleSheet|appendText|removeEventListener|argument|contents|removeClass|before|cloneEvents|toFloat|createElement|elementsProperty|where|addClass|setOpacity|childNodes|fixRelatedTarget|nodeValue|removeChild|getNext|hyphenate|zoom|defaultView|relatedTargetGecko|click|Single|save|autoSave|getCoords|client|Scroller|Chain|Json|wheelStops|Asset|onProgress|toString|clickedElement|getPos|getScrollHeight|getScrollWidth|pageYOffset|pageXOffset|callChain|delta|half|toPosition|onCancel|fps|error|abort|getTop|getLeft|checkAgainst|Move|onSnap|distance|cos|attach|sin|onBeforeStart|Date|getTime|javascript|getStyles|toElement|full|injectAfter|escapeRegExp|slideOut|slideIn|adopt|1000|clientHeight|iParsed|win|hideDelay|showDelay|normal|sel|getElement|opera|onShow|onHide|Tips|span|timeout|removeAttribute|rel|clientWidth|build|http|getComputedStyle|encodeURIComponent|MooTools|getPrevious|drop|Sibling|emptydrop|setTime|getPropertyValue|makeDraggable|hasLayout|styleFloat|float|clearInterval|Window|cssFloat|clearTimeout|collection|zIndex|floor|alpha|over|sqrt|Quart|getProperties|removeProperty|Cubic|setAttribute|setText|getText|nodeName|detach|Quint|Quad|attributes|lastChild|whitespace|leave|version|getParent|getChildren|makeResizable|getAttribute|textnode|expires|getFirst|replaceChild|embed||DOMElement|execCommand|times|BackgroundImageCache|boolean|iframe|khtml|Object|1999|4096|bindAsEventListener|pass|some|hellip|associate|tool|getRandom|clearChain|chain|err|setInterval|setTimeout|transparent|getBoxObjectFor|webkit420|cloneNode|XMLHttpRequest|clone|readystatechange|injectTop|replaceWith|ActiveXObject|toggleClass|Document|createTextNode|decodeURIComponent|ie7|injectInside|onabort|screen|onerror|Image|taintEnabled|media|injectBefore|link|stylesheet|all|navigator|toGMTString|Elastic|starts|effects|Scroll|returnValue|toTop|cancelBubble|namespaceURI|effect|up|offsetLeft|do|enter|ES|fromElement|button|with|overflow|111|keyCode|keyup|detail|fromCharCode|Slide|rightClick|toBottom|toLeft|toRight|menu|offsetTop|down|dblclick|resize|innerHeight|move|focus|500|innerWidth|onDomReady|write|defer|keypress|onreadystatechange|DOMContentLoaded|clearTimer|blur|esc|https|protocol|location|offsetParent|filterByTag|space|void|tab|submit|reset|backspace|contextmenu|wheel|120|colSpan|rowspan|colspan|htmlFor|Pow|ease|rowSpan|accesskey|metaKey|maxLength|tabIndex|tabindex|accessKey|Expo|snapshotItem|618|getElementsByClassName|Bounce|www|org|w3|Back|Sine|borderStyle|borderColor|borderWidth|Circ|acos|readonly|maxlength|toggle|srcElement|CollectGarbage|easeIn|readOnly|XPathResult|shiftKey|control|altKey|meta|substring|alt|ctrlKey|snapshotLength|UNORDERED_NODE_SNAPSHOT_TYPE|Out|In|InOut|frameBorder|frameborder|easeOut|linear|detachEvent|attachEvent|easeInOut".split("|"),
0,{}));var gallery={initialize:function(e,j){this.setOptions({showArrows:true,showCarousel:true,showInfopane:true,embedLinks:true,fadeDuration:500,timed:false,delay:9E3,preloader:true,preloaderImage:true,preloaderErrorImage:true,manualData:[],populateFrom:false,populateData:true,destroyAfterPopulate:true,elementSelector:"div.imageElement",titleSelector:"h3",subtitleSelector:"p",linkSelector:"a.open",imageSelector:"img.full",thumbnailSelector:"img.thumbnail",defaultTransition:"fade",slideInfoZoneOpacity:0.7,
slideInfoZoneSlide:true,carouselMinimizedOpacity:0.4,carouselMinimizedHeight:20,carouselMaximizedOpacity:0.9,thumbHeight:75,thumbWidth:100,thumbSpacing:10,thumbIdleOpacity:0.2,textShowCarousel:"Pictures",showCarouselLabel:true,thumbCloseCarousel:true,useThumbGenerator:false,thumbGenerator:"resizer.php",useExternalCarousel:false,carouselElement:false,carouselHorizontal:true,activateCarouselScroller:true,carouselPreloader:true,textPreloadingCarousel:"Loading...",baseClass:"jdGallery",withArrowsClass:"withArrows",
useHistoryManager:false,customHistoryKey:false},j);this.fireEvent("onInit");this.maxIter=this.lastIter=this.currentIter=0;this.galleryElement=e;this.galleryData=this.options.manualData;this.galleryInit=1;this.galleryElements=Array();this.thumbnailElements=Array();this.galleryElement.addClass(this.options.baseClass);this.populateFrom=e;if(this.options.populateFrom)this.populateFrom=this.options.populateFrom;this.options.populateData&&this.populateData();e.style.display="block";this.options.useHistoryManager&&
this.initHistory();if(this.options.embedLinks){this.currentLink=(new Element("a")).addClass("open").setProperties({href:"#",title:""}).injectInside(e);if(!this.options.showArrows&&!this.options.showCarousel)this.galleryElement=e=this.currentLink;else this.currentLink.setStyle("display","none")}this.constructElements();if(this.galleryData.length>1&&this.options.showArrows){(new Element("a")).addClass("left").addEvent("click",this.prevItem.bind(this)).injectInside(e);(new Element("a")).addClass("right").addEvent("click",
this.nextItem.bind(this)).injectInside(e);this.galleryElement.addClass(this.options.withArrowsClass)}this.loadingElement=(new Element("div")).addClass("loadingElement").injectInside(e);this.options.showInfopane&&this.initInfoSlideshow();this.options.showCarousel&&this.initCarousel();this.doSlideShow(1)},populateData:function(){currentArrayPlace=this.galleryData.length;options=this.options;var e=$A(this.galleryData);e.extend(this.populateGallery(this.populateFrom,currentArrayPlace));this.galleryData=
e;this.fireEvent("onPopulated")},populateGallery:function(e,j){var p=[];options=this.options;currentArrayPlace=j;e.getElements(options.elementSelector).each(function(v){elementDict={image:v.getElement(options.imageSelector).getProperty("src"),number:currentArrayPlace,transition:this.options.defaultTransition};elementDict.extend=$extend;options.showInfopane|options.showCarousel&&elementDict.extend({title:v.getElement(options.titleSelector).innerHTML,description:v.getElement(options.subtitleSelector).innerHTML});
if(options.embedLinks)elementDict.extend({link:v.getElement(options.linkSelector).href||false,linkTitle:v.getElement(options.linkSelector).title||false,linkTarget:v.getElement(options.linkSelector).getProperty("target")||false});if(!options.useThumbGenerator&&options.showCarousel)elementDict.extend({thumbnail:v.getElement(options.thumbnailSelector).getProperty("src")});else options.useThumbGenerator&&elementDict.extend({thumbnail:options.thumbGenerator+"?imgfile="+elementDict.image+"&max_width="+
options.thumbWidth+"&max_height="+options.thumbHeight});p.extend([elementDict]);currentArrayPlace++;this.options.destroyAfterPopulate&&v.remove()});return p},constructElements:function(){el=this.galleryElement;this.maxIter=this.galleryData.length;var e;for(i=0;i<this.galleryData.length;i++){e=new Fx.Styles((new Element("div")).addClass("slideElement").setStyles({position:"absolute",left:"0px",right:"0px",margin:"0px",padding:"0px",backgroundPosition:"center center",opacity:"0"}).injectInside(el),
"opacity",{duration:this.options.fadeDuration});if(this.options.preloader){e.source=this.galleryData[i].image;e.loaded=false;e.load=function(j){j.loaded||new Asset.image(j.source,{onload:function(p){p.element.setStyle("backgroundImage","url('"+p.source+"')");p.loaded=true}.bind(this,j)})}.pass(e,this)}else e.element.setStyle("backgroundImage","url('"+this.galleryData[i].image+"')");this.galleryElements[parseInt(i)]=e}},destroySlideShow:function(e){var j=(new Element("div")).addClass("myClassName");
e.parentNode.replaceChild(j,e)},startSlideShow:function(){this.fireEvent("onStart");this.loadingElement.style.display="none";this.lastIter=this.maxIter-1;this.galleryInit=this.currentIter=0;this.galleryElements[parseInt(this.currentIter)].set({opacity:1});this.options.showInfopane&&this.showInfoSlideShow.delay(1E3,this);var e=formatString(this.options.textShowCarousel,this.currentIter+1,this.maxIter);this.options.showCarousel&&!this.options.carouselPreloader&&this.carouselBtn.setHTML(e).setProperty("title",
e);this.prepareTimer();this.options.embedLinks&&this.makeLink(this.currentIter)},nextItem:function(){this.fireEvent("onNextCalled");this.nextIter=this.currentIter+1;if(this.nextIter>=this.maxIter)this.nextIter=0;this.galleryInit=0;this.goTo(this.nextIter)},prevItem:function(){this.fireEvent("onPreviousCalled");this.nextIter=this.currentIter-1;if(this.nextIter<=-1)this.nextIter=this.maxIter-1;this.galleryInit=0;this.goTo(this.nextIter)},goTo:function(e){this.clearTimer();if(this.options.preloader){this.galleryElements[e].load();
e==0?this.galleryElements[this.maxIter-1].load():this.galleryElements[e-1].load();e==this.maxIter-1?this.galleryElements[0].load():this.galleryElements[e+1].load()}this.options.embedLinks&&this.clearLink();if(this.options.showInfopane){this.slideInfoZone.clearChain();this.hideInfoSlideShow().chain(this.changeItem.pass(e,this))}else this.currentChangeDelay=this.changeItem.delay(500,this,e);this.options.embedLinks&&this.makeLink(e);this.prepareTimer()},changeItem:function(e){this.fireEvent("onStartChanging");
this.galleryInit=0;if(this.currentIter!=e){for(i=0;i<this.maxIter;i++)i!=this.currentIter&&this.galleryElements[i].set({opacity:0});gallery.Transitions[this.galleryData[e].transition].pass([this.galleryElements[this.currentIter],this.galleryElements[e],this.currentIter,e],this)();this.currentIter=e}e=formatString(this.options.textShowCarousel,e+1,this.maxIter);this.options.showCarousel&&this.carouselBtn.setHTML(e).setProperty("title",e);this.doSlideShow.bind(this)();this.fireEvent("onChanged")},clearTimer:function(){this.options.timed&&
$clear(this.timer)},prepareTimer:function(){if(this.options.timed)this.timer=this.nextItem.delay(this.options.delay,this)},doSlideShow:function(e){if(this.galleryInit==1){imgPreloader=new Image;imgPreloader.onload=function(){this.startSlideShow.delay(10,this)}.bind(this);imgPreloader.src=this.galleryData[0].image;this.options.preloader&&this.galleryElements[0].load()}else if(this.options.showInfopane)if(this.options.showInfopane)this.showInfoSlideShow.delay(500+this.options.fadeDuration,this);else this.options.showCarousel&&
this.options.activateCarouselScroller&&this.centerCarouselOn(e)},createCarousel:function(){var e;if(this.options.useExternalCarousel)e=$(this.options.carouselElement).addClass("jdExtCarousel");else{e=(new Element("div")).addClass("carouselContainer").injectInside(this.galleryElement);this.carouselContainer=new Fx.Styles(e,{transition:Fx.Transitions.expoOut});this.carouselContainer.normalHeight=e.offsetHeight;this.carouselContainer.set({opacity:this.options.carouselMinimizedOpacity,top:this.options.carouselMinimizedHeight-
this.carouselContainer.normalHeight});this.carouselBtn=(new Element("a")).addClass("carouselBtn").setProperties({title:this.options.textShowCarousel}).injectInside(e);this.options.carouselPreloader?this.carouselBtn.setHTML(this.options.textPreloadingCarousel):this.carouselBtn.setHTML(this.options.textShowCarousel);this.carouselBtn.addEvent("click",function(){this.carouselContainer.clearTimer();this.toggleCarousel()}.bind(this));this.carouselActive=false;e=(new Element("div")).addClass("carousel").injectInside(e);
this.carousel=new Fx.Styles(e)}this.carouselElement=new Fx.Styles(e,{transition:Fx.Transitions.expoOut});this.carouselElement.normalHeight=e.offsetHeight;if(this.options.showCarouselLabel)this.carouselLabel=(new Element("p")).addClass("label").injectInside(e);carouselWrapper=(new Element("div")).addClass("carouselWrapper").injectInside(e);this.carouselWrapper=new Fx.Styles(carouselWrapper,{transition:Fx.Transitions.expoOut});this.carouselWrapper.normalHeight=carouselWrapper.offsetHeight;this.carouselInner=
(new Element("div")).addClass("carouselInner").injectInside(carouselWrapper);if(this.options.activateCarouselScroller){this.carouselWrapper.scroller=new Scroller(carouselWrapper,{area:100,velocity:0.2});this.carouselWrapper.elementScroller=new Fx.Scroll(carouselWrapper,{duration:400,onStart:this.carouselWrapper.scroller.stop.bind(this.carouselWrapper.scroller),onComplete:this.carouselWrapper.scroller.start.bind(this.carouselWrapper.scroller)})}},fillCarousel:function(){this.constructThumbnails();
this.carouselInner.normalWidth=this.maxIter*(this.options.thumbWidth+this.options.thumbSpacing+2)+this.options.thumbSpacing+"px";this.carouselInner.style.width=this.carouselInner.normalWidth},initCarousel:function(){this.createCarousel();this.fillCarousel();this.options.carouselPreloader&&this.preloadThumbnails()},flushCarousel:function(){this.thumbnailElements.each(function(e){e.element.remove();e.element=null});this.thumbnailElements=[]},toggleCarousel:function(){this.carouselActive?this.hideCarousel():
this.showCarousel()},showCarousel:function(){this.fireEvent("onShowCarousel");this.carouselContainer.start({opacity:this.options.carouselMaximizedOpacity,top:0}).chain(function(){this.carouselActive=true;this.carouselWrapper.scroller.start();this.fireEvent("onCarouselShown");this.carouselContainer.options.onComplete=null}.bind(this))},hideCarousel:function(){this.fireEvent("onHideCarousel");this.carouselContainer.start({opacity:this.options.carouselMinimizedOpacity,top:this.options.carouselMinimizedHeight-
this.carouselContainer.normalHeight}).chain(function(){this.carouselActive=false;this.carouselWrapper.scroller.stop();this.fireEvent("onCarouselHidden");this.carouselContainer.options.onComplete=null}.bind(this))},constructThumbnails:function(){element=this.carouselInner;for(i=0;i<this.galleryData.length;i++){var e=(new Fx.Style((new Element("div")).addClass("thumbnail").setStyles({backgroundImage:"url('"+this.galleryData[i].thumbnail+"')",backgroundPosition:"center center",backgroundRepeat:"no-repeat",
marginLeft:this.options.thumbSpacing+"px",width:this.options.thumbWidth+"px",height:this.options.thumbHeight+"px"}).injectInside(element),"opacity",{duration:200})).set(this.options.thumbIdleOpacity);e.element.addEvents({mouseover:function(j){j.clearTimer();j.start(0.99);this.options.showCarouselLabel&&$(this.carouselLabel).setHTML('<span class="number">'+(j.relatedImage.number+1)+"/"+this.maxIter+":</span> "+j.relatedImage.title)}.pass(e,this),mouseout:function(j){j.clearTimer();j.start(this.options.thumbIdleOpacity)}.pass(e,
this),click:function(j){this.goTo(j.relatedImage.number);this.options.thumbCloseCarousel&&this.hideCarousel()}.pass(e,this)});e.relatedImage=this.galleryData[i];this.thumbnailElements[parseInt(i)]=e}},log:function(e){console.log&&console.log(e)},preloadThumbnails:function(){var e=[];for(i=0;i<this.galleryData.length;i++)e[parseInt(i)]=this.galleryData[i].thumbnail;this.thumbnailPreloader=new Preloader;this.thumbnailPreloader.addEvent("onComplete",function(){var j=formatString(this.options.textShowCarousel,
this.currentIter+1,this.maxIter);this.carouselBtn.setHTML(j).setProperty("title",j)}.bind(this));this.thumbnailPreloader.load(e)},clearThumbnailsHighlights:function(){for(i=0;i<this.galleryData.length;i++){this.thumbnailElements[i].clearTimer();this.thumbnailElements[i].start(0.2)}},changeThumbnailsSize:function(e,j){for(i=0;i<this.galleryData.length;i++){this.thumbnailElements[i].clearTimer();this.thumbnailElements[i].element.setStyles({width:e+"px",height:j+"px"})}},centerCarouselOn:function(e){if(!this.carouselWallMode){e=
this.thumbnailElements[e];this.carouselWrapper.elementScroller.scrollTo(e.element.offsetLeft+e.element.offsetWidth/2-this.carouselWrapper.element.offsetWidth/2,0)}},initInfoSlideshow:function(){this.slideInfoZone=(new Fx.Styles((new Element("div")).addClass("slideInfoZone").injectInside($(this.galleryElement)))).set({opacity:0});(new Element("h2")).injectInside(this.slideInfoZone.element);(new Element("p")).injectInside(this.slideInfoZone.element);this.slideInfoZone.normalHeight=this.slideInfoZone.element.offsetHeight;
this.slideInfoZone.element.setStyle("opacity",0)},changeInfoSlideShow:function(){this.hideInfoSlideShow.delay(10,this);this.showInfoSlideShow.delay(500,this)},showInfoSlideShow:function(){this.fireEvent("onShowInfopane");this.slideInfoZone.clearTimer();element=this.slideInfoZone.element;element.getElement("h2").setHTML(this.galleryData[this.currentIter].title);element.getElement("p").setHTML(this.galleryData[this.currentIter].description);this.options.slideInfoZoneSlide?this.slideInfoZone.start({opacity:[0,
this.options.slideInfoZoneOpacity],height:[0,this.slideInfoZone.normalHeight]}):this.slideInfoZone.start({opacity:[0,this.options.slideInfoZoneOpacity]});this.options.showCarousel&&this.slideInfoZone.chain(this.centerCarouselOn.pass(this.currentIter,this));return this.slideInfoZone},hideInfoSlideShow:function(){this.fireEvent("onHideInfopane");this.slideInfoZone.clearTimer();this.options.slideInfoZoneSlide?this.slideInfoZone.start({opacity:0,height:0}):this.slideInfoZone.start({opacity:0});return this.slideInfoZone},
makeLink:function(e){this.currentLink.setProperties({href:this.galleryData[e].link,title:this.galleryData[e].linkTitle,target:this.galleryData[e].linkTarget});this.options.embedLinks&&!this.options.showArrows&&!this.options.showCarousel||this.currentLink.setStyle("display","block")},clearLink:function(){this.currentLink.setProperties({href:"",title:""});this.options.embedLinks&&!this.options.showArrows&&!this.options.showCarousel||this.currentLink.setStyle("display","none")},flushGallery:function(){this.galleryElements.each(function(e){e.element.remove();
e.element=null});this.galleryElements=[]},changeData:function(e){this.galleryData=e;this.clearTimer();this.flushGallery();this.options.showCarousel&&this.flushCarousel();this.constructElements();this.options.showCarousel&&this.fillCarousel();this.options.showInfopane&&this.hideInfoSlideShow();this.galleryInit=1;this.currentIter=this.lastIter=0;this.doSlideShow(1)},initHistory:function(){this.fireEvent("onHistoryInit");this.historyKey=this.galleryElement.id+"-picture";if(this.options.customHistoryKey)this.historyKey=
this.options.customHistoryKey();this.history=HistoryManager.register(this.historyKey,[1],function(e){parseInt(e[0])-1<this.maxIter&&this.goTo(parseInt(e[0])-1)}.bind(this),function(e){return[this.historyKey,"(",e[0],")"].join("")}.bind(this),this.historyKey+"\\((\\d+)\\)");this.addEvent("onChanged",function(){this.history.setValue(0,this.currentIter+1)}.bind(this));this.fireEvent("onHistoryInited")}};gallery=new Class(gallery);gallery.implement(new Events);gallery.implement(new Options);
gallery.Transitions=new Abstract({fade:function(e,j,p,v){e.options.transition=j.options.transition=Fx.Transitions.linear;e.options.duration=j.options.duration=this.options.fadeDuration;if(v>p)j.start({opacity:1});else{j.set({opacity:1});e.start({opacity:0})}},crossfade:function(e,j){e.options.transition=j.options.transition=Fx.Transitions.linear;e.options.duration=j.options.duration=this.options.fadeDuration;j.start({opacity:1});e.start({opacity:0})},fadebg:function(e,j){e.options.transition=j.options.transition=
Fx.Transitions.linear;e.options.duration=j.options.duration=this.options.fadeDuration/2;e.start({opacity:0}).chain(j.start.pass([{opacity:1}],j))}});
var Preloader=new Class({Implements:[Events,Options],options:{root:"",period:100},initialize:function(e){this.setOptions(e)},load:function(e){this.index=0;this.images=[];this.sources=this.temps=e;this.total=this.sources.length;this.fireEvent("onStart",[this.index,this.total]);this.timer=this.progress.periodical(this.options.period,this);this.sources.each(function(j,p){this.images[p]=new Asset.image(this.options.root+j,{onload:function(){this.index++;this.images[p]&&this.fireEvent("onLoad",[this.images[p],
p,j])}.bind(this),onerror:function(){this.index++;this.fireEvent("onError",[this.images.splice(p,1),p,j])}.bind(this),onabort:function(){this.index++;this.fireEvent("onError",[this.images.splice(p,1),p,j])}.bind(this)})},this)},progress:function(){this.fireEvent("onProgress",[Math.min(this.index,this.total),this.total]);this.index>=this.total&&this.complete()},complete:function(){$clear(this.timer);this.fireEvent("onComplete",[this.images])},cancel:function(){$clear(this.timer)}});
Preloader.implement(new Events,new Options);function formatString(){for(var e=arguments.length,j=arguments[0],p=1;p<e;p++)j=j.replace(new RegExp("\\{"+(p-1)+"\\}","g"),arguments[p]);return j};gallery.Transitions.extend({fadeslideleft:function(e,j,p,v){e.options.transition=j.options.transition=Fx.Transitions.Cubic.easeOut;e.options.duration=j.options.duration=1500;if(v>p){j.start({left:[this.galleryElement.offsetWidth,0],opacity:1});e.start({opacity:[1,0]})}else{j.start({opacity:[0,1]});e.start({left:[0,this.galleryElement.offsetWidth],opacity:0}).chain(function(x){x.set({left:0})}.pass(e))}},continuoushorizontal:function(e,j,p,v){e.options.transition=j.options.transition=Fx.Transitions.linear;
if((v>p||v==0&&p==this.maxIter-1)&&!(v==this.maxIter-1&&p==0)){e.set({opacity:1});e.start({left:[0,this.galleryElement.offsetWidth*-1]});j.set({opacity:1,left:this.galleryElement.offsetWidth});j.start({left:[this.galleryElement.offsetWidth,0]})}else{e.set({opacity:1});e.start({left:[0,this.galleryElement.offsetWidth]});j.set({opacity:1,left:this.galleryElement.offsetWidth*-1});j.start({left:[this.galleryElement.offsetWidth*-1,0]})}},continuousvertical:function(e,j,p,v){e.options.transition=j.options.transition=
Fx.Transitions.linear;if((v>p||v==0&&p==this.maxIter-1)&&!(v==this.maxIter-1&&p==0)){e.set({opacity:1});e.start({top:[0,this.galleryElement.offsetHeight*-1]});j.set({opacity:1,top:this.galleryElement.offsetHeight});j.start({top:[this.galleryElement.offsetHeight,0]})}else{e.set({opacity:1});e.start({top:[0,this.galleryElement.offsetHeight]});j.set({opacity:1,top:this.galleryElement.offsetHeight*-1});j.start({top:[this.galleryElement.offsetHeight*-1,0]})}}});function ImageFlow(){this.defaults={ImageFlowID:"imageflow",preloadImages:true,reflections:true,reflectionP:0.5,reflectionPNG:false,reflectionGET:"",imageFocusMax:4,imageFocusM:1,imageCursor:"default",startID:1,startAnimation:false,slider:true,sliderCursor:"e-resize",sliderWidth:14,xStep:150,captions:true,opacity:false,opacityArray:[10,8,6,4,2],onClick:function(){document.location=this.url}};var e=this;this.init=function(j){for(var p=new Array("ImageFlowID","preloadImages","reflections","reflectionP",
"reflectionPNG","reflectionGET","imageFocusMax","imageFocusM","imageCursor","startID","startAnimation","slider","sliderCursor","sliderWidth","xStep","captions","opacity","opacityArray","onClick"),v=p.length,x=0;x<v;x++){var D=p[x];this[D]=j!==undefined&&j[D]!==undefined?j[D]:e.defaults[D]}if(j=document.getElementById(e.ImageFlowID)){j.style.visibility="visible";this.ImageFlowDiv=j;if(this.createStructure()){this.imagesDiv=document.getElementById(e.ImageFlowID+"_images");this.captionDiv=document.getElementById(e.ImageFlowID+
"_caption");this.scrollbarDiv=document.getElementById(e.ImageFlowID+"_scrollbar");this.sliderDiv=document.getElementById(e.ImageFlowID+"_slider");this.indexArray=[];this.memTarget=this.target=this.imageID=this.current=0;this.firstCheck=this.firstRefresh=true;this.busy=false;if(this.slider===false)this.scrollbarDiv.style.display="none";p=Math.round(this.ImageFlowDiv.offsetWidth*0.5085);document.getElementById(e.ImageFlowID+"_loading_txt").style.paddingTop=p*0.5-22+"px";j.style.height=p+"px";this.loadingProgress()}}};
this.createStructure=function(){var j=document.createElement("div");j.setAttribute("id",e.ImageFlowID+"_images");j.setAttribute("class","images");j.setAttribute("className","images");for(var p=null,v=this.ImageFlowDiv.childNodes.length,x=0;x<v;x++)if((p=this.ImageFlowDiv.childNodes[x])&&p.nodeType==1&&p.nodeName=="IMG"){p=p.cloneNode(true);j.appendChild(p)}x=document.createElement("p");p=document.createTextNode(" ");x.setAttribute("id",e.ImageFlowID+"_loading_txt");x.appendChild(p);p=document.createElement("div");
p.setAttribute("id",e.ImageFlowID+"_loading");p.setAttribute("class","loading");p.setAttribute("className","loading");var D=document.createElement("div");D.setAttribute("id",e.ImageFlowID+"_loading_bar");D.setAttribute("class","loading_bar");D.setAttribute("className","loading_bar");p.appendChild(D);D=document.createElement("div");D.setAttribute("id",e.ImageFlowID+"_caption");D.setAttribute("class","caption");D.setAttribute("className","caption");var F=document.createElement("div");F.setAttribute("id",
e.ImageFlowID+"_scrollbar");F.setAttribute("class","scrollbar");F.setAttribute("className","scrollbar");var J=document.createElement("div");J.setAttribute("id",e.ImageFlowID+"_slider");J.setAttribute("class","slider");J.setAttribute("className","slider");F.appendChild(J);J=false;if(e.ImageFlowDiv.appendChild(j)&&e.ImageFlowDiv.appendChild(x)&&e.ImageFlowDiv.appendChild(p)&&e.ImageFlowDiv.appendChild(D)&&e.ImageFlowDiv.appendChild(F)){for(x=0;x<v;x++)(p=this.ImageFlowDiv.childNodes[x])&&p.nodeType==
1&&p.nodeName=="IMG"&&this.ImageFlowDiv.removeChild(p);J=true}return J};this.loadingProgress=function(){var j=e.loadingStatus();if(j<100||e.firstCheck===true&&e.preloadImages===true)if(e.firstCheck===true&&j==100){e.firstCheck=false;window.setTimeout(e.loadingProgress,100)}else window.setTimeout(e.loadingProgress,40);else{document.getElementById(e.ImageFlowID+"_loading_txt").style.display="none";document.getElementById(e.ImageFlowID+"_loading").style.display="none";window.setTimeout(e.addResizeEvent,
1E3);window.onunload=function(){document=null};e.initMouseWheel();e.MouseDrag.init();e.Key.init();e.refresh(true);document.getElementById(e.ImageFlowID+"_scrollbar").style.visibility="visible";j=e.startID-1;if(j<0)j=0;if(j>e.max)j=e.max-1;e.glideTo(j);e.startAnimation===true&&e.moveTo(5E3)}};this.loadingStatus=function(){for(var j=e.imagesDiv.childNodes.length,p=0,v=0,x=null,D=0;D<j;D++)if((x=e.imagesDiv.childNodes[D])&&x.nodeType==1&&x.nodeName=="IMG"){x.complete===true&&v++;p++}j=Math.round(v/p*
100);document.getElementById(e.ImageFlowID+"_loading_bar").style.width=j+"%";x=document.getElementById(e.ImageFlowID+"_loading_txt");p=document.createTextNode("loading images "+v+"/"+p);x.replaceChild(p,x.firstChild);return j};this.refresh=function(){this.iWidth=e.imagesDiv.offsetWidth;this.maxHeight=Math.round(e.iWidth*0.51);this.maxFocus=e.imageFocusMax*e.xStep;this.size=e.iWidth*0.5;this.scrollbarWidth=Math.round(e.iWidth*0.6);this.sliderWidth=e.sliderWidth*0.5;e.ImageFlowDiv.style.height=e.maxHeight+
"px";e.imagesDiv.style.height=Math.round(e.iWidth*0.338)+"px";e.captionDiv.style.width=e.iWidth+"px";e.captionDiv.style.marginTop=Math.round(e.iWidth*0.03)+"px";e.scrollbarDiv.style.width=e.scrollbarWidth+"px";e.scrollbarDiv.style.marginTop=Math.round(e.iWidth*0.02)+"px";e.scrollbarDiv.style.marginLeft=Math.round(e.iWidth*0.2)+"px";e.sliderDiv.style.cursor=e.sliderCursor;e.sliderDiv.onmousedown=function(){e.MouseDrag.start(this);return false};for(var j=e.reflections===true?e.reflectionP+1:1,p=e.imagesDiv.childNodes.length,
v=0,x=null,D=0;D<p;D++){x=e.imagesDiv.childNodes[D];if(x!==null&&x.nodeType==1&&x.nodeName=="IMG"){this.indexArray[v]=D;x.url=x.getAttribute("longdesc");x.xPosition=-v*e.xStep;x.i=v;if(e.firstRefresh)if(x.getAttribute("width")!==null&&x.getAttribute("height")!==null){x.w=x.getAttribute("width");x.h=x.getAttribute("height")*j}else{x.w=x.width;x.h=x.height}if(x.w>x.h/(e.reflectionP+1)){x.pc=118;x.pcMem=118}else{x.pc=100;x.pcMem=100}x.style.cursor=e.imageCursor;v++}}this.max=e.indexArray.length;if(e.firstRefresh)e.firstRefresh=
false;e.moveTo(e.current);e.glideTo(e.imageID)};this.moveTo=function(j){this.current=j;this.zIndex=e.max;for(var p=0;p<e.max;p++){var v=e.imagesDiv.childNodes[e.indexArray[p]],x=p*-e.xStep;if(x+e.maxFocus<e.memTarget||x-e.maxFocus>e.memTarget){v.style.visibility="hidden";v.style.display="none"}else{x=Math.sqrt(1E4+j*j)+100;var D=j/x*e.size+e.size;v.style.display="block";var F=v.h/v.w*v.pc/x*e.size,J=0;switch(F>e.maxHeight){case false:J=v.pc/x*e.size;break;default:F=e.maxHeight;J=v.w*F/v.h;break}var Z=
e.iWidth*0.34-F+F/(e.reflectionP+1)*e.reflectionP;v.style.left=D-v.pc/2/x*e.size+"px";if(J&&F){v.style.height=F+"px";v.style.width=J+"px";v.style.top=Z+"px"}v.style.visibility="visible";switch(j<0){case true:this.zIndex++;break;default:this.zIndex=e.zIndex-1;break}switch(v.i==e.imageID){case false:v.onclick=function(){e.glideTo(this.i)};break;default:this.zIndex=e.zIndex+1;if(v.url!=="")v.onclick=e.onClick;break}v.style.zIndex=e.zIndex}j+=e.xStep}};this.glideTo=function(j){var p=-j*e.xStep;this.memTarget=
this.target=p;this.imageID=j;p=e.imagesDiv.childNodes[j].getAttribute("alt");if(p===""||e.captions===false)p="&nbsp;";e.captionDiv.innerHTML=p;if(e.MouseDrag.busy===false){this.newSliderX=j*e.scrollbarWidth/(e.max-1)-e.MouseDrag.newX;e.sliderDiv.style.marginLeft=e.newSliderX-e.sliderWidth+"px"}if(e.opacity===true||e.imageFocusM!==e.defaults.imageFocusM){e.setOpacity(e.imagesDiv.childNodes[j],e.opacityArray[0]);e.imagesDiv.childNodes[j].pc*=e.imageFocusM;for(var v=p=0,x=0,D=e.opacityArray.length,F=
1;F<e.imageFocusMax+1;F++){p=F+1>D?e.opacityArray[D-1]:e.opacityArray[F];v=j+F;x=j-F;if(v<e.max){e.setOpacity(e.imagesDiv.childNodes[v],p);e.imagesDiv.childNodes[v].pc=e.imagesDiv.childNodes[v].pcMem}if(x>=0){e.setOpacity(e.imagesDiv.childNodes[x],p);e.imagesDiv.childNodes[x].pc=e.imagesDiv.childNodes[x].pcMem}}}if(e.busy===false){window.setTimeout(e.animate,50);e.busy=true}};this.animate=function(){switch(e.target<e.current-1||e.target>e.current+1){case true:e.moveTo(e.current+(e.target-e.current)/
3);window.setTimeout(e.animate,50);e.busy=true;break;default:e.busy=false;break}};this.setOpacity=function(j,p){if(e.opacity===true){j.style.opacity=p/10;j.style.filter="alpha(opacity="+p*10+")"}};this.initMouseWheel=function(){window.addEventListener&&e.ImageFlowDiv.addEventListener("DOMMouseScroll",e.eventMouseWheel,false);e.ImageFlowDiv.onmousewheel=e.eventMouseWheel};this.eventMouseWheel=function(j){var p=0;if(!j)j=window.event;if(j.wheelDelta)p=j.wheelDelta/120;else if(j.detail)p=-j.detail/3;
p&&e.handleMouseWheel(p);j.preventDefault&&j.preventDefault();j.returnValue=false};this.handleMouseWheel=function(j){var p=false,v=0;if(j>0){if(e.imageID>=1){v=e.imageID-1;p=true}}else if(e.imageID<e.max-1){v=e.imageID+1;p=true}p===true&&e.glideTo(v)};this.MouseDrag={object:null,objectX:0,mouseX:0,newX:0,busy:false,init:function(){e.addEvent(e.ImageFlowDiv,"mousemove",e.MouseDrag.drag);e.addEvent(e.ImageFlowDiv,"mouseup",e.MouseDrag.stop);e.addEvent(document,"mouseup",e.MouseDrag.stop);e.ImageFlowDiv.onselectstart=
function(){var j=true;if(e.MouseDrag.busy===true)j=false;return j}},start:function(j){e.MouseDrag.object=j;e.MouseDrag.objectX=e.MouseDrag.mouseX-j.offsetLeft+e.newSliderX},stop:function(){e.MouseDrag.object=null;e.MouseDrag.busy=false},drag:function(j){var p=0;if(!j)j=window.event;if(j.pageX)p=j.pageX;else if(j.clientX)p=j.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;e.MouseDrag.mouseX=p;if(e.MouseDrag.object!==null){j=e.MouseDrag.mouseX-e.MouseDrag.objectX+e.sliderWidth;
if(j<-e.newSliderX)j=-e.newSliderX;if(j>e.scrollbarWidth-e.newSliderX)j=e.scrollbarWidth-e.newSliderX;p=Math.round((j+e.newSliderX)/(e.scrollbarWidth/(e.max-1)));e.MouseDrag.newX=j;e.MouseDrag.object.style.left=j+"px";e.glideTo(p);e.MouseDrag.busy=true}}};this.Key={init:function(){document.onkeydown=function(j){e.Key.handle(j)}},handle:function(j){switch(e.Key.get(j)){case 39:e.handleMouseWheel(-1);break;case 37:e.handleMouseWheel(1);break}},get:function(j){j=j||window.event;return j.keyCode}};this.addEvent=
function(j,p,v){if(j.addEventListener)j.addEventListener(p,v,false);else if(j.attachEvent){j["e"+p+v]=v;j[p+v]=function(){j["e"+p+v](window.event)};j.attachEvent("on"+p,j[p+v])}};this.addResizeEvent=function(){var j=window.onresize;window.onresize=typeof window.onresize!="function"?function(){e.refresh()}:function(){j&&j();e.refresh()}}}
var domReadyEvent={name:"domReadyEvent",events:{},domReadyID:1,bDone:false,DOMContentLoadedCustom:null,add:function(e){if(!e.$$domReadyID){e.$$domReadyID=this.domReadyID++;this.bDone&&e();this.events[e.$$domReadyID]=e}},remove:function(e){e.$$domReadyID&&delete this.events[e.$$domReadyID]},run:function(){if(!this.bDone){this.bDone=true;for(var e in this.events)this.events[e]()}},schedule:function(){if(!this.bDone){if(/KHTML|WebKit/i.test(navigator.userAgent))/loaded|complete/.test(document.readyState)?
this.run():setTimeout(this.name+".schedule()",100);else if(document.getElementById("__ie_onload"))return true;if(typeof this.DOMContentLoadedCustom==="function")if(typeof document.getElementsByTagName!=="undefined"&&(document.getElementsByTagName("body")[0]!==null||document.body!==null))this.DOMContentLoadedCustom()?this.run():setTimeout(this.name+".schedule()",250);return true}},init:function(){function e(){domReadyEvent.run()}document.addEventListener&&document.addEventListener("DOMContentLoaded",
function(){domReadyEvent.run()},false);setTimeout("domReadyEvent.schedule()",100);if(typeof addEvent!=="undefined")addEvent(window,"load",e);else if(document.addEventListener)document.addEventListener("load",e,false);else if(typeof window.onload==="function"){var j=window.onload;window.onload=function(){domReadyEvent.run();j()}}else window.onload=e}},domReady=function(e){domReadyEvent.add(e)};domReadyEvent.init();(function(e,j){function p(){if(!c.isReady){try{y.documentElement.doScroll("left")}catch(a){setTimeout(p,1);return}c.ready()}}function v(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function x(a,b,d,f,g,l){var m=a.length;if(typeof b==="object"){for(var r in b)x(a,r,b[r],f,g,d);return a}if(d!==j){f=!l&&f&&c.isFunction(d);for(r=0;r<m;r++)g(a[r],b,f?d.call(a[r],r,g(a[r],b)):d,l);return a}return m?
g(a[0],b):j}function D(){return(new Date).getTime()}function F(){return false}function J(){return true}function Z(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function ra(a){var b,d=[],f=[],g=arguments,l,m,r,o,s,w;m=c.data(this,"events");if(!(a.liveFired===this||!m||!m.live||a.button&&a.type==="click")){a.liveFired=this;var B=m.live.slice(0);for(o=0;o<B.length;o++){m=B[o];m.origType.replace(U,"")===a.type?f.push(m.selector):B.splice(o--,1)}l=c(a.target).closest(f,a.currentTarget);s=0;for(w=
l.length;s<w;s++)for(o=0;o<B.length;o++){m=B[o];if(l[s].selector===m.selector){r=l[s].elem;f=null;if(m.preType==="mouseenter"||m.preType==="mouseleave")f=c(a.relatedTarget).closest(m.selector)[0];if(!f||f!==r)d.push({elem:r,handleObj:m})}}s=0;for(w=d.length;s<w;s++){l=d[s];a.currentTarget=l.elem;a.data=l.handleObj.data;a.handleObj=l.handleObj;if(l.handleObj.origHandler.apply(l.elem,g)===false){b=false;break}}return b}}function sa(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g,
"&")}function ta(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),g=c.data(this,f);if(f=f&&f.events){delete g.handle;g.events={};for(var l in f)for(var m in f[l])c.event.add(this,l,f[l][m],f[l][m].data)}}})}function ua(a,b,d){var f,g,l;b=b&&b[0]?b[0].ownerDocument||b[0]:y;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===y&&!va.test(a[0])&&(c.support.checkClone||!wa.test(a[0]))){g=true;if(l=c.fragments[a[0]])if(l!==1)f=l}if(!f){f=b.createDocumentFragment();
c.clean(a,b,f,d)}if(g)c.fragments[a[0]]=l?f:1;return{fragment:f,cacheable:g}}function Q(a,b){var d={};c.each(xa.concat.apply([],xa.slice(0,b)),function(){d[this]=a});return d}function ya(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},Sa=e.jQuery,Ta=e.$,y=e.document,aa,Ua=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Va=/^.[^:#\[\.,]*$/,Wa=/\S/,Xa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Ya=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,V=navigator.userAgent,
za=false,W=[],R,ea=Object.prototype.toString,fa=Object.prototype.hasOwnProperty,ga=Array.prototype.push,X=Array.prototype.slice,Aa=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=y;this[0]=y.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=Ua.exec(a))&&(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:y;if(a=Ya.exec(a))if(c.isPlainObject(b)){a=
[y.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=ua([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=y.getElementById(d[2])){if(b.id!==d[2])return aa.find(a);this.length=1;this[0]=b}this.context=y;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=y;a=y.getElementsByTagName(a);return c.merge(this,a)}else return!b||b.jquery?(b||aa).find(a):c(b).find(a);else if(c.isFunction(a))return aa.ready(a);
if(a.selector!==j){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return X.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var f=c();c.isArray(a)?ga.apply(f,a):c.merge(f,a);f.prevObject=this;f.context=this.context;if(b==="find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+
"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(y,c);else W&&W.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(X.apply(this,arguments),"slice",X.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||
c(null)},push:ga,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,g,l,m,r;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((g=arguments[b])!=null)for(l in g){m=a[l];r=g[l];if(a!==r)if(f&&r&&(c.isPlainObject(r)||c.isArray(r))){m=m&&(c.isPlainObject(m)||c.isArray(m))?m:c.isArray(r)?[]:{};a[l]=c.extend(f,m,r)}else if(r!==j)a[l]=
r}return a};c.extend({noConflict:function(a){e.$=Ta;if(a)e.jQuery=Sa;return c},isReady:false,ready:function(){if(!c.isReady){if(!y.body)return setTimeout(c.ready,13);c.isReady=true;if(W){for(var a,b=0;a=W[b++];)a.call(y,c);W=null}c.fn.triggerHandler&&c(y).triggerHandler("ready")}},bindReady:function(){if(!za){za=true;if(y.readyState==="complete")return c.ready();if(y.addEventListener){y.addEventListener("DOMContentLoaded",R,false);e.addEventListener("load",c.ready,false)}else if(y.attachEvent){y.attachEvent("onreadystatechange",
R);e.attachEvent("onload",c.ready);var a=false;try{a=e.frameElement==null}catch(b){}y.documentElement.doScroll&&a&&p()}}},isFunction:function(a){return ea.call(a)==="[object Function]"},isArray:function(a){return ea.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||ea.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!fa.call(a,"constructor")&&!fa.call(a.constructor.prototype,"isPrototypeOf"))return false;var b;for(b in a);return b===j||fa.call(a,b)},
isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e.JSON&&e.JSON.parse?e.JSON.parse(a):(new Function("return "+a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&
Wa.test(a)){var b=y.getElementsByTagName("head")[0]||y.documentElement,d=y.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(y.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var f,g=0,l=a.length,m=l===j||c.isFunction(a);if(d)if(m)for(f in a){if(b.apply(a[f],d)===false)break}else for(;g<l;){if(b.apply(a[g++],d)===false)break}else if(m)for(f in a){if(b.call(a[f],
f,a[f])===false)break}else for(d=a[0];g<l&&b.call(d,g,d)!==false;d=a[++g]);return a},trim:function(a){return(a||"").replace(Xa,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?ga.call(b,a):c.merge(b,a);return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,f=b.length;d<f;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var g=b.length;f<
g;f++)a[d++]=b[f];else for(;b[f]!==j;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],g=0,l=a.length;g<l;g++)!d!==!b(a[g],g)&&f.push(a[g]);return f},map:function(a,b,d){for(var f=[],g,l=0,m=a.length;l<m;l++){g=b(a[l],l,d);if(g!=null)f[f.length]=g}return f.concat.apply([],f)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b==="string"){d=a;a=d[b];b=j}else if(b&&!c.isFunction(b)){d=b;b=j}if(!b&&a)b=function(){return a.apply(d||this,arguments)};if(a)b.guid=a.guid=
a.guid||b.guid||c.guid++;return b},uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});V=c.uaMatch(V);if(V.browser){c.browser[V.browser]=true;c.browser.version=V.version}if(c.browser.webkit)c.browser.safari=true;if(Aa)c.inArray=function(a,b){return Aa.call(b,a)};aa=c(y);if(y.addEventListener)R=
function(){y.removeEventListener("DOMContentLoaded",R,false);c.ready()};else if(y.attachEvent)R=function(){if(y.readyState==="complete"){y.detachEvent("onreadystatechange",R);c.ready()}};(function(){c.support={};var a=y.documentElement,b=y.createElement("script"),d=y.createElement("div"),f="script"+D();d.style.display="none";d.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var g=d.getElementsByTagName("*"),l=d.getElementsByTagName("a")[0];
if(!(!g||!g.length||!l)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(l.getAttribute("style")),hrefNormalized:l.getAttribute("href")==="/a",opacity:/^0.55$/.test(l.style.opacity),cssFloat:!!l.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:y.createElement("select").appendChild(y.createElement("option")).selected,parentNode:d.removeChild(d.appendChild(y.createElement("div"))).parentNode===
null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(y.createTextNode("window."+f+"=1;"))}catch(m){}a.insertBefore(b,a.firstChild);if(e[f]){c.support.scriptEval=true;delete e[f]}try{delete b.test}catch(r){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function o(){c.support.noCloneEvent=false;d.detachEvent("onclick",o)});d.cloneNode(true).fireEvent("onclick")}d=y.createElement("div");
d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=y.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var o=y.createElement("div");o.style.width=o.style.paddingLeft="1px";y.body.appendChild(o);c.boxModel=c.support.boxModel=o.offsetWidth===2;y.body.removeChild(o).style.display="none"});a=function(o){var s=y.createElement("div");o="on"+o;var w=o in s;if(!w){s.setAttribute(o,"return;");w=typeof s[o]===
"function"}return w};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=g=l=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var N="jQuery"+D(),Za=0,Ba={};c.extend({cache:{},expando:N,noData:{embed:true,object:true,applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=
a==e?Ba:a;var f=a[N],g=c.cache;if(!f&&typeof b==="string"&&d===j)return null;f||(f=++Za);if(typeof b==="object"){a[N]=f;g[f]=c.extend(true,{},b)}else if(!g[f]){a[N]=f;g[f]={}}a=g[f];if(d!==j)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==e?Ba:a;var d=a[N],f=c.cache,g=f[d];if(b){if(g){delete g[b];c.isEmptyObject(g)&&c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando];else a.removeAttribute&&a.removeAttribute(c.expando);
delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===j){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===j&&this.length)f=c.data(this[0],a);return f===j&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this,a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,
a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===j)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,
a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var Ca=/[\n\t]/g,ha=/\s+/,$a=/\r/g,ab=/href|src|style/,bb=/(button|input)/i,cb=/(button|input|object|select|textarea)/i,db=/^(a|area)$/i,Da=/radio|checkbox/;c.fn.extend({attr:function(a,
b){return x(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(s){var w=c(this);w.addClass(a.call(this,s,w.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ha),d=0,f=this.length;d<f;d++){var g=this[d];if(g.nodeType===1)if(g.className){for(var l=" "+g.className+" ",m=g.className,r=0,o=b.length;r<o;r++)if(l.indexOf(" "+b[r]+" ")<
0)m+=" "+b[r];g.className=c.trim(m)}else g.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(o){var s=c(this);s.removeClass(a.call(this,o,s.attr("class")))});if(a&&typeof a==="string"||a===j)for(var b=(a||"").split(ha),d=0,f=this.length;d<f;d++){var g=this[d];if(g.nodeType===1&&g.className)if(a){for(var l=(" "+g.className+" ").replace(Ca," "),m=0,r=b.length;m<r;m++)l=l.replace(" "+b[m]+" "," ");g.className=c.trim(l)}else g.className=""}return this},toggleClass:function(a,
b){var d=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(g){var l=c(this);l.toggleClass(a.call(this,g,l.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var g,l=0,m=c(this),r=b,o=a.split(ha);g=o[l++];){r=f?r:!m.hasClass(g);m[r?"addClass":"removeClass"](g)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className=this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){for(var b=
0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(Ca," ").indexOf(" "+a+" ")>-1)return true;return false},val:function(a){if(a===j){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],g=b.options;b=b.type==="select-one";if(d<0)return null;var l=b?d:0;for(d=b?d+1:g.length;l<d;l++){var m=g[l];if(m.selected){a=c(m).val();if(b)return a;f.push(a)}}return f}if(Da.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===
null?"on":b.value;return(b.value||"").replace($a,"")}return j}var r=c.isFunction(a);return this.each(function(o){var s=c(this),w=a;if(this.nodeType===1){if(r)w=a.call(this,o,s.val());if(typeof w==="number")w+="";if(c.isArray(w)&&Da.test(this.type))this.checked=c.inArray(s.val(),w)>=0;else if(c.nodeName(this,"select")){var B=c.makeArray(w);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),B)>=0});if(!B.length)this.selectedIndex=-1}else this.value=w}})}});c.extend({attrFn:{val:true,
css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return j;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var g=d!==j;b=f&&c.props[b]||b;if(a.nodeType===1){var l=ab.test(b);if(b in a&&f&&!l){if(g){b==="type"&&bb.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=
a.getAttributeNode("tabIndex"))&&b.specified?b.value:cb.test(a.nodeName)||db.test(a.nodeName)&&a.href?0:j;return a[b]}if(!c.support.style&&f&&b==="style"){if(g)a.style.cssText=""+d;return a.style.cssText}g&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&l?a.getAttribute(b,2):a.getAttribute(b);return a===null?j:a}return c.style(a,b,d)}});var U=/\.(.*)$/,eb=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===
8)){if(a.setInterval&&a!==e&&!a.frameElement)a=e;var g,l;if(d.handler){g=d;d=g.handler}if(!d.guid)d.guid=c.guid++;if(l=c.data(a)){var m=l.events=l.events||{},r=l.handle;if(!r)l.handle=r=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(r.elem,arguments):j};r.elem=a;b=b.split(" ");for(var o,s=0,w;o=b[s++];){l=g?c.extend({},g):{handler:d,data:f};if(o.indexOf(".")>-1){w=o.split(".");o=w.shift();l.namespace=w.slice(0).sort().join(".")}else{w=[];l.namespace=""}l.type=o;
l.guid=d.guid;var B=m[o],G=c.event.special[o]||{};if(!B){B=m[o]=[];if(!G.setup||G.setup.call(a,f,w,r)===false)if(a.addEventListener)a.addEventListener(o,r,false);else a.attachEvent&&a.attachEvent("on"+o,r)}if(G.add){G.add.call(a,l);if(!l.handler.guid)l.handler.guid=d.guid}B.push(l);c.event.global[o]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){var g,l=0,m,r,o,s,w,B,G=c.data(a),I=G&&G.events;if(G&&I){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&
b.charAt(0)===".")for(g in I)c.event.remove(a,g+(b||""));else{for(b=b.split(" ");g=b[l++];){s=g;m=g.indexOf(".")<0;r=[];if(!m){r=g.split(".");g=r.shift();o=new RegExp("(^|\\.)"+c.map(r.slice(0).sort(),eb).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(w=I[g])if(d){s=c.event.special[g]||{};for(H=f||0;H<w.length;H++){B=w[H];if(d.guid===B.guid){if(m||o.test(B.namespace)){f==null&&w.splice(H--,1);s.remove&&s.remove.call(a,B)}if(f!=null)break}}if(w.length===0||f!=null&&w.length===1){if(!s.teardown||s.teardown.call(a,
r)===false)Ea(a,g,G.handle);delete I[g]}}else for(var H=0;H<w.length;H++){B=w[H];if(m||o.test(B.namespace)){c.event.remove(a,s,B.handler,H);w.splice(H--,1)}}}if(c.isEmptyObject(I)){if(b=G.handle)b.elem=null;delete G.events;delete G.handle;c.isEmptyObject(G)&&c.removeData(a)}}}}},trigger:function(a,b,d,f){var g=a.type||a;if(!f){a=typeof a==="object"?a[N]?a:c.extend(c.Event(g),a):c.Event(g);if(g.indexOf("!")>=0){a.type=g=g.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[g]&&c.each(c.cache,
function(){this.events&&this.events[g]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return j;a.result=j;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+g]&&d["on"+g].apply(d,b)===false)a.result=false}catch(l){}if(!a.isPropagationStopped()&&f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var m,
r=c.nodeName(f,"a")&&g==="click",o=c.event.special[g]||{};if((!o._default||o._default.call(d,a)===false)&&!r&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[g]){if(m=f["on"+g])f["on"+g]=null;c.event.triggered=true;f[g]()}}catch(s){}if(m)f["on"+g]=m;c.event.triggered=false}}},handle:function(a){var b,d,f,g;a=arguments[0]=c.event.fix(a||e.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){d=a.type.split(".");a.type=d.shift();f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+
"(\\.|$)")}g=c.data(this,"events");d=g[a.type];if(g&&d){d=d.slice(0);g=0;for(var l=d.length;g<l;g++){var m=d[g];if(b||f.test(m.namespace)){a.handler=m.handler;a.data=m.data;a.handleObj=m;m=m.handler.apply(this,arguments);if(m!==j){a.result=m;if(m===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[N])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||y;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=y.documentElement;d=y.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||
d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==j)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,a.origType,c.extend({},a,{handler:ra}))},remove:function(a){var b=true,d=a.origType.replace(U,"");c.each(c.data(this,
"events").live||[],function(){if(d===this.origType.replace(U,""))return b=false});b&&c.event.remove(this,a.origType,ra)}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var Ea=y.removeEventListener?function(a,b,d){a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=
a;this.type=a.type}else this.type=a;this.timeStamp=D();this[N]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=J;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=J;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=J;this.stopPropagation()},isDefaultPrevented:F,isPropagationStopped:F,
isImmediatePropagationStopped:F};var Fa=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},Ga=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?Ga:Fa,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Ga:Fa)}}});if(!c.support.submitBubbles)c.event.special.submit=
{setup:function(){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length)return Z("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13)return Z("submit",this,arguments)})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var ia=
/textarea|input|select/i,ja,Ha=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},ka=function(a,b){var d=a.target,f,g;if(!(!ia.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");g=Ha(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",g);if(!(f===j||g===f))if(f!=null||
g){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:ka,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return ka.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return ka.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",Ha(a))}},setup:function(){if(this.type===
"file")return false;for(var a in ja)c.event.add(this,a+".specialChange",ja[a]);return ia.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return ia.test(this.nodeName)}};ja=c.event.special.change.filters}y.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}c.event.special[b]={setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,
d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,g){if(typeof d==="object"){for(var l in d)this[b](l,f,d[l],g);return this}if(c.isFunction(f)){g=f;f=j}var m=b==="one"?c.proxy(g,function(o){c(this).unbind(o,m);return g.apply(this,arguments)}):g;if(d==="unload"&&b!=="one")this.one(d,f,g);else{l=0;for(var r=this.length;l<r;l++)c.event.add(this[l],d,m,f)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=
0;for(var f=this.length;d<f;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,f){return this.live(b,d,f,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,
b[d++]);return this.click(c.proxy(a,function(f){var g=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,g+1);f.preventDefault();return b[g].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Ia={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,f,g,l){var m,r=0,o,s,w=l||this.selector,B=l?this:c(this.context);if(c.isFunction(f)){g=f;f=j}for(d=
(d||"").split(" ");(m=d[r++])!=null;){l=U.exec(m);o="";if(l){o=l[0];m=m.replace(U,"")}if(m==="hover")d.push("mouseenter"+o,"mouseleave"+o);else{s=m;if(m==="focus"||m==="blur"){d.push(Ia[m]+o);m+=o}else m=(Ia[m]||m)+o;b==="live"?B.each(function(){c.event.add(this,sa(m,w),{data:f,selector:w,handler:g,origType:m,origHandler:g,preType:s})}):B.unbind(sa(m,w),g)}}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});e.attachEvent&&!e.addEventListener&&e.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(h){for(var k="",n,q=0;h[q];q++){n=h[q];if(n.nodeType===3||n.nodeType===4)k+=n.nodeValue;else if(n.nodeType!==8)k+=a(n.childNodes)}return k}function b(h,k,n,q,u,t){u=0;for(var A=q.length;u<A;u++){var z=q[u];
if(z){z=z[h];for(var E=false;z;){if(z.sizcache===n){E=q[z.sizset];break}if(z.nodeType===1&&!t){z.sizcache=n;z.sizset=u}if(z.nodeName.toLowerCase()===k){E=z;break}z=z[h]}q[u]=E}}}function d(h,k,n,q,u,t){u=0;for(var A=q.length;u<A;u++){var z=q[u];if(z){z=z[h];for(var E=false;z;){if(z.sizcache===n){E=q[z.sizset];break}if(z.nodeType===1){if(!t){z.sizcache=n;z.sizset=u}if(typeof k!=="string"){if(z===k){E=true;break}}else if(o.filter(k,[z]).length>0){E=z;break}}z=z[h]}q[u]=E}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
g=0,l=Object.prototype.toString,m=false,r=true;[0,0].sort(function(){r=false;return 0});var o=function(h,k,n,q){n=n||[];var u=k=k||y;if(k.nodeType!==1&&k.nodeType!==9)return[];if(!h||typeof h!=="string")return n;for(var t=[],A,z,E,Y,O=true,S=C(k),P=h;(f.exec(""),A=f.exec(P))!==null;){P=A[3];t.push(A[1]);if(A[2]){Y=A[3];break}}if(t.length>1&&w.exec(h))if(t.length===2&&s.relative[t[0]])z=la(t[0]+t[1],k);else for(z=s.relative[t[0]]?[k]:o(t.shift(),k);t.length;){h=t.shift();if(s.relative[h])h+=t.shift();
z=la(h,z)}else{if(!q&&t.length>1&&k.nodeType===9&&!S&&s.match.ID.test(t[0])&&!s.match.ID.test(t[t.length-1])){A=o.find(t.shift(),k,S);k=A.expr?o.filter(A.expr,A.set)[0]:A.set[0]}if(k){A=q?{expr:t.pop(),set:G(q)}:o.find(t.pop(),t.length===1&&(t[0]==="~"||t[0]==="+")&&k.parentNode?k.parentNode:k,S);z=A.expr?o.filter(A.expr,A.set):A.set;if(t.length>0)E=G(z);else O=false;for(;t.length;){var K=t.pop();A=K;if(s.relative[K])A=t.pop();else K="";if(A==null)A=k;s.relative[K](E,A,S)}}else E=[]}E||(E=z);E||o.error(K||
h);if(l.call(E)==="[object Array]")if(O)if(k&&k.nodeType===1)for(h=0;E[h]!=null;h++){if(E[h]&&(E[h]===true||E[h].nodeType===1&&L(k,E[h])))n.push(z[h])}else for(h=0;E[h]!=null;h++)E[h]&&E[h].nodeType===1&&n.push(z[h]);else n.push.apply(n,E);else G(E,n);if(Y){o(Y,u,n,q);o.uniqueSort(n)}return n};o.uniqueSort=function(h){if(H){m=r;h.sort(H);if(m)for(var k=1;k<h.length;k++)h[k]===h[k-1]&&h.splice(k--,1)}return h};o.matches=function(h,k){return o(h,null,null,k)};o.find=function(h,k,n){var q,u;if(!h)return[];
for(var t=0,A=s.order.length;t<A;t++){var z=s.order[t];if(u=s.leftMatch[z].exec(h)){var E=u[1];u.splice(1,1);if(E.substr(E.length-1)!=="\\"){u[1]=(u[1]||"").replace(/\\/g,"");q=s.find[z](u,k,n);if(q!=null){h=h.replace(s.match[z],"");break}}}}q||(q=k.getElementsByTagName("*"));return{set:q,expr:h}};o.filter=function(h,k,n,q){for(var u=h,t=[],A=k,z,E,Y=k&&k[0]&&C(k[0]);h&&k.length;){for(var O in s.filter)if((z=s.leftMatch[O].exec(h))!=null&&z[2]){var S=s.filter[O],P,K;K=z[1];E=false;z.splice(1,1);if(K.substr(K.length-
1)!=="\\"){if(A===t)t=[];if(s.preFilter[O])if(z=s.preFilter[O](z,A,n,t,q,Y)){if(z===true)continue}else E=P=true;if(z)for(var ba=0;(K=A[ba])!=null;ba++)if(K){P=S(K,z,ba,A);var Ja=q^!!P;if(n&&P!=null)if(Ja)E=true;else A[ba]=false;else if(Ja){t.push(K);E=true}}if(P!==j){n||(A=t);h=h.replace(s.match[O],"");if(!E)return[];break}}}if(h===u)if(E==null)o.error(h);else break;u=h}return A};o.error=function(h){throw"Syntax error, unrecognized expression: "+h;};var s=o.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,
CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(h){return h.getAttribute("href")}},
relative:{"+":function(h,k){var n=typeof k==="string",q=n&&!/\W/.test(k);n=n&&!q;if(q)k=k.toLowerCase();q=0;for(var u=h.length,t;q<u;q++)if(t=h[q]){for(;(t=t.previousSibling)&&t.nodeType!==1;);h[q]=n||t&&t.nodeName.toLowerCase()===k?t||false:t===k}n&&o.filter(k,h,true)},">":function(h,k){var n=typeof k==="string";if(n&&!/\W/.test(k)){k=k.toLowerCase();for(var q=0,u=h.length;q<u;q++){var t=h[q];if(t){n=t.parentNode;h[q]=n.nodeName.toLowerCase()===k?n:false}}}else{q=0;for(u=h.length;q<u;q++)if(t=h[q])h[q]=
n?t.parentNode:t.parentNode===k;n&&o.filter(k,h,true)}},"":function(h,k,n){var q=g++,u=d;if(typeof k==="string"&&!/\W/.test(k)){var t=k=k.toLowerCase();u=b}u("parentNode",k,q,h,t,n)},"~":function(h,k,n){var q=g++,u=d;if(typeof k==="string"&&!/\W/.test(k)){var t=k=k.toLowerCase();u=b}u("previousSibling",k,q,h,t,n)}},find:{ID:function(h,k,n){if(typeof k.getElementById!=="undefined"&&!n)return(h=k.getElementById(h[1]))?[h]:[]},NAME:function(h,k){if(typeof k.getElementsByName!=="undefined"){var n=[];
k=k.getElementsByName(h[1]);for(var q=0,u=k.length;q<u;q++)k[q].getAttribute("name")===h[1]&&n.push(k[q]);return n.length===0?null:n}},TAG:function(h,k){return k.getElementsByTagName(h[1])}},preFilter:{CLASS:function(h,k,n,q,u,t){h=" "+h[1].replace(/\\/g,"")+" ";if(t)return h;t=0;for(var A;(A=k[t])!=null;t++)if(A)if(u^(A.className&&(" "+A.className+" ").replace(/[\t\n]/g," ").indexOf(h)>=0))n||q.push(A);else if(n)k[t]=false;return false},ID:function(h){return h[1].replace(/\\/g,"")},TAG:function(h){return h[1].toLowerCase()},
CHILD:function(h){if(h[1]==="nth"){var k=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(h[2]==="even"&&"2n"||h[2]==="odd"&&"2n+1"||!/\D/.test(h[2])&&"0n+"+h[2]||h[2]);h[2]=k[1]+(k[2]||1)-0;h[3]=k[3]-0}h[0]=g++;return h},ATTR:function(h,k,n,q,u,t){k=h[1].replace(/\\/g,"");if(!t&&s.attrMap[k])h[1]=s.attrMap[k];if(h[2]==="~=")h[4]=" "+h[4]+" ";return h},PSEUDO:function(h,k,n,q,u){if(h[1]==="not")if((f.exec(h[3])||"").length>1||/^\w/.test(h[3]))h[3]=o(h[3],null,null,k);else{h=o.filter(h[3],k,n,true^u);n||q.push.apply(q,
h);return false}else if(s.match.POS.test(h[0])||s.match.CHILD.test(h[0]))return true;return h},POS:function(h){h.unshift(true);return h}},filters:{enabled:function(h){return h.disabled===false&&h.type!=="hidden"},disabled:function(h){return h.disabled===true},checked:function(h){return h.checked===true},selected:function(h){return h.selected===true},parent:function(h){return!!h.firstChild},empty:function(h){return!h.firstChild},has:function(h,k,n){return!!o(n[3],h).length},header:function(h){return/h\d/i.test(h.nodeName)},
text:function(h){return"text"===h.type},radio:function(h){return"radio"===h.type},checkbox:function(h){return"checkbox"===h.type},file:function(h){return"file"===h.type},password:function(h){return"password"===h.type},submit:function(h){return"submit"===h.type},image:function(h){return"image"===h.type},reset:function(h){return"reset"===h.type},button:function(h){return"button"===h.type||h.nodeName.toLowerCase()==="button"},input:function(h){return/input|select|textarea|button/i.test(h.nodeName)}},
setFilters:{first:function(h,k){return k===0},last:function(h,k,n,q){return k===q.length-1},even:function(h,k){return k%2===0},odd:function(h,k){return k%2===1},lt:function(h,k,n){return k<n[3]-0},gt:function(h,k,n){return k>n[3]-0},nth:function(h,k,n){return n[3]-0===k},eq:function(h,k,n){return n[3]-0===k}},filter:{PSEUDO:function(h,k,n,q){var u=k[1],t=s.filters[u];if(t)return t(h,n,k,q);else if(u==="contains")return(h.textContent||h.innerText||a([h])||"").indexOf(k[3])>=0;else if(u==="not"){k=
k[3];n=0;for(q=k.length;n<q;n++)if(k[n]===h)return false;return true}else o.error("Syntax error, unrecognized expression: "+u)},CHILD:function(h,k){var n=k[1],q=h;switch(n){case "only":case "first":for(;q=q.previousSibling;)if(q.nodeType===1)return false;if(n==="first")return true;q=h;case "last":for(;q=q.nextSibling;)if(q.nodeType===1)return false;return true;case "nth":n=k[2];var u=k[3];if(n===1&&u===0)return true;k=k[0];var t=h.parentNode;if(t&&(t.sizcache!==k||!h.nodeIndex)){var A=0;for(q=t.firstChild;q;q=
q.nextSibling)if(q.nodeType===1)q.nodeIndex=++A;t.sizcache=k}h=h.nodeIndex-u;return n===0?h===0:h%n===0&&h/n>=0}},ID:function(h,k){return h.nodeType===1&&h.getAttribute("id")===k},TAG:function(h,k){return k==="*"&&h.nodeType===1||h.nodeName.toLowerCase()===k},CLASS:function(h,k){return(" "+(h.className||h.getAttribute("class"))+" ").indexOf(k)>-1},ATTR:function(h,k){var n=k[1];h=s.attrHandle[n]?s.attrHandle[n](h):h[n]!=null?h[n]:h.getAttribute(n);n=h+"";var q=k[2];k=k[4];return h==null?q==="!=":q===
"="?n===k:q==="*="?n.indexOf(k)>=0:q==="~="?(" "+n+" ").indexOf(k)>=0:!k?n&&h!==false:q==="!="?n!==k:q==="^="?n.indexOf(k)===0:q==="$="?n.substr(n.length-k.length)===k:q==="|="?n===k||n.substr(0,k.length+1)===k+"-":false},POS:function(h,k,n,q){var u=s.setFilters[k[2]];if(u)return u(h,n,k,q)}}},w=s.match.POS;for(var B in s.match){s.match[B]=new RegExp(s.match[B].source+/(?![^\[]*\])(?![^\(]*\))/.source);s.leftMatch[B]=new RegExp(/(^(?:.|\r|\n)*?)/.source+s.match[B].source.replace(/\\(\d+)/g,function(h,
k){return"\\"+(k-0+1)}))}var G=function(h,k){h=Array.prototype.slice.call(h,0);if(k){k.push.apply(k,h);return k}return h};try{Array.prototype.slice.call(y.documentElement.childNodes,0)}catch(I){G=function(h,k){k=k||[];if(l.call(h)==="[object Array]")Array.prototype.push.apply(k,h);else if(typeof h.length==="number")for(var n=0,q=h.length;n<q;n++)k.push(h[n]);else for(n=0;h[n];n++)k.push(h[n]);return k}}var H;if(y.documentElement.compareDocumentPosition)H=function(h,k){if(!h.compareDocumentPosition||
!k.compareDocumentPosition){if(h==k)m=true;return h.compareDocumentPosition?-1:1}h=h.compareDocumentPosition(k)&4?-1:h===k?0:1;if(h===0)m=true;return h};else if("sourceIndex"in y.documentElement)H=function(h,k){if(!h.sourceIndex||!k.sourceIndex){if(h==k)m=true;return h.sourceIndex?-1:1}h=h.sourceIndex-k.sourceIndex;if(h===0)m=true;return h};else if(y.createRange)H=function(h,k){if(!h.ownerDocument||!k.ownerDocument){if(h==k)m=true;return h.ownerDocument?-1:1}var n=h.ownerDocument.createRange(),q=
k.ownerDocument.createRange();n.setStart(h,0);n.setEnd(h,0);q.setStart(k,0);q.setEnd(k,0);h=n.compareBoundaryPoints(Range.START_TO_END,q);if(h===0)m=true;return h};(function(){var h=y.createElement("div"),k="script"+(new Date).getTime();h.innerHTML="<a name='"+k+"'/>";var n=y.documentElement;n.insertBefore(h,n.firstChild);if(y.getElementById(k)){s.find.ID=function(q,u,t){if(typeof u.getElementById!=="undefined"&&!t)return(u=u.getElementById(q[1]))?u.id===q[1]||typeof u.getAttributeNode!=="undefined"&&
u.getAttributeNode("id").nodeValue===q[1]?[u]:j:[]};s.filter.ID=function(q,u){var t=typeof q.getAttributeNode!=="undefined"&&q.getAttributeNode("id");return q.nodeType===1&&t&&t.nodeValue===u}}n.removeChild(h);n=h=null})();(function(){var h=y.createElement("div");h.appendChild(y.createComment(""));if(h.getElementsByTagName("*").length>0)s.find.TAG=function(k,n){n=n.getElementsByTagName(k[1]);if(k[1]==="*"){k=[];for(var q=0;n[q];q++)n[q].nodeType===1&&k.push(n[q]);n=k}return n};h.innerHTML="<a href='#'></a>";
if(h.firstChild&&typeof h.firstChild.getAttribute!=="undefined"&&h.firstChild.getAttribute("href")!=="#")s.attrHandle.href=function(k){return k.getAttribute("href",2)};h=null})();y.querySelectorAll&&function(){var h=o,k=y.createElement("div");k.innerHTML="<p class='TEST'></p>";if(!(k.querySelectorAll&&k.querySelectorAll(".TEST").length===0)){o=function(q,u,t,A){u=u||y;if(!A&&u.nodeType===9&&!C(u))try{return G(u.querySelectorAll(q),t)}catch(z){}return h(q,u,t,A)};for(var n in h)o[n]=h[n];k=null}}();
(function(){var h=y.createElement("div");h.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!h.getElementsByClassName||h.getElementsByClassName("e").length===0)){h.lastChild.className="e";if(h.getElementsByClassName("e").length!==1){s.order.splice(1,0,"CLASS");s.find.CLASS=function(k,n,q){if(typeof n.getElementsByClassName!=="undefined"&&!q)return n.getElementsByClassName(k[1])};h=null}}})();var L=y.compareDocumentPosition?function(h,k){return!!(h.compareDocumentPosition(k)&16)}:
function(h,k){return h!==k&&(h.contains?h.contains(k):true)},C=function(h){return(h=(h?h.ownerDocument||h:0).documentElement)?h.nodeName!=="HTML":false},la=function(h,k){var n=[],q="",u;for(k=k.nodeType?[k]:k;u=s.match.PSEUDO.exec(h);){q+=u[0];h=h.replace(s.match.PSEUDO,"")}h=s.relative[h]?h+"*":h;u=0;for(var t=k.length;u<t;u++)o(h,k[u],n);return o.filter(q,n)};c.find=o;c.expr=o.selectors;c.expr[":"]=c.expr.filters;c.unique=o.uniqueSort;c.text=a;c.isXMLDoc=C;c.contains=L})();var fb=/Until$/,gb=/^(?:parents|prevUntil|prevAll)/,
hb=/,/;X=Array.prototype.slice;var Ka=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(g,l){return!!b.call(g,l,g)===d});else if(b.nodeType)return c.grep(a,function(g){return g===b===d});else if(typeof b==="string"){var f=c.grep(a,function(g){return g.nodeType===1});if(Va.test(b))return c.filter(b,f,!d);else b=c.filter(b,f)}return c.grep(a,function(g){return c.inArray(g,b)>=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,g=this.length;f<g;f++){d=b.length;
c.find(a,this[f],b);if(f>0)for(var l=d;l<b.length;l++)for(var m=0;m<d;m++)if(b[m]===b[l]){b.splice(l--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ka(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ka(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],g,l=
{},m;if(f&&a.length){g=0;for(var r=a.length;g<r;g++){m=a[g];l[m]||(l[m]=c.expr.match.POS.test(m)?c(m,b||this.context):m)}for(;f&&f.ownerDocument&&f!==b;){for(m in l){g=l[m];if(g.jquery?g.index(f)>-1:c(f).is(g)){d.push({selector:m,elem:f});delete l[m]}}f=f.parentNode}}return d}var o=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(s,w){for(;w&&w.ownerDocument&&w!==b;){if(o?o.index(w)>-1:c(w).is(a))return w;w=w.parentNode}return null})},index:function(a){if(!a||typeof a===
"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(!a[0]||!a[0].parentNode||a[0].parentNode.nodeType===11||!b[0]||!b[0].parentNode||b[0].parentNode.nodeType===11?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,
"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},
contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var g=c.map(this,b,d);fb.test(a)||(f=d);if(f&&typeof f==="string")g=c.filter(f,g);g=this.length>1?c.unique(g):g;if((this.length>1||hb.test(f))&&gb.test(a))g=g.reverse();return this.pushStack(g,a,X.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=
a[b];a&&a.nodeType!==9&&(d===j||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===(b||1))break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var La=/ jQuery\d+="(?:\d+|null)"/g,ca=/^\s+/,Ma=/(<([\w:]+)[^>]*?)\/>/g,ib=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,Na=/<([\w:]+)/,jb=/<tbody/i,kb=/<|&#?\w+;/,va=/<script|<object|<embed|<option|<style/i,
wa=/checked\s*(?:[^=]|=\s*.checked.)/i,Oa=function(a,b,d){return ib.test(d)?a:b+"></"+d+">"},M={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};M.optgroup=M.option;M.tbody=M.tfoot=M.colgroup=M.caption=M.thead;M.th=M.td;if(!c.support.htmlSerialize)M._default=
[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==j)return this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=
this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,
true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,
false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);
return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(La,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(ca,"")],f)[0]}else return this.cloneNode(true)});if(a===true){ta(this,b);ta(this.find("*"),b.find("*"))}return b},html:function(a){if(a===j)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(La,
""):null;else if(typeof a==="string"&&!va.test(a)&&(c.support.leadingWhitespace||!ca.test(a))&&!M[(Na.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ma,Oa);try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}}else c.isFunction(a)?this.each(function(g){var l=c(this),m=l.html();l.empty().append(function(){return a.call(this,g,m)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&
this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),f=d.html();d.replaceWith(a.call(this,b,f))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){var f,g,l=a[0],m=[],r;if(!c.support.checkClone&&arguments.length===3&&typeof l===
"string"&&wa.test(l))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(l))return this.each(function(s){var w=c(this);a[0]=l.call(this,s,b?w.html():j);w.domManip(a,b,d)});if(this[0]){f=l&&l.parentNode;f=c.support.parentNode&&f&&f.nodeType===11&&f.childNodes.length===this.length?{fragment:f}:ua(a,this,m);r=f.fragment;if(g=r.childNodes.length===1?(r=r.firstChild):r.firstChild){b=b&&c.nodeName(g,"tr");g=0;for(var o=this.length;g<o;g++)d.call(b?c.nodeName(this[g],"table")?this[g].getElementsByTagName("tbody")[0]||
this[g].appendChild(this[g].ownerDocument.createElement("tbody")):this[g]:this[g],g>0||f.cacheable||this.length>1?r.cloneNode(true):r)}m.length&&c.each(m,v)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{g=0;for(var l=d.length;g<
l;g++){var m=(g>0?this.clone(true):this).get();c.fn[b].apply(c(d[g]),m);f=f.concat(m)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||y;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||y;for(var g=[],l=0,m;(m=a[l])!=null;l++){if(typeof m==="number")m+="";if(m){if(typeof m==="string"&&!kb.test(m))m=b.createTextNode(m);else if(typeof m==="string"){m=m.replace(Ma,Oa);var r=(Na.exec(m)||["",""])[1].toLowerCase(),o=M[r]||M._default,s=
o[0],w=b.createElement("div");for(w.innerHTML=o[1]+m+o[2];s--;)w=w.lastChild;if(!c.support.tbody){s=jb.test(m);r=r==="table"&&!s?w.firstChild&&w.firstChild.childNodes:o[1]==="<table>"&&!s?w.childNodes:[];for(o=r.length-1;o>=0;--o)c.nodeName(r[o],"tbody")&&!r[o].childNodes.length&&r[o].parentNode.removeChild(r[o])}!c.support.leadingWhitespace&&ca.test(m)&&w.insertBefore(b.createTextNode(ca.exec(m)[0]),w.firstChild);m=w.childNodes}if(m.nodeType)g.push(m);else g=c.merge(g,m)}}if(d)for(l=0;g[l];l++)if(f&&
c.nodeName(g[l],"script")&&(!g[l].type||g[l].type.toLowerCase()==="text/javascript"))f.push(g[l].parentNode?g[l].parentNode.removeChild(g[l]):g[l]);else{g[l].nodeType===1&&g.splice.apply(g,[l+1,0].concat(c.makeArray(g[l].getElementsByTagName("script"))));d.appendChild(g[l])}return g},cleanData:function(a){for(var b,d,f=c.cache,g=c.event.special,l=c.support.deleteExpando,m=0,r;(r=a[m])!=null;m++)if(d=r[c.expando]){b=f[d];if(b.events)for(var o in b.events)g[o]?c.event.remove(r,o):Ea(r,o,b.handle);if(l)delete r[c.expando];
else r.removeAttribute&&r.removeAttribute(c.expando);delete f[d]}}});var lb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Pa=/alpha\([^)]*\)/,Qa=/opacity=([^)]*)/,ma=/float/i,na=/-([a-z])/ig,mb=/([A-Z])/g,nb=/^-?\d+(?:px)?$/i,ob=/^-?\d/,pb={position:"absolute",visibility:"hidden",display:"block"},qb=["Left","Right"],rb=["Top","Bottom"],sb=y.defaultView&&y.defaultView.getComputedStyle,Ra=c.support.cssFloat?"cssFloat":"styleFloat",oa=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return x(this,
a,b,true,function(d,f,g){if(g===j)return c.curCSS(d,f);if(typeof g==="number"&&!lb.test(f))g+="px";c.style(d,f,g)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return j;if((b==="width"||b==="height")&&parseFloat(d)<0)d=j;var f=a.style||a,g=d!==j;if(!c.support.opacity&&b==="opacity"){if(g){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter=Pa.test(a)?a.replace(Pa,b):b}return f.filter&&f.filter.indexOf("opacity=")>=
0?parseFloat(Qa.exec(f.filter)[1])/100+"":""}if(ma.test(b))b=Ra;b=b.replace(na,oa);if(g)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var g,l=b==="width"?qb:rb;d=function(){g=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(l,function(){f||(g-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")g+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else g-=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0})};a.offsetWidth!==0?d():c.swap(a,pb,d);return Math.max(0,
Math.round(g))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,g=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=Qa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(ma.test(b))b=Ra;if(!d&&g&&g[b])f=g[b];else if(sb){if(ma.test(b))b="float";b=b.replace(mb,"-$1").toLowerCase();g=a.ownerDocument.defaultView;if(!g)return null;if(a=g.getComputedStyle(a,null))f=a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(na,
oa);f=a.currentStyle[b]||a.currentStyle[d];if(!nb.test(f)&&ob.test(f)){b=g.left;var l=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;g.left=d==="fontSize"?"1em":f||0;f=g.pixelLeft+"px";g.left=b;a.runtimeStyle.left=l}}return f},swap:function(a,b,d){var f={};for(var g in b){f[g]=a.style[g];a.style[g]=b[g]}d.call(a);for(g in b)a.style[g]=f[g]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===
0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var tb=D(),ub=/<script(.|\s)*?\/script>/gi,vb=/select|textarea/i,wb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,T=/=\?(&|$)/,pa=/\?/,xb=/(\?|&)_=.*?(&|$)/,yb=/^(\w+:)?\/\/([^\/?#]+)/,zb=/%20/g,Ab=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string")return Ab.call(this,a);else if(!this.length)return this;
var f=a.indexOf(" ");if(f>=0){var g=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var l=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(m,r){if(r==="success"||r==="notmodified")l.html(g?c("<div />").append(m.responseText.replace(ub,"")).find(g):m.responseText);d&&l.each(d,[m.responseText,r,m])}});return this},serialize:function(){return c.param(this.serializeArray())},
serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||vb.test(this.nodeName)||wb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,
d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",
processData:true,async:true,xhr:e.XMLHttpRequest&&(e.location.protocol!=="file:"||!e.ActiveXObject)?function(){return new e.XMLHttpRequest}:function(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){g.success&&g.success.call(o,r,m,C);g.global&&f("ajaxSuccess",
[C,g])}function d(){g.complete&&g.complete.call(o,C,m);g.global&&f("ajaxComplete",[C,g]);g.global&&!--c.active&&c.event.trigger("ajaxStop")}function f(u,t){(g.context?c(g.context):c.event).trigger(u,t)}var g=c.extend(true,{},c.ajaxSettings,a),l,m,r,o=a&&a.context||g,s=g.type.toUpperCase();if(g.data&&g.processData&&typeof g.data!=="string")g.data=c.param(g.data,g.traditional);if(g.dataType==="jsonp"){if(s==="GET")T.test(g.url)||(g.url+=(pa.test(g.url)?"&":"?")+(g.jsonp||"callback")+"=?");else if(!g.data||
!T.test(g.data))g.data=(g.data?g.data+"&":"")+(g.jsonp||"callback")+"=?";g.dataType="json"}if(g.dataType==="json"&&(g.data&&T.test(g.data)||T.test(g.url))){l=g.jsonpCallback||"jsonp"+tb++;if(g.data)g.data=(g.data+"").replace(T,"="+l+"$1");g.url=g.url.replace(T,"="+l+"$1");g.dataType="script";e[l]=e[l]||function(u){r=u;b();d();e[l]=j;try{delete e[l]}catch(t){}G&&G.removeChild(I)}}if(g.dataType==="script"&&g.cache===null)g.cache=false;if(g.cache===false&&s==="GET"){var w=D(),B=g.url.replace(xb,"$1_="+
w+"$2");g.url=B+(B===g.url?(pa.test(g.url)?"&":"?")+"_="+w:"")}if(g.data&&s==="GET")g.url+=(pa.test(g.url)?"&":"?")+g.data;g.global&&!c.active++&&c.event.trigger("ajaxStart");w=(w=yb.exec(g.url))&&(w[1]&&w[1]!==location.protocol||w[2]!==location.host);if(g.dataType==="script"&&s==="GET"&&w){var G=y.getElementsByTagName("head")[0]||y.documentElement,I=y.createElement("script");I.src=g.url;if(g.scriptCharset)I.charset=g.scriptCharset;if(!l){var H=false;I.onload=I.onreadystatechange=function(){if(!H&&
(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){H=true;b();d();I.onload=I.onreadystatechange=null;G&&I.parentNode&&G.removeChild(I)}}}G.insertBefore(I,G.firstChild);return j}var L=false,C=g.xhr();if(C){g.username?C.open(s,g.url,g.async,g.username,g.password):C.open(s,g.url,g.async);try{if(g.data||a&&a.contentType)C.setRequestHeader("Content-Type",g.contentType);if(g.ifModified){c.lastModified[g.url]&&C.setRequestHeader("If-Modified-Since",c.lastModified[g.url]);c.etag[g.url]&&
C.setRequestHeader("If-None-Match",c.etag[g.url])}w||C.setRequestHeader("X-Requested-With","XMLHttpRequest");C.setRequestHeader("Accept",g.dataType&&g.accepts[g.dataType]?g.accepts[g.dataType]+", */*":g.accepts._default)}catch(la){}if(g.beforeSend&&g.beforeSend.call(o,C,g)===false){g.global&&!--c.active&&c.event.trigger("ajaxStop");C.abort();return false}g.global&&f("ajaxSend",[C,g]);var h=C.onreadystatechange=function(u){if(!C||C.readyState===0||u==="abort"){L||d();L=true;if(C)C.onreadystatechange=
c.noop}else if(!L&&C&&(C.readyState===4||u==="timeout")){L=true;C.onreadystatechange=c.noop;m=u==="timeout"?"timeout":!c.httpSuccess(C)?"error":g.ifModified&&c.httpNotModified(C,g.url)?"notmodified":"success";var t;if(m==="success")try{r=c.httpData(C,g.dataType,g)}catch(A){m="parsererror";t=A}if(m==="success"||m==="notmodified")l||b();else c.handleError(g,C,m,t);d();u==="timeout"&&C.abort();if(g.async)C=null}};try{var k=C.abort;C.abort=function(){C&&k.call(C);h("abort")}}catch(n){}g.async&&g.timeout>
0&&setTimeout(function(){C&&!L&&h("timeout")},g.timeout);try{C.send(s==="POST"||s==="PUT"||s==="DELETE"?g.data:null)}catch(q){c.handleError(g,C,null,q);d()}g.async||h();return C}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223||a.status===0}catch(b){}return false},
httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",g=b==="xml"||!b&&f.indexOf("xml")>=0;a=g?a.responseXML:a.responseText;g&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);
else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(m,r){if(c.isArray(r))c.each(r,function(o,s){b||/\[\]$/.test(m)?f(m,s):d(m+"["+(typeof s==="object"||c.isArray(s)?o:"")+"]",s)});else!b&&r!=null&&typeof r==="object"?c.each(r,function(o,s){d(m+"["+o+"]",s)}):f(m,r)}function f(m,r){r=c.isFunction(r)?r():r;g[g.length]=encodeURIComponent(m)+"="+encodeURIComponent(r)}var g=[];if(b===j)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,
function(){f(this.name,this.value)});else for(var l in a)d(l,a[l]);return g.join("&").replace(zb,"+")}});var qa={},Bb=/toggle|show|hide/,Cb=/^([+-]=)?([\d+-.]+)(.*)$/,da,xa=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(Q("show",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");this[a].style.display=d||"";if(c.css(this[a],
"display")==="none"){d=this[a].nodeName;var f;if(qa[d])f=qa[d];else{var g=c("<"+d+" />").appendTo("body");f=g.css("display");if(f==="none")f="block";g.remove();qa[d]=f}c.data(this[a],"olddisplay",f)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=c.data(this[a],"olddisplay")||"";return this}},hide:function(a,b){if(a||a===0)return this.animate(Q("hide",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");!d&&d!=="none"&&c.data(this[a],"olddisplay",c.css(this[a],"display"))}a=
0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(Q("toggle",3),a,b);return this},fadeTo:function(a,b,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)},animate:function(a,b,d,f){var g=c.speed(b,
d,f);if(c.isEmptyObject(a))return this.each(g.complete);return this[g.queue===false?"each":"queue"](function(){var l=c.extend({},g),m,r=this.nodeType===1&&c(this).is(":hidden"),o=this;for(m in a){var s=m.replace(na,oa);if(m!==s){a[s]=a[m];delete a[m];m=s}if(a[m]==="hide"&&r||a[m]==="show"&&!r)return l.complete.call(this);if((m==="height"||m==="width")&&this.style){l.display=c.css(this,"display");l.overflow=this.style.overflow}if(c.isArray(a[m])){(l.specialEasing=l.specialEasing||{})[m]=a[m][1];a[m]=
a[m][0]}}if(l.overflow!=null)this.style.overflow="hidden";l.curAnim=c.extend({},a);c.each(a,function(w,B){var G=new c.fx(o,l,w);if(Bb.test(B))G[B==="toggle"?r?"show":"hide":B](a);else{var I=Cb.exec(B),H=G.cur(true)||0;if(I){B=parseFloat(I[2]);var L=I[3]||"px";if(L!=="px"){o.style[w]=(B||1)+L;H=(B||1)/G.cur(true)*H;o.style[w]=H+L}if(I[1])B=(I[1]==="-="?-1:1)*B+H;G.custom(H,B,L)}else G.custom(H,B,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var f=
d.length-1;f>=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:Q("show",1),slideUp:Q("hide",1),slideToggle:Q("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration==="number"?f.duration:
c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this);
if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(l){return g.step(l)}this.startTime=D();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;
var g=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!da)da=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=D(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=
this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var g in this.options.curAnim)c.style(this.elem,
g,this.options.orig[g]);this.options.complete.call(this.elem)}return false}else{g=b-this.startTime;this.state=g/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,g,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||
c.fx.stop()},stop:function(){clearInterval(da);da=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};c.fn.offset="getBoundingClientRect"in
y.documentElement?function(a){var b=this[0];if(a)return this.each(function(g){c.offset.setOffset(this,a,g)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),f=b.ownerDocument;b=f.body;f=f.documentElement;return{top:d.top+(self.pageYOffset||c.support.boxModel&&f.scrollTop||b.scrollTop)-(f.clientTop||b.clientTop||0),left:d.left+(self.pageXOffset||c.support.boxModel&&f.scrollLeft||b.scrollLeft)-(f.clientLeft||b.clientLeft||
0)}}:function(a){var b=this[0];if(a)return this.each(function(w){c.offset.setOffset(this,a,w)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,f=b,g=b.ownerDocument,l,m=g.documentElement,r=g.body;f=(g=g.defaultView)?g.getComputedStyle(b,null):b.currentStyle;for(var o=b.offsetTop,s=b.offsetLeft;(b=b.parentNode)&&b!==r&&b!==m;){if(c.offset.supportsFixedPosition&&f.position==="fixed")break;l=g?g.getComputedStyle(b,
null):b.currentStyle;o-=b.scrollTop;s-=b.scrollLeft;if(b===d){o+=b.offsetTop;s+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){o+=parseFloat(l.borderTopWidth)||0;s+=parseFloat(l.borderLeftWidth)||0}f=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&l.overflow!=="visible"){o+=parseFloat(l.borderTopWidth)||0;s+=parseFloat(l.borderLeftWidth)||0}f=l}if(f.position==="relative"||f.position==="static"){o+=r.offsetTop;
s+=r.offsetLeft}if(c.offset.supportsFixedPosition&&f.position==="fixed"){o+=Math.max(m.scrollTop,r.scrollTop);s+=Math.max(m.scrollLeft,r.scrollLeft)}return{top:o,left:s}};c.offset={initialize:function(){var a=y.body,b=y.createElement("div"),d,f,g,l=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
a.insertBefore(b,a.firstChild);d=b.firstChild;f=d.firstChild;g=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=g.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==l;a.removeChild(b);
c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var f=c(a),g=f.offset(),l=parseInt(c.curCSS(a,"top",true),10)||0,m=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,
d,g);d={top:b.top-g.top+l,left:b.left-g.left+m};"using"in b?b.using.call(a,d):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top-
f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||y.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var g=this[0],l;if(!g)return null;return f!==j?this.each(function(){if(l=ya(this))l.scrollTo(!a?f:c(l).scrollLeft(),a?f:c(l).scrollTop());else this[d]=f}):(l=ya(g))?"pageXOffset"in l?l[a?"pageYOffset":"pageXOffset"]:
c.support.boxModel&&l.document.documentElement[d]||l.document.body[d]:g[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var g=this[0];if(!g)return f==null?null:this;if(c.isFunction(f))return this.each(function(l){var m=c(this);m[d](f.call(this,l,m[d]()))});return"scrollTo"in g&&g.document?
g.document.compatMode==="CSS1Compat"&&g.document.documentElement["client"+b]||g.document.body["client"+b]:g.nodeType===9?Math.max(g.documentElement["client"+b],g.body["scroll"+b],g.documentElement["scroll"+b],g.body["offset"+b],g.documentElement["offset"+b]):f===j?c.css(g,d):this.css(d,typeof f==="string"?f:f+"px")}});e.jQuery=e.$=c})(window);jQuery.noConflict();function isEmailValid(e){return/^[A-Za-z0-9]+([_\.-][A-Za-z0-9]+)*@[A-Za-z0-9]+([_\.-][A-Za-z0-9]+)*\.([A-Za-z]){2,4}$/i.test(e)}function submitsuche(){document.getElementById("tpl_suche_formular").submit();return false}function openprint(e){(e=window.open(e,"print","width=700,height=550,scrollbars=yes,statusbar=no"))&&e.focus();return false}function offnePopup(e,j,p){(e=window.open(e,"popup","width="+j+",height="+p+",scrollbars=yes,statusbar=no"))&&e.focus();return false}
function homeBoxElementHover(e){if(e=="tab1"){document.getElementById("tpl_teaserbox_boxleft_tab1").className="tpl_teaserbox tpl_teaserbox_active";document.getElementById("tpl_teaserbox_boxleft_tab2").className="tpl_teaserbox";document.getElementById("tpl_teaserbox_boxleft_tab3").className="tpl_teaserbox";document.getElementById("tpl_teaserbox_image_tab1").style.display="block";document.getElementById("tpl_teaserbox_image_tab2").style.display="none";document.getElementById("tpl_teaserbox_image_tab3").style.display=
"none"}if(e=="tab2"){document.getElementById("tpl_teaserbox_boxleft_tab1").className="tpl_teaserbox";document.getElementById("tpl_teaserbox_boxleft_tab2").className="tpl_teaserbox tpl_teaserbox_active";document.getElementById("tpl_teaserbox_boxleft_tab3").className="tpl_teaserbox";document.getElementById("tpl_teaserbox_image_tab1").style.display="none";document.getElementById("tpl_teaserbox_image_tab2").style.display="block";document.getElementById("tpl_teaserbox_image_tab3").style.display="none"}if(e==
"tab3"){document.getElementById("tpl_teaserbox_boxleft_tab1").className="tpl_teaserbox";document.getElementById("tpl_teaserbox_boxleft_tab2").className="tpl_teaserbox";document.getElementById("tpl_teaserbox_boxleft_tab3").className="tpl_teaserbox tpl_teaserbox_active";document.getElementById("tpl_teaserbox_image_tab1").style.display="none";document.getElementById("tpl_teaserbox_image_tab2").style.display="none";document.getElementById("tpl_teaserbox_image_tab3").style.display="block"}}
function homeBoxElementOut(){document.getElementById("tpl_teaserbox_boxleft_tab1").className="tpl_teaserbox";document.getElementById("tpl_teaserbox_boxleft_tab2").className="tpl_teaserbox";document.getElementById("tpl_teaserbox_boxleft_tab3").className="tpl_teaserbox"};
