eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(b(D){e A=D.X.u;D.X.u=b(){D("*",6).R(6).4a("u");c A.o(6,g)};b C(E){b G(H){e I=H.Y;c(I.3I!="1Q"&&I.4n!="1R")}e F=G(E);(F&&D.1i(D.4o(E,"3F"),b(){c(F=G(6))}));c F}D.1e(D.4C[":"],{1m:b(F,G,E){c D.1m(F,E[3])},4Q:b(F,G,E){e H=F.3r.3t();c(F.4T>=0&&(("a"==H&&F.4X)||(/4O|4N|4G|2Z/.14(H)&&"1R"!=F.3N&&!F.1r))&&C(F))}});D.4H={4K:8,4R:20,4J:4M,4I:17,4D:46,4E:40,4F:35,4W:13,4P:27,4S:36,4k:45,4l:37,4j:2f,4h:4i,4B:4p,4y:4z,4w:4v,4r:4q,4s:34,4t:33,4u:5R,5A:39,5B:16,5C:32,5D:9,5y:38};b B(I,E,J,H){b G(L){e K=D[I][E][L]||[];c(Z K=="1F"?K.2H(/,?\\s+/):K)}e F=G("5t");d(H.1o==1&&Z H[0]=="1F"){F=F.5v(G("41"))}c(D.4Z(J,F)!=-1)}D.1K=b(E,F){e G=E.2H(".")[0];E=E.2H(".")[1];D.X[E]=b(K){e I=(Z K=="1F"),J=3o.1J.5E.2F(g,1);d(I&&K.5F(0,1)=="5N"){c 6}d(I&&B(G,E,K,J)){e H=D.1m(6[0],E);c(H?H[K].o(H,J):1P)}c 6.1i(b(){e L=D.1m(6,E);(!L&&!I&&D.1m(6,E,5O D[G][E](6,K)));(L&&I&&D.5P(L[K])&&L[K].o(L,J))})};D[G][E]=b(I,J){e H=6;6.1g=E;6.2i=D[G][E].5Q||E;6.3U=G+"-"+E;6.j=D.1e({},D.1K.22,D[G][E].22,D.3Z&&D.3Z.2v(I)[E],J);6.S=D(I).1h("5M."+E,b(M,K,L){c H.1B(K,L)}).1h("5L."+E,b(L,K){c H.2X(K)}).1h("u",b(){c H.44()});6.48()};D[G][E].1J=D.1e({},D.1K.1J,F);D[G][E].41="43"};D.1K.1J={48:b(){},44:b(){6.S.5H(6.1g)},43:b(G,H){e F=G,E=6;d(Z G=="1F"){d(H===1P){c 6.2X(G)}F={};F[G]=H}D.1i(F,b(I,J){E.1B(I,J)})},2X:b(E){c 6.j[E]},1B:b(E,F){6.j[E]=F;d(E=="1r"){6.S[F?"1n":"1w"](6.3U+"-1r")}},5G:b(){6.1B("1r",q)},5I:b(){6.1B("1r",1f)},5J:b(F,H,G){e E=(F==6.2i?F:6.2i+F);H=H||D.5K.5s({3N:E,2D:6.S[0]});c 6.S.4a(E,[H,G],6.j[F])}};D.1K.22={1r:q};D.U={5r:{R:b(F,E,I){e H=D.U[F].1J;1j(e G 3p I){H.1U[G]=H.1U[G]||[];H.1U[G].5a([E,I[G]])}},2F:b(E,G,F){e I=E.1U[G];d(!I){c}1j(e H=0;H<I.1o;H++){d(E.j[I[H][0]]){I[H][1].o(E.S,F)}}}},1M:{},k:b(E){d(D.U.1M[E]){c D.U.1M[E]}e F=D(\'<2p 59="U-5b">\').1n(E).k({W:"5c",1d:"-3P",T:"-3P",3I:"5d"}).58("2C");D.U.1M[E]=!!((!(/2z|2N/).14(F.k("57"))||(/^[1-9]/).14(F.k("2o"))||(/^[1-9]/).14(F.k("2G"))||!(/1Q/).14(F.k("2M"))||!(/1H|3B\\(0, 0, 0, 0\\)/).14(F.k("1q"))));52{D("2C").2v(0).51(F.2v(0))}53(G){}c D.U.1M[E]},54:b(E){c D(E).Q("1G","4e").k("4g","1Q").1h("4d.U",b(){c q})},56:b(E){c D(E).Q("1G","5e").k("4g","").2a("4d.U")},5f:b(H,E){d(D(H).k("5n")=="1R"){c q}e G=(E&&E=="T")?"5o":"5p",F=q;d(H[G]>0){c 1f}H[G]=1;F=(H[G]>0);H[G]=0;c F}};D.U.3E={5h:b(){e E=6;6.S.1h("5i."+6.1g,b(F){c E.3i(F)});d(D.2b.2c){6.3g=6.S.Q("1G");6.S.Q("1G","4e")}6.5k=q},5x:b(){6.S.2a("."+6.1g);(D.2b.2c&&6.S.Q("1G",6.3g))},3i:b(G){(6.1a&&6.1O(G));6.29=G;e E=6,H=(G.5j==1),F=(Z 6.j.2J=="1F"?D(G.2D).5g().R(G.2D).3X(6.j.2J).1o:q);d(!H||F||!6.3f(G)){c 1f}6.1Z=!6.j.2I;d(!6.1Z){6.5l=5m(b(){E.1Z=1f},6.j.2I)}d(6.2s(G)&&6.2B(G)){6.1a=(6.2n(G)!==q);d(!6.1a){G.5q();c 1f}}6.2w=b(I){c E.3b(I)};6.2u=b(I){c E.1O(I)};D(1x).1h("3c."+6.1g,6.2w).1h("3d."+6.1g,6.2u);c q},3b:b(E){d(D.2b.2c&&!E.2Z){c 6.1O(E)}d(6.1a){6.2h(E);c q}d(6.2s(E)&&6.2B(E)){6.1a=(6.2n(6.29,E)!==q);(6.1a?6.2h(E):6.1O(E))}c!6.1a},1O:b(E){D(1x).2a("3c."+6.1g,6.2w).2a("3d."+6.1g,6.2u);d(6.1a){6.1a=q;6.3D(E)}c q},2s:b(E){c(f.24(f.1N(6.29.3C-E.3C),f.1N(6.29.3y-E.3y))>=6.j.2W)},2B:b(E){c 6.1Z},2n:b(E){},2h:b(E){},3D:b(E){},3f:b(E){c 1f}};D.U.3E.22={2J:1c,2W:1,2I:0}})(n);(b(C){C.m=C.m||{};C.1e(C.m,{2k:b(F,G){1j(e E=0;E<G.1o;E++){d(G[E]!==1c){C.1m(F[0],"3q.3x."+G[E],F[0].Y[G[E]])}}},2r:b(F,G){1j(e E=0;E<G.1o;E++){d(G[E]!==1c){F.k(G[E],C.1m(F[0],"3q.3x."+G[E]))}}},28:b(E,F){d(F=="18"){F=E.3V(":1R")?"V":"12"}c F},5w:b(G,F){e H,E;3G(G[0]){1s"1d":H=0;1k;1s"5u":H=0.5;1k;1s"3a":H=1;1k;2N:H=G[0]/F.2o}3G(G[1]){1s"T":E=0;1k;1s"5z":E=0.5;1k;1s"3k":E=1;1k;2N:E=G[1]/F.2G}c{x:E,y:H}},3J:b(F){d(F.1V().Q("2t")=="2y"){c F}e E={2G:F.4V({2x:1f}),2o:F.4L({2x:1f}),"3s":F.k("3s")};F.4U(\'<2p 2t="2y" Y="4Y-4x:3e%;4m:1H;4A:1Q;2x:0;5X:0"></2p>\');e I=F.1V();d(F.k("W")=="2l"){I.k({W:"2A"});F.k({W:"2A"})}w{e H=F.k("1d");d(2m(p(H))){H="2z"}e G=F.k("T");d(2m(p(G))){G="2z"}I.k({W:F.k("W"),1d:H,T:G,7l:F.k("z-73")}).V();F.k({W:"2A",1d:0,T:0})}I.k(E);c I},4f:b(E){d(E.1V().Q("2t")=="2y"){c E.1V().71(E)}c E},7r:b(F,G,E,H){H=H||{};C.1i(G,b(J,I){26=F.3z(I);d(26[0]>0){H[I]=26[0]*E+26[1]}});c H},1D:b(G,J,I,H){e E=(Z I=="b"?I:(H?H:1c));e F=(Z I=="2V"?I:1c);c 6.1i(b(){e O={};e M=C(6);e N=M.Q("Y")||"";d(Z N=="2V"){N=N.2U}d(G.18){M.7t(G.18)?G.u=G.18:G.R=G.18}e K=C.1e({},(1x.23?1x.23.3u(6,1c):6.3v));d(G.R){M.1n(G.R)}d(G.u){M.1w(G.u)}e L=C.1e({},(1x.23?1x.23.3u(6,1c):6.3v));d(G.R){M.1w(G.R)}d(G.u){M.1n(G.u)}1j(e P 3p L){d(Z L[P]!="b"&&L[P]&&P.2S("7n")==-1&&P.2S("1o")==-1&&L[P]!=K[P]&&(P.2E(/2d/i)||(!P.2E(/2d/i)&&!2m(p(L[P],10))))&&(K.W!="2l"||(K.W=="2l"&&!P.2E(/T|1d|3a|3k/)))){O[P]=L[P]}}M.t(O,J,F,b(){d(Z C(6).Q("Y")=="2V"){C(6).Q("Y")["2U"]="";C(6).Q("Y")["2U"]=N}w{C(6).Q("Y",N)}d(G.R){C(6).1n(G.R)}d(G.u){C(6).1w(G.u)}d(E){E.o(6,g)}})})}});C.X.1e({3n:C.X.V,30:C.X.12,3h:C.X.18,3j:C.X.1n,3m:C.X.1w,31:C.X.3l,1S:b(E,H,F,G){c C.m[E]?C.m[E].2F(6,{7k:E,j:H||{},r:F,v:G}):1c},V:b(){d(!g[0]||(g[0].1E==2L||/(2Q|2P|2O)/.14(g[0]))){c 6.3n.o(6,g)}w{e E=g[1]||{};E.1y="V";c 6.1S.o(6,[g[0],E,g[2]||E.r,g[3]||E.v])}},12:b(){d(!g[0]||(g[0].1E==2L||/(2Q|2P|2O)/.14(g[0]))){c 6.30.o(6,g)}w{e E=g[1]||{};E.1y="12";c 6.1S.o(6,[g[0],E,g[2]||E.r,g[3]||E.v])}},18:b(){d(!g[0]||(g[0].1E==2L||/(2Q|2P|2O)/.14(g[0]))||(g[0].1E==7m)){c 6.3h.o(6,g)}w{e E=g[1]||{};E.1y="18";c 6.1S.o(6,[g[0],E,g[2]||E.r,g[3]||E.v])}},1n:b(H,E,G,F){c E?C.m.1D.o(6,[{R:H},E,G,F]):6.3j(H)},1w:b(H,E,G,F){c E?C.m.1D.o(6,[{u:H},E,G,F]):6.3m(H)},3l:b(H,E,G,F){c E?C.m.1D.o(6,[{18:H},E,G,F]):6.31(H)},3H:b(F,I,E,H,G){c C.m.1D.o(6,[{R:I,u:F},E,H,G])},7j:b(){c 6.3H.o(6,g)},3z:b(E){e F=6.k(E),G=[];C.1i(["7h","7i","%","7s"],b(H,I){d(F.2S(I)>0){G=[1W(F),I]}});c G}});n.1i(["1q","7p","7q","7g","5S","2d","7f"],b(F,E){n.2g.76[E]=b(G){d(G.77==0){G.1p=D(G.3w,E);G.1C=A(G.1C)}G.3w.Y[E]="2T("+[f.24(f.2R(p((G.1l*(G.1C[0]-G.1p[0]))+G.1p[0]),h),0),f.24(f.2R(p((G.1l*(G.1C[1]-G.1p[1]))+G.1p[1]),h),0),f.24(f.2R(p((G.1l*(G.1C[2]-G.1p[2]))+G.1p[2]),h),0)].74(",")+")"}});b A(E){e F;d(E&&E.1E==3o&&E.1o==3){c E}d(F=/2T\\(\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*\\)/.1L(E)){c[p(F[1]),p(F[2]),p(F[3])]}d(F=/2T\\(\\s*([0-9]+(?:\\.[0-9]+)?)\\%\\s*,\\s*([0-9]+(?:\\.[0-9]+)?)\\%\\s*,\\s*([0-9]+(?:\\.[0-9]+)?)\\%\\s*\\)/.1L(E)){c[1W(F[1])*2.55,1W(F[2])*2.55,1W(F[3])*2.55]}d(F=/#([a-1z-1A-9]{2})([a-1z-1A-9]{2})([a-1z-1A-9]{2})/.1L(E)){c[p(F[1],16),p(F[2],16),p(F[3],16)]}d(F=/#([a-1z-1A-9])([a-1z-1A-9])([a-1z-1A-9])/.1L(E)){c[p(F[1]+F[1],16),p(F[2]+F[2],16),p(F[3]+F[3],16)]}d(F=/3B\\(0, 0, 0, 0\\)/.1L(E)){c B.1H}c B[n.72(E).3t()]}b D(G,E){e F;78{F=n.79(G,E);d(F!=""&&F!="1H"||n.3r(G,"2C")){1k}E="1q"}7e(G=G.3F);c A(F)}e B={7d:[0,h,h],7c:[4c,h,h],7v:[3A,3A,7a],7b:[0,0,0],7u:[0,0,h],7w:[3S,42,42],7L:[0,h,h],7J:[0,0,1t],7K:[0,1t,1t],7O:[2q,2q,2q],7P:[0,3e,0],7T:[7S,7R,2f],7A:[1t,0,1t],7z:[7y,2f,47],7x:[h,2Y,0],7B:[7C,50,7F],7E:[1t,0,0],7D:[7U,7M,7H],7G:[7I,0,1X],7Q:[h,0,h],7N:[h,7o,0],6Z:[0,19,0],6g:[75,0,6h],6f:[4c,4b,2Y],6e:[6b,6c,4b],6d:[3Q,h,h],6i:[49,6j,49],6o:[1X,1X,1X],6p:[h,6n,6m],6k:[h,h,3Q],6l:[0,h,0],6a:[h,0,h],69:[19,0,0],5Y:[0,0,19],5Z:[19,19,0],70:[h,3S,0],5W:[h,21,5T],5U:[19,0,19],5V:[19,0,19],60:[h,0,0],61:[21,21,21],67:[h,h,h],68:[h,h,0],1H:[h,h,h]};n.l.66=n.l.3K;n.1e(n.l,{3L:"3T",3K:b(F,G,E,I,H){c n.l[n.l.3L](F,G,E,I,H)},65:b(F,G,E,I,H){c I*(G/=H)*G+E},3T:b(F,G,E,I,H){c-I*(G/=H)*(G-2)+E},62:b(F,G,E,I,H){d((G/=H/2)<1){c I/2*G*G+E}c-I/2*((--G)*(G-2)-1)+E},63:b(F,G,E,I,H){c I*(G/=H)*G*G+E},64:b(F,G,E,I,H){c I*((G=G/H-1)*G*G+1)+E},6q:b(F,G,E,I,H){d((G/=H/2)<1){c I/2*G*G*G+E}c I/2*((G-=2)*G*G+2)+E},6r:b(F,G,E,I,H){c I*(G/=H)*G*G*G+E},6P:b(F,G,E,I,H){c-I*((G=G/H-1)*G*G*G-1)+E},6Q:b(F,G,E,I,H){d((G/=H/2)<1){c I/2*G*G*G*G+E}c-I/2*((G-=2)*G*G*G-2)+E},6O:b(F,G,E,I,H){c I*(G/=H)*G*G*G*G+E},6N:b(F,G,E,I,H){c I*((G=G/H-1)*G*G*G*G+1)+E},6K:b(F,G,E,I,H){d((G/=H/2)<1){c I/2*G*G*G*G*G+E}c I/2*((G-=2)*G*G*G*G+2)+E},6L:b(F,G,E,I,H){c-I*f.3W(G/H*(f.11/2))+I+E},6M:b(F,G,E,I,H){c I*f.1I(G/H*(f.11/2))+E},6R:b(F,G,E,I,H){c-I/2*(f.3W(f.11*G/H)-1)+E},6S:b(F,G,E,I,H){c(G==0)?E:I*f.1b(2,10*(G/H-1))+E},6X:b(F,G,E,I,H){c(G==H)?E+I:I*(-f.1b(2,-10*G/H)+1)+E},6Y:b(F,G,E,I,H){d(G==0){c E}d(G==H){c E+I}d((G/=H/2)<1){c I/2*f.1b(2,10*(G-1))+E}c I/2*(-f.1b(2,-10*--G)+2)+E},6W:b(F,G,E,I,H){c-I*(f.1Y(1-(G/=H)*G)-1)+E},6V:b(F,G,E,I,H){c I*f.1Y(1-(G=G/H-1)*G)+E},6T:b(F,G,E,I,H){d((G/=H/2)<1){c-I/2*(f.1Y(1-G*G)-1)+E}c I/2*(f.1Y(1-(G-=2)*G)+1)+E},6U:b(F,H,E,L,K){e I=1.1u;e J=0;e G=L;d(H==0){c E}d((H/=K)==1){c E+L}d(!J){J=K*0.3}d(G<f.1N(L)){G=L;e I=J/4}w{e I=J/(2*f.11)*f.2K(L/G)}c-(G*f.1b(2,10*(H-=1))*f.1I((H*K-I)*(2*f.11)/J))+E},6J:b(F,H,E,L,K){e I=1.1u;e J=0;e G=L;d(H==0){c E}d((H/=K)==1){c E+L}d(!J){J=K*0.3}d(G<f.1N(L)){G=L;e I=J/4}w{e I=J/(2*f.11)*f.2K(L/G)}c G*f.1b(2,-10*H)*f.1I((H*K-I)*(2*f.11)/J)+L+E},6I:b(F,H,E,L,K){e I=1.1u;e J=0;e G=L;d(H==0){c E}d((H/=K/2)==2){c E+L}d(!J){J=K*(0.3*1.5)}d(G<f.1N(L)){G=L;e I=J/4}w{e I=J/(2*f.11)*f.2K(L/G)}d(H<1){c-0.5*(G*f.1b(2,10*(H-=1))*f.1I((H*K-I)*(2*f.11)/J))+E}c G*f.1b(2,-10*(H-=1))*f.1I((H*K-I)*(2*f.11)/J)*0.5+L+E},6x:b(F,G,E,J,I,H){d(H==1P){H=1.1u}c J*(G/=I)*G*((H+1)*G-H)+E},6y:b(F,G,E,J,I,H){d(H==1P){H=1.1u}c J*((G=G/I-1)*G*((H+1)*G+H)+1)+E},6w:b(F,G,E,J,I,H){d(H==1P){H=1.1u}d((G/=I/2)<1){c J/2*(G*G*(((H*=(1.3O))+1)*G-H))+E}c J/2*((G-=2)*G*(((H*=(1.3O))+1)*G+H)+2)+E},3Y:b(F,G,E,I,H){c I-n.l.2j(F,H-G,0,I,H)+E},2j:b(F,G,E,I,H){d((G/=H)<(1/2.75)){c I*(7.2e*G*G)+E}w{d(G<(2/2.75)){c I*(7.2e*(G-=(1.5/2.75))*G+0.75)+E}w{d(G<(2.5/2.75)){c I*(7.2e*(G-=(2.25/2.75))*G+0.6v)+E}w{c I*(7.2e*(G-=(2.6s/2.75))*G+0.6t)+E}}}},6u:b(F,G,E,I,H){d(G<H/2){c n.l.3Y(F,G*2,0,I,H)*0.5+E}c n.l.2j(F,G*2-H,0,I,H)*0.5+I*0.5+E}})})(n);(b(A){A.m.6z=b(B){c 6.1v(b(){e E=A(6),D=["2M","1q","15"];e H=A.m.28(E,B.j.1y||"V");e C=B.j.2d||"#6A";e G=E.k("1q");A.m.2k(E,D);E.V();E.k({2M:"1Q",1q:C});e F={1q:G};d(H=="12"){F.15=0}E.t(F,{1v:q,r:B.r,l:B.j.l,6G:b(){d(H=="12"){E.12()}A.m.2r(E,D);d(H=="V"&&n.2b.2c){6.Y.6H("3X")}d(B.v){B.v.o(6,g)}E.1T()}})})}})(n);(b(A){A.m.6F=b(B){c 6.1v(b(){e D=A(6);e F=A.m.28(D,B.j.1y||"V");e E=B.j.3M||5;d(F=="12"){E--}d(D.3V(":1R")){D.k("15",0);D.V();D.t({15:1},B.r/2,B.j.l);E=E-2}1j(e C=0;C<E;C++){D.t({15:0},B.r/2,B.j.l).t({15:1},B.r/2,B.j.l)}d(F=="12"){D.t({15:0},B.r/2,B.j.l,b(){D.12();d(B.v){B.v.o(6,g)}})}w{D.t({15:0},B.r/2,B.j.l).t({15:1},B.r/2,B.j.l,b(){d(B.v){B.v.o(6,g)}})}D.1v("2g",b(){D.1T()});D.1T()})}})(n);(b(A){A.m.6E=b(B){c 6.1v(b(){e E=A(6),K=["W","1d","T"];e J=A.m.28(E,B.j.1y||"1S");e O=B.j.6B||"T";e D=B.j.2W||20;e C=B.j.3M||3;e G=B.r||B.j.r||2Y;A.m.2k(E,K);E.V();A.m.3J(E);e F=(O=="3R"||O=="6C")?"1d":"T";e M=(O=="3R"||O=="T")?"1l":"6D";e H={},N={},L={};H[F]=(M=="1l"?"-=":"+=")+D;N[F]=(M=="1l"?"+=":"-=")+D*2;L[F]=(M=="1l"?"-=":"+=")+D*2;E.t(H,G,B.j.l);1j(e I=1;I<C;I++){E.t(N,G,B.j.l).t(L,G,B.j.l)}E.t(N,G,B.j.l).t(H,G/2,B.j.l,b(){A.m.2r(E,K);A.m.4f(E);d(B.v){B.v.o(6,g)}});E.1v("2g",b(){E.1T()});E.1T()})}})(n);',62,491,'||||||this|||||function|return|if|var|Math|arguments|255||options|css|easing|effects|jQuery|apply|parseInt|false|duration||animate|remove|callback|else||||||||||||||||||||attr|add|element|left|ui|show|position|fn|style|typeof||PI|hide||test|opacity|||toggle|128|_mouseStarted|pow|null|top|extend|true|widgetName|bind|each|for|break|pos|data|addClass|length|start|backgroundColor|disabled|case|139|70158|queue|removeClass|document|mode|fA|F0|_setData|end|animateClass|constructor|string|unselectable|transparent|sin|prototype|widget|exec|cssCache|abs|_mouseUp|undefined|none|hidden|effect|dequeue|plugins|parent|parseFloat|211|sqrt|mouseDelayMet||192|defaults|defaultView|max||unit||setMode|_mouseDownEvent|unbind|browser|msie|color|5625|107|fx|_mouseDrag|widgetEventPrefix|easeOutBounce|save|static|isNaN|_mouseStart|height|div|169|restore|_mouseDistanceMet|id|_mouseUpDelegate|get|_mouseMoveDelegate|margin|fxWrapper|auto|relative|_mouseDelayMet|body|target|match|call|width|split|delay|cancel|asin|Number|backgroundImage|default|fast|normal|slow|min|indexOf|rgb|cssText|object|distance|_getData|140|button|_hide|_toggleClass|||||||||bottom|_mouseMove|mousemove|mouseup|100|_mouseCapture|_mouseUnselectable|__toggle|_mouseDown|_addClass|right|toggleClass|_removeClass|_show|Array|in|ec|nodeName|float|toLowerCase|getComputedStyle|currentStyle|elem|storage|pageY|cssUnit|245|rgba|pageX|_mouseStop|mouse|parentNode|switch|morph|display|createWrapper|swing|def|times|type|525|5000px|224|up|165|easeOutQuad|widgetBaseClass|is|cos|filter|easeInBounce|metadata||getterSetter||option|destroy||||_init|144|triggerHandler|230|240|selectstart|on|removeWrapper|MozUserSelect|NUMPAD_DECIMAL|110|NUMPAD_ADD|INSERT|LEFT|background|visibility|dir|111|109|NUMPAD_SUBTRACT|PAGE_DOWN|PAGE_UP|PERIOD|106|NUMPAD_MULTIPLY|size|NUMPAD_ENTER|108|border|NUMPAD_DIVIDE|expr|DELETE|DOWN|END|textarea|keyCode|CONTROL|COMMA|BACKSPACE|outerHeight|188|select|input|ESCAPE|tabbable|CAPS_LOCK|HOME|tabIndex|wrap|outerWidth|ENTER|href|font|inArray||removeChild|try|catch|disableSelection||enableSelection|cursor|appendTo|class|push|gen|absolute|block|off|hasScroll|parents|_mouseInit|mousedown|which|started|_mouseDelayTimer|setTimeout|overflow|scrollLeft|scrollTop|preventDefault|plugin|fix|getter|middle|concat|getBaseline|_mouseDestroy|UP|center|RIGHT|SHIFT|SPACE|TAB|slice|substring|enable|removeData|disable|_trigger|event|getData|setData|_|new|isFunction|eventPrefix|190|borderTopColor|203|purple|violet|pink|padding|navy|olive|red|silver|easeInOutQuad|easeInCubic|easeOutCubic|easeInQuad|jswing|white|yellow|maroon|magenta|173|216|lightcyan|lightblue|khaki|indigo|130|lightgreen|238|lightyellow|lime|193|182|lightgrey|lightpink|easeInOutCubic|easeInQuart|625|984375|easeInOutBounce|9375|easeInOutBack|easeInBack|easeOutBack|highlight|ffff99|direction|down|neg|shake|pulsate|complete|removeAttribute|easeInOutElastic|easeOutElastic|easeInOutQuint|easeInSine|easeOutSine|easeOutQuint|easeInQuint|easeOutQuart|easeInOutQuart|easeInOutSine|easeInExpo|easeInOutCirc|easeInElastic|easeOutCirc|easeInCirc|easeOutExpo|easeInOutExpo|green|orange|replaceWith|trim|index|join||step|state|do|curCSS|220|black|azure|aqua|while|outlineColor|borderRightColor|em|px|switchClass|method|zIndex|Function|Moz|215|borderBottomColor|borderLeftColor|setTransition|pt|hasClass|blue|beige|brown|darkorange|85|darkolivegreen|darkmagenta|darkorchid|153|darksalmon|darkred|204|darkviolet|122|148|darkblue|darkcyan|cyan|150|gold|darkgrey|darkgreen|fuchsia|183|189|darkkhaki|233'.split('|'),0,{}));(function(jQuery){var self=null;jQuery.fn.autogrow=function(o)
{return this.each(function(){new jQuery.autogrow(this,o);});};jQuery.autogrow=function(e,o)
{this.options=o||{};this.dummy=null;this.interval=null;this.line_height=this.options.lineHeight||parseInt(jQuery(e).css('line-height'));this.min_height=this.options.minHeight||parseInt(jQuery(e).css('min-height'));this.max_height=this.options.maxHeight||parseInt(jQuery(e).css('max-height'));;this.textarea=jQuery(e);if(this.line_height==NaN)
this.line_height=0;this.init();};jQuery.autogrow.fn=jQuery.autogrow.prototype={autogrow:'1.2.2'};jQuery.autogrow.fn.extend=jQuery.autogrow.extend=jQuery.extend;jQuery.autogrow.fn.extend({init:function(){var self=this;this.textarea.css({overflow:'hidden',display:'block'});this.textarea.bind('focus',function(){self.startExpand()}).bind('blur',function(){self.stopExpand()});this.checkExpand();},startExpand:function(){var self=this;this.interval=window.setInterval(function(){self.checkExpand()},400);},stopExpand:function(){clearInterval(this.interval);},checkExpand:function(){var current_chars=this.textarea.val().length;if(this.last_chars==undefined)this.last_chars=current_chars;if(this.char_diff==undefined)this.cumulative_char_diff=0;var iteration_char_difference=current_chars-this.last_chars;this.last_chars=current_chars;this.cumulative_char_diff+=iteration_char_difference;var absolute_char_diff=Math.abs(this.char_diff);var height_difference=Math.abs(this.textarea.attr('scrollHeight')-this.textarea.attr('clientHeight'));if(!height_difference&&absolute_char_diff<10)return;if(this.dummy==null)
{this.dummy=jQuery('<div></div>');this.dummy.css({'font-size':this.textarea.css('font-size'),'font-family':this.textarea.css('font-family'),'width':this.textarea.css('width'),'padding-left':this.textarea.css('padding-left'),'padding-right':this.textarea.css('padding-right'),'padding-top':this.textarea.css('padding-top'),'padding-bottom':this.textarea.css('padding-bottom'),'line-height':this.line_height+'px','overflow-x':'hidden','position':'absolute','top':0,'left':-9999}).appendTo('body');}
var html=this.textarea.val().replace(/(<|>)/g,'');if($.browser.msie)
{html=html.replace(/\n/g,'<BR>new');}
else
{html=html.replace(/\n/g,'<br>new');}
if(this.dummy.html()!=html)
{this.dummy.html(html);if(this.max_height>0&&(this.dummy.height()+this.line_height>this.max_height))
{this.textarea.css('overflow-y','auto');}
else
{this.textarea.css('overflow-y','hidden');if(this.textarea.height()<this.dummy.height()+this.line_height||(this.dummy.height()<this.textarea.height()))
{this.textarea.css({height:(this.dummy.height()+this.line_height)+'px'});}}}
this.cumulative_char_diff=0;}});})(jQuery);;jQuery(document).ready(function($){$('ul.Options').livequery(function(){$(this).menu({showOnClick:1,hide:function(){$(this).hide();this.style.visibility='hidden';if(!$(this).parents('li.Item ').hasClass('Active')){$(this).parents('ul.Options').hide();}}});});$('a.DismissAnnouncement').click(function(){var btn=this;var parent=$(this).parents('.Announcements');$.ajax({type:"POST",url:$(btn).attr('href'),data:'DeliveryType=BOOL&DeliveryMethod=JSON',dataType:'json',error:function(XMLHttpRequest,textStatus,errorThrown){$.popup({},XMLHttpRequest.responseText);},success:function(json){if($(parent).children().length==1){$(parent).slideUp('fast',function(){$(this).remove();});$(parent).prev().slideUp('fast',function(){$(this).remove();});}else{$(btn).parents('.Announcement').slideUp('fast',function(){$(this).remove();});}}});return false;});$('a.AnnounceDiscussion').livequery('click',function(){var btn=this;var row=$(btn).parents('li.Item');$.ajax({type:"POST",url:$(btn).attr('href'),data:'DeliveryType=BOOL&DeliveryMethod=JSON',dataType:'json',error:function(XMLHttpRequest,textStatus,errorThrown){$.popup({},XMLHttpRequest.responseText);},success:function(json){gdn.inform(json.StatusMessage);if(json.RedirectUrl)
setTimeout("document.location='"+json.RedirectUrl+"';",300);}});return false;});$('a.SinkDiscussion').popup({confirm:true,followConfirm:false,afterConfirm:function(json,sender){var row=$(sender).parents('li.Item');if(json.State)
$(row).addClass('Sink');else
$(row).removeClass('Sink');if(json.LinkText)
$(sender).text(json.LinkText);}});$('a.CloseDiscussion').popup({confirm:true,followConfirm:false,afterConfirm:function(json,sender){var row=$(sender).parents('li.Item');if(json.State)
$(row).addClass('Close');else
$(row).removeClass('Close');if(json.LinkText)
$(sender).text(json.LinkText);}});$('a.DeleteDiscussion, a.DeleteDraft').popup({confirm:true,followConfirm:false,deliveryType:'BOOL',afterConfirm:function(json,sender){var row=$(sender).parents('li.Item');if(json.ErrorMessage){$.popup({},json.ErrorMessage);}else{$(row).slideUp('fast',function(){$(this).remove();});}}});});;jQuery(document).ready(function($){$('a.Bookmark').live('click',function(){var btn=this;var parent=$(this).parents('.Bookmarks');var oldClass=$(btn).attr('class');$(btn).addClass('Bookmarking');$.ajax({type:"POST",url:btn.href,data:'DeliveryType=BOOL&DeliveryMethod=JSON',dataType:'json',error:function(XMLHttpRequest,textStatus,errorThrown){$(btn).attr('class',oldClass);$.popup({},XMLHttpRequest.responseText);},success:function(json){if($(parent).children().length==1){$(parent).slideUp('fast',function(){$(this).remove();});}else if($(parent).length>0){$(btn).parents('li.Item').slideUp('fast',function(){$(this).remove();});}else{$(btn).attr('title',json.AnchorTitle);$(btn).attr('class','Bookmark');if(json.State=='1')
$(btn).addClass('Bookmarked');}
$('a.MyBookmarks').html(json.MenuText+'<span>'+json.CountBookmarks+'</span>');gdn.processTargets(json.Targets);}});return false;});});;jQuery(document).ready(function($){if($.autogrow)
$('textarea.TextBox').livequery(function(){$(this).autogrow();});var cancelButton=$('a.Cancel');$('div.CommentForm textarea').blur(function(ev){var Comment=$(ev.target).val();if(!Comment||Comment=='')
$('a.Cancel').hide();});$('a.WriteButton, a.Cancel').livequery('click',function(){if($(this).hasClass('WriteButton')){var frm=$(this).parents('.MessageForm').find('form');frm.trigger('WriteButtonClick',[frm]);}
resetCommentForm(this);if($(this).hasClass('Cancel'))
clearCommentForm(this);return false;});$('div.CommentForm :submit, a.PreviewButton, a.DraftButton').livequery('click',function(){var btn=this;var parent=$(btn).parents('div.CommentForm');var frm=$(parent).find('form');var textbox=$(frm).find('textarea');var inpCommentID=$(frm).find('input:hidden[name$=CommentID]');var inpDraftID=$(frm).find('input:hidden[name$=DraftID]');var type='Post';var preview=$(btn).hasClass('PreviewButton');if(preview){type='Preview';if($('div.Preview').length>0||jQuery.trim($(textbox).val())=='')
return false;}
var draft=$(btn).hasClass('DraftButton');if(draft){type='Draft';if(jQuery.trim($(textbox).val())=='')
return false;}
var postValues=$(frm).serialize();postValues+='&DeliveryType=VIEW&DeliveryMethod=JSON';postValues+='&Type='+type;var discussionID=$(frm).find('[name$=DiscussionID]');var prefix=discussionID.attr('name').replace('DiscussionID','');discussionID=discussionID.val();var comments=$('ul.Discussion li.Comment');var lastComment=$(comments).get(comments.length-1);var lastCommentID=$(lastComment).attr('id');lastCommentID=lastCommentID.indexOf('Discussion_')==0?0:lastCommentID.replace('Comment_','');postValues+='&'+prefix+'LastCommentID='+lastCommentID;var action=$(frm).attr('action')+'/'+discussionID;$(frm).find(':submit').attr('disabled','disabled');$(parent).find('div.Tabs ul:first').after('<span class="TinyProgress">&#160;</span>');$(btn).parents('div.Comment').find('div.Meta span:last').after('<span class="TinyProgress">&#160;</span>');$(frm).triggerHandler('BeforeSubmit',[frm,btn]);$.ajax({type:"POST",url:action,data:postValues,dataType:'json',error:function(XMLHttpRequest,textStatus,errorThrown){$('.Popup,.Overlay').remove();var msg;if(XMLHttpRequest.responseText)
try{var data=$.parseJSON(XMLHttpRequest.responseText);if(data.Exception)
msg=data.Exception;else
msg='Unkown error.';}catch(ex){msg=XMLHttpRequest.responseText;}
else{if(textStatus=='timeout')
msg='Your request took too long to complete and timed out. Please try again.';else
msg=textStatus;}
msg='<h1>Error</h1><p class="Wrap">'+msg+'</div>';$.popup({},msg);},success:function(json){json=$.postParseJson(json);var processedTargets=false;if(json.Targets&&json.Targets.length>0){for(i=0;i<json.Targets.length;i++){if(json.Targets[i].Type!="Ajax"){json.Targets[i].Data=json.Data;processedTargets=true;break;}}
gdn.processTargets(json.Targets);}
if(json.RedirectUrl!=null&&jQuery.trim(json.RedirectUrl)!=''){resetCommentForm(btn);clearCommentForm(btn);window.location.replace(json.RedirectUrl);return false;}
if(!draft&&json.FormSaved==true)
$('div.Popup,.Overlay').remove();var commentID=json.CommentID;if(commentID!=null&&commentID!=''){$(inpCommentID).val(commentID);}
if(json.DraftID!=null&&json.DraftID!='')
$(inpDraftID).val(json.DraftID);if(json.MyDrafts!=null){if(json.CountDrafts!=null&&json.CountDrafts>0)
json.MyDrafts+='<span>'+json.CountDrafts+'</span>';$('ul#Menu li.MyDrafts a').html(json.MyDrafts);}
$(frm).find('div.Errors').remove();if(json.FormSaved==false){$(frm).prepend(json.StatusMessage);json.StatusMessage=null;}else if(preview){$(frm).trigger('PreviewLoaded',[frm]);$(parent).find('li.Active').removeClass('Active');$(btn).parents('li').addClass('Active');$(frm).find('textarea').after(json.Data);$(frm).find('textarea').hide();}else if(!draft){if(processedTargets)
btn=$('div.CommentForm :submit');resetCommentForm(btn);clearCommentForm(btn);var existingCommentRow=$('#Comment_'+commentID);if(processedTargets){}else if(existingCommentRow.length>0){existingCommentRow.after(json.Data).remove();$('#Comment_'+commentID).effect("highlight",{},"slow");}else{gdn.definition('LastCommentID',commentID,true);$(json.Data).appendTo('ul.Discussion');$('ul.Discussion li:last').effect("highlight",{},"slow");}
$('#PagerMore').remove();$(document).trigger('CommentAdded');$(frm).triggerHandler('complete');}
gdn.inform(json.StatusMessage);return false;},complete:function(XMLHttpRequest,textStatus){$('span.TinyProgress').remove();$(frm).find(':submit').removeAttr("disabled");}});frm.triggerHandler('submit');return false;});function resetCommentForm(sender){var parent=$(sender).parents('div.CommentForm');$(parent).find('li.Active').removeClass('Active');$('a.WriteButton').parents('li').addClass('Active');$(parent).find('div.Preview').remove();$(parent).find('textarea').show();$('span.TinyProgress').remove();}
function clearCommentForm(sender){var container=$(sender).parents('li.Editing');$(container).removeClass('Editing');$('div.Popup,.Overlay').remove();var frm=$(sender).parents('div.CommentForm');frm.find('textarea').val('');frm.find('input:hidden[name$=CommentID]').val('');var draftInp=frm.find('input:hidden[name$=DraftID]');if(draftInp.val()!='')
$.ajax({type:"POST",url:gdn.url('/vanilla/drafts/delete/'+draftInp.val()+'/'+gdn.definition('TransientKey')),data:'DeliveryType=BOOL&DeliveryMethod=JSON',dataType:'json'});draftInp.val('');frm.find('div.Errors').remove();$('div.Information').fadeOut('fast',function(){$(this).remove();});$(frm).trigger('clearCommentForm');}
if($.morepager)
$('.MorePager').morepager({pageContainerSelector:'ul.Discussion',afterPageLoaded:function(){$(document).trigger('CommentPagingComplete');}});$('a.DraftButton').livequery(function(){var btn=this;$('div.CommentForm textarea').autosave({button:btn});});$('a.EditComment').livequery('click',function(){var btn=this;var container=$(btn).parents('li.Comment');$(container).addClass('Editing');var parent=$(btn).parents('div.Comment');var msg=$(parent).find('div.Message');$(parent).find('div.Meta span:last').after('<span class="TinyProgress">&#160;</span>');if($(msg).is(':visible')){$.ajax({type:"POST",url:$(btn).attr('href'),data:'DeliveryType=VIEW&DeliveryMethod=JSON',dataType:'json',error:function(XMLHttpRequest,textStatus,errorThrown){$('div.Popup,.Overlay').remove();$.popup({},XMLHttpRequest.responseText);},success:function(json){json=$.postParseJson(json);$(msg).after(json.Data);$(msg).hide();$(parent).find('span.TinyProgress').remove();}});}else{$(parent).find('div.CommentForm').remove();$(parent).find('span.TinyProgress').remove();$(msg).show();}
$(document).trigger('CommentEditingComplete',[msg]);return false;});$('ul.Discussion div.Comment a.Cancel').livequery('click',function(){var btn=this;$(btn).parents('div.Comment').find('div.Message').show();$(btn).parents('div.CommentForm').remove();});$('a.DeleteComment').popup({confirm:true,followConfirm:false,deliveryType:'BOOL',afterConfirm:function(json,sender){var row=$(sender).parents('li.Comment');if(json.ErrorMessage){$.popup({},json.ErrorMessage);}else{$(row).slideUp('fast',function(){$(this).remove();});}}});getNewTimeout=function(){if(autoRefresh<=0)
return;setTimeout(function(){discussionID=gdn.definition('DiscussionID',0);lastCommentID=gdn.definition('LastCommentID','');if(lastCommentID=='')
return;$.ajax({type:"POST",url:gdn.url('/discussion/getnew/'+discussionID+'/'+lastCommentID),data:"DeliveryType=ASSET&DeliveryMethod=JSON",dataType:"json",error:function(XMLHttpRequest,textStatus,errorThrown){$.popup({},XMLHttpRequest.responseText);},success:function(json){json=$.postParseJson(json);if(json.Data&&json.LastCommentID){gdn.definition('LastCommentID',json.LastCommentID,true);$(json.Data).appendTo("ul.Discussion").effect("highlight",{},"slow");}
gdn.processTargets(json.Targets);getNewTimeout();}});},autoRefresh);}
autoRefresh=gdn.definition('Vanilla_Comments_AutoRefresh',10)*1000;getNewTimeout();});;jQuery(document).ready(function($){$.fn.autosave=function(opts){var options=$.extend({interval:60000,button:false},opts);var textarea=this;if(!options.button)
return false;return this.each(function(){var autosaveOn=false;$(this).keydown(function(){if(autosaveOn==false){autosaveOn=true;$(textarea).next().animate({opacity:1.0},options.interval,function(){if($(textarea).val()!='')
$(options.button).click();autosaveOn=false;});}});});}});;jQuery(document).ready(function($){$('div.VotesBox a').live('click',function(){var btn=this;var parent=$(this).parents('.Bookmarks');var oldClass=$(btn).attr('class');$.ajax({type:"POST",url:btn.href,data:'DeliveryType=BOOL&DeliveryMethod=JSON',dataType:'json',error:function(XMLHttpRequest,textStatus,errorThrown){$(btn).attr('class',oldClass);$.popup({},definition('TransportError').replace('%s',textStatus));},success:function(json){if($(parent).children().length==1){$(parent).slideUp('fast',function(){$(this).remove();});}else if($(parent).length>0){$(btn).parents('.DiscussionRow').slideUp('fast',function(){$(this).remove();});}else{$(btn).attr('title',json.AnchorTitle);txt=$(btn).find('span').text();$(btn).html('<span>'+txt+'</span>'+json.TotalScore);$(btn).blur();}}});return false;});$('div.FollowsBox a').live('click',function(){var btn=this;var parent=$(this).parents('.Bookmarks');var oldClass=$(btn).attr('class');$.ajax({type:"POST",url:btn.href,data:'DeliveryType=BOOL&DeliveryMethod=JSON',dataType:'json',error:function(XMLHttpRequest,textStatus,errorThrown){$(btn).attr('class',oldClass);$.popup({},definition('TransportError').replace('%s',textStatus));},success:function(json){if($(parent).children().length==1){$(parent).slideUp('fast',function(){$(this).remove();});}else if($(parent).length>0){$(btn).parents('li.Item').slideUp('fast',function(){$(this).remove();});}else{$(btn).attr('title',json.AnchorTitle);if($(btn).hasClass('Bookmark')){$(btn).attr('class','Bookmark');$(btn).attr('title','Follow');if(json.State=='1'){$(btn).attr('title','Unfollow');$(btn).addClass('Bookmarked');}}else{count=$(btn).html();count=count.substr(count.lastIndexOf('>')+1);count=json.State?++count:--count;txt=$(btn).find('span').text();$(btn).html('<span>'+txt+'</span>'+count);$(btn).blur();}}
$('a.MyBookmarks span').text(json.CountBookmarks);gdn.processTargets(json.Targets);}});return false;});$('.Votes a').live('click',function(){if(!$(this).hasClass('SignInPopup')){var btn=this;var parent=$(this).parents('.Votes');var votes=$(parent).find('span');$.ajax({type:"POST",url:btn.href,data:'DeliveryType=BOOL&DeliveryMethod=JSON',dataType:'json',error:function(XMLHttpRequest,textStatus,errorThrown){$(btn).attr('class',oldClass);$.popup({},definition('TransportError').replace('%s',textStatus));},success:function(json){$(votes).text(json.TotalScore);}});return false;}});});;function Gdn_Quotes(){this.InsertMode='default';this.Editors=[];this.EditorID=1;Gdn_Quotes.prototype.Prepare=function(){$('span.CommentQuote a').livequery('click',jQuery.proxy(function(event){var QuoteLink=$(event.target);var ObjectID=QuoteLink.attr('href').split('/').pop();this.Quote(ObjectID,QuoteLink);return false;},this));var Quotes=this;$('textarea.TextBox').livequery(function(){Quotes.EditorStack(this);},function(){Quotes.EditorStack(this,true);});$('div.cleditorMain').livequery(function(){Quotes.SetInsertMode('cleditor',this);});}
Gdn_Quotes.prototype.SetInsertMode=function(InsertMode,ChangeElement){var OldInsert=this.InsertMode;var Changed=(OldInsert==InsertMode);this.InsertMode=InsertMode;switch(this.InsertMode){case'cleditor':var Frame=$($(ChangeElement).find('textarea.TextBox').get(0).editor.$frame).get(0);var FrameBody=null;var FrameDocument=null;if(Frame.contentDocument){FrameDocument=Frame.contentDocument;FrameBody=FrameDocument.body;}else if(Frame.contentWindow){FrameDocument=Frame.contentWindow.document;FrameBody=FrameDocument.body;}
if(FrameBody==null)return;var ss=document.createElement("link");ss.type="text/css";ss.rel="stylesheet";ss.href="/plugins/Quotes/css/cleditor.css";if(document.all)
FrameDocument.createStyleSheet(ss.href);else
FrameDocument.getElementsByTagName("head")[0].appendChild(ss);break;case'default':default:break;}}
Gdn_Quotes.prototype.GetObjectID=function(Anchor){return $(Anchor).attr('href').split('/').pop();}
Gdn_Quotes.prototype.EditorStack=function(AreaContainer,Remove){if(AreaContainer==undefined)return false;var TextArea=null;if($(AreaContainer).get(0).nodeName.toLowerCase()=='textarea')
TextArea=$(AreaContainer);else{TextArea=$(AreaContainer).find('textarea.TextBox');if(TextArea.length==0)return false;}
if(Remove==undefined||Remove==false){if(TextArea.length){TextArea.get(0).eid=this.EditorID++;this.Editors.push(TextArea);}}else{var EID=TextArea.get(0).eid;$(this.Editors).each(jQuery.proxy(function(i,el){if(el.get(0).eid==EID){this.Editors.splice(i,1);return;}},this));}
return true;}
Gdn_Quotes.prototype.GetEditor=function(){return this.Editors[this.Editors.length-1];}
Gdn_Quotes.prototype.Quote=function(ObjectID,QuoteLink){var QuotingStatus=this.GetQuoteData(ObjectID);if(!QuotingStatus)return;switch(this.InsertMode){case'cleditor':var ScrollY=$(this.GetEditor().get(0).editor.$frame).offset().top-100;break;case'default':default:var ScrollY=this.GetEditor().offset().top-100;break;}
$('html,body').animate({scrollTop:ScrollY},800);}
Gdn_Quotes.prototype.GetQuoteData=function(ObjectID){var QuotedElement=$('#'+ObjectID);if(!QuotedElement)return false;this.AddSpinner();var QuotebackURL=gdn.url('plugin/quotes/getquote/'+ObjectID);jQuery.ajax({url:QuotebackURL,type:'GET',success:jQuery.proxy(this.QuoteResponse,this)});return true;}
Gdn_Quotes.prototype.AddSpinner=function(){}
Gdn_Quotes.prototype.RemoveSpinner=function(){}
Gdn_Quotes.prototype.QuoteResponse=function(Data,Status,XHR){Data=jQuery.parseJSON(Data);if(Data&&Data.Quote.selector){var ObjectID=Data.Quote.selector;this.RemoveSpinner();}else{return;}
switch(Data.Quote.format){case'Html':var Append='<blockquote rel="'+Data.Quote.authorname+'">'+Data.Quote.body+'</blockquote>'+"\n";break;case'BBCode':var Append='[quote="'+Data.Quote.authorname+'"]'+Data.Quote.body+'[/quote]'+"\n";break;case'Display':case'Text':var Append=' > '+Data.Quote.authorname+" said:\n";Append=Append+' > '+Data.Quote.body+"\n";break;default:var Append='';return;}
this.ApplyQuoteText(Append);}
Gdn_Quotes.prototype.ApplyQuoteText=function(QuoteText){QuoteText=QuoteText+"\n";var Editor=this.GetEditor();Editor.val(Editor.val()+QuoteText);switch(this.InsertMode){case'cleditor':Editor.val(Editor.val()+"<br/>");Editor.get(0).editor.updateFrame();break;case'default':default:break;}}}
var GdnQuotes=null;jQuery(document).ready(function(){GdnQuotes=new Gdn_Quotes();GdnQuotes.Prepare()});
