
/*
 * jQuery 1.2.6 - New Wave Javascript
 *
 * Copyright (c) 2008 John Resig (jquery.com)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * Date: 2008-05-24 14:22:17 -0400 (Sat, 24 May 2008)
 * Rev: 5685
 */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(H(){J w=1b.4M,3m$=1b.$;J D=1b.4M=1b.$=H(a,b){I 2B D.17.5j(a,b)};J u=/^[^<]*(<(.|\\s)+>)[^>]*$|^#(\\w+)$/,62=/^.[^:#\\[\\.]*$/,12;D.17=D.44={5j:H(d,b){d=d||S;G(d.16){7[0]=d;7.K=1;I 7}G(1j d=="23"){J c=u.2D(d);G(c&&(c[1]||!b)){G(c[1])d=D.4h([c[1]],b);N{J a=S.61(c[3]);G(a){G(a.2v!=c[3])I D().2q(d);I D(a)}d=[]}}N I D(b).2q(d)}N G(D.1D(d))I D(S)[D.17.27?"27":"43"](d);I 7.6Y(D.2d(d))},5w:"1.2.6",8G:H(){I 7.K},K:0,3p:H(a){I a==12?D.2d(7):7[a]},2I:H(b){J a=D(b);a.5n=7;I a},6Y:H(a){7.K=0;2p.44.1p.1w(7,a);I 7},P:H(a,b){I D.P(7,a,b)},5i:H(b){J a=-1;I D.2L(b&&b.5w?b[0]:b,7)},1K:H(c,a,b){J d=c;G(c.1q==56)G(a===12)I 7[0]&&D[b||"1K"](7[0],c);N{d={};d[c]=a}I 7.P(H(i){R(c 1n d)D.1K(b?7.V:7,c,D.1i(7,d[c],b,i,c))})},1g:H(b,a){G((b==\'2h\'||b==\'1Z\')&&3d(a)<0)a=12;I 7.1K(b,a,"2a")},1r:H(b){G(1j b!="49"&&b!=U)I 7.4E().3v((7[0]&&7[0].2z||S).5F(b));J a="";D.P(b||7,H(){D.P(7.3t,H(){G(7.16!=8)a+=7.16!=1?7.76:D.17.1r([7])})});I a},5z:H(b){G(7[0])D(b,7[0].2z).5y().39(7[0]).2l(H(){J a=7;1B(a.1x)a=a.1x;I a}).3v(7);I 7},8Y:H(a){I 7.P(H(){D(7).6Q().5z(a)})},8R:H(a){I 7.P(H(){D(7).5z(a)})},3v:H(){I 7.3W(19,M,Q,H(a){G(7.16==1)7.3U(a)})},6F:H(){I 7.3W(19,M,M,H(a){G(7.16==1)7.39(a,7.1x)})},6E:H(){I 7.3W(19,Q,Q,H(a){7.1d.39(a,7)})},5q:H(){I 7.3W(19,Q,M,H(a){7.1d.39(a,7.2H)})},3l:H(){I 7.5n||D([])},2q:H(b){J c=D.2l(7,H(a){I D.2q(b,a)});I 7.2I(/[^+>] [^+>]/.11(b)||b.1h("..")>-1?D.4r(c):c)},5y:H(e){J f=7.2l(H(){G(D.14.1f&&!D.4n(7)){J a=7.6o(M),5h=S.3h("1v");5h.3U(a);I D.4h([5h.4H])[0]}N I 7.6o(M)});J d=f.2q("*").5c().P(H(){G(7[E]!=12)7[E]=U});G(e===M)7.2q("*").5c().P(H(i){G(7.16==3)I;J c=D.L(7,"3w");R(J a 1n c)R(J b 1n c[a])D.W.1e(d[i],a,c[a][b],c[a][b].L)});I f},1E:H(b){I 7.2I(D.1D(b)&&D.3C(7,H(a,i){I b.1k(a,i)})||D.3g(b,7))},4Y:H(b){G(b.1q==56)G(62.11(b))I 7.2I(D.3g(b,7,M));N b=D.3g(b,7);J a=b.K&&b[b.K-1]!==12&&!b.16;I 7.1E(H(){I a?D.2L(7,b)<0:7!=b})},1e:H(a){I 7.2I(D.4r(D.2R(7.3p(),1j a==\'23\'?D(a):D.2d(a))))},3F:H(a){I!!a&&D.3g(a,7).K>0},7T:H(a){I 7.3F("."+a)},6e:H(b){G(b==12){G(7.K){J c=7[0];G(D.Y(c,"2A")){J e=c.64,63=[],15=c.15,2V=c.O=="2A-2V";G(e<0)I U;R(J i=2V?e:0,2f=2V?e+1:15.K;i<2f;i++){J d=15[i];G(d.2W){b=D.14.1f&&!d.at.2x.an?d.1r:d.2x;G(2V)I b;63.1p(b)}}I 63}N I(7[0].2x||"").1o(/\\r/g,"")}I 12}G(b.1q==4L)b+=\'\';I 7.P(H(){G(7.16!=1)I;G(b.1q==2p&&/5O|5L/.11(7.O))7.4J=(D.2L(7.2x,b)>=0||D.2L(7.34,b)>=0);N G(D.Y(7,"2A")){J a=D.2d(b);D("9R",7).P(H(){7.2W=(D.2L(7.2x,a)>=0||D.2L(7.1r,a)>=0)});G(!a.K)7.64=-1}N 7.2x=b})},2K:H(a){I a==12?(7[0]?7[0].4H:U):7.4E().3v(a)},7b:H(a){I 7.5q(a).21()},79:H(i){I 7.3s(i,i+1)},3s:H(){I 7.2I(2p.44.3s.1w(7,19))},2l:H(b){I 7.2I(D.2l(7,H(a,i){I b.1k(a,i,a)}))},5c:H(){I 7.1e(7.5n)},L:H(d,b){J a=d.1R(".");a[1]=a[1]?"."+a[1]:"";G(b===12){J c=7.5C("9z"+a[1]+"!",[a[0]]);G(c===12&&7.K)c=D.L(7[0],d);I c===12&&a[1]?7.L(a[0]):c}N I 7.1P("9u"+a[1]+"!",[a[0],b]).P(H(){D.L(7,d,b)})},3b:H(a){I 7.P(H(){D.3b(7,a)})},3W:H(g,f,h,d){J e=7.K>1,3x;I 7.P(H(){G(!3x){3x=D.4h(g,7.2z);G(h)3x.9o()}J b=7;G(f&&D.Y(7,"1T")&&D.Y(3x[0],"4F"))b=7.3H("22")[0]||7.3U(7.2z.3h("22"));J c=D([]);D.P(3x,H(){J a=e?D(7).5y(M)[0]:7;G(D.Y(a,"1m"))c=c.1e(a);N{G(a.16==1)c=c.1e(D("1m",a).21());d.1k(b,a)}});c.P(6T)})}};D.17.5j.44=D.17;H 6T(i,a){G(a.4d)D.3Y({1a:a.4d,31:Q,1O:"1m"});N D.5u(a.1r||a.6O||a.4H||"");G(a.1d)a.1d.37(a)}H 1z(){I+2B 8J}D.1l=D.17.1l=H(){J b=19[0]||{},i=1,K=19.K,4x=Q,15;G(b.1q==8I){4x=b;b=19[1]||{};i=2}G(1j b!="49"&&1j b!="H")b={};G(K==i){b=7;--i}R(;i<K;i++)G((15=19[i])!=U)R(J c 1n 15){J a=b[c],2w=15[c];G(b===2w)6M;G(4x&&2w&&1j 2w=="49"&&!2w.16)b[c]=D.1l(4x,a||(2w.K!=U?[]:{}),2w);N G(2w!==12)b[c]=2w}I b};J E="4M"+1z(),6K=0,5r={},6G=/z-?5i|8B-?8A|1y|6B|8v-?1Z/i,3P=S.3P||{};D.1l({8u:H(a){1b.$=3m$;G(a)1b.4M=w;I D},1D:H(a){I!!a&&1j a!="23"&&!a.Y&&a.1q!=2p&&/^[\\s[]?H/.11(a+"")},4n:H(a){I a.1C&&!a.1c||a.2j&&a.2z&&!a.2z.1c},5u:H(a){a=D.3k(a);G(a){J b=S.3H("6w")[0]||S.1C,1m=S.3h("1m");1m.O="1r/4t";G(D.14.1f)1m.1r=a;N 1m.3U(S.5F(a));b.39(1m,b.1x);b.37(1m)}},Y:H(b,a){I b.Y&&b.Y.2r()==a.2r()},1Y:{},L:H(c,d,b){c=c==1b?5r:c;J a=c[E];G(!a)a=c[E]=++6K;G(d&&!D.1Y[a])D.1Y[a]={};G(b!==12)D.1Y[a][d]=b;I d?D.1Y[a][d]:a},3b:H(c,b){c=c==1b?5r:c;J a=c[E];G(b){G(D.1Y[a]){2U D.1Y[a][b];b="";R(b 1n D.1Y[a])1X;G(!b)D.3b(c)}}N{1U{2U c[E]}1V(e){G(c.5l)c.5l(E)}2U D.1Y[a]}},P:H(d,a,c){J e,i=0,K=d.K;G(c){G(K==12){R(e 1n d)G(a.1w(d[e],c)===Q)1X}N R(;i<K;)G(a.1w(d[i++],c)===Q)1X}N{G(K==12){R(e 1n d)G(a.1k(d[e],e,d[e])===Q)1X}N R(J b=d[0];i<K&&a.1k(b,i,b)!==Q;b=d[++i]){}}I d},1i:H(b,a,c,i,d){G(D.1D(a))a=a.1k(b,i);I a&&a.1q==4L&&c=="2a"&&!6G.11(d)?a+"2X":a},1F:{1e:H(c,b){D.P((b||"").1R(/\\s+/),H(i,a){G(c.16==1&&!D.1F.3T(c.1F,a))c.1F+=(c.1F?" ":"")+a})},21:H(c,b){G(c.16==1)c.1F=b!=12?D.3C(c.1F.1R(/\\s+/),H(a){I!D.1F.3T(b,a)}).6s(" "):""},3T:H(b,a){I D.2L(a,(b.1F||b).6r().1R(/\\s+/))>-1}},6q:H(b,c,a){J e={};R(J d 1n c){e[d]=b.V[d];b.V[d]=c[d]}a.1k(b);R(J d 1n c)b.V[d]=e[d]},1g:H(d,e,c){G(e=="2h"||e=="1Z"){J b,3X={30:"5x",5g:"1G",18:"3I"},35=e=="2h"?["5e","6k"]:["5G","6i"];H 5b(){b=e=="2h"?d.8f:d.8c;J a=0,2C=0;D.P(35,H(){a+=3d(D.2a(d,"57"+7,M))||0;2C+=3d(D.2a(d,"2C"+7+"4b",M))||0});b-=29.83(a+2C)}G(D(d).3F(":4j"))5b();N D.6q(d,3X,5b);I 29.2f(0,b)}I D.2a(d,e,c)},2a:H(f,l,k){J e,V=f.V;H 3E(b){G(!D.14.2k)I Q;J a=3P.54(b,U);I!a||a.52("3E")==""}G(l=="1y"&&D.14.1f){e=D.1K(V,"1y");I e==""?"1":e}G(D.14.2G&&l=="18"){J d=V.50;V.50="0 7Y 7W";V.50=d}G(l.1I(/4i/i))l=y;G(!k&&V&&V[l])e=V[l];N G(3P.54){G(l.1I(/4i/i))l="4i";l=l.1o(/([A-Z])/g,"-$1").3y();J c=3P.54(f,U);G(c&&!3E(f))e=c.52(l);N{J g=[],2E=[],a=f,i=0;R(;a&&3E(a);a=a.1d)2E.6h(a);R(;i<2E.K;i++)G(3E(2E[i])){g[i]=2E[i].V.18;2E[i].V.18="3I"}e=l=="18"&&g[2E.K-1]!=U?"2F":(c&&c.52(l))||"";R(i=0;i<g.K;i++)G(g[i]!=U)2E[i].V.18=g[i]}G(l=="1y"&&e=="")e="1"}N G(f.4g){J h=l.1o(/\\-(\\w)/g,H(a,b){I b.2r()});e=f.4g[l]||f.4g[h];G(!/^\\d+(2X)?$/i.11(e)&&/^\\d/.11(e)){J j=V.1A,66=f.65.1A;f.65.1A=f.4g.1A;V.1A=e||0;e=V.aM+"2X";V.1A=j;f.65.1A=66}}I e},4h:H(l,h){J k=[];h=h||S;G(1j h.3h==\'12\')h=h.2z||h[0]&&h[0].2z||S;D.P(l,H(i,d){G(!d)I;G(d.1q==4L)d+=\'\';G(1j d=="23"){d=d.1o(/(<(\\w+)[^>]*?)\\/>/g,H(b,a,c){I c.1I(/^(aK|4f|7E|aG|4T|7A|aB|3n|az|ay|av)$/i)?b:a+"></"+c+">"});J f=D.3k(d).3y(),1v=h.3h("1v");J e=!f.1h("<au")&&[1,"<2A 7w=\'7w\'>","</2A>"]||!f.1h("<ar")&&[1,"<7v>","</7v>"]||f.1I(/^<(aq|22|am|ak|ai)/)&&[1,"<1T>","</1T>"]||!f.1h("<4F")&&[2,"<1T><22>","</22></1T>"]||(!f.1h("<af")||!f.1h("<ad"))&&[3,"<1T><22><4F>","</4F></22></1T>"]||!f.1h("<7E")&&[2,"<1T><22></22><7q>","</7q></1T>"]||D.14.1f&&[1,"1v<1v>","</1v>"]||[0,"",""];1v.4H=e[1]+d+e[2];1B(e[0]--)1v=1v.5T;G(D.14.1f){J g=!f.1h("<1T")&&f.1h("<22")<0?1v.1x&&1v.1x.3t:e[1]=="<1T>"&&f.1h("<22")<0?1v.3t:[];R(J j=g.K-1;j>=0;--j)G(D.Y(g[j],"22")&&!g[j].3t.K)g[j].1d.37(g[j]);G(/^\\s/.11(d))1v.39(h.5F(d.1I(/^\\s*/)[0]),1v.1x)}d=D.2d(1v.3t)}G(d.K===0&&(!D.Y(d,"3V")&&!D.Y(d,"2A")))I;G(d[0]==12||D.Y(d,"3V")||d.15)k.1p(d);N k=D.2R(k,d)});I k},1K:H(d,f,c){G(!d||d.16==3||d.16==8)I 12;J e=!D.4n(d),40=c!==12,1f=D.14.1f;f=e&&D.3X[f]||f;G(d.2j){J g=/5Q|4d|V/.11(f);G(f=="2W"&&D.14.2k)d.1d.64;G(f 1n d&&e&&!g){G(40){G(f=="O"&&D.Y(d,"4T")&&d.1d)7p"O a3 a1\'t 9V 9U";d[f]=c}G(D.Y(d,"3V")&&d.7i(f))I d.7i(f).76;I d[f]}G(1f&&e&&f=="V")I D.1K(d.V,"9T",c);G(40)d.9Q(f,""+c);J h=1f&&e&&g?d.4G(f,2):d.4G(f);I h===U?12:h}G(1f&&f=="1y"){G(40){d.6B=1;d.1E=(d.1E||"").1o(/7f\\([^)]*\\)/,"")+(3r(c)+\'\'=="9L"?"":"7f(1y="+c*7a+")")}I d.1E&&d.1E.1h("1y=")>=0?(3d(d.1E.1I(/1y=([^)]*)/)[1])/7a)+\'\':""}f=f.1o(/-([a-z])/9H,H(a,b){I b.2r()});G(40)d[f]=c;I d[f]},3k:H(a){I(a||"").1o(/^\\s+|\\s+$/g,"")},2d:H(b){J a=[];G(b!=U){J i=b.K;G(i==U||b.1R||b.4I||b.1k)a[0]=b;N 1B(i)a[--i]=b[i]}I a},2L:H(b,a){R(J i=0,K=a.K;i<K;i++)G(a[i]===b)I i;I-1},2R:H(a,b){J i=0,T,2S=a.K;G(D.14.1f){1B(T=b[i++])G(T.16!=8)a[2S++]=T}N 1B(T=b[i++])a[2S++]=T;I a},4r:H(a){J c=[],2o={};1U{R(J i=0,K=a.K;i<K;i++){J b=D.L(a[i]);G(!2o[b]){2o[b]=M;c.1p(a[i])}}}1V(e){c=a}I c},3C:H(c,a,d){J b=[];R(J i=0,K=c.K;i<K;i++)G(!d!=!a(c[i],i))b.1p(c[i]);I b},2l:H(d,a){J c=[];R(J i=0,K=d.K;i<K;i++){J b=a(d[i],i);G(b!=U)c[c.K]=b}I c.7d.1w([],c)}});J v=9B.9A.3y();D.14={5B:(v.1I(/.+(?:9y|9x|9w|9v)[\\/: ]([\\d.]+)/)||[])[1],2k:/75/.11(v),2G:/2G/.11(v),1f:/1f/.11(v)&&!/2G/.11(v),42:/42/.11(v)&&!/(9s|75)/.11(v)};J y=D.14.1f?"7o":"72";D.1l({71:!D.14.1f||S.70=="6Z",3X:{"R":"9n","9k":"1F","4i":y,72:y,7o:y,9h:"9f",9e:"9d",9b:"99"}});D.P({6W:H(a){I a.1d},97:H(a){I D.4S(a,"1d")},95:H(a){I D.3a(a,2,"2H")},91:H(a){I D.3a(a,2,"4l")},8Z:H(a){I D.4S(a,"2H")},8X:H(a){I D.4S(a,"4l")},8W:H(a){I D.5v(a.1d.1x,a)},8V:H(a){I D.5v(a.1x)},6Q:H(a){I D.Y(a,"8U")?a.8T||a.8S.S:D.2d(a.3t)}},H(c,d){D.17[c]=H(b){J a=D.2l(7,d);G(b&&1j b=="23")a=D.3g(b,a);I 7.2I(D.4r(a))}});D.P({6P:"3v",8Q:"6F",39:"6E",8P:"5q",8O:"7b"},H(c,b){D.17[c]=H(){J a=19;I 7.P(H(){R(J i=0,K=a.K;i<K;i++)D(a[i])[b](7)})}});D.P({8N:H(a){D.1K(7,a,"");G(7.16==1)7.5l(a)},8M:H(a){D.1F.1e(7,a)},8L:H(a){D.1F.21(7,a)},8K:H(a){D.1F[D.1F.3T(7,a)?"21":"1e"](7,a)},21:H(a){G(!a||D.1E(a,[7]).r.K){D("*",7).1e(7).P(H(){D.W.21(7);D.3b(7)});G(7.1d)7.1d.37(7)}},4E:H(){D(">*",7).21();1B(7.1x)7.37(7.1x)}},H(a,b){D.17[a]=H(){I 7.P(b,19)}});D.P(["6N","4b"],H(i,c){J b=c.3y();D.17[b]=H(a){I 7[0]==1b?D.14.2G&&S.1c["5t"+c]||D.14.2k&&1b["5s"+c]||S.70=="6Z"&&S.1C["5t"+c]||S.1c["5t"+c]:7[0]==S?29.2f(29.2f(S.1c["4y"+c],S.1C["4y"+c]),29.2f(S.1c["2i"+c],S.1C["2i"+c])):a==12?(7.K?D.1g(7[0],b):U):7.1g(b,a.1q==56?a:a+"2X")}});H 25(a,b){I a[0]&&3r(D.2a(a[0],b,M),10)||0}J C=D.14.2k&&3r(D.14.5B)<8H?"(?:[\\\\w*3m-]|\\\\\\\\.)":"(?:[\\\\w\\8F-\\8E*3m-]|\\\\\\\\.)",6L=2B 4v("^>\\\\s*("+C+"+)"),6J=2B 4v("^("+C+"+)(#)("+C+"+)"),6I=2B 4v("^([#.]?)("+C+"*)");D.1l({6H:{"":H(a,i,m){I m[2]=="*"||D.Y(a,m[2])},"#":H(a,i,m){I a.4G("2v")==m[2]},":":{8D:H(a,i,m){I i<m[3]-0},8C:H(a,i,m){I i>m[3]-0},3a:H(a,i,m){I m[3]-0==i},79:H(a,i,m){I m[3]-0==i},3o:H(a,i){I i==0},3S:H(a,i,m,r){I i==r.K-1},6D:H(a,i){I i%2==0},6C:H(a,i){I i%2},"3o-4u":H(a){I a.1d.3H("*")[0]==a},"3S-4u":H(a){I D.3a(a.1d.5T,1,"4l")==a},"8z-4u":H(a){I!D.3a(a.1d.5T,2,"4l")},6W:H(a){I a.1x},4E:H(a){I!a.1x},8y:H(a,i,m){I(a.6O||a.8x||D(a).1r()||"").1h(m[3])>=0},4j:H(a){I"1G"!=a.O&&D.1g(a,"18")!="2F"&&D.1g(a,"5g")!="1G"},1G:H(a){I"1G"==a.O||D.1g(a,"18")=="2F"||D.1g(a,"5g")=="1G"},8w:H(a){I!a.3R},3R:H(a){I a.3R},4J:H(a){I a.4J},2W:H(a){I a.2W||D.1K(a,"2W")},1r:H(a){I"1r"==a.O},5O:H(a){I"5O"==a.O},5L:H(a){I"5L"==a.O},5p:H(a){I"5p"==a.O},3Q:H(a){I"3Q"==a.O},5o:H(a){I"5o"==a.O},6A:H(a){I"6A"==a.O},6z:H(a){I"6z"==a.O},2s:H(a){I"2s"==a.O||D.Y(a,"2s")},4T:H(a){I/4T|2A|6y|2s/i.11(a.Y)},3T:H(a,i,m){I D.2q(m[3],a).K},8t:H(a){I/h\\d/i.11(a.Y)},8s:H(a){I D.3C(D.3O,H(b){I a==b.T}).K}}},6x:[/^(\\[) *@?([\\w-]+) *([!*$^~=]*) *(\'?"?)(.*?)\\4 *\\]/,/^(:)([\\w-]+)\\("?\'?(.*?(\\(.*?\\))?[^(]*?)"?\'?\\)/,2B 4v("^([:.#]*)("+C+"+)")],3g:H(a,c,b){J d,1t=[];1B(a&&a!=d){d=a;J f=D.1E(a,c,b);a=f.t.1o(/^\\s*,\\s*/,"");1t=b?c=f.r:D.2R(1t,f.r)}I 1t},2q:H(t,o){G(1j t!="23")I[t];G(o&&o.16!=1&&o.16!=9)I[];o=o||S;J d=[o],2o=[],3S,Y;1B(t&&3S!=t){J r=[];3S=t;t=D.3k(t);J l=Q,3j=6L,m=3j.2D(t);G(m){Y=m[1].2r();R(J i=0;d[i];i++)R(J c=d[i].1x;c;c=c.2H)G(c.16==1&&(Y=="*"||c.Y.2r()==Y))r.1p(c);d=r;t=t.1o(3j,"");G(t.1h(" ")==0)6M;l=M}N{3j=/^([>+~])\\s*(\\w*)/i;G((m=3j.2D(t))!=U){r=[];J k={};Y=m[2].2r();m=m[1];R(J j=0,3i=d.K;j<3i;j++){J n=m=="~"||m=="+"?d[j].2H:d[j].1x;R(;n;n=n.2H)G(n.16==1){J g=D.L(n);G(m=="~"&&k[g])1X;G(!Y||n.Y.2r()==Y){G(m=="~")k[g]=M;r.1p(n)}G(m=="+")1X}}d=r;t=D.3k(t.1o(3j,""));l=M}}G(t&&!l){G(!t.1h(",")){G(o==d[0])d.4s();2o=D.2R(2o,d);r=d=[o];t=" "+t.6v(1,t.K)}N{J h=6J;J m=h.2D(t);G(m){m=[0,m[2],m[3],m[1]]}N{h=6I;m=h.2D(t)}m[2]=m[2].1o(/\\\\/g,"");J f=d[d.K-1];G(m[1]=="#"&&f&&f.61&&!D.4n(f)){J p=f.61(m[2]);G((D.14.1f||D.14.2G)&&p&&1j p.2v=="23"&&p.2v!=m[2])p=D(\'[@2v="\'+m[2]+\'"]\',f)[0];d=r=p&&(!m[3]||D.Y(p,m[3]))?[p]:[]}N{R(J i=0;d[i];i++){J a=m[1]=="#"&&m[3]?m[3]:m[1]!=""||m[0]==""?"*":m[2];G(a=="*"&&d[i].Y.3y()=="49")a="3n";r=D.2R(r,d[i].3H(a))}G(m[1]==".")r=D.5m(r,m[2]);G(m[1]=="#"){J e=[];R(J i=0;r[i];i++)G(r[i].4G("2v")==m[2]){e=[r[i]];1X}r=e}d=r}t=t.1o(h,"")}}G(t){J b=D.1E(t,r);d=r=b.r;t=D.3k(b.t)}}G(t)d=[];G(d&&o==d[0])d.4s();2o=D.2R(2o,d);I 2o},5m:H(r,m,a){m=" "+m+" ";J c=[];R(J i=0;r[i];i++){J b=(" "+r[i].1F+" ").1h(m)>=0;G(!a&&b||a&&!b)c.1p(r[i])}I c},1E:H(t,r,h){J d;1B(t&&t!=d){d=t;J p=D.6x,m;R(J i=0;p[i];i++){m=p[i].2D(t);G(m){t=t.8r(m[0].K);m[2]=m[2].1o(/\\\\/g,"");1X}}G(!m)1X;G(m[1]==":"&&m[2]=="4Y")r=62.11(m[3])?D.1E(m[3],r,M).r:D(r).4Y(m[3]);N G(m[1]==".")r=D.5m(r,m[2],h);N G(m[1]=="["){J g=[],O=m[3];R(J i=0,3i=r.K;i<3i;i++){J a=r[i],z=a[D.3X[m[2]]||m[2]];G(z==U||/5Q|4d|2W/.11(m[2]))z=D.1K(a,m[2])||\'\';G((O==""&&!!z||O=="="&&z==m[5]||O=="!="&&z!=m[5]||O=="^="&&z&&!z.1h(m[5])||O=="$="&&z.6v(z.K-m[5].K)==m[5]||(O=="*="||O=="~=")&&z.1h(m[5])>=0)^h)g.1p(a)}r=g}N G(m[1]==":"&&m[2]=="3a-4u"){J e={},g=[],11=/(-?)(\\d*)n((?:\\+|-)?\\d*)/.2D(m[3]=="6D"&&"2n"||m[3]=="6C"&&"2n+1"||!/\\D/.11(m[3])&&"8q+"+m[3]||m[3]),3o=(11[1]+(11[2]||1))-0,d=11[3]-0;R(J i=0,3i=r.K;i<3i;i++){J j=r[i],1d=j.1d,2v=D.L(1d);G(!e[2v]){J c=1;R(J n=1d.1x;n;n=n.2H)G(n.16==1)n.4q=c++;e[2v]=M}J b=Q;G(3o==0){G(j.4q==d)b=M}N G((j.4q-d)%3o==0&&(j.4q-d)/3o>=0)b=M;G(b^h)g.1p(j)}r=g}N{J f=D.6H[m[1]];G(1j f=="49")f=f[m[2]];G(1j f=="23")f=6u("Q||H(a,i){I "+f+";}");r=D.3C(r,H(a,i){I f(a,i,m,r)},h)}}I{r:r,t:t}},4S:H(b,c){J a=[],1t=b[c];1B(1t&&1t!=S){G(1t.16==1)a.1p(1t);1t=1t[c]}I a},3a:H(a,e,c,b){e=e||1;J d=0;R(;a;a=a[c])G(a.16==1&&++d==e)1X;I a},5v:H(n,a){J r=[];R(;n;n=n.2H){G(n.16==1&&n!=a)r.1p(n)}I r}});D.W={1e:H(f,i,g,e){G(f.16==3||f.16==8)I;G(D.14.1f&&f.4I)f=1b;G(!g.24)g.24=7.24++;G(e!=12){J h=g;g=7.3M(h,H(){I h.1w(7,19)});g.L=e}J j=D.L(f,"3w")||D.L(f,"3w",{}),1H=D.L(f,"1H")||D.L(f,"1H",H(){G(1j D!="12"&&!D.W.5k)I D.W.1H.1w(19.3L.T,19)});1H.T=f;D.P(i.1R(/\\s+/),H(c,b){J a=b.1R(".");b=a[0];g.O=a[1];J d=j[b];G(!d){d=j[b]={};G(!D.W.2t[b]||D.W.2t[b].4p.1k(f)===Q){G(f.3K)f.3K(b,1H,Q);N G(f.6t)f.6t("4o"+b,1H)}}d[g.24]=g;D.W.26[b]=M});f=U},24:1,26:{},21:H(e,h,f){G(e.16==3||e.16==8)I;J i=D.L(e,"3w"),1L,5i;G(i){G(h==12||(1j h=="23"&&h.8p(0)=="."))R(J g 1n i)7.21(e,g+(h||""));N{G(h.O){f=h.2y;h=h.O}D.P(h.1R(/\\s+/),H(b,a){J c=a.1R(".");a=c[0];G(i[a]){G(f)2U i[a][f.24];N R(f 1n i[a])G(!c[1]||i[a][f].O==c[1])2U i[a][f];R(1L 1n i[a])1X;G(!1L){G(!D.W.2t[a]||D.W.2t[a].4A.1k(e)===Q){G(e.6p)e.6p(a,D.L(e,"1H"),Q);N G(e.6n)e.6n("4o"+a,D.L(e,"1H"))}1L=U;2U i[a]}}})}R(1L 1n i)1X;G(!1L){J d=D.L(e,"1H");G(d)d.T=U;D.3b(e,"3w");D.3b(e,"1H")}}},1P:H(h,c,f,g,i){c=D.2d(c);G(h.1h("!")>=0){h=h.3s(0,-1);J a=M}G(!f){G(7.26[h])D("*").1e([1b,S]).1P(h,c)}N{G(f.16==3||f.16==8)I 12;J b,1L,17=D.1D(f[h]||U),W=!c[0]||!c[0].32;G(W){c.6h({O:h,2J:f,32:H(){},3J:H(){},4C:1z()});c[0][E]=M}c[0].O=h;G(a)c[0].6m=M;J d=D.L(f,"1H");G(d)b=d.1w(f,c);G((!17||(D.Y(f,\'a\')&&h=="4V"))&&f["4o"+h]&&f["4o"+h].1w(f,c)===Q)b=Q;G(W)c.4s();G(i&&D.1D(i)){1L=i.1w(f,b==U?c:c.7d(b));G(1L!==12)b=1L}G(17&&g!==Q&&b!==Q&&!(D.Y(f,\'a\')&&h=="4V")){7.5k=M;1U{f[h]()}1V(e){}}7.5k=Q}I b},1H:H(b){J a,1L,38,5f,4m;b=19[0]=D.W.6l(b||1b.W);38=b.O.1R(".");b.O=38[0];38=38[1];5f=!38&&!b.6m;4m=(D.L(7,"3w")||{})[b.O];R(J j 1n 4m){J c=4m[j];G(5f||c.O==38){b.2y=c;b.L=c.L;1L=c.1w(7,19);G(a!==Q)a=1L;G(1L===Q){b.32();b.3J()}}}I a},6l:H(b){G(b[E]==M)I b;J d=b;b={8o:d};J c="8n 8m 8l 8k 2s 8j 47 5d 6j 5E 8i L 8h 8g 4K 2y 5a 59 8e 8b 58 6f 8a 88 4k 87 86 84 6d 2J 4C 6c O 82 81 35".1R(" ");R(J i=c.K;i;i--)b[c[i]]=d[c[i]];b[E]=M;b.32=H(){G(d.32)d.32();d.80=Q};b.3J=H(){G(d.3J)d.3J();d.7Z=M};b.4C=b.4C||1z();G(!b.2J)b.2J=b.6d||S;G(b.2J.16==3)b.2J=b.2J.1d;G(!b.4k&&b.4K)b.4k=b.4K==b.2J?b.6c:b.4K;G(b.58==U&&b.5d!=U){J a=S.1C,1c=S.1c;b.58=b.5d+(a&&a.2e||1c&&1c.2e||0)-(a.6b||0);b.6f=b.6j+(a&&a.2c||1c&&1c.2c||0)-(a.6a||0)}G(!b.35&&((b.47||b.47===0)?b.47:b.5a))b.35=b.47||b.5a;G(!b.59&&b.5E)b.59=b.5E;G(!b.35&&b.2s)b.35=(b.2s&1?1:(b.2s&2?3:(b.2s&4?2:0)));I b},3M:H(a,b){b.24=a.24=a.24||b.24||7.24++;I b},2t:{27:{4p:H(){55();I},4A:H(){I}},3D:{4p:H(){G(D.14.1f)I Q;D(7).2O("53",D.W.2t.3D.2y);I M},4A:H(){G(D.14.1f)I Q;D(7).4e("53",D.W.2t.3D.2y);I M},2y:H(a){G(F(a,7))I M;a.O="3D";I D.W.1H.1w(7,19)}},3N:{4p:H(){G(D.14.1f)I Q;D(7).2O("51",D.W.2t.3N.2y);I M},4A:H(){G(D.14.1f)I Q;D(7).4e("51",D.W.2t.3N.2y);I M},2y:H(a){G(F(a,7))I M;a.O="3N";I D.W.1H.1w(7,19)}}}};D.17.1l({2O:H(c,a,b){I c=="4X"?7.2V(c,a,b):7.P(H(){D.W.1e(7,c,b||a,b&&a)})},2V:H(d,b,c){J e=D.W.3M(c||b,H(a){D(7).4e(a,e);I(c||b).1w(7,19)});I 7.P(H(){D.W.1e(7,d,e,c&&b)})},4e:H(a,b){I 7.P(H(){D.W.21(7,a,b)})},1P:H(c,a,b){I 7.P(H(){D.W.1P(c,a,7,M,b)})},5C:H(c,a,b){I 7[0]&&D.W.1P(c,a,7[0],Q,b)},2m:H(b){J c=19,i=1;1B(i<c.K)D.W.3M(b,c[i++]);I 7.4V(D.W.3M(b,H(a){7.4Z=(7.4Z||0)%i;a.32();I c[7.4Z++].1w(7,19)||Q}))},7X:H(a,b){I 7.2O(\'3D\',a).2O(\'3N\',b)},27:H(a){55();G(D.2Q)a.1k(S,D);N D.3A.1p(H(){I a.1k(7,D)});I 7}});D.1l({2Q:Q,3A:[],27:H(){G(!D.2Q){D.2Q=M;G(D.3A){D.P(D.3A,H(){7.1k(S)});D.3A=U}D(S).5C("27")}}});J x=Q;H 55(){G(x)I;x=M;G(S.3K&&!D.14.2G)S.3K("69",D.27,Q);G(D.14.1f&&1b==1S)(H(){G(D.2Q)I;1U{S.1C.7V("1A")}1V(3e){3B(19.3L,0);I}D.27()})();G(D.14.2G)S.3K("69",H(){G(D.2Q)I;R(J i=0;i<S.4W.K;i++)G(S.4W[i].3R){3B(19.3L,0);I}D.27()},Q);G(D.14.2k){J a;(H(){G(D.2Q)I;G(S.3f!="68"&&S.3f!="1J"){3B(19.3L,0);I}G(a===12)a=D("V, 7A[7U=7S]").K;G(S.4W.K!=a){3B(19.3L,0);I}D.27()})()}D.W.1e(1b,"43",D.27)}D.P(("7R,7Q,43,85,4y,4X,4V,7P,"+"7O,7N,89,53,51,7M,2A,"+"5o,7L,7K,8d,3e").1R(","),H(i,b){D.17[b]=H(a){I a?7.2O(b,a):7.1P(b)}});J F=H(a,c){J b=a.4k;1B(b&&b!=c)1U{b=b.1d}1V(3e){b=c}I b==c};D(1b).2O("4X",H(){D("*").1e(S).4e()});D.17.1l({67:D.17.43,43:H(g,d,c){G(1j g!=\'23\')I 7.67(g);J e=g.1h(" ");G(e>=0){J i=g.3s(e,g.K);g=g.3s(0,e)}c=c||H(){};J f="2P";G(d)G(D.1D(d)){c=d;d=U}N{d=D.3n(d);f="6g"}J h=7;D.3Y({1a:g,O:f,1O:"2K",L:d,1J:H(a,b){G(b=="1W"||b=="7J")h.2K(i?D("<1v/>").3v(a.4U.1o(/<1m(.|\\s)*?\\/1m>/g,"")).2q(i):a.4U);h.P(c,[a.4U,b,a])}});I 7},aL:H(){I D.3n(7.7I())},7I:H(){I 7.2l(H(){I D.Y(7,"3V")?D.2d(7.aH):7}).1E(H(){I 7.34&&!7.3R&&(7.4J||/2A|6y/i.11(7.Y)||/1r|1G|3Q/i.11(7.O))}).2l(H(i,c){J b=D(7).6e();I b==U?U:b.1q==2p?D.2l(b,H(a,i){I{34:c.34,2x:a}}):{34:c.34,2x:b}}).3p()}});D.P("7H,7G,7F,7D,7C,7B".1R(","),H(i,o){D.17[o]=H(f){I 7.2O(o,f)}});J B=1z();D.1l({3p:H(d,b,a,c){G(D.1D(b)){a=b;b=U}I D.3Y({O:"2P",1a:d,L:b,1W:a,1O:c})},aE:H(b,a){I D.3p(b,U,a,"1m")},aD:H(c,b,a){I D.3p(c,b,a,"3z")},aC:H(d,b,a,c){G(D.1D(b)){a=b;b={}}I D.3Y({O:"6g",1a:d,L:b,1W:a,1O:c})},aA:H(a){D.1l(D.60,a)},60:{1a:5Z.5Q,26:M,O:"2P",2T:0,7z:"4R/x-ax-3V-aw",7x:M,31:M,L:U,5Y:U,3Q:U,4Q:{2N:"4R/2N, 1r/2N",2K:"1r/2K",1m:"1r/4t, 4R/4t",3z:"4R/3z, 1r/4t",1r:"1r/as",4w:"*/*"}},4z:{},3Y:H(s){s=D.1l(M,s,D.1l(M,{},D.60,s));J g,2Z=/=\\?(&|$)/g,1u,L,O=s.O.2r();G(s.L&&s.7x&&1j s.L!="23")s.L=D.3n(s.L);G(s.1O=="4P"){G(O=="2P"){G(!s.1a.1I(2Z))s.1a+=(s.1a.1I(/\\?/)?"&":"?")+(s.4P||"7u")+"=?"}N G(!s.L||!s.L.1I(2Z))s.L=(s.L?s.L+"&":"")+(s.4P||"7u")+"=?";s.1O="3z"}G(s.1O=="3z"&&(s.L&&s.L.1I(2Z)||s.1a.1I(2Z))){g="4P"+B++;G(s.L)s.L=(s.L+"").1o(2Z,"="+g+"$1");s.1a=s.1a.1o(2Z,"="+g+"$1");s.1O="1m";1b[g]=H(a){L=a;1W();1J();1b[g]=12;1U{2U 1b[g]}1V(e){}G(i)i.37(h)}}G(s.1O=="1m"&&s.1Y==U)s.1Y=Q;G(s.1Y===Q&&O=="2P"){J j=1z();J k=s.1a.1o(/(\\?|&)3m=.*?(&|$)/,"$ap="+j+"$2");s.1a=k+((k==s.1a)?(s.1a.1I(/\\?/)?"&":"?")+"3m="+j:"")}G(s.L&&O=="2P"){s.1a+=(s.1a.1I(/\\?/)?"&":"?")+s.L;s.L=U}G(s.26&&!D.4O++)D.W.1P("7H");J n=/^(?:\\w+:)?\\/\\/([^\\/?#]+)/;G(s.1O=="1m"&&O=="2P"&&n.11(s.1a)&&n.2D(s.1a)[1]!=5Z.al){J i=S.3H("6w")[0];J h=S.3h("1m");h.4d=s.1a;G(s.7t)h.aj=s.7t;G(!g){J l=Q;h.ah=h.ag=H(){G(!l&&(!7.3f||7.3f=="68"||7.3f=="1J")){l=M;1W();1J();i.37(h)}}}i.3U(h);I 12}J m=Q;J c=1b.7s?2B 7s("ae.ac"):2B 7r();G(s.5Y)c.6R(O,s.1a,s.31,s.5Y,s.3Q);N c.6R(O,s.1a,s.31);1U{G(s.L)c.4B("ab-aa",s.7z);G(s.5S)c.4B("a9-5R-a8",D.4z[s.1a]||"a7, a6 a5 a4 5N:5N:5N a2");c.4B("X-9Z-9Y","7r");c.4B("9W",s.1O&&s.4Q[s.1O]?s.4Q[s.1O]+", */*":s.4Q.4w)}1V(e){}G(s.7m&&s.7m(c,s)===Q){s.26&&D.4O--;c.7l();I Q}G(s.26)D.W.1P("7B",[c,s]);J d=H(a){G(!m&&c&&(c.3f==4||a=="2T")){m=M;G(f){7k(f);f=U}1u=a=="2T"&&"2T"||!D.7j(c)&&"3e"||s.5S&&D.7h(c,s.1a)&&"7J"||"1W";G(1u=="1W"){1U{L=D.6X(c,s.1O,s.9S)}1V(e){1u="5J"}}G(1u=="1W"){J b;1U{b=c.5I("7g-5R")}1V(e){}G(s.5S&&b)D.4z[s.1a]=b;G(!g)1W()}N D.5H(s,c,1u);1J();G(s.31)c=U}};G(s.31){J f=4I(d,13);G(s.2T>0)3B(H(){G(c){c.7l();G(!m)d("2T")}},s.2T)}1U{c.9P(s.L)}1V(e){D.5H(s,c,U,e)}G(!s.31)d();H 1W(){G(s.1W)s.1W(L,1u);G(s.26)D.W.1P("7C",[c,s])}H 1J(){G(s.1J)s.1J(c,1u);G(s.26)D.W.1P("7F",[c,s]);G(s.26&&!--D.4O)D.W.1P("7G")}I c},5H:H(s,a,b,e){G(s.3e)s.3e(a,b,e);G(s.26)D.W.1P("7D",[a,s,e])},4O:0,7j:H(a){1U{I!a.1u&&5Z.9O=="5p:"||(a.1u>=7e&&a.1u<9N)||a.1u==7c||a.1u==9K||D.14.2k&&a.1u==12}1V(e){}I Q},7h:H(a,c){1U{J b=a.5I("7g-5R");I a.1u==7c||b==D.4z[c]||D.14.2k&&a.1u==12}1V(e){}I Q},6X:H(a,c,b){J d=a.5I("9J-O"),2N=c=="2N"||!c&&d&&d.1h("2N")>=0,L=2N?a.9I:a.4U;G(2N&&L.1C.2j=="5J")7p"5J";G(b)L=b(L,c);G(c=="1m")D.5u(L);G(c=="3z")L=6u("("+L+")");I L},3n:H(a){J s=[];G(a.1q==2p||a.5w)D.P(a,H(){s.1p(3u(7.34)+"="+3u(7.2x))});N R(J j 1n a)G(a[j]&&a[j].1q==2p)D.P(a[j],H(){s.1p(3u(j)+"="+3u(7))});N s.1p(3u(j)+"="+3u(D.1D(a[j])?a[j]():a[j]));I s.6s("&").1o(/%20/g,"+")}});D.17.1l({1N:H(c,b){I c?7.2g({1Z:"1N",2h:"1N",1y:"1N"},c,b):7.1E(":1G").P(H(){7.V.18=7.5D||"";G(D.1g(7,"18")=="2F"){J a=D("<"+7.2j+" />").6P("1c");7.V.18=a.1g("18");G(7.V.18=="2F")7.V.18="3I";a.21()}}).3l()},1M:H(b,a){I b?7.2g({1Z:"1M",2h:"1M",1y:"1M"},b,a):7.1E(":4j").P(H(){7.5D=7.5D||D.1g(7,"18");7.V.18="2F"}).3l()},78:D.17.2m,2m:H(a,b){I D.1D(a)&&D.1D(b)?7.78.1w(7,19):a?7.2g({1Z:"2m",2h:"2m",1y:"2m"},a,b):7.P(H(){D(7)[D(7).3F(":1G")?"1N":"1M"]()})},9G:H(b,a){I 7.2g({1Z:"1N"},b,a)},9F:H(b,a){I 7.2g({1Z:"1M"},b,a)},9E:H(b,a){I 7.2g({1Z:"2m"},b,a)},9D:H(b,a){I 7.2g({1y:"1N"},b,a)},9M:H(b,a){I 7.2g({1y:"1M"},b,a)},9C:H(c,a,b){I 7.2g({1y:a},c,b)},2g:H(k,j,i,g){J h=D.77(j,i,g);I 7[h.36===Q?"P":"36"](H(){G(7.16!=1)I Q;J f=D.1l({},h),p,1G=D(7).3F(":1G"),46=7;R(p 1n k){G(k[p]=="1M"&&1G||k[p]=="1N"&&!1G)I f.1J.1k(7);G(p=="1Z"||p=="2h"){f.18=D.1g(7,"18");f.33=7.V.33}}G(f.33!=U)7.V.33="1G";f.45=D.1l({},k);D.P(k,H(c,a){J e=2B D.28(46,f,c);G(/2m|1N|1M/.11(a))e[a=="2m"?1G?"1N":"1M":a](k);N{J b=a.6r().1I(/^([+-]=)?([\\d+-.]+)(.*)$/),2b=e.1t(M)||0;G(b){J d=3d(b[2]),2M=b[3]||"2X";G(2M!="2X"){46.V[c]=(d||1)+2M;2b=((d||1)/e.1t(M))*2b;46.V[c]=2b+2M}G(b[1])d=((b[1]=="-="?-1:1)*d)+2b;e.3G(2b,d,2M)}N e.3G(2b,a,"")}});I M})},36:H(a,b){G(D.1D(a)||(a&&a.1q==2p)){b=a;a="28"}G(!a||(1j a=="23"&&!b))I A(7[0],a);I 7.P(H(){G(b.1q==2p)A(7,a,b);N{A(7,a).1p(b);G(A(7,a).K==1)b.1k(7)}})},9X:H(b,c){J a=D.3O;G(b)7.36([]);7.P(H(){R(J i=a.K-1;i>=0;i--)G(a[i].T==7){G(c)a[i](M);a.7n(i,1)}});G(!c)7.5A();I 7}});J A=H(b,c,a){G(b){c=c||"28";J q=D.L(b,c+"36");G(!q||a)q=D.L(b,c+"36",D.2d(a))}I q};D.17.5A=H(a){a=a||"28";I 7.P(H(){J q=A(7,a);q.4s();G(q.K)q[0].1k(7)})};D.1l({77:H(b,a,c){J d=b&&b.1q==a0?b:{1J:c||!c&&a||D.1D(b)&&b,2u:b,41:c&&a||a&&a.1q!=9t&&a};d.2u=(d.2u&&d.2u.1q==4L?d.2u:D.28.5K[d.2u])||D.28.5K.74;d.5M=d.1J;d.1J=H(){G(d.36!==Q)D(7).5A();G(D.1D(d.5M))d.5M.1k(7)};I d},41:{73:H(p,n,b,a){I b+a*p},5P:H(p,n,b,a){I((-29.9r(p*29.9q)/2)+0.5)*a+b}},3O:[],48:U,28:H(b,c,a){7.15=c;7.T=b;7.1i=a;G(!c.3Z)c.3Z={}}});D.28.44={4D:H(){G(7.15.2Y)7.15.2Y.1k(7.T,7.1z,7);(D.28.2Y[7.1i]||D.28.2Y.4w)(7);G(7.1i=="1Z"||7.1i=="2h")7.T.V.18="3I"},1t:H(a){G(7.T[7.1i]!=U&&7.T.V[7.1i]==U)I 7.T[7.1i];J r=3d(D.1g(7.T,7.1i,a));I r&&r>-9p?r:3d(D.2a(7.T,7.1i))||0},3G:H(c,b,d){7.5V=1z();7.2b=c;7.3l=b;7.2M=d||7.2M||"2X";7.1z=7.2b;7.2S=7.4N=0;7.4D();J e=7;H t(a){I e.2Y(a)}t.T=7.T;D.3O.1p(t);G(D.48==U){D.48=4I(H(){J a=D.3O;R(J i=0;i<a.K;i++)G(!a[i]())a.7n(i--,1);G(!a.K){7k(D.48);D.48=U}},13)}},1N:H(){7.15.3Z[7.1i]=D.1K(7.T.V,7.1i);7.15.1N=M;7.3G(0,7.1t());G(7.1i=="2h"||7.1i=="1Z")7.T.V[7.1i]="9m";D(7.T).1N()},1M:H(){7.15.3Z[7.1i]=D.1K(7.T.V,7.1i);7.15.1M=M;7.3G(7.1t(),0)},2Y:H(a){J t=1z();G(a||t>7.15.2u+7.5V){7.1z=7.3l;7.2S=7.4N=1;7.4D();7.15.45[7.1i]=M;J b=M;R(J i 1n 7.15.45)G(7.15.45[i]!==M)b=Q;G(b){G(7.15.18!=U){7.T.V.33=7.15.33;7.T.V.18=7.15.18;G(D.1g(7.T,"18")=="2F")7.T.V.18="3I"}G(7.15.1M)7.T.V.18="2F";G(7.15.1M||7.15.1N)R(J p 1n 7.15.45)D.1K(7.T.V,p,7.15.3Z[p])}G(b)7.15.1J.1k(7.T);I Q}N{J n=t-7.5V;7.4N=n/7.15.2u;7.2S=D.41[7.15.41||(D.41.5P?"5P":"73")](7.4N,n,0,1,7.15.2u);7.1z=7.2b+((7.3l-7.2b)*7.2S);7.4D()}I M}};D.1l(D.28,{5K:{9l:9j,9i:7e,74:9g},2Y:{2e:H(a){a.T.2e=a.1z},2c:H(a){a.T.2c=a.1z},1y:H(a){D.1K(a.T.V,"1y",a.1z)},4w:H(a){a.T.V[a.1i]=a.1z+a.2M}}});D.17.2i=H(){J b=0,1S=0,T=7[0],3q;G(T)ao(D.14){J d=T.1d,4a=T,1s=T.1s,1Q=T.2z,5U=2k&&3r(5B)<9c&&!/9a/i.11(v),1g=D.2a,3c=1g(T,"30")=="3c";G(T.7y){J c=T.7y();1e(c.1A+29.2f(1Q.1C.2e,1Q.1c.2e),c.1S+29.2f(1Q.1C.2c,1Q.1c.2c));1e(-1Q.1C.6b,-1Q.1C.6a)}N{1e(T.5X,T.5W);1B(1s){1e(1s.5X,1s.5W);G(42&&!/^t(98|d|h)$/i.11(1s.2j)||2k&&!5U)2C(1s);G(!3c&&1g(1s,"30")=="3c")3c=M;4a=/^1c$/i.11(1s.2j)?4a:1s;1s=1s.1s}1B(d&&d.2j&&!/^1c|2K$/i.11(d.2j)){G(!/^96|1T.*$/i.11(1g(d,"18")))1e(-d.2e,-d.2c);G(42&&1g(d,"33")!="4j")2C(d);d=d.1d}G((5U&&(3c||1g(4a,"30")=="5x"))||(42&&1g(4a,"30")!="5x"))1e(-1Q.1c.5X,-1Q.1c.5W);G(3c)1e(29.2f(1Q.1C.2e,1Q.1c.2e),29.2f(1Q.1C.2c,1Q.1c.2c))}3q={1S:1S,1A:b}}H 2C(a){1e(D.2a(a,"6V",M),D.2a(a,"6U",M))}H 1e(l,t){b+=3r(l,10)||0;1S+=3r(t,10)||0}I 3q};D.17.1l({30:H(){J a=0,1S=0,3q;G(7[0]){J b=7.1s(),2i=7.2i(),4c=/^1c|2K$/i.11(b[0].2j)?{1S:0,1A:0}:b.2i();2i.1S-=25(7,\'94\');2i.1A-=25(7,\'aF\');4c.1S+=25(b,\'6U\');4c.1A+=25(b,\'6V\');3q={1S:2i.1S-4c.1S,1A:2i.1A-4c.1A}}I 3q},1s:H(){J a=7[0].1s;1B(a&&(!/^1c|2K$/i.11(a.2j)&&D.1g(a,\'30\')==\'93\'))a=a.1s;I D(a)}});D.P([\'5e\',\'5G\'],H(i,b){J c=\'4y\'+b;D.17[c]=H(a){G(!7[0])I;I a!=12?7.P(H(){7==1b||7==S?1b.92(!i?a:D(1b).2e(),i?a:D(1b).2c()):7[c]=a}):7[0]==1b||7[0]==S?46[i?\'aI\':\'aJ\']||D.71&&S.1C[c]||S.1c[c]:7[0][c]}});D.P(["6N","4b"],H(i,b){J c=i?"5e":"5G",4f=i?"6k":"6i";D.17["5s"+b]=H(){I 7[b.3y()]()+25(7,"57"+c)+25(7,"57"+4f)};D.17["90"+b]=H(a){I 7["5s"+b]()+25(7,"2C"+c+"4b")+25(7,"2C"+4f+"4b")+(a?25(7,"6S"+c)+25(7,"6S"+4f):0)}})})();',62,669,'|||||||this|||||||||||||||||||||||||||||||||||if|function|return|var|length|data|true|else|type|each|false|for|document|elem|null|style|event||nodeName|||test|undefined||browser|options|nodeType|fn|display|arguments|url|window|body|parentNode|add|msie|css|indexOf|prop|typeof|call|extend|script|in|replace|push|constructor|text|offsetParent|cur|status|div|apply|firstChild|opacity|now|left|while|documentElement|isFunction|filter|className|hidden|handle|match|complete|attr|ret|hide|show|dataType|trigger|doc|split|top|table|try|catch|success|break|cache|height||remove|tbody|string|guid|num|global|ready|fx|Math|curCSS|start|scrollTop|makeArray|scrollLeft|max|animate|width|offset|tagName|safari|map|toggle||done|Array|find|toUpperCase|button|special|duration|id|copy|value|handler|ownerDocument|select|new|border|exec|stack|none|opera|nextSibling|pushStack|target|html|inArray|unit|xml|bind|GET|isReady|merge|pos|timeout|delete|one|selected|px|step|jsre|position|async|preventDefault|overflow|name|which|queue|removeChild|namespace|insertBefore|nth|removeData|fixed|parseFloat|error|readyState|multiFilter|createElement|rl|re|trim|end|_|param|first|get|results|parseInt|slice|childNodes|encodeURIComponent|append|events|elems|toLowerCase|json|readyList|setTimeout|grep|mouseenter|color|is|custom|getElementsByTagName|block|stopPropagation|addEventListener|callee|proxy|mouseleave|timers|defaultView|password|disabled|last|has|appendChild|form|domManip|props|ajax|orig|set|easing|mozilla|load|prototype|curAnim|self|charCode|timerId|object|offsetChild|Width|parentOffset|src|unbind|br|currentStyle|clean|float|visible|relatedTarget|previousSibling|handlers|isXMLDoc|on|setup|nodeIndex|unique|shift|javascript|child|RegExp|_default|deep|scroll|lastModified|teardown|setRequestHeader|timeStamp|update|empty|tr|getAttribute|innerHTML|setInterval|checked|fromElement|Number|jQuery|state|active|jsonp|accepts|application|dir|input|responseText|click|styleSheets|unload|not|lastToggle|outline|mouseout|getPropertyValue|mouseover|getComputedStyle|bindReady|String|padding|pageX|metaKey|keyCode|getWH|andSelf|clientX|Left|all|visibility|container|index|init|triggered|removeAttribute|classFilter|prevObject|submit|file|after|windowData|inner|client|globalEval|sibling|jquery|absolute|clone|wrapAll|dequeue|version|triggerHandler|oldblock|ctrlKey|createTextNode|Top|handleError|getResponseHeader|parsererror|speeds|checkbox|old|00|radio|swing|href|Modified|ifModified|lastChild|safari2|startTime|offsetTop|offsetLeft|username|location|ajaxSettings|getElementById|isSimple|values|selectedIndex|runtimeStyle|rsLeft|_load|loaded|DOMContentLoaded|clientTop|clientLeft|toElement|srcElement|val|pageY|POST|unshift|Bottom|clientY|Right|fix|exclusive|detachEvent|cloneNode|removeEventListener|swap|toString|join|attachEvent|eval|substr|head|parse|textarea|reset|image|zoom|odd|even|before|prepend|exclude|expr|quickClass|quickID|uuid|quickChild|continue|Height|textContent|appendTo|contents|open|margin|evalScript|borderTopWidth|borderLeftWidth|parent|httpData|setArray|CSS1Compat|compatMode|boxModel|cssFloat|linear|def|webkit|nodeValue|speed|_toggle|eq|100|replaceWith|304|concat|200|alpha|Last|httpNotModified|getAttributeNode|httpSuccess|clearInterval|abort|beforeSend|splice|styleFloat|throw|colgroup|XMLHttpRequest|ActiveXObject|scriptCharset|callback|fieldset|multiple|processData|getBoundingClientRect|contentType|link|ajaxSend|ajaxSuccess|ajaxError|col|ajaxComplete|ajaxStop|ajaxStart|serializeArray|notmodified|keypress|keydown|change|mouseup|mousedown|dblclick|focus|blur|stylesheet|hasClass|rel|doScroll|black|hover|solid|cancelBubble|returnValue|wheelDelta|view|round|shiftKey|resize|screenY|screenX|relatedNode|mousemove|prevValue|originalTarget|offsetHeight|keyup|newValue|offsetWidth|eventPhase|detail|currentTarget|cancelable|bubbles|attrName|attrChange|altKey|originalEvent|charAt|0n|substring|animated|header|noConflict|line|enabled|innerText|contains|only|weight|font|gt|lt|uFFFF|u0128|size|417|Boolean|Date|toggleClass|removeClass|addClass|removeAttr|replaceAll|insertAfter|prependTo|wrap|contentWindow|contentDocument|iframe|children|siblings|prevAll|wrapInner|nextAll|outer|prev|scrollTo|static|marginTop|next|inline|parents|able|cellSpacing|adobeair|cellspacing|522|maxLength|maxlength|readOnly|400|readonly|fast|600|class|slow|1px|htmlFor|reverse|10000|PI|cos|compatible|Function|setData|ie|ra|it|rv|getData|userAgent|navigator|fadeTo|fadeIn|slideToggle|slideUp|slideDown|ig|responseXML|content|1223|NaN|fadeOut|300|protocol|send|setAttribute|option|dataFilter|cssText|changed|be|Accept|stop|With|Requested|Object|can|GMT|property|1970|Jan|01|Thu|Since|If|Type|Content|XMLHTTP|th|Microsoft|td|onreadystatechange|onload|cap|charset|colg|host|tfoot|specified|with|1_|thead|leg|plain|attributes|opt|embed|urlencoded|www|area|hr|ajaxSetup|meta|post|getJSON|getScript|marginLeft|img|elements|pageYOffset|pageXOffset|abbr|serialize|pixelLeft'.split('|'),0,{}));

var Drupal = Drupal || { 'settings': {}, 'behaviors': {}, 'themes': {}, 'locale': {} };

/**
 * Set the variable that indicates if JavaScript behaviors should be applied
 */
Drupal.jsEnabled = document.getElementsByTagName && document.createElement && document.createTextNode && document.documentElement && document.getElementById;

/**
 * Attach all registered behaviors to a page element.
 *
 * Behaviors are event-triggered actions that attach to page elements, enhancing
 * default non-Javascript UIs. Behaviors are registered in the Drupal.behaviors
 * object as follows:
 * @code
 *    Drupal.behaviors.behaviorName = function () {
 *      ...
 *    };
 * @endcode
 *
 * Drupal.attachBehaviors is added below to the jQuery ready event and so
 * runs on initial page load. Developers implementing AHAH/AJAX in their
 * solutions should also call this function after new page content has been
 * loaded, feeding in an element to be processed, in order to attach all
 * behaviors to the new content.
 *
 * Behaviors should use a class in the form behaviorName-processed to ensure
 * the behavior is attached only once to a given element. (Doing so enables
 * the reprocessing of given elements, which may be needed on occasion despite
 * the ability to limit behavior attachment to a particular element.)
 *
 * @param context
 *   An element to attach behaviors to. If none is given, the document element
 *   is used.
 */
Drupal.attachBehaviors = function(context) {
  context = context || document;
  if (Drupal.jsEnabled) {
    // Execute all of them.
    jQuery.each(Drupal.behaviors, function() {
      this(context);
    });
  }
};

/**
 * Encode special characters in a plain-text string for display as HTML.
 */
Drupal.checkPlain = function(str) {
  str = String(str);
  var replace = { '&': '&amp;', '"': '&quot;', '<': '&lt;', '>': '&gt;' };
  for (var character in replace) {
    var regex = new RegExp(character, 'g');
    str = str.replace(regex, replace[character]);
  }
  return str;
};

/**
 * Translate strings to the page language or a given language.
 *
 * See the documentation of the server-side t() function for further details.
 *
 * @param str
 *   A string containing the English string to translate.
 * @param args
 *   An object of replacements pairs to make after translation. Incidences
 *   of any key in this array are replaced with the corresponding value.
 *   Based on the first character of the key, the value is escaped and/or themed:
 *    - !variable: inserted as is
 *    - @variable: escape plain text to HTML (Drupal.checkPlain)
 *    - %variable: escape text and theme as a placeholder for user-submitted
 *      content (checkPlain + Drupal.theme('placeholder'))
 * @return
 *   The translated string.
 */
Drupal.t = function(str, args) {
  // Fetch the localized version of the string.
  if (Drupal.locale.strings && Drupal.locale.strings[str]) {
    str = Drupal.locale.strings[str];
  }

  if (args) {
    // Transform arguments before inserting them
    for (var key in args) {
      switch (key.charAt(0)) {
        // Escaped only
        case '@':
          args[key] = Drupal.checkPlain(args[key]);
        break;
        // Pass-through
        case '!':
          break;
        // Escaped and placeholder
        case '%':
        default:
          args[key] = Drupal.theme('placeholder', args[key]);
          break;
      }
      str = str.replace(key, args[key]);
    }
  }
  return str;
};

/**
 * Format a string containing a count of items.
 *
 * This function ensures that the string is pluralized correctly. Since Drupal.t() is
 * called by this function, make sure not to pass already-localized strings to it.
 *
 * See the documentation of the server-side format_plural() function for further details.
 *
 * @param count
 *   The item count to display.
 * @param singular
 *   The string for the singular case. Please make sure it is clear this is
 *   singular, to ease translation (e.g. use "1 new comment" instead of "1 new").
 *   Do not use @count in the singular string.
 * @param plural
 *   The string for the plural case. Please make sure it is clear this is plural,
 *   to ease translation. Use @count in place of the item count, as in "@count
 *   new comments".
 * @param args
 *   An object of replacements pairs to make after translation. Incidences
 *   of any key in this array are replaced with the corresponding value.
 *   Based on the first character of the key, the value is escaped and/or themed:
 *    - !variable: inserted as is
 *    - @variable: escape plain text to HTML (Drupal.checkPlain)
 *    - %variable: escape text and theme as a placeholder for user-submitted
 *      content (checkPlain + Drupal.theme('placeholder'))
 *   Note that you do not need to include @count in this array.
 *   This replacement is done automatically for the plural case.
 * @return
 *   A translated string.
 */
Drupal.formatPlural = function(count, singular, plural, args) {
  var args = args || {};
  args['@count'] = count;
  // Determine the index of the plural form.
  var index = Drupal.locale.pluralFormula ? Drupal.locale.pluralFormula(args['@count']) : ((args['@count'] == 1) ? 0 : 1);

  if (index == 0) {
    return Drupal.t(singular, args);
  }
  else if (index == 1) {
    return Drupal.t(plural, args);
  }
  else {
    args['@count['+ index +']'] = args['@count'];
    delete args['@count'];
    return Drupal.t(plural.replace('@count', '@count['+ index +']'));
  }
};

/**
 * Generate the themed representation of a Drupal object.
 *
 * All requests for themed output must go through this function. It examines
 * the request and routes it to the appropriate theme function. If the current
 * theme does not provide an override function, the generic theme function is
 * called.
 *
 * For example, to retrieve the HTML that is output by theme_placeholder(text),
 * call Drupal.theme('placeholder', text).
 *
 * @param func
 *   The name of the theme function to call.
 * @param ...
 *   Additional arguments to pass along to the theme function.
 * @return
 *   Any data the theme function returns. This could be a plain HTML string,
 *   but also a complex object.
 */
Drupal.theme = function(func) {
  for (var i = 1, args = []; i < arguments.length; i++) {
    args.push(arguments[i]);
  }

  return (Drupal.theme[func] || Drupal.theme.prototype[func]).apply(this, args);
};

/**
 * Parse a JSON response.
 *
 * The result is either the JSON object, or an object with 'status' 0 and 'data' an error message.
 */
Drupal.parseJson = function (data) {
  if ((data.substring(0, 1) != '{') && (data.substring(0, 1) != '[')) {
    return { status: 0, data: data.length ? data : Drupal.t('Unspecified error') };
  }
  return eval('(' + data + ');');
};

/**
 * Freeze the current body height (as minimum height). Used to prevent
 * unnecessary upwards scrolling when doing DOM manipulations.
 */
Drupal.freezeHeight = function () {
  Drupal.unfreezeHeight();
  var div = document.createElement('div');
  $(div).css({
    position: 'absolute',
    top: '0px',
    left: '0px',
    width: '1px',
    height: $('body').css('height')
  }).attr('id', 'freeze-height');
  $('body').append(div);
};

/**
 * Unfreeze the body height
 */
Drupal.unfreezeHeight = function () {
  $('#freeze-height').remove();
};

/**
 * Wrapper around encodeURIComponent() which avoids Apache quirks (equivalent of
 * drupal_urlencode() in PHP). This function should only be used on paths, not
 * on query string arguments.
 */
Drupal.encodeURIComponent = function (item, uri) {
  uri = uri || location.href;
  item = encodeURIComponent(item).replace(/%2F/g, '/');
  return (uri.indexOf('?q=') != -1) ? item : item.replace(/%26/g, '%2526').replace(/%23/g, '%2523').replace(/\/\//g, '/%252F');
};

/**
 * Get the text selection in a textarea.
 */
Drupal.getSelection = function (element) {
  if (typeof(element.selectionStart) != 'number' && document.selection) {
    // The current selection
    var range1 = document.selection.createRange();
    var range2 = range1.duplicate();
    // Select all text.
    range2.moveToElementText(element);
    // Now move 'dummy' end point to end point of original range.
    range2.setEndPoint('EndToEnd', range1);
    // Now we can calculate start and end points.
    var start = range2.text.length - range1.text.length;
    var end = start + range1.text.length;
    return { 'start': start, 'end': end };
  }
  return { 'start': element.selectionStart, 'end': element.selectionEnd };
};

/**
 * Build an error message from ahah response.
 */
Drupal.ahahError = function(xmlhttp, uri) {
  if (xmlhttp.status == 200) {
    if (jQuery.trim($(xmlhttp.responseText).text())) {
      var message = Drupal.t("An error occurred. \n@uri\n@text", {'@uri': uri, '@text': xmlhttp.responseText });
    }
    else {
      var message = Drupal.t("An error occurred. \n@uri\n(no information available).", {'@uri': uri, '@text': xmlhttp.responseText });
    }
  }
  else {
    var message = Drupal.t("An HTTP error @status occurred. \n@uri", {'@uri': uri, '@status': xmlhttp.status });
  }
  return message;
}

// Global Killswitch on the <html> element
if (Drupal.jsEnabled) {
  // Global Killswitch on the <html> element
  $(document.documentElement).addClass('js');
  // 'js enabled' cookie
  document.cookie = 'has_js=1; path=/';
  // Attach all behaviors.
  $(document).ready(function() {
    Drupal.attachBehaviors(this);
  });
}

/**
 * The default themes.
 */
Drupal.theme.prototype = {

  /**
   * Formats text for emphasized display in a placeholder inside a sentence.
   *
   * @param str
   *   The text to format (plain-text).
   * @return
   *   The formatted text (html).
   */
  placeholder: function(str) {
    return '<em>' + Drupal.checkPlain(str) + '</em>';
  }
};
;

/**
 * A progressbar object. Initialized with the given id. Must be inserted into
 * the DOM afterwards through progressBar.element.
 *
 * method is the function which will perform the HTTP request to get the
 * progress bar state. Either "GET" or "POST".
 *
 * e.g. pb = new progressBar('myProgressBar');
 *      some_element.appendChild(pb.element);
 */
Drupal.progressBar = function (id, updateCallback, method, errorCallback) {
  var pb = this;
  this.id = id;
  this.method = method || "GET";
  this.updateCallback = updateCallback;
  this.errorCallback = errorCallback;

  this.element = document.createElement('div');
  this.element.id = id;
  this.element.className = 'progress';
  $(this.element).html('<div class="bar"><div class="filled"></div></div>'+
                       '<div class="percentage"></div>'+
                       '<div class="message">&nbsp;</div>');
};

/**
 * Set the percentage and status message for the progressbar.
 */
Drupal.progressBar.prototype.setProgress = function (percentage, message) {
  if (percentage >= 0 && percentage <= 100) {
    $('div.filled', this.element).css('width', percentage +'%');
    $('div.percentage', this.element).html(percentage +'%');
  }
  $('div.message', this.element).html(message);
  if (this.updateCallback) {
    this.updateCallback(percentage, message, this);
  }
};

/**
 * Start monitoring progress via Ajax.
 */
Drupal.progressBar.prototype.startMonitoring = function (uri, delay) {
  this.delay = delay;
  this.uri = uri;
  this.sendPing();
};

/**
 * Stop monitoring progress via Ajax.
 */
Drupal.progressBar.prototype.stopMonitoring = function () {
  clearTimeout(this.timer);
  // This allows monitoring to be stopped from within the callback
  this.uri = null;
};

/**
 * Request progress data from server.
 */
Drupal.progressBar.prototype.sendPing = function () {
  if (this.timer) {
    clearTimeout(this.timer);
  }
  if (this.uri) {
    var pb = this;
    // When doing a post request, you need non-null data. Otherwise a
    // HTTP 411 or HTTP 406 (with Apache mod_security) error may result.
    $.ajax({
      type: this.method,
      url: this.uri,
      data: '',
      dataType: 'json',
      success: function (progress) {
        // Display errors
        if (progress.status == 0) {
          pb.displayError(progress.data);
          return;
        }
        // Update display
        pb.setProgress(progress.percentage, progress.message);
        // Schedule next timer
        pb.timer = setTimeout(function() { pb.sendPing(); }, pb.delay);
      },
      error: function (xmlhttp) {
        pb.displayError(Drupal.ahahError(xmlhttp, pb.uri));
      }
    });
  }
};

/**
 * Display errors on the page.
 */
Drupal.progressBar.prototype.displayError = function (string) {
  var error = document.createElement('div');
  error.className = 'error';
  error.innerHTML = string;

  $(this.element).before(error).hide();

  if (this.errorCallback) {
    this.errorCallback(this);
  }
};
;

$(document).ready(function() {

  // Attach onclick event to document only and catch clicks on all elements.
  $(document.body).click(function(event) {
    // Catch only the first parent link of a clicked element.
    $(event.target).parents("a:first,area:first").andSelf().filter("a,area").each(function() {

      var ga = Drupal.settings.googleanalytics;
      // Expression to check for absolute internal links.
      var isInternal = new RegExp("^(https?):\/\/" + window.location.host, "i");
      // Expression to check for special links like gotwo.module /go/* links.
      var isInternalSpecial = new RegExp("(\/go\/.*)$", "i");
      // Expression to check for download links.
      var isDownload = new RegExp("\\.(" + ga.trackDownloadExtensions + ")$", "i");

      // Is the clicked URL internal?
      if (isInternal.test(this.href)) {
        // Is download tracking activated and the file extension configured for download tracking?
        if (ga.trackDownload && isDownload.test(this.href)) {
          // Download link clicked.
          var extension = isDownload.exec(this.href);
          _gaq.push(["_trackEvent", "Downloads", extension[1].toUpperCase(), this.href.replace(isInternal, '')]);
        }
        else if (isInternalSpecial.test(this.href)) {
          // Keep the internal URL for Google Analytics website overlay intact.
          _gaq.push(["_trackPageview", this.href.replace(isInternal, '')]);
        }
      }
      else {
        if (ga.trackMailto && $(this).is("a[href^=mailto:],area[href^=mailto:]")) {
          // Mailto link clicked.
          _gaq.push(["_trackEvent", "Mails", "Click", this.href.substring(7)]);
        }
        else if (ga.trackOutgoing && this.href) {
          if (ga.trackOutboundAsPageview) {
            // Track all external links as page views after URL cleanup.
            // Currently required, if click should be tracked as goal.
            _gaq.push(["_trackPageview", '/outbound/' + this.href.replace(/^(https?|ftp|news|nntp|telnet|irc|ssh|sftp|webcal):\/\//i, '').split('/').join('--')]);
          }
          else {
            // External link clicked.
            _gaq.push(["_trackEvent", "Outbound links", "Click", this.href]);
          }
        }
      }
    });
  });
});
;
/* $Id: lightbox.js,v 1.5.2.6.2.136 2010/09/24 08:39:40 snpower Exp $ */

/**
 * jQuery Lightbox
 * @author
 *   Stella Power, <http://drupal.org/user/66894>
 *
 * Based on Lightbox v2.03.3 by Lokesh Dhakar
 * <http://www.huddletogether.com/projects/lightbox2/>
 * Also partially based on the jQuery Lightbox by Warren Krewenki
 *   <http://warren.mesozen.com>
 *
 * Permission has been granted to Mark Ashmead & other Drupal Lightbox2 module
 * maintainers to distribute this file via Drupal.org
 * Under GPL license.
 *
 * Slideshow, iframe and video functionality added by Stella Power.
 */

var Lightbox = {
  auto_modal : false,
  overlayOpacity : 0.8, // Controls transparency of shadow overlay.
  overlayColor : '000', // Controls colour of shadow overlay.
  disableCloseClick : true,
  // Controls the order of the lightbox resizing animation sequence.
  resizeSequence: 0, // 0: simultaneous, 1: width then height, 2: height then width.
  resizeSpeed: 'normal', // Controls the speed of the lightbox resizing animation.
  fadeInSpeed: 'normal', // Controls the speed of the image appearance.
  slideDownSpeed: 'slow', // Controls the speed of the image details appearance.
  minWidth: 240,
  borderSize : 10,
  boxColor : 'fff',
  fontColor : '000',
  topPosition : '',
  infoHeight: 20,
  alternative_layout : false,
  imageArray : [],
  imageNum : null,
  total : 0,
  activeImage : null,
  inprogress : false,
  disableResize : false,
  disableZoom : false,
  isZoomedIn : false,
  rtl : false,
  loopItems : false,
  keysClose : ['c', 'x', 27],
  keysPrevious : ['p', 37],
  keysNext : ['n', 39],
  keysZoom : ['z'],
  keysPlayPause : [32],

  // Slideshow options.
  slideInterval : 5000, // In milliseconds.
  showPlayPause : true,
  autoStart : true,
  autoExit : true,
  pauseOnNextClick : false, // True to pause the slideshow when the "Next" button is clicked.
  pauseOnPrevClick : true, // True to pause the slideshow when the "Prev" button is clicked.
  slideIdArray : [],
  slideIdCount : 0,
  isSlideshow : false,
  isPaused : false,
  loopSlides : false,

  // Iframe options.
  isLightframe : false,
  iframe_width : 600,
  iframe_height : 400,
  iframe_border : 1,

  // Video and modal options.
  enableVideo : false,
  flvPlayer : '/flvplayer.swf',
  flvFlashvars : '',
  isModal : false,
  isVideo : false,
  videoId : false,
  modalWidth : 400,
  modalHeight : 400,
  modalHTML : null,


  // initialize()
  // Constructor runs on completion of the DOM loading.
  // The function inserts html at the bottom of the page which is used
  // to display the shadow overlay and the image container.
  initialize: function() {

    var s = Drupal.settings.lightbox2;
    Lightbox.overlayOpacity = s.overlay_opacity;
    Lightbox.overlayColor = s.overlay_color;
    Lightbox.disableCloseClick = s.disable_close_click;
    Lightbox.resizeSequence = s.resize_sequence;
    Lightbox.resizeSpeed = s.resize_speed;
    Lightbox.fadeInSpeed = s.fade_in_speed;
    Lightbox.slideDownSpeed = s.slide_down_speed;
    Lightbox.borderSize = s.border_size;
    Lightbox.boxColor = s.box_color;
    Lightbox.fontColor = s.font_color;
    Lightbox.topPosition = s.top_position;
    Lightbox.rtl = s.rtl;
    Lightbox.loopItems = s.loop_items;
    Lightbox.keysClose = s.keys_close.split(" ");
    Lightbox.keysPrevious = s.keys_previous.split(" ");
    Lightbox.keysNext = s.keys_next.split(" ");
    Lightbox.keysZoom = s.keys_zoom.split(" ");
    Lightbox.keysPlayPause = s.keys_play_pause.split(" ");
    Lightbox.disableResize = s.disable_resize;
    Lightbox.disableZoom = s.disable_zoom;
    Lightbox.slideInterval = s.slideshow_interval;
    Lightbox.showPlayPause = s.show_play_pause;
    Lightbox.showCaption = s.show_caption;
    Lightbox.autoStart = s.slideshow_automatic_start;
    Lightbox.autoExit = s.slideshow_automatic_exit;
    Lightbox.pauseOnNextClick = s.pause_on_next_click;
    Lightbox.pauseOnPrevClick = s.pause_on_previous_click;
    Lightbox.loopSlides = s.loop_slides;
    Lightbox.alternative_layout = s.use_alt_layout;
    Lightbox.iframe_width = s.iframe_width;
    Lightbox.iframe_height = s.iframe_height;
    Lightbox.iframe_border = s.iframe_border;
    Lightbox.enableVideo = s.enable_video;
    if (s.enable_video) {
      Lightbox.flvPlayer = s.flvPlayer;
      Lightbox.flvFlashvars = s.flvFlashvars;
    }

    // Make the lightbox divs.
    var layout_class = (s.use_alt_layout ? 'lightbox2-alt-layout' : 'lightbox2-orig-layout');
    var output = '<div id="lightbox2-overlay" style="display: none;"></div>\
      <div id="lightbox" style="display: none;" class="' + layout_class + '">\
        <div id="outerImageContainer"></div>\
        <div id="imageDataContainer" class="clearfix">\
          <div id="imageData"></div>\
        </div>\
      </div>';
    var loading = '<div id="loading"><a href="#" id="loadingLink"></a></div>';
    var modal = '<div id="modalContainer" style="display: none;"></div>';
    var frame = '<div id="frameContainer" style="display: none;"></div>';
    var imageContainer = '<div id="imageContainer" style="display: none;"></div>';
    var details = '<div id="imageDetails"></div>';
    var bottomNav = '<div id="bottomNav"></div>';
    var image = '<img id="lightboxImage" alt="" />';
    var hoverNav = '<div id="hoverNav"><a id="prevLink" href="#"></a><a id="nextLink" href="#"></a></div>';
    var frameNav = '<div id="frameHoverNav"><a id="framePrevLink" href="#"></a><a id="frameNextLink" href="#"></a></div>';
    var hoverNav = '<div id="hoverNav"><a id="prevLink" title="' + Drupal.t('Previous') + '" href="#"></a><a id="nextLink" title="' + Drupal.t('Next') + '" href="#"></a></div>';
    var frameNav = '<div id="frameHoverNav"><a id="framePrevLink" title="' + Drupal.t('Previous') + '" href="#"></a><a id="frameNextLink" title="' + Drupal.t('Next') + '" href="#"></a></div>';
    var caption = '<span id="caption"></span>';
    var numberDisplay = '<span id="numberDisplay"></span>';
    var close = '<a id="bottomNavClose" title="' + Drupal.t('Close') + '" href="#"></a>';
    var zoom = '<a id="bottomNavZoom" href="#"></a>';
    var zoomOut = '<a id="bottomNavZoomOut" href="#"></a>';
    var pause = '<a id="lightshowPause" title="' + Drupal.t('Pause Slideshow') + '" href="#" style="display: none;"></a>';
    var play = '<a id="lightshowPlay" title="' + Drupal.t('Play Slideshow') + '" href="#" style="display: none;"></a>';

    $("body").append(output);
    $('#outerImageContainer').append(modal + frame + imageContainer + loading);
    if (!s.use_alt_layout) {
      $('#imageContainer').append(image + hoverNav);
      $('#imageData').append(details + bottomNav);
      $('#imageDetails').append(caption + numberDisplay);
      $('#bottomNav').append(frameNav + close + zoom + zoomOut + pause + play);
    }
    else {
      $('#outerImageContainer').append(bottomNav);
      $('#imageContainer').append(image);
      $('#bottomNav').append(close + zoom + zoomOut);
      $('#imageData').append(hoverNav + details);
      $('#imageDetails').append(caption + numberDisplay + pause + play);
    }

    // Setup onclick handlers.
    if (Lightbox.disableCloseClick) {
      $('#lightbox2-overlay').click(function() { Lightbox.end(); return false; } ).hide();
    }
    $('#loadingLink, #bottomNavClose').click(function() { Lightbox.end('forceClose'); return false; } );
    $('#prevLink, #framePrevLink').click(function() { Lightbox.changeData(Lightbox.activeImage - 1); return false; } );
    $('#nextLink, #frameNextLink').click(function() { Lightbox.changeData(Lightbox.activeImage + 1); return false; } );
    $('#bottomNavZoom').click(function() { Lightbox.changeData(Lightbox.activeImage, true); return false; } );
    $('#bottomNavZoomOut').click(function() { Lightbox.changeData(Lightbox.activeImage, false); return false; } );
    $('#lightshowPause').click(function() { Lightbox.togglePlayPause("lightshowPause", "lightshowPlay"); return false; } );
    $('#lightshowPlay').click(function() { Lightbox.togglePlayPause("lightshowPlay", "lightshowPause"); return false; } );

    // Fix positioning.
    $('#prevLink, #nextLink, #framePrevLink, #frameNextLink').css({ 'paddingTop': Lightbox.borderSize + 'px'});
    $('#imageContainer, #frameContainer, #modalContainer').css({ 'padding': Lightbox.borderSize + 'px'});
    $('#outerImageContainer, #imageDataContainer, #bottomNavClose').css({'backgroundColor': '#' + Lightbox.boxColor, 'color': '#'+Lightbox.fontColor});
    if (Lightbox.alternative_layout) {
      $('#bottomNavZoom, #bottomNavZoomOut').css({'bottom': Lightbox.borderSize + 'px', 'right': Lightbox.borderSize + 'px'});
    }
    else if (Lightbox.rtl == 1 && $.browser.msie) {
      $('#bottomNavZoom, #bottomNavZoomOut').css({'left': '0px'});
    }

    // Force navigation links to always be displayed
    if (s.force_show_nav) {
      $('#prevLink, #nextLink').addClass("force_show_nav");
    }

  },

  // initList()
  // Loops through anchor tags looking for 'lightbox', 'lightshow' and
  // 'lightframe', etc, references and applies onclick events to appropriate
  // links. You can rerun after dynamically adding images w/ajax.
  initList : function(context) {

    if (context == undefined || context == null) {
      context = document;
    }

    // Attach lightbox to any links with rel 'lightbox', 'lightshow' or
    // 'lightframe', etc.
    $("a[rel^='lightbox']:not(.lightbox-processed), area[rel^='lightbox']:not(.lightbox-processed)", context).addClass('lightbox-processed').click(function(e) {
      if (Lightbox.disableCloseClick) {
        $('#lightbox').unbind('click');
        $('#lightbox').click(function() { Lightbox.end('forceClose'); } );
      }
      Lightbox.start(this, false, false, false, false);
      if (e.preventDefault) { e.preventDefault(); }
      return false;
    });
    $("a[rel^='lightshow']:not(.lightbox-processed), area[rel^='lightshow']:not(.lightbox-processed)", context).addClass('lightbox-processed').click(function(e) {
      if (Lightbox.disableCloseClick) {
        $('#lightbox').unbind('click');
        $('#lightbox').click(function() { Lightbox.end('forceClose'); } );
      }
      Lightbox.start(this, true, false, false, false);
      if (e.preventDefault) { e.preventDefault(); }
      return false;
    });
    $("a[rel^='lightframe']:not(.lightbox-processed), area[rel^='lightframe']:not(.lightbox-processed)", context).addClass('lightbox-processed').click(function(e) {
      if (Lightbox.disableCloseClick) {
        $('#lightbox').unbind('click');
        $('#lightbox').click(function() { Lightbox.end('forceClose'); } );
      }
      Lightbox.start(this, false, true, false, false);
      if (e.preventDefault) { e.preventDefault(); }
      return false;
    });
    if (Lightbox.enableVideo) {
      $("a[rel^='lightvideo']:not(.lightbox-processed), area[rel^='lightvideo']:not(.lightbox-processed)", context).addClass('lightbox-processed').click(function(e) {
        if (Lightbox.disableCloseClick) {
          $('#lightbox').unbind('click');
          $('#lightbox').click(function() { Lightbox.end('forceClose'); } );
        }
        Lightbox.start(this, false, false, true, false);
        if (e.preventDefault) { e.preventDefault(); }
        return false;
      });
    }
    $("a[rel^='lightmodal']:not(.lightbox-processed), area[rel^='lightmodal']:not(.lightbox-processed)", context).addClass('lightbox-processed').click(function(e) {
      $('#lightbox').unbind('click');
      // Add classes from the link to the lightbox div - don't include lightbox-processed
      $('#lightbox').addClass($(this).attr('class'));
      $('#lightbox').removeClass('lightbox-processed');
      Lightbox.start(this, false, false, false, true);
      if (e.preventDefault) { e.preventDefault(); }
      return false;
    });
    $("#lightboxAutoModal:not(.lightbox-processed)", context).addClass('lightbox-processed').click(function(e) {
      Lightbox.auto_modal = true;
      $('#lightbox').unbind('click');
      Lightbox.start(this, false, false, false, true);
      if (e.preventDefault) { e.preventDefault(); }
      return false;
    });
  },

  // start()
  // Display overlay and lightbox. If image is part of a set, add siblings to
  // imageArray.
  start: function(imageLink, slideshow, lightframe, lightvideo, lightmodal) {

    Lightbox.isPaused = !Lightbox.autoStart;

    // Replaces hideSelectBoxes() and hideFlash() calls in original lightbox2.
    Lightbox.toggleSelectsFlash('hide');

    // Stretch overlay to fill page and fade in.
    var arrayPageSize = Lightbox.getPageSize();
    $("#lightbox2-overlay").hide().css({
      'width': '100%',
      'zIndex': '10090',
      'height': arrayPageSize[1] + 'px',
      'backgroundColor' : '#' + Lightbox.overlayColor
    });
    // Detect OS X FF2 opacity + flash issue.
    if (lightvideo && this.detectMacFF2()) {
      $("#lightbox2-overlay").removeClass("overlay_default");
      $("#lightbox2-overlay").addClass("overlay_macff2");
      $("#lightbox2-overlay").css({'opacity' : null});
    }
    else {
      $("#lightbox2-overlay").removeClass("overlay_macff2");
      $("#lightbox2-overlay").addClass("overlay_default");
      $("#lightbox2-overlay").css({'opacity' : Lightbox.overlayOpacity});
    }
    $("#lightbox2-overlay").fadeIn(Lightbox.fadeInSpeed);


    Lightbox.isSlideshow = slideshow;
    Lightbox.isLightframe = lightframe;
    Lightbox.isVideo = lightvideo;
    Lightbox.isModal = lightmodal;
    Lightbox.imageArray = [];
    Lightbox.imageNum = 0;

    var anchors = $(imageLink.tagName);
    var anchor = null;
    var rel_parts = Lightbox.parseRel(imageLink);
    var rel = rel_parts["rel"];
    var rel_group = rel_parts["group"];
    var title = (rel_parts["title"] ? rel_parts["title"] : imageLink.title);
    var rel_style = null;
    var i = 0;

    if (rel_parts["flashvars"]) {
      Lightbox.flvFlashvars = Lightbox.flvFlashvars + '&' + rel_parts["flashvars"];
    }

    // Set the title for image alternative text.
    var alt = imageLink.title;
    if (!alt) {
      var img = $(imageLink).find("img");
      if (img && $(img).attr("alt")) {
        alt = $(img).attr("alt");
      }
      else {
        alt = title;
      }
    }

    if ($(imageLink).attr('id') == 'lightboxAutoModal') {
      rel_style = rel_parts["style"];
      Lightbox.imageArray.push(['#lightboxAutoModal > *', title, alt, rel_style, 1]);
    }
    else {
      // Handle lightbox images with no grouping.
      if ((rel == 'lightbox' || rel == 'lightshow') && !rel_group) {
        Lightbox.imageArray.push([imageLink.href, title, alt]);
      }

      // Handle other items with no grouping.
      else if (!rel_group) {
        rel_style = rel_parts["style"];
        Lightbox.imageArray.push([imageLink.href, title, alt, rel_style]);
      }

      // Handle grouped items.
      else {

        // Loop through anchors and add them to imageArray.
        for (i = 0; i < anchors.length; i++) {
          anchor = anchors[i];
          if (anchor.href && typeof(anchor.href) == "string" && $(anchor).attr('rel')) {
            var rel_data = Lightbox.parseRel(anchor);
            var anchor_title = (rel_data["title"] ? rel_data["title"] : anchor.title);
            img_alt = anchor.title;
            if (!img_alt) {
              var anchor_img = $(anchor).find("img");
              if (anchor_img && $(anchor_img).attr("alt")) {
                img_alt = $(anchor_img).attr("alt");
              }
              else {
                img_alt = title;
              }
            }
            if (rel_data["rel"] == rel) {
              if (rel_data["group"] == rel_group) {
                if (Lightbox.isLightframe || Lightbox.isModal || Lightbox.isVideo) {
                  rel_style = rel_data["style"];
                }
                Lightbox.imageArray.push([anchor.href, anchor_title, img_alt, rel_style]);
              }
            }
          }
        }

        // Remove duplicates.
        for (i = 0; i < Lightbox.imageArray.length; i++) {
          for (j = Lightbox.imageArray.length-1; j > i; j--) {
            if (Lightbox.imageArray[i][0] == Lightbox.imageArray[j][0]) {
              Lightbox.imageArray.splice(j,1);
            }
          }
        }
        while (Lightbox.imageArray[Lightbox.imageNum][0] != imageLink.href) {
          Lightbox.imageNum++;
        }
      }
    }

    if (Lightbox.isSlideshow && Lightbox.showPlayPause && Lightbox.isPaused) {
      $('#lightshowPlay').show();
      $('#lightshowPause').hide();
    }

    // Calculate top and left offset for the lightbox.
    var arrayPageScroll = Lightbox.getPageScroll();
    var lightboxTop = arrayPageScroll[1] + (Lightbox.topPosition == '' ? (arrayPageSize[3] / 10) : Lightbox.topPosition) * 1;
    var lightboxLeft = arrayPageScroll[0];
    $('#frameContainer, #modalContainer, #lightboxImage').hide();
    $('#hoverNav, #prevLink, #nextLink, #frameHoverNav, #framePrevLink, #frameNextLink').hide();
    $('#imageDataContainer, #numberDisplay, #bottomNavZoom, #bottomNavZoomOut').hide();
    $('#outerImageContainer').css({'width': '250px', 'height': '250px'});
    $('#lightbox').css({
      'zIndex': '10500',
      'top': lightboxTop + 'px',
      'left': lightboxLeft + 'px'
    }).show();

    Lightbox.total = Lightbox.imageArray.length;
    Lightbox.changeData(Lightbox.imageNum);
  },

  // changeData()
  // Hide most elements and preload image in preparation for resizing image
  // container.
  changeData: function(imageNum, zoomIn) {

    if (Lightbox.inprogress === false) {
      if (Lightbox.total > 1 && ((Lightbox.isSlideshow && Lightbox.loopSlides) || (!Lightbox.isSlideshow && Lightbox.loopItems))) {
        if (imageNum >= Lightbox.total) imageNum = 0;
        if (imageNum < 0) imageNum = Lightbox.total - 1;
      }

      if (Lightbox.isSlideshow) {
        for (var i = 0; i < Lightbox.slideIdCount; i++) {
          window.clearTimeout(Lightbox.slideIdArray[i]);
        }
      }
      Lightbox.inprogress = true;
      Lightbox.activeImage = imageNum;

      if (Lightbox.disableResize && !Lightbox.isSlideshow) {
        zoomIn = true;
      }
      Lightbox.isZoomedIn = zoomIn;


      // Hide elements during transition.
      $('#loading').css({'zIndex': '10500'}).show();
      if (!Lightbox.alternative_layout) {
        $('#imageContainer').hide();
      }
      $('#frameContainer, #modalContainer, #lightboxImage').hide();
      $('#hoverNav, #prevLink, #nextLink, #frameHoverNav, #framePrevLink, #frameNextLink').hide();
      $('#imageDataContainer, #numberDisplay, #bottomNavZoom, #bottomNavZoomOut').hide();

      // Preload image content, but not iframe pages.
      if (!Lightbox.isLightframe && !Lightbox.isVideo && !Lightbox.isModal) {
        $("#lightbox #imageDataContainer").removeClass('lightbox2-alt-layout-data');
        imgPreloader = new Image();
        imgPreloader.onerror = function() { Lightbox.imgNodeLoadingError(this); };

        imgPreloader.onload = function() {
          var photo = document.getElementById('lightboxImage');
          photo.src = Lightbox.imageArray[Lightbox.activeImage][0];
          photo.alt = Lightbox.imageArray[Lightbox.activeImage][2];

          var imageWidth = imgPreloader.width;
          var imageHeight = imgPreloader.height;

          // Resize code.
          var arrayPageSize = Lightbox.getPageSize();
          var targ = { w:arrayPageSize[2] - (Lightbox.borderSize * 2), h:arrayPageSize[3] - (Lightbox.borderSize * 6) - (Lightbox.infoHeight * 4) - (arrayPageSize[3] / 10) };
          var orig = { w:imgPreloader.width, h:imgPreloader.height };

          // Image is very large, so show a smaller version of the larger image
          // with zoom button.
          if (zoomIn !== true) {
            var ratio = 1.0; // Shrink image with the same aspect.
            $('#bottomNavZoomOut, #bottomNavZoom').hide();
            if ((orig.w >= targ.w || orig.h >= targ.h) && orig.h && orig.w) {
              ratio = ((targ.w / orig.w) < (targ.h / orig.h)) ? targ.w / orig.w : targ.h / orig.h;
              if (!Lightbox.disableZoom && !Lightbox.isSlideshow) {
                $('#bottomNavZoom').css({'zIndex': '10500'}).show();
              }
            }

            imageWidth  = Math.floor(orig.w * ratio);
            imageHeight = Math.floor(orig.h * ratio);
          }

          else {
            $('#bottomNavZoom').hide();
            // Only display zoom out button if the image is zoomed in already.
            if ((orig.w >= targ.w || orig.h >= targ.h) && orig.h && orig.w) {
              // Only display zoom out button if not a slideshow and if the
              // buttons aren't disabled.
              if (!Lightbox.disableResize && Lightbox.isSlideshow === false && !Lightbox.disableZoom) {
                $('#bottomNavZoomOut').css({'zIndex': '10500'}).show();
              }
            }
          }

          photo.style.width = (imageWidth) + 'px';
          photo.style.height = (imageHeight) + 'px';
          Lightbox.resizeContainer(imageWidth, imageHeight);

          // Clear onLoad, IE behaves irratically with animated gifs otherwise.
          imgPreloader.onload = function() {};
        };

        imgPreloader.src = Lightbox.imageArray[Lightbox.activeImage][0];
        imgPreloader.alt = Lightbox.imageArray[Lightbox.activeImage][2];
      }

      // Set up frame size, etc.
      else if (Lightbox.isLightframe) {
        $("#lightbox #imageDataContainer").addClass('lightbox2-alt-layout-data');
        var src = Lightbox.imageArray[Lightbox.activeImage][0];
        $('#frameContainer').html('<iframe id="lightboxFrame" style="display: none;" src="'+src+'"></iframe>');

        // Enable swf support in Gecko browsers.
        if ($.browser.mozilla && src.indexOf('.swf') != -1) {
          setTimeout(function () {
            document.getElementById("lightboxFrame").src = Lightbox.imageArray[Lightbox.activeImage][0];
          }, 1000);
        }

        if (!Lightbox.iframe_border) {
          $('#lightboxFrame').css({'border': 'none'});
          $('#lightboxFrame').attr('frameborder', '0');
        }
        var iframe = document.getElementById('lightboxFrame');
        var iframeStyles = Lightbox.imageArray[Lightbox.activeImage][3];
        iframe = Lightbox.setStyles(iframe, iframeStyles);
        Lightbox.resizeContainer(parseInt(iframe.width, 10), parseInt(iframe.height, 10));
      }
      else if (Lightbox.isVideo || Lightbox.isModal) {
        $("#lightbox #imageDataContainer").addClass('lightbox2-alt-layout-data');
        var container = document.getElementById('modalContainer');
        var modalStyles = Lightbox.imageArray[Lightbox.activeImage][3];
        container = Lightbox.setStyles(container, modalStyles);
        if (Lightbox.isVideo) {
          Lightbox.modalHeight =  parseInt(container.height, 10) - 10;
          Lightbox.modalWidth =  parseInt(container.width, 10) - 10;
          Lightvideo.startVideo(Lightbox.imageArray[Lightbox.activeImage][0]);
        }
        Lightbox.resizeContainer(parseInt(container.width, 10), parseInt(container.height, 10));
      }
    }
  },

  // imgNodeLoadingError()
  imgNodeLoadingError: function(image) {
    var s = Drupal.settings.lightbox2;
    var original_image = Lightbox.imageArray[Lightbox.activeImage][0];
    if (s.display_image_size !== "") {
      original_image = original_image.replace(new RegExp("."+s.display_image_size), "");
    }
    Lightbox.imageArray[Lightbox.activeImage][0] = original_image;
    image.onerror = function() { Lightbox.imgLoadingError(image); };
    image.src = original_image;
  },

  // imgLoadingError()
  imgLoadingError: function(image) {
    var s = Drupal.settings.lightbox2;
    Lightbox.imageArray[Lightbox.activeImage][0] = s.default_image;
    image.src = s.default_image;
  },

  // resizeContainer()
  resizeContainer: function(imgWidth, imgHeight) {

    imgWidth = (imgWidth < Lightbox.minWidth ? Lightbox.minWidth : imgWidth);

    this.widthCurrent = $('#outerImageContainer').width();
    this.heightCurrent = $('#outerImageContainer').height();

    var widthNew = (imgWidth  + (Lightbox.borderSize * 2));
    var heightNew = (imgHeight  + (Lightbox.borderSize * 2));

    // Scalars based on change from old to new.
    this.xScale = ( widthNew / this.widthCurrent) * 100;
    this.yScale = ( heightNew / this.heightCurrent) * 100;

    // Calculate size difference between new and old image, and resize if
    // necessary.
    wDiff = this.widthCurrent - widthNew;
    hDiff = this.heightCurrent - heightNew;

    $('#modalContainer').css({'width': imgWidth, 'height': imgHeight});
    // Detect animation sequence.
    if (Lightbox.resizeSequence) {
      var animate1 = {width: widthNew};
      var animate2 = {height: heightNew};
      if (Lightbox.resizeSequence == 2) {
        animate1 = {height: heightNew};
        animate2 = {width: widthNew};
      }
      $('#outerImageContainer').animate(animate1, Lightbox.resizeSpeed).animate(animate2, Lightbox.resizeSpeed, 'linear', function() { Lightbox.showData(); });
    }
    // Simultaneous.
    else {
      $('#outerImageContainer').animate({'width': widthNew, 'height': heightNew}, Lightbox.resizeSpeed, 'linear', function() { Lightbox.showData(); });
    }

    // If new and old image are same size and no scaling transition is necessary
    // do a quick pause to prevent image flicker.
    if ((hDiff === 0) && (wDiff === 0)) {
      if ($.browser.msie) {
        Lightbox.pause(250);
      }
      else {
        Lightbox.pause(100);
      }
    }

    var s = Drupal.settings.lightbox2;
    if (!s.use_alt_layout) {
      $('#prevLink, #nextLink').css({'height': imgHeight + 'px'});
    }
    $('#imageDataContainer').css({'width': widthNew + 'px'});
  },

  // showData()
  // Display image and begin preloading neighbors.
  showData: function() {
    $('#loading').hide();

    if (Lightbox.isLightframe || Lightbox.isVideo || Lightbox.isModal) {
      Lightbox.updateDetails();
      if (Lightbox.isLightframe) {
        $('#frameContainer').show();
        if ($.browser.safari || Lightbox.fadeInSpeed === 0) {
          $('#lightboxFrame').css({'zIndex': '10500'}).show();
        }
        else {
          $('#lightboxFrame').css({'zIndex': '10500'}).fadeIn(Lightbox.fadeInSpeed);
        }
      }
      else {
        if (Lightbox.isVideo) {
          $("#modalContainer").html(Lightbox.modalHTML).click(function(){return false;}).css('zIndex', '10500').show();
        }
        else {
          var src = unescape(Lightbox.imageArray[Lightbox.activeImage][0]);
          if (Lightbox.imageArray[Lightbox.activeImage][4]) {
            $(src).appendTo("#modalContainer");
            $('#modalContainer').css({'zIndex': '10500'}).show();
          }
          else {
            // Use a callback to show the new image, otherwise you get flicker.
            $("#modalContainer").hide().load(src, function () {$('#modalContainer').css({'zIndex': '10500'}).show();});
          }
          $('#modalContainer').unbind('click');
        }
        // This might be needed in the Lightframe section above.
        //$('#modalContainer').css({'zIndex': '10500'}).show();
      }
    }

    // Handle display of image content.
    else {
      $('#imageContainer').show();
      if ($.browser.safari || Lightbox.fadeInSpeed === 0) {
        $('#lightboxImage').css({'zIndex': '10500'}).show();
      }
      else {
        $('#lightboxImage').css({'zIndex': '10500'}).fadeIn(Lightbox.fadeInSpeed);
      }
      Lightbox.updateDetails();
      this.preloadNeighborImages();
    }
    Lightbox.inprogress = false;

    // Slideshow specific stuff.
    if (Lightbox.isSlideshow) {
      if (!Lightbox.loopSlides && Lightbox.activeImage == (Lightbox.total - 1)) {
        if (Lightbox.autoExit) {
          Lightbox.slideIdArray[Lightbox.slideIdCount++] = setTimeout(function () {Lightbox.end('slideshow');}, Lightbox.slideInterval);
        }
      }
      else {
        if (!Lightbox.isPaused && Lightbox.total > 1) {
          Lightbox.slideIdArray[Lightbox.slideIdCount++] = setTimeout(function () {Lightbox.changeData(Lightbox.activeImage + 1);}, Lightbox.slideInterval);
        }
      }
      if (Lightbox.showPlayPause && Lightbox.total > 1 && !Lightbox.isPaused) {
        $('#lightshowPause').show();
        $('#lightshowPlay').hide();
      }
      else if (Lightbox.showPlayPause && Lightbox.total > 1) {
        $('#lightshowPause').hide();
        $('#lightshowPlay').show();
      }
    }

    // Adjust the page overlay size.
    var arrayPageSize = Lightbox.getPageSize();
    var arrayPageScroll = Lightbox.getPageScroll();
    var pageHeight = arrayPageSize[1];
    if (Lightbox.isZoomedIn && arrayPageSize[1] > arrayPageSize[3]) {
      var lightboxTop = (Lightbox.topPosition == '' ? (arrayPageSize[3] / 10) : Lightbox.topPosition) * 1;
      pageHeight = pageHeight + arrayPageScroll[1] + lightboxTop;
    }
    $('#lightbox2-overlay').css({'height': pageHeight + 'px', 'width': arrayPageSize[0] + 'px'});

    // Gecko browsers (e.g. Firefox, SeaMonkey, etc) don't handle pdfs as
    // expected.
    if ($.browser.mozilla) {
      if (Lightbox.imageArray[Lightbox.activeImage][0].indexOf(".pdf") != -1) {
        setTimeout(function () {
          document.getElementById("lightboxFrame").src = Lightbox.imageArray[Lightbox.activeImage][0];
        }, 1000);
      }
    }
  },

  // updateDetails()
  // Display caption, image number, and bottom nav.
  updateDetails: function() {

    $("#imageDataContainer").hide();

    var s = Drupal.settings.lightbox2;

    if (s.show_caption) {
      var caption = Lightbox.filterXSS(Lightbox.imageArray[Lightbox.activeImage][1]);
      if (!caption) caption = '';
      $('#caption').html(caption).css({'zIndex': '10500'}).show();
    }

    // If image is part of set display 'Image x of x'.
    var numberDisplay = null;
    if (s.image_count && Lightbox.total > 1) {
      var currentImage = Lightbox.activeImage + 1;
      if (!Lightbox.isLightframe && !Lightbox.isModal && !Lightbox.isVideo) {
        numberDisplay = s.image_count.replace(/\!current/, currentImage).replace(/\!total/, Lightbox.total);
      }
      else if (Lightbox.isVideo) {
        numberDisplay = s.video_count.replace(/\!current/, currentImage).replace(/\!total/, Lightbox.total);
      }
      else {
        numberDisplay = s.page_count.replace(/\!current/, currentImage).replace(/\!total/, Lightbox.total);
      }
      $('#numberDisplay').html(numberDisplay).css({'zIndex': '10500'}).show();
    }
    else {
      $('#numberDisplay').hide();
    }

    $("#imageDataContainer").hide().slideDown(Lightbox.slideDownSpeed, function() {
      $("#bottomNav").show();
    });
    if (Lightbox.rtl == 1) {
      $("#bottomNav").css({'float': 'left'});
    }
    Lightbox.updateNav();
  },

  // updateNav()
  // Display appropriate previous and next hover navigation.
  updateNav: function() {

    $('#hoverNav').css({'zIndex': '10500'}).show();
    var prevLink = '#prevLink';
    var nextLink = '#nextLink';

    // Slideshow is separated as we need to show play / pause button.
    if (Lightbox.isSlideshow) {
      if ((Lightbox.total > 1 && Lightbox.loopSlides) || Lightbox.activeImage !== 0) {
        $(prevLink).css({'zIndex': '10500'}).show().click(function() {
          if (Lightbox.pauseOnPrevClick) {
            Lightbox.togglePlayPause("lightshowPause", "lightshowPlay");
          }
          Lightbox.changeData(Lightbox.activeImage - 1); return false;
        });
      }
      else {
        $(prevLink).hide();
      }

      // If not last image in set, display next image button.
      if ((Lightbox.total > 1 && Lightbox.loopSlides) || Lightbox.activeImage != (Lightbox.total - 1)) {
        $(nextLink).css({'zIndex': '10500'}).show().click(function() {
          if (Lightbox.pauseOnNextClick) {
            Lightbox.togglePlayPause("lightshowPause", "lightshowPlay");
          }
          Lightbox.changeData(Lightbox.activeImage + 1); return false;
        });
      }
      // Safari browsers need to have hide() called again.
      else {
        $(nextLink).hide();
      }
    }

    // All other types of content.
    else {

      if ((Lightbox.isLightframe || Lightbox.isModal || Lightbox.isVideo) && !Lightbox.alternative_layout) {
        $('#frameHoverNav').css({'zIndex': '10500'}).show();
        $('#hoverNav').css({'zIndex': '10500'}).hide();
        prevLink = '#framePrevLink';
        nextLink = '#frameNextLink';
      }

      // If not first image in set, display prev image button.
      if ((Lightbox.total > 1 && Lightbox.loopItems) || Lightbox.activeImage !== 0) {
        // Unbind any other click handlers, otherwise this adds a new click handler
        // each time the arrow is clicked.
        $(prevLink).css({'zIndex': '10500'}).show().unbind().click(function() {
          Lightbox.changeData(Lightbox.activeImage - 1); return false;
        });
      }
      // Safari browsers need to have hide() called again.
      else {
        $(prevLink).hide();
      }

      // If not last image in set, display next image button.
      if ((Lightbox.total > 1 && Lightbox.loopItems) || Lightbox.activeImage != (Lightbox.total - 1)) {
        // Unbind any other click handlers, otherwise this adds a new click handler
        // each time the arrow is clicked.
        $(nextLink).css({'zIndex': '10500'}).show().unbind().click(function() {
          Lightbox.changeData(Lightbox.activeImage + 1); return false;
        });
      }
      // Safari browsers need to have hide() called again.
      else {
        $(nextLink).hide();
      }
    }

    // Don't enable keyboard shortcuts so forms will work.
    if (!Lightbox.isModal) {
      this.enableKeyboardNav();
    }
  },


  // enableKeyboardNav()
  enableKeyboardNav: function() {
    $(document).bind("keydown", this.keyboardAction);
  },

  // disableKeyboardNav()
  disableKeyboardNav: function() {
    $(document).unbind("keydown", this.keyboardAction);
  },

  // keyboardAction()
  keyboardAction: function(e) {
    if (e === null) { // IE.
      keycode = event.keyCode;
      escapeKey = 27;
    }
    else { // Mozilla.
      keycode = e.keyCode;
      escapeKey = e.DOM_VK_ESCAPE;
    }

    key = String.fromCharCode(keycode).toLowerCase();

    // Close lightbox.
    if (Lightbox.checkKey(Lightbox.keysClose, key, keycode)) {
      Lightbox.end('forceClose');
    }
    // Display previous image (p, <-).
    else if (Lightbox.checkKey(Lightbox.keysPrevious, key, keycode)) {
      if ((Lightbox.total > 1 && ((Lightbox.isSlideshow && Lightbox.loopSlides) || (!Lightbox.isSlideshow && Lightbox.loopItems))) || Lightbox.activeImage !== 0) {
        Lightbox.changeData(Lightbox.activeImage - 1);
      }

    }
    // Display next image (n, ->).
    else if (Lightbox.checkKey(Lightbox.keysNext, key, keycode)) {
      if ((Lightbox.total > 1 && ((Lightbox.isSlideshow && Lightbox.loopSlides) || (!Lightbox.isSlideshow && Lightbox.loopItems))) || Lightbox.activeImage != (Lightbox.total - 1)) {
        Lightbox.changeData(Lightbox.activeImage + 1);
      }
    }
    // Zoom in.
    else if (Lightbox.checkKey(Lightbox.keysZoom, key, keycode) && !Lightbox.disableResize && !Lightbox.disableZoom && !Lightbox.isSlideshow && !Lightbox.isLightframe) {
      if (Lightbox.isZoomedIn) {
        Lightbox.changeData(Lightbox.activeImage, false);
      }
      else if (!Lightbox.isZoomedIn) {
        Lightbox.changeData(Lightbox.activeImage, true);
      }
      return false;
    }
    // Toggle play / pause (space).
    else if (Lightbox.checkKey(Lightbox.keysPlayPause, key, keycode) && Lightbox.isSlideshow) {

      if (Lightbox.isPaused) {
        Lightbox.togglePlayPause("lightshowPlay", "lightshowPause");
      }
      else {
        Lightbox.togglePlayPause("lightshowPause", "lightshowPlay");
      }
      return false;
    }
  },

  preloadNeighborImages: function() {

    if ((Lightbox.total - 1) > Lightbox.activeImage) {
      preloadNextImage = new Image();
      preloadNextImage.src = Lightbox.imageArray[Lightbox.activeImage + 1][0];
    }
    if (Lightbox.activeImage > 0) {
      preloadPrevImage = new Image();
      preloadPrevImage.src = Lightbox.imageArray[Lightbox.activeImage - 1][0];
    }

  },

  end: function(caller) {
    var closeClick = (caller == 'slideshow' ? false : true);
    if (Lightbox.isSlideshow && Lightbox.isPaused && !closeClick) {
      return;
    }
    // To prevent double clicks on navigation links.
    if (Lightbox.inprogress === true && caller != 'forceClose') {
      return;
    }
    Lightbox.disableKeyboardNav();
    $('#lightbox').hide();
    $("#lightbox2-overlay").fadeOut();
    Lightbox.isPaused = true;
    Lightbox.inprogress = false;
    // Replaces calls to showSelectBoxes() and showFlash() in original
    // lightbox2.
    Lightbox.toggleSelectsFlash('visible');
    if (Lightbox.isSlideshow) {
      for (var i = 0; i < Lightbox.slideIdCount; i++) {
        window.clearTimeout(Lightbox.slideIdArray[i]);
      }
      $('#lightshowPause, #lightshowPlay').hide();
    }
    else if (Lightbox.isLightframe) {
      $('#frameContainer').empty().hide();
    }
    else if (Lightbox.isVideo || Lightbox.isModal) {
      if (!Lightbox.auto_modal) {
        $('#modalContainer').hide().html("");
      }
      Lightbox.auto_modal = false;
    }
  },


  // getPageScroll()
  // Returns array with x,y page scroll values.
  // Core code from - quirksmode.com.
  getPageScroll : function() {

    var xScroll, yScroll;

    if (self.pageYOffset || self.pageXOffset) {
      yScroll = self.pageYOffset;
      xScroll = self.pageXOffset;
    }
    else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {  // Explorer 6 Strict.
      yScroll = document.documentElement.scrollTop;
      xScroll = document.documentElement.scrollLeft;
    }
    else if (document.body) {// All other Explorers.
      yScroll = document.body.scrollTop;
      xScroll = document.body.scrollLeft;
    }

    arrayPageScroll = [xScroll,yScroll];
    return arrayPageScroll;
  },

  // getPageSize()
  // Returns array with page width, height and window width, height.
  // Core code from - quirksmode.com.
  // Edit for Firefox by pHaez.

  getPageSize : function() {

    var xScroll, yScroll;

    if (window.innerHeight && window.scrollMaxY) {
      xScroll = window.innerWidth + window.scrollMaxX;
      yScroll = window.innerHeight + window.scrollMaxY;
    }
    else if (document.body.scrollHeight > document.body.offsetHeight) { // All but Explorer Mac.
      xScroll = document.body.scrollWidth;
      yScroll = document.body.scrollHeight;
    }
    else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari.
      xScroll = document.body.offsetWidth;
      yScroll = document.body.offsetHeight;
    }

    var windowWidth, windowHeight;

    if (self.innerHeight) { // All except Explorer.
      if (document.documentElement.clientWidth) {
        windowWidth = document.documentElement.clientWidth;
      }
      else {
        windowWidth = self.innerWidth;
      }
      windowHeight = self.innerHeight;
    }
    else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode.
      windowWidth = document.documentElement.clientWidth;
      windowHeight = document.documentElement.clientHeight;
    }
    else if (document.body) { // Other Explorers.
      windowWidth = document.body.clientWidth;
      windowHeight = document.body.clientHeight;
    }
    // For small pages with total height less than height of the viewport.
    if (yScroll < windowHeight) {
      pageHeight = windowHeight;
    }
    else {
      pageHeight = yScroll;
    }
    // For small pages with total width less than width of the viewport.
    if (xScroll < windowWidth) {
      pageWidth = xScroll;
    }
    else {
      pageWidth = windowWidth;
    }
    arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight);
    return arrayPageSize;
  },


  // pause(numberMillis)
  pause : function(ms) {
    var date = new Date();
    var curDate = null;
    do { curDate = new Date(); }
    while (curDate - date < ms);
  },


  // toggleSelectsFlash()
  // Hide / unhide select lists and flash objects as they appear above the
  // lightbox in some browsers.
  toggleSelectsFlash: function (state) {
    if (state == 'visible') {
      $("select.lightbox_hidden, embed.lightbox_hidden, object.lightbox_hidden").show();
    }
    else if (state == 'hide') {
      $("select:visible, embed:visible, object:visible").not('#lightboxAutoModal select, #lightboxAutoModal embed, #lightboxAutoModal object').addClass("lightbox_hidden");
      $("select.lightbox_hidden, embed.lightbox_hidden, object.lightbox_hidden").hide();
    }
  },


  // parseRel()
  parseRel: function (link) {
    var parts = [];
    parts["rel"] = parts["title"] = parts["group"] = parts["style"] = parts["flashvars"] = null;
    if (!$(link).attr('rel')) return parts;
    parts["rel"] = $(link).attr('rel').match(/\w+/)[0];

    if ($(link).attr('rel').match(/\[(.*)\]/)) {
      var info = $(link).attr('rel').match(/\[(.*?)\]/)[1].split('|');
      parts["group"] = info[0];
      parts["style"] = info[1];
      if (parts["style"] != undefined && parts["style"].match(/flashvars:\s?(.*?);/)) {
        parts["flashvars"] = parts["style"].match(/flashvars:\s?(.*?);/)[1];
      }
    }
    if ($(link).attr('rel').match(/\[.*\]\[(.*)\]/)) {
      parts["title"] = $(link).attr('rel').match(/\[.*\]\[(.*)\]/)[1];
    }
    return parts;
  },

  // setStyles()
  setStyles: function(item, styles) {
    item.width = Lightbox.iframe_width;
    item.height = Lightbox.iframe_height;
    item.scrolling = "auto";

    if (!styles) return item;
    var stylesArray = styles.split(';');
    for (var i = 0; i< stylesArray.length; i++) {
      if (stylesArray[i].indexOf('width:') >= 0) {
        var w = stylesArray[i].replace('width:', '');
        item.width = jQuery.trim(w);
      }
      else if (stylesArray[i].indexOf('height:') >= 0) {
        var h = stylesArray[i].replace('height:', '');
        item.height = jQuery.trim(h);
      }
      else if (stylesArray[i].indexOf('scrolling:') >= 0) {
        var scrolling = stylesArray[i].replace('scrolling:', '');
        item.scrolling = jQuery.trim(scrolling);
      }
      else if (stylesArray[i].indexOf('overflow:') >= 0) {
        var overflow = stylesArray[i].replace('overflow:', '');
        item.overflow = jQuery.trim(overflow);
      }
    }
    return item;
  },


  // togglePlayPause()
  // Hide the pause / play button as appropriate.  If pausing the slideshow also
  // clear the timers, otherwise move onto the next image.
  togglePlayPause: function(hideId, showId) {
    if (Lightbox.isSlideshow && hideId == "lightshowPause") {
      for (var i = 0; i < Lightbox.slideIdCount; i++) {
        window.clearTimeout(Lightbox.slideIdArray[i]);
      }
    }
    $('#' + hideId).hide();
    $('#' + showId).show();

    if (hideId == "lightshowPlay") {
      Lightbox.isPaused = false;
      if (!Lightbox.loopSlides && Lightbox.activeImage == (Lightbox.total - 1)) {
        Lightbox.end();
      }
      else if (Lightbox.total > 1) {
        Lightbox.changeData(Lightbox.activeImage + 1);
      }
    }
    else {
      Lightbox.isPaused = true;
    }
  },

  triggerLightbox: function (rel_type, rel_group) {
    if (rel_type.length) {
      if (rel_group && rel_group.length) {
        $("a[rel^='" + rel_type +"\[" + rel_group + "\]'], area[rel^='" + rel_type +"\[" + rel_group + "\]']").eq(0).trigger("click");
      }
      else {
        $("a[rel^='" + rel_type +"'], area[rel^='" + rel_type +"']").eq(0).trigger("click");
      }
    }
  },

  detectMacFF2: function() {
    var ua = navigator.userAgent.toLowerCase();
    if (/firefox[\/\s](\d+\.\d+)/.test(ua)) {
      var ffversion = new Number(RegExp.$1);
      if (ffversion < 3 && ua.indexOf('mac') != -1) {
        return true;
      }
    }
    return false;
  },

  checkKey: function(keys, key, code) {
    return (jQuery.inArray(key, keys) != -1 || jQuery.inArray(String(code), keys) != -1);
  },

  filterXSS: function(str, allowed_tags) {
    var output = "";
    $.ajax({
      url: Drupal.settings.basePath + 'system/lightbox2/filter-xss',
      data: {
        'string' : str,
        'allowed_tags' : allowed_tags
      },
      type: "POST",
      async: false,
      dataType:  "json",
      success: function(data) {
        output = data;
      }
    });
    return output;
  }

};

// Initialize the lightbox.
Drupal.behaviors.initLightbox = function (context) {
  $('body:not(.lightbox-processed)', context).addClass('lightbox-processed').each(function() {
    Lightbox.initialize();
    return false; // Break the each loop.
  });

  // Attach lightbox to any links with lightbox rels.
  Lightbox.initList(context);
  $('#lightboxAutoModal', context).triggerHandler('click');
};

;
// $Id: mollom.js,v 1.2.2.13 2010/08/07 02:49:44 dries Exp $
(function ($) {

/**
 * Open Mollom privacy policy link in a new window.
 *
 * Required for valid XHTML Strict markup.
 */
Drupal.behaviors.mollomPrivacy = function (context) {
  $('.mollom-privacy a', context).click(function () {
    this.target = '_blank';
  });
};

/**
 * Attach click event handlers for CAPTCHA links.
 */
Drupal.behaviors.mollomCaptcha = function (context) {
  $('a.mollom-switch-captcha', context).click(getMollomCaptcha);
};

/**
 * Fetch a Mollom CAPTCHA and output the image or audio into the form.
 */
function getMollomCaptcha() {
  // Get the current requested CAPTCHA type from the clicked link.
  var newCaptchaType = $(this).hasClass('mollom-audio-captcha') ? 'audio' : 'image';

  var context = $(this).parents('form');

  // Extract the Mollom session id from the form.
  var mollomSessionId = $('input.mollom-session-id', context).val();

  // Retrieve a CAPTCHA:
  $.getJSON(Drupal.settings.basePath + 'mollom/captcha/' + newCaptchaType + '/' + mollomSessionId,
    function (data) {
      if (!(data && data.content)) {
        return;
      }
      // Inject new CAPTCHA.
      $('.mollom-captcha-content', context).parent().html(data.content);
      // Update session id.
      $('input.mollom-session-id', context).val(data.session_id);
      // Add an onclick-event handler for the new link.
      Drupal.attachBehaviors(context);
      // Focus on the CATPCHA input.
      $('input[name="mollom[captcha]"]', context).focus();
    }
  );
  return false;
}

})(jQuery);
;

/*
 * Superfish v1.4.8 - jQuery menu widget
 * Copyright (c) 2008 Joel Birch
 *
 * Dual licensed under the MIT and GPL licenses:
 * 	http://www.opensource.org/licenses/mit-license.php
 * 	http://www.gnu.org/licenses/gpl.html
 *
 * CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt
 */

;(function($){
	$.fn.superfish = function(op){

		var sf = $.fn.superfish,
			c = sf.c,
			$arrow = $(['<span class="',c.arrowClass,'"> &#187;</span>'].join('')),
			over = function(){
				var $$ = $(this), menu = getMenu($$);
				clearTimeout(menu.sfTimer);
				$$.showSuperfishUl().siblings().hideSuperfishUl();
			},
			out = function(){
				var $$ = $(this), menu = getMenu($$), o = sf.op;
				clearTimeout(menu.sfTimer);
				menu.sfTimer=setTimeout(function(){
					o.retainPath=($.inArray($$[0],o.$path)>-1);
					$$.hideSuperfishUl();
					if (o.$path.length && $$.parents(['li.',o.hoverClass].join('')).length<1){over.call(o.$path);}
				},o.delay);	
			},
			getMenu = function($menu){
				var menu = $menu.parents(['ul.',c.menuClass,':first'].join(''))[0];
				sf.op = sf.o[menu.serial];
				return menu;
			},
			addArrow = function($a){ $a.addClass(c.anchorClass).append($arrow.clone()); };
			
		return this.each(function() {
			var s = this.serial = sf.o.length;
			var o = $.extend({},sf.defaults,op);
			o.$path = $('li.'+o.pathClass,this).slice(0,o.pathLevels).each(function(){
				$(this).addClass([o.hoverClass,c.bcClass].join(' '))
					.filter('li:has(ul)').removeClass(o.pathClass);
			});
			sf.o[s] = sf.op = o;
			
			$('li:has(ul)',this)[($.fn.hoverIntent && !o.disableHI) ? 'hoverIntent' : 'hover'](over,out).each(function() {
				if (o.autoArrows) addArrow( $('>a:first-child',this) );
			})
			.not('.'+c.bcClass)
				.hideSuperfishUl();
			
			var $a = $('a',this);
			$a.each(function(i){
				var $li = $a.eq(i).parents('li');
				$a.eq(i).focus(function(){over.call($li);}).blur(function(){out.call($li);});
			});
			o.onInit.call(this);
			
		}).each(function() {
			var menuClasses = [c.menuClass];
			if (sf.op.dropShadows  && !($.browser.msie && $.browser.version < 7)) menuClasses.push(c.shadowClass);
			$(this).addClass(menuClasses.join(' '));
		});
	};

	var sf = $.fn.superfish;
	sf.o = [];
	sf.op = {};
	sf.IE7fix = function(){
		var o = sf.op;
		if ($.browser.msie && $.browser.version > 6 && o.dropShadows && o.animation.opacity!=undefined)
			this.toggleClass(sf.c.shadowClass+'-off');
		};
	sf.c = {
		bcClass     : 'sf-breadcrumb',
		menuClass   : 'sf-js-enabled',
		anchorClass : 'sf-with-ul',
		arrowClass  : 'sf-sub-indicator',
		shadowClass : 'sf-shadow'
	};
	sf.defaults = {
		hoverClass	: 'sfHover',
		pathClass	: 'overideThisToUse',
		pathLevels	: 1,
		delay		: 800,
		animation	: {opacity:'show'},
		speed		: 'normal',
		autoArrows	: true,
		dropShadows : true,
		disableHI	: false,		// true disables hoverIntent detection
		onInit		: function(){}, // callback functions
		onBeforeShow: function(){},
		onShow		: function(){},
		onHide		: function(){}
	};
	$.fn.extend({
		hideSuperfishUl : function(){
			var o = sf.op,
				not = (o.retainPath===true) ? o.$path : '';
			o.retainPath = false;
			var $ul = $(['li.',o.hoverClass].join(''),this).add(this).not(not).removeClass(o.hoverClass)
					.find('>ul').hide().css('visibility','hidden');
			o.onHide.call($ul);
			return this;
		},
		showSuperfishUl : function(){
			var o = sf.op,
				sh = sf.c.shadowClass+'-off',
				$ul = this.addClass(o.hoverClass)
					.find('>ul:hidden').css('visibility','visible');
			sf.IE7fix.call($ul);
			o.onBeforeShow.call($ul);
			$ul.animate(o.animation,o.speed,function(){ sf.IE7fix.call($ul); o.onShow.call($ul); });
			return this;
		}
	});

})(jQuery);
;
/* Copyright (c) 2006 Brandon Aaron (http://brandonaaron.net)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) 
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 *
 * $LastChangedDate: 2007-06-19 20:25:28 -0500 (Tue, 19 Jun 2007) $
 * $Rev: 2111 $
 *
 * Version 2.1
 */
(function($){$.fn.bgIframe=$.fn.bgiframe=function(s){if($.browser.msie&&parseInt($.browser.version)<=6){s=$.extend({top:'auto',left:'auto',width:'auto',height:'auto',opacity:true,src:'javascript:false;'},s||{});var prop=function(n){return n&&n.constructor==Number?n+'px':n;},html='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+s.src+'"'+'style="display:block;position:absolute;z-index:-1;'+(s.opacity!==false?'filter:Alpha(Opacity=\'0\');':'')+'top:'+(s.top=='auto'?'expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+\'px\')':prop(s.top))+';'+'left:'+(s.left=='auto'?'expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+\'px\')':prop(s.left))+';'+'width:'+(s.width=='auto'?'expression(this.parentNode.offsetWidth+\'px\')':prop(s.width))+';'+'height:'+(s.height=='auto'?'expression(this.parentNode.offsetHeight+\'px\')':prop(s.height))+';'+'"/>';return this.each(function(){if($('> iframe.bgiframe',this).length==0)this.insertBefore(document.createElement(html),this.firstChild);});}return this;};if(!$.browser.version)$.browser.version=navigator.userAgent.toLowerCase().match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)[1];})(jQuery);;
﻿/**
* hoverIntent r5 // 2007.03.27 // jQuery 1.1.2+
* <http://cherne.net/brian/resources/jquery.hoverIntent.html>
* 
* @param  f  onMouseOver function || An object with configuration options
* @param  g  onMouseOut function  || Nothing (use configuration options object)
* @author    Brian Cherne <brian@cherne.net>
*/
(function($){$.fn.hoverIntent=function(f,g){var cfg={sensitivity:7,interval:100,timeout:0};cfg=$.extend(cfg,g?{over:f,out:g}:f);var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY;};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY))<cfg.sensitivity){$(ob).unbind("mousemove",track);ob.hoverIntent_s=1;return cfg.over.apply(ob,[ev]);}else{pX=cX;pY=cY;ob.hoverIntent_t=setTimeout(function(){compare(ev,ob);},cfg.interval);}};var delay=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);ob.hoverIntent_s=0;return cfg.out.apply(ob,[ev]);};var handleHover=function(e){var p=(e.type=="mouseover"?e.fromElement:e.toElement)||e.relatedTarget;while(p&&p!=this){try{p=p.parentNode;}catch(e){p=this;}}if(p==this){return false;}var ev=jQuery.extend({},e);var ob=this;if(ob.hoverIntent_t){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);}if(e.type=="mouseover"){pX=ev.pageX;pY=ev.pageY;$(ob).bind("mousemove",track);if(ob.hoverIntent_s!=1){ob.hoverIntent_t=setTimeout(function(){compare(ev,ob);},cfg.interval);}}else{$(ob).unbind("mousemove",track);if(ob.hoverIntent_s==1){ob.hoverIntent_t=setTimeout(function(){delay(ev,ob);},cfg.timeout);}}};return this.mouseover(handleHover).mouseout(handleHover);};})(jQuery);;
// $Id: nice_menus.js,v 1.21 2010/06/18 06:14:12 vordude Exp $

// This uses Superfish 1.4.8
// (http://users.tpg.com.au/j_birch/plugins/superfish)

// Add Superfish to all Nice menus with some basic options.
(function ($) {
  $(document).ready(function() {
    $('ul.nice-menu').superfish({
      // Apply a generic hover class.
      hoverClass: 'over',
      // Disable generation of arrow mark-up.
      autoArrows: false,
      // Disable drop shadows.
      dropShadows: false,
      // Mouse delay.
      delay: Drupal.settings.nice_menus_options.delay,
      // Animation speed.
      speed: Drupal.settings.nice_menus_options.speed
    // Add in Brandon Aaron’s bgIframe plugin for IE select issues.
    // http://plugins.jquery.com/node/46/release
    }).find('ul').bgIframe({opacity:false});
    $('ul.nice-menu ul').css('display', 'none');
  });
})(jQuery);
;

/**
 * Ensure swftools namespace is established.
 */
var swftools = swftools || {};

/**
 * Establish jwPlayerReady namespace.
 */
swftools.jwPlayerReady = swftools.jwPlayerReady || {};

/**
 * Callback from LongTail player when an instance is initialized. 
 */
function playerReady(player) {
  swftools.jw5.pushInstance(player.id);
  player = swftools.getObject(player.id);
  
  // Attach listeners and handlers to the player
  jQuery.each(swftools.jwPlayerReady, function() {
    this(player);
  });

};


/**
 * Attach state tracking function to auto-pause players
 */
swftools.jwPlayerReady.swftools_jw5 = function(player) {
  player.addModelListener('STATE','swftools.jw5.stateTracker');
};


/**
* Define LongTail player functions here.
*/
swftools.jw5 = function() {
  var instances = [];
  var activePlayer = null;
  return {
    pushInstance: function(playerID) {
      instances.push(playerID);
    },
    stateTracker: function(player) {
      // States are: IDLE, BUFFERING, PLAYING, PAUSED, COMPLETED
      if (player.newstate == 'PAUSED' || player.newstate == 'COMPLETED') {
        activePlayer = null;
      }
      // Pause other players when another one starts
      if (player.newstate == 'PLAYING') {
        if (activePlayer && player.id != activePlayer) {
          swftools.jw5.pause(activePlayer);
        }
        activePlayer = player.id;
      }
    },
    play: function(playerID) {
      swftools.getObject(playerID).sendEvent('PLAY', 'true');
    },
    pause: function(playerID) {
      swftools.getObject(playerID).sendEvent('PLAY', 'false');
    },
    stop: function(playerID) {
      swftools.getObject(playerID).sendEvent('STOP');
    },
    mute: function(playerID) {
      swftools.getObject(playerID).sendEvent('MUTE', 'true');
    },
    unmute: function(playerID) {
      swftools.getObject(playerID).sendEvent('MUTE');
    }
  }
}();

Drupal.behaviors.swftools_jw5 = function (context) {
  $('[class^=jw5-accessible]:not(.swftools-jw5-processed)', context).addClass('swftools-jw5-processed').each(function () {
    $(this).click(function(){
      var classes = $(this).attr('class');
      var classes = classes.split(' ');
      var parts = classes[0].split('-');
      var idStarts = 16 + parts[2].length;
      var action = "swftools.jw5." + parts[2] + "('" + classes[0].substring(idStarts) + "')";
      eval(action);
      return false;
    });
  });
}
;

/**
 * Ensure swftools namespace is established.
 */
var swftools = swftools || {};

/**
 * Callback from OnePixelOut to stop all players when a player is stopped. 
 */
function ap_stopAll(playerID) {
  swftools.onepixelout.closeAll(playerID);
}

/**
 * Define OnePixelOut functions here.
 */
swftools.onepixelout = function() {
  var instances = [];
  return {
    pushInstance: function(playerID) {
      instances.push(playerID);
    },
    closeAll: function(playerID) {
      for(var i = 0; i < instances.length; i++) {
        player = swftools.getObject('swf-' + instances[i]);
        if(instances[i] != playerID) {
          player.SetVariable('closePlayer', 1);
        }
        else {
          player.SetVariable('closePlayer', 0);
        }
      }
    }
  }
}();

Drupal.behaviors.swftools_onepixelout = function (context) {
  $('.swftools-onepixelout:not(.swftools-onepixelout-processed)', context).addClass('swftools-onepixelout-processed').each(function () {
    swftools.onepixelout.pushInstance($(this).attr('id').substring(13));
  });
}
;
/*	SWFObject v2.2 <http://code.google.com/p/swfobject/> 
	is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> 
*/
var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null;if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ab=t.plugins[S].description;if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){T=true;X=false;ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10);ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10);ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof O.ActiveXObject!=D){try{var ad=new ActiveXObject(W);if(ad){ab=ad.GetVariable("$version");if(ab){X=true;ab=ab.split(" ")[1].split(",");ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}}catch(Z){}}}return{w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}}(),k=function(){if(!M.w3){return}if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){f()}if(!J){if(typeof j.addEventListener!=D){j.addEventListener("DOMContentLoaded",f,false)}if(M.ie&&M.win){j.attachEvent(x,function(){if(j.readyState=="complete"){j.detachEvent(x,arguments.callee);f()}});if(O==top){(function(){if(J){return}try{j.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}f()})()}}if(M.wk){(function(){if(J){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}f()})()}s(f)}}();function f(){if(J){return}try{var Z=j.getElementsByTagName("body")[0].appendChild(C("span"));Z.parentNode.removeChild(Z)}catch(aa){return}J=true;var X=U.length;for(var Y=0;Y<X;Y++){U[Y]()}}function K(X){if(J){X()}else{U[U.length]=X}}function s(Y){if(typeof O.addEventListener!=D){O.addEventListener("load",Y,false)}else{if(typeof j.addEventListener!=D){j.addEventListener("load",Y,false)}else{if(typeof O.attachEvent!=D){i(O,"onload",Y)}else{if(typeof O.onload=="function"){var X=O.onload;O.onload=function(){X();Y()}}else{O.onload=Y}}}}}function h(){if(T){V()}else{H()}}function V(){var X=j.getElementsByTagName("body")[0];var aa=C(r);aa.setAttribute("type",q);var Z=X.appendChild(aa);if(Z){var Y=0;(function(){if(typeof Z.GetVariable!=D){var ab=Z.GetVariable("$version");if(ab){ab=ab.split(" ")[1].split(",");M.pv=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}else{if(Y<10){Y++;setTimeout(arguments.callee,10);return}}X.removeChild(aa);Z=null;H()})()}else{H()}}function H(){var ag=o.length;if(ag>0){for(var af=0;af<ag;af++){var Y=o[af].id;var ab=o[af].callbackFn;var aa={success:false,id:Y};if(M.pv[0]>0){var ae=c(Y);if(ae){if(F(o[af].swfVersion)&&!(M.wk&&M.wk<312)){w(Y,true);if(ab){aa.success=true;aa.ref=z(Y);ab(aa)}}else{if(o[af].expressInstall&&A()){var ai={};ai.data=o[af].expressInstall;ai.width=ae.getAttribute("width")||"0";ai.height=ae.getAttribute("height")||"0";if(ae.getAttribute("class")){ai.styleclass=ae.getAttribute("class")}if(ae.getAttribute("align")){ai.align=ae.getAttribute("align")}var ah={};var X=ae.getElementsByTagName("param");var ac=X.length;for(var ad=0;ad<ac;ad++){if(X[ad].getAttribute("name").toLowerCase()!="movie"){ah[X[ad].getAttribute("name")]=X[ad].getAttribute("value")}}P(ai,ah,Y,ab)}else{p(ae);if(ab){ab(aa)}}}}}else{w(Y,true);if(ab){var Z=z(Y);if(Z&&typeof Z.SetVariable!=D){aa.success=true;aa.ref=Z}ab(aa)}}}}}function z(aa){var X=null;var Y=c(aa);if(Y&&Y.nodeName=="OBJECT"){if(typeof Y.SetVariable!=D){X=Y}else{var Z=Y.getElementsByTagName(r)[0];if(Z){X=Z}}}return X}function A(){return !a&&F("6.0.65")&&(M.win||M.mac)&&!(M.wk&&M.wk<312)}function P(aa,ab,X,Z){a=true;E=Z||null;B={success:false,id:X};var ae=c(X);if(ae){if(ae.nodeName=="OBJECT"){l=g(ae);Q=null}else{l=ae;Q=X}aa.id=R;if(typeof aa.width==D||(!/%$/.test(aa.width)&&parseInt(aa.width,10)<310)){aa.width="310"}if(typeof aa.height==D||(!/%$/.test(aa.height)&&parseInt(aa.height,10)<137)){aa.height="137"}j.title=j.title.slice(0,47)+" - Flash Player Installation";var ad=M.ie&&M.win?"ActiveX":"PlugIn",ac="MMredirectURL="+O.location.toString().replace(/&/g,"%26")+"&MMplayerType="+ad+"&MMdoctitle="+j.title;if(typeof ab.flashvars!=D){ab.flashvars+="&"+ac}else{ab.flashvars=ac}if(M.ie&&M.win&&ae.readyState!=4){var Y=C("div");X+="SWFObjectNew";Y.setAttribute("id",X);ae.parentNode.insertBefore(Y,ae);ae.style.display="none";(function(){if(ae.readyState==4){ae.parentNode.removeChild(ae)}else{setTimeout(arguments.callee,10)}})()}u(aa,ab,X)}}function p(Y){if(M.ie&&M.win&&Y.readyState!=4){var X=C("div");Y.parentNode.insertBefore(X,Y);X.parentNode.replaceChild(g(Y),X);Y.style.display="none";(function(){if(Y.readyState==4){Y.parentNode.removeChild(Y)}else{setTimeout(arguments.callee,10)}})()}else{Y.parentNode.replaceChild(g(Y),Y)}}function g(ab){var aa=C("div");if(M.win&&M.ie){aa.innerHTML=ab.innerHTML}else{var Y=ab.getElementsByTagName(r)[0];if(Y){var ad=Y.childNodes;if(ad){var X=ad.length;for(var Z=0;Z<X;Z++){if(!(ad[Z].nodeType==1&&ad[Z].nodeName=="PARAM")&&!(ad[Z].nodeType==8)){aa.appendChild(ad[Z].cloneNode(true))}}}}}return aa}function u(ai,ag,Y){var X,aa=c(Y);if(M.wk&&M.wk<312){return X}if(aa){if(typeof ai.id==D){ai.id=Y}if(M.ie&&M.win){var ah="";for(var ae in ai){if(ai[ae]!=Object.prototype[ae]){if(ae.toLowerCase()=="data"){ag.movie=ai[ae]}else{if(ae.toLowerCase()=="styleclass"){ah+=' class="'+ai[ae]+'"'}else{if(ae.toLowerCase()!="classid"){ah+=" "+ae+'="'+ai[ae]+'"'}}}}}var af="";for(var ad in ag){if(ag[ad]!=Object.prototype[ad]){af+='<param name="'+ad+'" value="'+ag[ad]+'" />'}}aa.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+ah+">"+af+"</object>";N[N.length]=ai.id;X=c(ai.id)}else{var Z=C(r);Z.setAttribute("type",q);for(var ac in ai){if(ai[ac]!=Object.prototype[ac]){if(ac.toLowerCase()=="styleclass"){Z.setAttribute("class",ai[ac])}else{if(ac.toLowerCase()!="classid"){Z.setAttribute(ac,ai[ac])}}}}for(var ab in ag){if(ag[ab]!=Object.prototype[ab]&&ab.toLowerCase()!="movie"){e(Z,ab,ag[ab])}}aa.parentNode.replaceChild(Z,aa);X=Z}}return X}function e(Z,X,Y){var aa=C("param");aa.setAttribute("name",X);aa.setAttribute("value",Y);Z.appendChild(aa)}function y(Y){var X=c(Y);if(X&&X.nodeName=="OBJECT"){if(M.ie&&M.win){X.style.display="none";(function(){if(X.readyState==4){b(Y)}else{setTimeout(arguments.callee,10)}})()}else{X.parentNode.removeChild(X)}}}function b(Z){var Y=c(Z);if(Y){for(var X in Y){if(typeof Y[X]=="function"){Y[X]=null}}Y.parentNode.removeChild(Y)}}function c(Z){var X=null;try{X=j.getElementById(Z)}catch(Y){}return X}function C(X){return j.createElement(X)}function i(Z,X,Y){Z.attachEvent(X,Y);I[I.length]=[Z,X,Y]}function F(Z){var Y=M.pv,X=Z.split(".");X[0]=parseInt(X[0],10);X[1]=parseInt(X[1],10)||0;X[2]=parseInt(X[2],10)||0;return(Y[0]>X[0]||(Y[0]==X[0]&&Y[1]>X[1])||(Y[0]==X[0]&&Y[1]==X[1]&&Y[2]>=X[2]))?true:false}function v(ac,Y,ad,ab){if(M.ie&&M.mac){return}var aa=j.getElementsByTagName("head")[0];if(!aa){return}var X=(ad&&typeof ad=="string")?ad:"screen";if(ab){n=null;G=null}if(!n||G!=X){var Z=C("style");Z.setAttribute("type","text/css");Z.setAttribute("media",X);n=aa.appendChild(Z);if(M.ie&&M.win&&typeof j.styleSheets!=D&&j.styleSheets.length>0){n=j.styleSheets[j.styleSheets.length-1]}G=X}if(M.ie&&M.win){if(n&&typeof n.addRule==r){n.addRule(ac,Y)}}else{if(n&&typeof j.createTextNode!=D){n.appendChild(j.createTextNode(ac+" {"+Y+"}"))}}}function w(Z,X){if(!m){return}var Y=X?"visible":"hidden";if(J&&c(Z)){c(Z).style.visibility=Y}else{v("#"+Z,"visibility:"+Y)}}function L(Y){var Z=/[\\\"<>\.;]/;var X=Z.exec(Y)!=null;return X&&typeof encodeURIComponent!=D?encodeURIComponent(Y):Y}var d=function(){if(M.ie&&M.win){window.attachEvent("onunload",function(){var ac=I.length;for(var ab=0;ab<ac;ab++){I[ab][0].detachEvent(I[ab][1],I[ab][2])}var Z=N.length;for(var aa=0;aa<Z;aa++){y(N[aa])}for(var Y in M){M[Y]=null}M=null;for(var X in swfobject){swfobject[X]=null}swfobject=null})}}();return{registerObject:function(ab,X,aa,Z){if(M.w3&&ab&&X){var Y={};Y.id=ab;Y.swfVersion=X;Y.expressInstall=aa;Y.callbackFn=Z;o[o.length]=Y;w(ab,false)}else{if(Z){Z({success:false,id:ab})}}},getObjectById:function(X){if(M.w3){return z(X)}},embedSWF:function(ab,ah,ae,ag,Y,aa,Z,ad,af,ac){var X={success:false,id:ah};if(M.w3&&!(M.wk&&M.wk<312)&&ab&&ah&&ae&&ag&&Y){w(ah,false);K(function(){ae+="";ag+="";var aj={};if(af&&typeof af===r){for(var al in af){aj[al]=af[al]}}aj.data=ab;aj.width=ae;aj.height=ag;var am={};if(ad&&typeof ad===r){for(var ak in ad){am[ak]=ad[ak]}}if(Z&&typeof Z===r){for(var ai in Z){if(typeof am.flashvars!=D){am.flashvars+="&"+ai+"="+Z[ai]}else{am.flashvars=ai+"="+Z[ai]}}}if(F(Y)){var an=u(aj,am,ah);if(aj.id==ah){w(ah,true)}X.success=true;X.ref=an}else{if(aa&&A()){aj.data=aa;P(aj,am,ah,ac);return}else{w(ah,true)}}if(ac){ac(X)}})}else{if(ac){ac(X)}}},switchOffAutoHideShow:function(){m=false},ua:M,getFlashPlayerVersion:function(){return{major:M.pv[0],minor:M.pv[1],release:M.pv[2]}},hasFlashPlayerVersion:F,createSWF:function(Z,Y,X){if(M.w3){return u(Z,Y,X)}else{return undefined}},showExpressInstall:function(Z,aa,X,Y){if(M.w3&&A()){P(Z,aa,X,Y)}},removeSWF:function(X){if(M.w3){y(X)}},createCSS:function(aa,Z,Y,X){if(M.w3){v(aa,Z,Y,X)}},addDomLoadEvent:K,addLoadEvent:s,getQueryParamValue:function(aa){var Z=j.location.search||j.location.hash;if(Z){if(/\?/.test(Z)){Z=Z.split("?")[1]}if(aa==null){return L(Z)}var Y=Z.split("&");for(var X=0;X<Y.length;X++){if(Y[X].substring(0,Y[X].indexOf("="))==aa){return L(Y[X].substring((Y[X].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(a){var X=c(R);if(X&&l){X.parentNode.replaceChild(l,X);if(Q){w(Q,true);if(M.ie&&M.win){l.style.display="block"}}if(E){E(B)}}a=false}}}}();;

/**
 * Ensure swftools namespace is established.
 */
var swftools = swftools || {};

/**
 * Returns a DOM object that points to the flash content with the supplied id. 
 */
swftools.getObject = function(objectID) {
  
  // Get the base object
  swftoolsObject = document.getElementById(objectID);
  
  // See if we can get the object like this (IE/Chrome)
  if (typeof swftoolsObject == 'object') {
    return swftoolsObject;
  }
  // See if we can get the object like this (FF with swfobject embedding)
  if (typeof swftoolsObject.attributes.type != 'undefined' && swftoolsObject.attributes.type.value == 'application/x-shockwave-flash') {
    return swftoolsObject;
  }
  // Otherwise try this (FF with direct embedding)
  return swftoolsObject.getElementsByTagName('object')[0];
}
;
/*
 * jQuery Cycle Plugin (with Transition Definitions)
 * Examples and documentation at: http://jquery.malsup.com/cycle/
 * Copyright (c) 2007-2010 M. Alsup
 * Version: 2.88 (08-JUN-2010)
 * Dual licensed under the MIT and GPL licenses.
 * http://jquery.malsup.com/license.html
 * Requires: jQuery v1.2.6 or later
 */
(function($){var ver="2.88";if($.support==undefined){$.support={opacity:!($.browser.msie)};}function debug(s){if($.fn.cycle.debug){log(s);}}function log(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "));}}$.fn.cycle=function(options,arg2){var o={s:this.selector,c:this.context};if(this.length===0&&options!="stop"){if(!$.isReady&&o.s){log("DOM not ready, queuing slideshow");$(function(){$(o.s,o.c).cycle(options,arg2);});return this;}log("terminating; zero elements found by selector"+($.isReady?"":" (DOM not ready)"));return this;}return this.each(function(){var opts=handleArguments(this,options,arg2);if(opts===false){return;}opts.updateActivePagerLink=opts.updateActivePagerLink||$.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout);}this.cycleTimeout=this.cyclePause=0;var $cont=$(this);var $slides=opts.slideExpr?$(opts.slideExpr,this):$cont.children();var els=$slides.get();if(els.length<2){log("terminating; too few slides: "+els.length);return;}var opts2=buildOptions($cont,$slides,els,opts,o);if(opts2===false){return;}var startTime=opts2.continuous?10:getTimeout(els[opts2.currSlide],els[opts2.nextSlide],opts2,!opts2.rev);if(startTime){startTime+=(opts2.delay||0);if(startTime<10){startTime=10;}debug("first timeout: "+startTime);this.cycleTimeout=setTimeout(function(){go(els,opts2,0,(!opts2.rev&&!opts.backwards));},startTime);}});};function handleArguments(cont,options,arg2){if(cont.cycleStop==undefined){cont.cycleStop=0;}if(options===undefined||options===null){options={};}if(options.constructor==String){switch(options){case"destroy":case"stop":var opts=$(cont).data("cycle.opts");if(!opts){return false;}cont.cycleStop++;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);}cont.cycleTimeout=0;$(cont).removeData("cycle.opts");if(options=="destroy"){destroy(opts);}return false;case"toggle":cont.cyclePause=(cont.cyclePause===1)?0:1;checkInstantResume(cont.cyclePause,arg2,cont);return false;case"pause":cont.cyclePause=1;return false;case"resume":cont.cyclePause=0;checkInstantResume(false,arg2,cont);return false;case"prev":case"next":var opts=$(cont).data("cycle.opts");if(!opts){log('options not found, "prev/next" ignored');return false;}$.fn.cycle[options](opts);return false;default:options={fx:options};}return options;}else{if(options.constructor==Number){var num=options;options=$(cont).data("cycle.opts");if(!options){log("options not found, can not advance slide");return false;}if(num<0||num>=options.elements.length){log("invalid slide index: "+num);return false;}options.nextSlide=num;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}if(typeof arg2=="string"){options.oneTimeFx=arg2;}go(options.elements,options,1,num>=options.currSlide);return false;}}return options;function checkInstantResume(isPaused,arg2,cont){if(!isPaused&&arg2===true){var options=$(cont).data("cycle.opts");if(!options){log("options not found, can not resume");return false;}if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}go(options.elements,options,1,(!opts.rev&&!opts.backwards));}}}function removeFilter(el,opts){if(!$.support.opacity&&opts.cleartype&&el.style.filter){try{el.style.removeAttribute("filter");}catch(smother){}}}function destroy(opts){if(opts.next){$(opts.next).unbind(opts.prevNextEvent);}if(opts.prev){$(opts.prev).unbind(opts.prevNextEvent);}if(opts.pager||opts.pagerAnchorBuilder){$.each(opts.pagerAnchors||[],function(){this.unbind().remove();});}opts.pagerAnchors=null;if(opts.destroy){opts.destroy(opts);}}function buildOptions($cont,$slides,els,options,o){var opts=$.extend({},$.fn.cycle.defaults,options||{},$.metadata?$cont.metadata():$.meta?$cont.data():{});if(opts.autostop){opts.countdown=opts.autostopCount||els.length;}var cont=$cont[0];$cont.data("cycle.opts",opts);opts.$cont=$cont;opts.stopCount=cont.cycleStop;opts.elements=els;opts.before=opts.before?[opts.before]:[];opts.after=opts.after?[opts.after]:[];opts.after.unshift(function(){opts.busy=0;});if(!$.support.opacity&&opts.cleartype){opts.after.push(function(){removeFilter(this,opts);});}if(opts.continuous){opts.after.push(function(){go(els,opts,0,(!opts.rev&&!opts.backwards));});}saveOriginalOpts(opts);if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($slides);}if($cont.css("position")=="static"){$cont.css("position","relative");}if(opts.width){$cont.width(opts.width);}if(opts.height&&opts.height!="auto"){$cont.height(opts.height);}if(opts.startingSlide){opts.startingSlide=parseInt(opts.startingSlide);}else{if(opts.backwards){opts.startingSlide=els.length-1;}}if(opts.random){opts.randomMap=[];for(var i=0;i<els.length;i++){opts.randomMap.push(i);}opts.randomMap.sort(function(a,b){return Math.random()-0.5;});opts.randomIndex=1;opts.startingSlide=opts.randomMap[1];}else{if(opts.startingSlide>=els.length){opts.startingSlide=0;}}opts.currSlide=opts.startingSlide||0;var first=opts.startingSlide;$slides.css({position:"absolute",top:0,left:0}).hide().each(function(i){var z;if(opts.backwards){z=first?i<=first?els.length+(i-first):first-i:els.length-i;}else{z=first?i>=first?els.length-(i-first):first-i:els.length-i;}$(this).css("z-index",z);});$(els[first]).css("opacity",1).show();removeFilter(els[first],opts);if(opts.fit&&opts.width){$slides.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$slides.height(opts.height);}var reshape=opts.containerResize&&!$cont.innerHeight();if(reshape){var maxw=0,maxh=0;for(var j=0;j<els.length;j++){var $e=$(els[j]),e=$e[0],w=$e.outerWidth(),h=$e.outerHeight();if(!w){w=e.offsetWidth||e.width||$e.attr("width");}if(!h){h=e.offsetHeight||e.height||$e.attr("height");}maxw=w>maxw?w:maxw;maxh=h>maxh?h:maxh;}if(maxw>0&&maxh>0){$cont.css({width:maxw+"px",height:maxh+"px"});}}if(opts.pause){$cont.hover(function(){this.cyclePause++;},function(){this.cyclePause--;});}if(supportMultiTransitions(opts)===false){return false;}var requeue=false;options.requeueAttempts=options.requeueAttempts||0;$slides.each(function(){var $el=$(this);this.cycleH=(opts.fit&&opts.height)?opts.height:($el.height()||this.offsetHeight||this.height||$el.attr("height")||0);this.cycleW=(opts.fit&&opts.width)?opts.width:($el.width()||this.offsetWidth||this.width||$el.attr("width")||0);if($el.is("img")){var loadingIE=($.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var loadingFF=($.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var loadingOp=($.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var loadingOther=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(loadingIE||loadingFF||loadingOp||loadingOther){if(o.s&&opts.requeueOnImageNotLoaded&&++options.requeueAttempts<100){log(options.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){$(o.s,o.c).cycle(options);},opts.requeueTimeout);requeue=true;return false;}else{log("could not determine size of image: "+this.src,this.cycleW,this.cycleH);}}}return true;});if(requeue){return false;}opts.cssBefore=opts.cssBefore||{};opts.animIn=opts.animIn||{};opts.animOut=opts.animOut||{};$slides.not(":eq("+first+")").css(opts.cssBefore);if(opts.cssFirst){$($slides[first]).css(opts.cssFirst);}if(opts.timeout){opts.timeout=parseInt(opts.timeout);if(opts.speed.constructor==String){opts.speed=$.fx.speeds[opts.speed]||parseInt(opts.speed);}if(!opts.sync){opts.speed=opts.speed/2;}var buffer=opts.fx=="shuffle"?500:250;while((opts.timeout-opts.speed)<buffer){opts.timeout+=opts.speed;}}if(opts.easing){opts.easeIn=opts.easeOut=opts.easing;}if(!opts.speedIn){opts.speedIn=opts.speed;}if(!opts.speedOut){opts.speedOut=opts.speed;}opts.slideCount=els.length;opts.currSlide=opts.lastSlide=first;if(opts.random){if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.backwards){opts.nextSlide=opts.startingSlide==0?(els.length-1):opts.startingSlide-1;}else{opts.nextSlide=opts.startingSlide>=(els.length-1)?0:opts.startingSlide+1;}}if(!opts.multiFx){var init=$.fn.cycle.transitions[opts.fx];if($.isFunction(init)){init($cont,$slides,opts);}else{if(opts.fx!="custom"&&!opts.multiFx){log("unknown transition: "+opts.fx,"; slideshow terminating");return false;}}}var e0=$slides[first];if(opts.before.length){opts.before[0].apply(e0,[e0,e0,opts,true]);}if(opts.after.length>1){opts.after[1].apply(e0,[e0,e0,opts,true]);}if(opts.next){$(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,opts.rev?-1:1);});}if(opts.prev){$(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,opts.rev?1:-1);});}if(opts.pager||opts.pagerAnchorBuilder){buildPager(els,opts);}exposeAddSlide(opts,els);return opts;}function saveOriginalOpts(opts){opts.original={before:[],after:[]};opts.original.cssBefore=$.extend({},opts.cssBefore);opts.original.cssAfter=$.extend({},opts.cssAfter);opts.original.animIn=$.extend({},opts.animIn);opts.original.animOut=$.extend({},opts.animOut);$.each(opts.before,function(){opts.original.before.push(this);});$.each(opts.after,function(){opts.original.after.push(this);});}function supportMultiTransitions(opts){var i,tx,txs=$.fn.cycle.transitions;if(opts.fx.indexOf(",")>0){opts.multiFx=true;opts.fxs=opts.fx.replace(/\s*/g,"").split(",");for(i=0;i<opts.fxs.length;i++){var fx=opts.fxs[i];tx=txs[fx];if(!tx||!txs.hasOwnProperty(fx)||!$.isFunction(tx)){log("discarding unknown transition: ",fx);opts.fxs.splice(i,1);i--;}}if(!opts.fxs.length){log("No valid transitions named; slideshow terminating.");return false;}}else{if(opts.fx=="all"){opts.multiFx=true;opts.fxs=[];for(p in txs){tx=txs[p];if(txs.hasOwnProperty(p)&&$.isFunction(tx)){opts.fxs.push(p);}}}}if(opts.multiFx&&opts.randomizeEffects){var r1=Math.floor(Math.random()*20)+30;for(i=0;i<r1;i++){var r2=Math.floor(Math.random()*opts.fxs.length);opts.fxs.push(opts.fxs.splice(r2,1)[0]);}debug("randomized fx sequence: ",opts.fxs);}return true;}function exposeAddSlide(opts,els){opts.addSlide=function(newSlide,prepend){var $s=$(newSlide),s=$s[0];if(!opts.autostopCount){opts.countdown++;}els[prepend?"unshift":"push"](s);if(opts.els){opts.els[prepend?"unshift":"push"](s);}opts.slideCount=els.length;$s.css("position","absolute");$s[prepend?"prependTo":"appendTo"](opts.$cont);if(prepend){opts.currSlide++;opts.nextSlide++;}if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($s);}if(opts.fit&&opts.width){$s.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$slides.height(opts.height);}s.cycleH=(opts.fit&&opts.height)?opts.height:$s.height();s.cycleW=(opts.fit&&opts.width)?opts.width:$s.width();$s.css(opts.cssBefore);if(opts.pager||opts.pagerAnchorBuilder){$.fn.cycle.createPagerAnchor(els.length-1,s,$(opts.pager),els,opts);}if($.isFunction(opts.onAddSlide)){opts.onAddSlide($s);}else{$s.hide();}};}$.fn.cycle.resetState=function(opts,fx){fx=fx||opts.fx;opts.before=[];opts.after=[];opts.cssBefore=$.extend({},opts.original.cssBefore);opts.cssAfter=$.extend({},opts.original.cssAfter);opts.animIn=$.extend({},opts.original.animIn);opts.animOut=$.extend({},opts.original.animOut);opts.fxFn=null;$.each(opts.original.before,function(){opts.before.push(this);});$.each(opts.original.after,function(){opts.after.push(this);});var init=$.fn.cycle.transitions[fx];if($.isFunction(init)){init(opts.$cont,$(opts.elements),opts);}};function go(els,opts,manual,fwd){if(manual&&opts.busy&&opts.manualTrump){debug("manualTrump in go(), stopping active transition");$(els).stop(true,true);opts.busy=false;}if(opts.busy){debug("transition active, ignoring new tx request");return;}var p=opts.$cont[0],curr=els[opts.currSlide],next=els[opts.nextSlide];if(p.cycleStop!=opts.stopCount||p.cycleTimeout===0&&!manual){return;}if(!manual&&!p.cyclePause&&!opts.bounce&&((opts.autostop&&(--opts.countdown<=0))||(opts.nowrap&&!opts.random&&opts.nextSlide<opts.currSlide))){if(opts.end){opts.end(opts);}return;}var changed=false;if((manual||!p.cyclePause)&&(opts.nextSlide!=opts.currSlide)){changed=true;var fx=opts.fx;curr.cycleH=curr.cycleH||$(curr).height();curr.cycleW=curr.cycleW||$(curr).width();next.cycleH=next.cycleH||$(next).height();next.cycleW=next.cycleW||$(next).width();if(opts.multiFx){if(opts.lastFx==undefined||++opts.lastFx>=opts.fxs.length){opts.lastFx=0;}fx=opts.fxs[opts.lastFx];opts.currFx=fx;}if(opts.oneTimeFx){fx=opts.oneTimeFx;opts.oneTimeFx=null;}$.fn.cycle.resetState(opts,fx);if(opts.before.length){$.each(opts.before,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});}var after=function(){$.each(opts.after,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});};debug("tx firing; currSlide: "+opts.currSlide+"; nextSlide: "+opts.nextSlide);opts.busy=1;if(opts.fxFn){opts.fxFn(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{if($.isFunction($.fn.cycle[opts.fx])){$.fn.cycle[opts.fx](curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{$.fn.cycle.custom(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}}}if(changed||opts.nextSlide==opts.currSlide){opts.lastSlide=opts.currSlide;if(opts.random){opts.currSlide=opts.nextSlide;if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];if(opts.nextSlide==opts.currSlide){opts.nextSlide=(opts.currSlide==opts.slideCount-1)?0:opts.currSlide+1;}}else{if(opts.backwards){var roll=(opts.nextSlide-1)<0;if(roll&&opts.bounce){opts.backwards=!opts.backwards;opts.nextSlide=1;opts.currSlide=0;}else{opts.nextSlide=roll?(els.length-1):opts.nextSlide-1;opts.currSlide=roll?0:opts.nextSlide+1;}}else{var roll=(opts.nextSlide+1)==els.length;if(roll&&opts.bounce){opts.backwards=!opts.backwards;opts.nextSlide=els.length-2;opts.currSlide=els.length-1;}else{opts.nextSlide=roll?0:opts.nextSlide+1;opts.currSlide=roll?els.length-1:opts.nextSlide-1;}}}}if(changed&&opts.pager){opts.updateActivePagerLink(opts.pager,opts.currSlide,opts.activePagerClass);}var ms=0;if(opts.timeout&&!opts.continuous){ms=getTimeout(els[opts.currSlide],els[opts.nextSlide],opts,fwd);}else{if(opts.continuous&&p.cyclePause){ms=10;}}if(ms>0){p.cycleTimeout=setTimeout(function(){go(els,opts,0,(!opts.rev&&!opts.backwards));},ms);}}$.fn.cycle.updateActivePagerLink=function(pager,currSlide,clsName){$(pager).each(function(){$(this).children().removeClass(clsName).eq(currSlide).addClass(clsName);});};function getTimeout(curr,next,opts,fwd){if(opts.timeoutFn){var t=opts.timeoutFn.call(curr,curr,next,opts,fwd);while((t-opts.speed)<250){t+=opts.speed;}debug("calculated timeout: "+t+"; speed: "+opts.speed);if(t!==false){return t;}}return opts.timeout;}$.fn.cycle.next=function(opts){advance(opts,opts.rev?-1:1);};$.fn.cycle.prev=function(opts){advance(opts,opts.rev?1:-1);};function advance(opts,val){var els=opts.elements;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}if(opts.random&&val<0){opts.randomIndex--;if(--opts.randomIndex==-2){opts.randomIndex=els.length-2;}else{if(opts.randomIndex==-1){opts.randomIndex=els.length-1;}}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.random){opts.nextSlide=opts.randomMap[opts.randomIndex];}else{opts.nextSlide=opts.currSlide+val;if(opts.nextSlide<0){if(opts.nowrap){return false;}opts.nextSlide=els.length-1;}else{if(opts.nextSlide>=els.length){if(opts.nowrap){return false;}opts.nextSlide=0;}}}}var cb=opts.onPrevNextEvent||opts.prevNextClick;if($.isFunction(cb)){cb(val>0,opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,val>=0);return false;}function buildPager(els,opts){var $p=$(opts.pager);$.each(els,function(i,o){$.fn.cycle.createPagerAnchor(i,o,$p,els,opts);});opts.updateActivePagerLink(opts.pager,opts.startingSlide,opts.activePagerClass);}$.fn.cycle.createPagerAnchor=function(i,el,$p,els,opts){var a;if($.isFunction(opts.pagerAnchorBuilder)){a=opts.pagerAnchorBuilder(i,el);debug("pagerAnchorBuilder("+i+", el) returned: "+a);}else{a='<a href="#">'+(i+1)+"</a>";}if(!a){return;}var $a=$(a);if($a.parents("body").length===0){var arr=[];if($p.length>1){$p.each(function(){var $clone=$a.clone(true);$(this).append($clone);arr.push($clone[0]);});$a=$(arr);}else{$a.appendTo($p);}}opts.pagerAnchors=opts.pagerAnchors||[];opts.pagerAnchors.push($a);$a.bind(opts.pagerEvent,function(e){e.preventDefault();opts.nextSlide=i;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}var cb=opts.onPagerEvent||opts.pagerClick;if($.isFunction(cb)){cb(opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,opts.currSlide<i);});if(!/^click/.test(opts.pagerEvent)&&!opts.allowPagerClickBubble){$a.bind("click.cycle",function(){return false;});}if(opts.pauseOnPagerHover){$a.hover(function(){opts.$cont[0].cyclePause++;},function(){opts.$cont[0].cyclePause--;});}};$.fn.cycle.hopsFromLast=function(opts,fwd){var hops,l=opts.lastSlide,c=opts.currSlide;if(fwd){hops=c>l?c-l:opts.slideCount-l;}else{hops=c<l?l-c:l+opts.slideCount-c;}return hops;};function clearTypeFix($slides){debug("applying clearType background-color hack");function hex(s){s=parseInt(s).toString(16);return s.length<2?"0"+s:s;}function getBg(e){for(;e&&e.nodeName.toLowerCase()!="html";e=e.parentNode){var v=$.css(e,"background-color");if(v.indexOf("rgb")>=0){var rgb=v.match(/\d+/g);return"#"+hex(rgb[0])+hex(rgb[1])+hex(rgb[2]);}if(v&&v!="transparent"){return v;}}return"#ffffff";}$slides.each(function(){$(this).css("background-color",getBg(this));});}$.fn.cycle.commonReset=function(curr,next,opts,w,h,rev){$(opts.elements).not(curr).hide();opts.cssBefore.opacity=1;opts.cssBefore.display="block";if(w!==false&&next.cycleW>0){opts.cssBefore.width=next.cycleW;}if(h!==false&&next.cycleH>0){opts.cssBefore.height=next.cycleH;}opts.cssAfter=opts.cssAfter||{};opts.cssAfter.display="none";$(curr).css("zIndex",opts.slideCount+(rev===true?1:0));$(next).css("zIndex",opts.slideCount+(rev===true?0:1));};$.fn.cycle.custom=function(curr,next,opts,cb,fwd,speedOverride){var $l=$(curr),$n=$(next);var speedIn=opts.speedIn,speedOut=opts.speedOut,easeIn=opts.easeIn,easeOut=opts.easeOut;$n.css(opts.cssBefore);if(speedOverride){if(typeof speedOverride=="number"){speedIn=speedOut=speedOverride;}else{speedIn=speedOut=1;}easeIn=easeOut=null;}var fn=function(){$n.animate(opts.animIn,speedIn,easeIn,cb);};$l.animate(opts.animOut,speedOut,easeOut,function(){if(opts.cssAfter){$l.css(opts.cssAfter);}if(!opts.sync){fn();}});if(opts.sync){fn();}};$.fn.cycle.transitions={fade:function($cont,$slides,opts){$slides.not(":eq("+opts.currSlide+")").css("opacity",0);opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.opacity=0;});opts.animIn={opacity:1};opts.animOut={opacity:0};opts.cssBefore={top:0,left:0};}};$.fn.cycle.ver=function(){return ver;};$.fn.cycle.defaults={fx:"fade",timeout:4000,timeoutFn:null,continuous:0,speed:1000,speedIn:null,speedOut:null,next:null,prev:null,onPrevNextEvent:null,prevNextEvent:"click.cycle",pager:null,onPagerEvent:null,pagerEvent:"click.cycle",allowPagerClickBubble:false,pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!$.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250,activePagerClass:"activeSlide",updateActivePagerLink:null,backwards:false};})(jQuery);
/*
 * jQuery Cycle Plugin Transition Definitions
 * This script is a plugin for the jQuery Cycle Plugin
 * Examples and documentation at: http://malsup.com/jquery/cycle/
 * Copyright (c) 2007-2010 M. Alsup
 * Version:	 2.72
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 */
(function($){$.fn.cycle.transitions.none=function($cont,$slides,opts){opts.fxFn=function(curr,next,opts,after){$(next).show();$(curr).hide();after();};};$.fn.cycle.transitions.scrollUp=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssBefore={top:h,left:0};opts.cssFirst={top:0};opts.animIn={top:0};opts.animOut={top:-h};};$.fn.cycle.transitions.scrollDown=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssFirst={top:0};opts.cssBefore={top:-h,left:0};opts.animIn={top:0};opts.animOut={top:h};};$.fn.cycle.transitions.scrollLeft=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst={left:0};opts.cssBefore={left:w,top:0};opts.animIn={left:0};opts.animOut={left:0-w};};$.fn.cycle.transitions.scrollRight=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst={left:0};opts.cssBefore={left:-w,top:0};opts.animIn={left:0};opts.animOut={left:w};};$.fn.cycle.transitions.scrollHorz=function($cont,$slides,opts){$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts,fwd){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.left=fwd?(next.cycleW-1):(1-next.cycleW);opts.animOut.left=fwd?-curr.cycleW:curr.cycleW;});opts.cssFirst={left:0};opts.cssBefore={top:0};opts.animIn={left:0};opts.animOut={top:0};};$.fn.cycle.transitions.scrollVert=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push(function(curr,next,opts,fwd){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.top=fwd?(1-next.cycleH):(next.cycleH-1);opts.animOut.top=fwd?curr.cycleH:-curr.cycleH;});opts.cssFirst={top:0};opts.cssBefore={left:0};opts.animIn={top:0};opts.animOut={left:0};};$.fn.cycle.transitions.slideX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;});opts.cssBefore={left:0,top:0,width:0};opts.animIn={width:"show"};opts.animOut={width:0};};$.fn.cycle.transitions.slideY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;});opts.cssBefore={left:0,top:0,height:0};opts.animIn={height:"show"};opts.animOut={height:0};};$.fn.cycle.transitions.shuffle=function($cont,$slides,opts){var i,w=$cont.css("overflow","visible").width();$slides.css({left:0,top:0});opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);});if(!opts.speedAdjusted){opts.speed=opts.speed/2;opts.speedAdjusted=true;}opts.random=0;opts.shuffle=opts.shuffle||{left:-w,top:15};opts.els=[];for(i=0;i<$slides.length;i++){opts.els.push($slides[i]);}for(i=0;i<opts.currSlide;i++){opts.els.push(opts.els.shift());}opts.fxFn=function(curr,next,opts,cb,fwd){var $el=fwd?$(curr):$(next);$(next).css(opts.cssBefore);var count=opts.slideCount;$el.animate(opts.shuffle,opts.speedIn,opts.easeIn,function(){var hops=$.fn.cycle.hopsFromLast(opts,fwd);for(var k=0;k<hops;k++){fwd?opts.els.push(opts.els.shift()):opts.els.unshift(opts.els.pop());}if(fwd){for(var i=0,len=opts.els.length;i<len;i++){$(opts.els[i]).css("z-index",len-i+count);}}else{var z=$(curr).css("z-index");$el.css("z-index",parseInt(z)+1+count);}$el.animate({left:0,top:0},opts.speedOut,opts.easeOut,function(){$(fwd?this:curr).hide();if(cb){cb();}});});};opts.cssBefore={display:"block",opacity:1,top:0,left:0};};$.fn.cycle.transitions.turnUp=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=next.cycleH;opts.animIn.height=next.cycleH;});opts.cssFirst={top:0};opts.cssBefore={left:0,height:0};opts.animIn={top:0};opts.animOut={height:0};};$.fn.cycle.transitions.turnDown=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssFirst={top:0};opts.cssBefore={left:0,top:0,height:0};opts.animOut={height:0};};$.fn.cycle.transitions.turnLeft=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=next.cycleW;opts.animIn.width=next.cycleW;});opts.cssBefore={top:0,width:0};opts.animIn={left:0};opts.animOut={width:0};};$.fn.cycle.transitions.turnRight=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});opts.cssBefore={top:0,left:0,width:0};opts.animIn={left:0};opts.animOut={width:0};};$.fn.cycle.transitions.zoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false,true);opts.cssBefore.top=next.cycleH/2;opts.cssBefore.left=next.cycleW/2;opts.animIn={top:0,left:0,width:next.cycleW,height:next.cycleH};opts.animOut={width:0,height:0,top:curr.cycleH/2,left:curr.cycleW/2};});opts.cssFirst={top:0,left:0};opts.cssBefore={width:0,height:0};};$.fn.cycle.transitions.fadeZoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false);opts.cssBefore.left=next.cycleW/2;opts.cssBefore.top=next.cycleH/2;opts.animIn={top:0,left:0,width:next.cycleW,height:next.cycleH};});opts.cssBefore={width:0,height:0};opts.animOut={opacity:0};};$.fn.cycle.transitions.blindX=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});opts.cssBefore={left:w,top:0};opts.animIn={left:0};opts.animOut={left:w};};$.fn.cycle.transitions.blindY=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore={top:h,left:0};opts.animIn={top:0};opts.animOut={top:h};};$.fn.cycle.transitions.blindZ=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();var w=$cont.width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore={top:h,left:w};opts.animIn={top:0,left:0};opts.animOut={top:h,left:w};};$.fn.cycle.transitions.growX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=this.cycleW/2;opts.animIn={left:0,width:this.cycleW};opts.animOut={left:0};});opts.cssBefore={width:0,top:0};};$.fn.cycle.transitions.growY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=this.cycleH/2;opts.animIn={top:0,height:this.cycleH};opts.animOut={top:0};});opts.cssBefore={height:0,left:0};};$.fn.cycle.transitions.curtainX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true,true);opts.cssBefore.left=next.cycleW/2;opts.animIn={left:0,width:this.cycleW};opts.animOut={left:curr.cycleW/2,width:0};});opts.cssBefore={top:0,width:0};};$.fn.cycle.transitions.curtainY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false,true);opts.cssBefore.top=next.cycleH/2;opts.animIn={top:0,height:next.cycleH};opts.animOut={top:curr.cycleH/2,height:0};});opts.cssBefore={left:0,height:0};};$.fn.cycle.transitions.cover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);if(d=="right"){opts.cssBefore.left=-w;}else{if(d=="up"){opts.cssBefore.top=h;}else{if(d=="down"){opts.cssBefore.top=-h;}else{opts.cssBefore.left=w;}}}});opts.animIn={left:0,top:0};opts.animOut={opacity:1};opts.cssBefore={top:0,left:0};};$.fn.cycle.transitions.uncover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(d=="right"){opts.animOut.left=w;}else{if(d=="up"){opts.animOut.top=-h;}else{if(d=="down"){opts.animOut.top=h;}else{opts.animOut.left=-w;}}}});opts.animIn={left:0,top:0};opts.animOut={opacity:1};opts.cssBefore={top:0,left:0};};$.fn.cycle.transitions.toss=function($cont,$slides,opts){var w=$cont.css("overflow","visible").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(!opts.animOut.left&&!opts.animOut.top){opts.animOut={left:w*2,top:-h/2,opacity:0};}else{opts.animOut.opacity=0;}});opts.cssBefore={left:0,top:0};opts.animIn={left:0};};$.fn.cycle.transitions.wipe=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.cssBefore=opts.cssBefore||{};var clip;if(opts.clip){if(/l2r/.test(opts.clip)){clip="rect(0px 0px "+h+"px 0px)";}else{if(/r2l/.test(opts.clip)){clip="rect(0px "+w+"px "+h+"px "+w+"px)";}else{if(/t2b/.test(opts.clip)){clip="rect(0px "+w+"px 0px 0px)";}else{if(/b2t/.test(opts.clip)){clip="rect("+h+"px "+w+"px "+h+"px 0px)";}else{if(/zoom/.test(opts.clip)){var top=parseInt(h/2);var left=parseInt(w/2);clip="rect("+top+"px "+left+"px "+top+"px "+left+"px)";}}}}}}opts.cssBefore.clip=opts.cssBefore.clip||clip||"rect(0px 0px 0px 0px)";var d=opts.cssBefore.clip.match(/(\d+)/g);var t=parseInt(d[0]),r=parseInt(d[1]),b=parseInt(d[2]),l=parseInt(d[3]);opts.before.push(function(curr,next,opts){if(curr==next){return;}var $curr=$(curr),$next=$(next);$.fn.cycle.commonReset(curr,next,opts,true,true,false);opts.cssAfter.display="block";var step=1,count=parseInt((opts.speedIn/13))-1;(function f(){var tt=t?t-parseInt(step*(t/count)):0;var ll=l?l-parseInt(step*(l/count)):0;var bb=b<h?b+parseInt(step*((h-b)/count||1)):h;var rr=r<w?r+parseInt(step*((w-r)/count||1)):w;$next.css({clip:"rect("+tt+"px "+rr+"px "+bb+"px "+ll+"px)"});(step++<=count)?setTimeout(f,13):$curr.css("display","none");})();});opts.cssBefore={display:"block",opacity:1,top:0,left:0};opts.animIn={left:0};opts.animOut={left:0};};})(jQuery);;
// $Id: views_slideshow.js,v 1.1.2.1.2.39 2010/07/01 03:29:08 redndahead Exp $

/**
 *  @file
 *  A simple jQuery SingleFrame Div Slideshow Rotator.
 */

/**
 * This will set our initial behavior, by starting up each individual slideshow.
 */
Drupal.behaviors.viewsSlideshowSingleFrame = function (context) {
  $('.views_slideshow_singleframe_main:not(.viewsSlideshowSingleFrame-processed)', context).addClass('viewsSlideshowSingleFrame-processed').each(function() {
    var fullId = '#' + $(this).attr('id');
    var settings = Drupal.settings.viewsSlideshowSingleFrame[fullId];
    settings.targetId = '#' + $(fullId + " :first").attr('id');
    settings.paused = false;

    settings.opts = {
      speed:settings.speed,
      timeout:parseInt(settings.timeout),
      delay:parseInt(settings.delay),
      sync:settings.sync==1,
      random:settings.random==1,
      pause:false,
      allowPagerClickBubble:(settings.pager_hover==1 || settings.pager_click_to_page),
      prev:(settings.controls > 0)?'#views_slideshow_singleframe_prev_' + settings.vss_id:null,
      next:(settings.controls > 0)?'#views_slideshow_singleframe_next_' + settings.vss_id:null,
      pager:(settings.pager > 0)?'#views_slideshow_singleframe_pager_' + settings.vss_id:null,
      nowrap:parseInt(settings.nowrap),
      pagerAnchorBuilder: function(idx, slide) {
        var classes = 'pager-item pager-num-' + (idx+1);
        if (idx == 0) {
          classes += ' first';
        }
        if ($(slide).siblings().length == idx) {
          classes += ' last';
        }

        if (idx % 2) {
          classes += ' odd';
        }
        else {
          classes += ' even';
        }
        
        var theme = 'viewsSlideshowPager' + settings.pager_type;
        return Drupal.theme.prototype[theme] ? Drupal.theme(theme, classes, idx, slide, settings) : '';
      },
      after:function(curr, next, opts) {
        // Used for Image Counter.
        if (settings.image_count) {
          $('#views_slideshow_singleframe_image_count_' + settings.vss_id + ' span.num').html(opts.currSlide + 1);
          $('#views_slideshow_singleframe_image_count_' + settings.vss_id + ' span.total').html(opts.slideCount);
        }
      },
      before:function(curr, next, opts) {
        // Remember last slide.
        if (settings.remember_slide) {
          createCookie(settings.vss_id, opts.currSlide + 1, settings.remember_slide_days);
        }

        // Make variable height.
        if (settings.fixed_height == 0) {
          //get the height of the current slide
          var $ht = $(this).height();
          //set the container's height to that of the current slide
          $(this).parent().animate({height: $ht});
        }
      },
      cleartype:(settings.ie.cleartype == 'true')? true : false,
      cleartypeNoBg:(settings.ie.cleartypenobg == 'true')? true : false
    }
    
    // Set the starting slide if we are supposed to remember the slide
    if (settings.remember_slide) {
      var startSlide = readCookie(settings.vss_id);
      if (startSlide == null) {
        startSlide = 0;
      }
      settings.opts.startingSlide =  startSlide;
    }

    if (settings.pager_hover == 1) {
      settings.opts.pagerEvent = 'mouseover';
      settings.opts.pauseOnPagerHover = true;
    }

    if (settings.effect == 'none') {
      settings.opts.speed = 1;
    }
    else {
      settings.opts.fx = settings.effect;
    }

    // Pause on hover.
    if (settings.pause == 1) {
      $('#views_slideshow_singleframe_teaser_section_' + settings.vss_id).hover(function() {
        $(settings.targetId).cycle('pause');
      }, function() {
        if (settings.paused == false) {
          $(settings.targetId).cycle('resume');
        }
      });
    }

    // Pause on clicking of the slide.
    if (settings.pause_on_click == 1) {
      $('#views_slideshow_singleframe_teaser_section_' + settings.vss_id).click(function() { 
        viewsSlideshowSingleFramePause(settings);
      });
    }

    // Add additional settings.
		if (settings.advanced != "\n") {
      var advanced = settings.advanced.split("\n");
      for (i=0; i<advanced.length; i++) {
        var prop = '';
        var value = '';
        var property = advanced[i].split(":");
        for (j=0; j<property.length; j++) {
          if (j == 0) {
            prop = property[j];
          }
          else if (j == 1) {
            value = property[j];
          }
          else {
            value += ":" + property[j];
          }
        }

        // Need to evaluate so true, false and numerics aren't a string.
        if (value == 'true' || value == 'false' || IsNumeric(value)) {
          value = eval(value);
        }
        else {
          // Parse strings into functions.
          var func = value.match(/function\s*\((.*?)\)\s*\{(.*)\}/i);
          if (func) {
            value = new Function(func[1].match(/(\w+)/g), func[2]);
          }
        }
	
        // Call both functions if prop was set previously.
        if (typeof(value) == "function" && prop in settings.opts) {
          var callboth = function(before_func, new_func) {
            return function() {
              before_func.apply(null, arguments);
              new_func.apply(null, arguments);
            };
          };
          settings.opts[prop] = callboth(settings.opts[prop], value);
        }
        else {
          settings.opts[prop] = value;
        }
      }
    }
    
    $(settings.targetId).cycle(settings.opts);

    // Start Paused
    if (settings.start_paused) {
      viewsSlideshowSingleFramePause(settings);
    }
    
    // Pause if hidden.
    if (settings.pause_when_hidden) {
      var checkPause = function(settings) {
        // If the slideshow is visible and it is paused then resume.
        // otherwise if the slideshow is not visible and it is not paused then
        // pause it.
        var visible = viewsSlideshowSingleFrameIsVisible(settings.targetId, settings.pause_when_hidden_type, settings.amount_allowed_visible);
        if (visible && settings.paused) {
          viewsSlideshowSingleFrameResume(settings);
        }
        else if (!visible && !settings.paused) {
          viewsSlideshowSingleFramePause(settings);
        }
      }
     
      // Check when scrolled.
      $(window).scroll(function() {
       checkPause(settings);
      });
      
      // Check when the window is resized.
      $(window).resize(function() {
        checkPause(settings);
      });
    }

    // Show image count for people who have js enabled.
    $('#views_slideshow_singleframe_image_count_' + settings.vss_id).show();

    if (settings.controls > 0) {
      // Show controls for people who have js enabled browsers.
      $('#views_slideshow_singleframe_controls_' + settings.vss_id).show();
      
      $('#views_slideshow_singleframe_playpause_' + settings.vss_id).click(function(e) {
      	if (settings.paused) {
      	  viewsSlideshowSingleFrameResume(settings);
      	}
      	else {
      	  viewsSlideshowSingleFramePause(settings);
      	}
        e.preventDefault();
      });
    }
  });
}

// Pause the slideshow 
viewsSlideshowSingleFramePause = function (settings) {
  //make Resume translatable
  var resume = Drupal.t('Resume');

  $(settings.targetId).cycle('pause');
  if (settings.controls > 0) {
    $('#views_slideshow_singleframe_playpause_' + settings.vss_id)
      .addClass('views_slideshow_singleframe_play')
      .addClass('views_slideshow_play')
      .removeClass('views_slideshow_singleframe_pause')
      .removeClass('views_slideshow_pause')
      .text(resume);
  }
  settings.paused = true;
}

// Resume the slideshow
viewsSlideshowSingleFrameResume = function (settings) {
  $(settings.targetId).cycle('resume');
  if (settings.controls > 0) {
    $('#views_slideshow_singleframe_playpause_' + settings.vss_id)
      .addClass('views_slideshow_singleframe_pause')
      .addClass('views_slideshow_pause')
      .removeClass('views_slideshow_singleframe_play')
      .removeClass('views_slideshow_play')
      .text('Pause');
  }
  settings.paused = false;
}

Drupal.theme.prototype.viewsSlideshowPagerThumbnails = function (classes, idx, slide, settings) {
  var href = '#';
  if (settings.pager_click_to_page) {
    href = $(slide).find('a').attr('href');
  }
  return '<div class="' + classes + '"><a href="' + href + '"><img src="' + $(slide).find('img').attr('src') + '" /></a></div>';
}

Drupal.theme.prototype.viewsSlideshowPagerNumbered = function (classes, idx, slide, settings) {
  var href = '#';
  if (settings.pager_click_to_page) {
    href = $(slide).find('a').attr('href');
  }
  return '<div class="' + classes + '"><a href="' + href + '">' + (idx+1) + '</a></div>';
}

// Verify that the value is a number.
function IsNumeric(sText) {
  var ValidChars = "0123456789";
  var IsNumber=true;
  var Char;

  for (var i=0; i < sText.length && IsNumber == true; i++) { 
    Char = sText.charAt(i); 
    if (ValidChars.indexOf(Char) == -1) {
      IsNumber = false;
    }
  }
  return IsNumber;
}

/**
 * Cookie Handling Functions
 */
function createCookie(name,value,days) {
  if (days) {
    var date = new Date();
    date.setTime(date.getTime()+(days*24*60*60*1000));
    var expires = "; expires="+date.toGMTString();
  }
  else {
    var expires = "";
  }
  document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
  var nameEQ = name + "=";
  var ca = document.cookie.split(';');
  for(var i=0;i < ca.length;i++) {
    var c = ca[i];
    while (c.charAt(0)==' ') c = c.substring(1,c.length);
    if (c.indexOf(nameEQ) == 0) {
      return c.substring(nameEQ.length,c.length);
    }
  }
  return null;
}

function eraseCookie(name) {
  createCookie(name,"",-1);
}

/**
 * Checks to see if the slide is visible enough.
 * elem = element to check.
 * type = The way to calculate how much is visible.
 * amountVisible = amount that should be visible. Either in percent or px. If
 *                it's not defined then all of the slide must be visible.
 *
 * Returns true or false
 */
function viewsSlideshowSingleFrameIsVisible(elem, type, amountVisible) {
  // Get the top and bottom of the window;
  var docViewTop = $(window).scrollTop();
  var docViewBottom = docViewTop + $(window).height();
  var docViewLeft = $(window).scrollLeft();
  var docViewRight = docViewLeft + $(window).width();

  // Get the top, bottom, and height of the slide;
  var elemTop = $(elem).offset().top;
  var elemHeight = $(elem).height();
  var elemBottom = elemTop + elemHeight;
  var elemLeft = $(elem).offset().left;
  var elemWidth = $(elem).width();
  var elemRight = elemLeft + elemWidth;
  var elemArea = elemHeight * elemWidth;
  
  // Calculate what's hiding in the slide.
  var missingLeft = 0;
  var missingRight = 0;
  var missingTop = 0;
  var missingBottom = 0;
  
  // Find out how much of the slide is missing from the left.
  if (elemLeft < docViewLeft) {
    missingLeft = docViewLeft - elemLeft;
  }

  // Find out how much of the slide is missing from the right.
  if (elemRight > docViewRight) {
    missingRight = elemRight - docViewRight;
  }
  
  // Find out how much of the slide is missing from the top.
  if (elemTop < docViewTop) {
    missingTop = docViewTop - elemTop;
  }

  // Find out how much of the slide is missing from the bottom.
  if (elemBottom > docViewBottom) {
    missingBottom = elemBottom - docViewBottom;
  }
  
  // If there is no amountVisible defined then check to see if the whole slide
  // is visible.
  if (type == 'full') {
    return ((elemBottom >= docViewTop) && (elemTop <= docViewBottom)
    && (elemBottom <= docViewBottom) &&  (elemTop >= docViewTop)
    && (elemLeft >= docViewLeft) && (elemRight <= docViewRight)
    && (elemLeft <= docViewRight) && (elemRight >= docViewLeft));
  }
  else if(type == 'vertical') {
    var verticalShowing = elemHeight - missingTop - missingBottom;
    
    // If user specified a percentage then find out if the current shown percent
    // is larger than the allowed percent.
    // Otherwise check to see if the amount of px shown is larger than the
    // allotted amount.
    if (amountVisible.indexOf('%')) {
      return (((verticalShowing/elemHeight)*100) >= parseInt(amountVisible));
    }
    else {
      return (verticalShowing >= parseInt(amountVisible));
    }
  }
  else if(type == 'horizontal') {
    var horizontalShowing = elemWidth - missingLeft - missingRight;
    
    // If user specified a percentage then find out if the current shown percent
    // is larger than the allowed percent.
    // Otherwise check to see if the amount of px shown is larger than the
    // allotted amount.
    if (amountVisible.indexOf('%')) {
      return (((horizontalShowing/elemWidth)*100) >= parseInt(amountVisible));
    }
    else {
      return (horizontalShowing >= parseInt(amountVisible));
    }
  }
  else if(type == 'area') {
    var areaShowing = (elemWidth - missingLeft - missingRight) * (elemHeight - missingTop - missingBottom);
    
    // If user specified a percentage then find out if the current shown percent
    // is larger than the allowed percent.
    // Otherwise check to see if the amount of px shown is larger than the
    // allotted amount.
    if (amountVisible.indexOf('%')) {
      return (((areaShowing/elemArea)*100) >= parseInt(amountVisible));
    }
    else {
      return (areaShowing >= parseInt(amountVisible));
    }
  }
}

;
// $Id: views_slideshow.js,v 1.1.2.2.2.35 2010/07/01 03:29:08 redndahead Exp $

/**
 * @file
 * A simple jQuery ThumbnailHover Div Slideshow Rotator.
 */

/**
 * This will set our initial behavior, by starting up each individual slideshow.
 */
Drupal.behaviors.viewsSlideshowThumbnailHover = function (context) {
  $('.views_slideshow_thumbnailhover_main:not(.viewsSlideshowThumbnailHover-processed)', context).addClass('viewsSlideshowThumbnailHover-processed').each(function() {
    var fullId = '#' + $(this).attr('id');
    var settings = Drupal.settings.viewsSlideshowThumbnailHover[fullId];
    settings.targetId = '#' + $(fullId + " :first").attr('id');
		settings.paused = false;
		
    settings.opts = {
      speed:settings.speed,
      timeout:parseInt(settings.timeout),
      delay:parseInt(settings.delay),
      sync:settings.sync==1,
      random:settings.random==1,
      pause:false,
      allowPagerClickBubble:(settings.pager_event=='click')? false : true,
      pager:(settings.pager_event == 'hoverIntent') ? null : '#views_slideshow_breakout_teasers_' + settings.vss_id,
      nowrap:parseInt(settings.nowrap),
      pagerAnchorBuilder:(settings.pager_event == 'hoverIntent') ? null : function(idx, slide) { 
        return '#views_slideshow_thumbnailhover_div_breakout_teaser_' + settings.vss_id + '_' + idx; 
      },
      after:function(curr, next, opts) {
        // Used for Image Counter.
        if (settings.image_count) {
          $('#views_slideshow_thumbnailhover_image_count_' + settings.vss_id + ' span.num').html(opts.currSlide + 1);
          $('#views_slideshow_thumbnailhover_image_count_' + settings.vss_id + ' span.total').html(opts.slideCount);
        }
      },
      before:function(current, next, opts) {
        // Remember last slide.
        if (settings.remember_slide) {
          createCookie(settings.view_id, opts.currSlide + 1, settings.remember_slide_days);
        }

        // Make variable height.
        if (settings.fixed_height == 0) {
          //get the height of the current slide
          var $ht = $(this).height();
          //set the container's height to that of the current slide
          $(this).parent().animate({height: $ht});
        }
        
        var currId = (currId=$(current).attr('id')).substring(currId.lastIndexOf('_')+1)
        var nextId = (nextId=$(next).attr('id')).substring(nextId.lastIndexOf('_')+1)
        $('#views_slideshow_thumbnailhover_div_breakout_teaser_' + settings.vss_id + '_' + currId).removeClass('activeSlide');
        $('#views_slideshow_thumbnailhover_div_breakout_teaser_' + settings.vss_id + '_' + nextId).addClass('activeSlide');
      },
      pagerEvent: (settings.pager_event == 'hoverIntent') ? null : settings.pager_event,
      prev:(settings.controls > 0)?'#views_slideshow_thumbnailhover_prev_' + settings.vss_id:null,
      next:(settings.controls > 0)?'#views_slideshow_thumbnailhover_next_' + settings.vss_id:null,
      cleartype:(settings.ie.cleartype == 'true')? true : false,
      cleartypeNoBg:(settings.ie.cleartypenobg == 'true')? true : false
    };

    // Set the starting slide if we are supposed to remember the slide
    if (settings.remember_slide) {
      var startSlide = readCookie(settings.view_id);
      if (startSlide == null) {
        startSlide = 0;
      }
      settings.opts.startingSlide =  startSlide;
    }

    if (settings.effect == 'none') {
      settings.opts.speed = 1;
    }
    else {
      settings.opts.fx = settings.effect;
    }

    // Pause on hover.
    if (settings.pause == 1) {
      $('#views_slideshow_thumbnailhover_teaser_section_' + settings.vss_id).hover(function() {
        $(settings.targetId).cycle('pause');
      }, function() {
        if (settings.paused == false) {
          $(settings.targetId).cycle('resume');
        }
      });
    }

    // Pause on clicking of the slide.
    if (settings.pause_on_click == 1) {
      $('#views_slideshow_thumbnailhover_teaser_section_' + settings.vss_id).click(function() { 
        viewsSlideshowThumbnailHoverPause(settings);
      });
    }
    
    // Add additional settings.
		if (settings.advanced != "\n") {
      var advanced = settings.advanced.split("\n");
      for (i=0; i<advanced.length; i++) {
        var prop = '';
        var value = '';
        var property = advanced[i].split(":");
        for (j=0; j<property.length; j++) {
          if (j == 0) {
            prop = property[j];
          }
          else if (j == 1) {
            value = property[j];
          }
          else {
            value += ":" + property[j];
          }
        }

        // Need to evaluate so true, false and numerics aren't a string.
        if (value == 'true' || value == 'false' || IsNumeric(value)) {
          value = eval(value);
        }
        else {
          // Parse strings into functions.
          var func = value.match(/function\s*\((.*?)\)\s*\{(.*)\}/i);
          if (func) {
            value = new Function(func[1].match(/(\w+)/g), func[2]);
          }
        }
	
        // Call both functions if prop was set previously.
        if (typeof(value) == "function" && prop in settings.opts) {
          var callboth = function(before_func, new_func) {
            return function() {
              before_func.apply(null, arguments);
              new_func.apply(null, arguments);
            };
          };
          settings.opts[prop] = callboth(settings.opts[prop], value);
        }
        else {
          settings.opts[prop] = value;
        }
      }
    }

    $(settings.targetId).cycle(settings.opts);

    // Start Paused
    if (settings.start_paused) {
      viewsSlideshowThumbnailHoverPause(settings);
    }
    
    // Pause if hidden.
    if (settings.pause_when_hidden) {
      var checkPause = function(settings) {
        // If the slideshow is visible and it is paused then resume.
        // otherwise if the slideshow is not visible and it is not paused then
        // pause it.
        var visible = viewsSlideshowThumbnailHoverIsVisible(settings.targetId, settings.pause_when_hidden_type, settings.amount_allowed_visible);
        if (visible && settings.paused) {
          viewsSlideshowThumbnailHoverResume(settings);
        }
        else if (!visible && !settings.paused) {
          viewsSlideshowThumbnailHoverPause(settings);
        }
      }
     
      // Check when scrolled.
      $(window).scroll(function() {
       checkPause(settings);
      });
      
      // Check when window is resized.
      $(window).resize(function() {
        checkPause(settings);
      });
    }

    // Show image count for people who have js enabled.
    $('#views_slideshow_thumbnailhover_image_count_' + settings.vss_id).show();
    
    if (settings.pager_event == 'hoverIntent') {
      $('#views_slideshow_thumbnailhover_breakout_teasers_' + settings.vss_id + ' .views_slideshow_thumbnailhover_div_breakout_teaser').each(function(i,obj) {
        $(obj).hoverIntent(
          function() {
            $('.views_slideshow_thumbnailhover_div_breakout_teaser').removeClass('activeSlide');
            var id = $(this).attr('id');
            id = parseInt(id.substring(id.lastIndexOf('_')+1));
            $(settings.targetId).cycle(id);
            $('#views_slideshow_thumbnailhover_div_breakout_teaser_' + settings.vss_id + '_' + id).addClass('activeSlide');
            $(settings.targetId).cycle('stop');
          },
          function() {
            var id = $(this).attr('id');
            settings.opts.startingSlide = parseInt(id.substring(id.lastIndexOf('_')+1));
            $(settings.targetId).cycle(settings.opts);
          }
        );
      });
    }

    if (settings.controls > 0) {
      // Show controls for people who have js enabled browsers.
      $('#views_slideshow_thumbnailhover_controls_' + settings.vss_id).show();
      
      $('#views_slideshow_thumbnailhover_playpause_' + settings.vss_id).click(function(e) {
        if (settings.paused) {
          viewsSlideshowThumbnailHoverResume(settings);
        }
        else {
          viewsSlideshowThumbnailHoverPause(settings);
        }
        e.preventDefault();
      });
    }
  });
}

// Pause the slideshow 
viewsSlideshowThumbnailHoverPause = function (settings) {
  //make Resume translatable
  var resume = Drupal.t('Resume');

  $(settings.targetId).cycle('pause');
  if (settings.controls > 0) {
    $('#views_slideshow_thumbnailhover_playpause_' + settings.vss_id)
      .addClass('views_slideshow_thumbnailhover_play')
      .addClass('views_slideshow_play')
      .removeClass('views_slideshow_thumbnailhover_pause')
      .removeClass('views_slideshow_pause')
      .text(resume);
  }
  settings.paused = true;
}

// Resume the slideshow
viewsSlideshowThumbnailHoverResume = function (settings) {
  $(settings.targetId).cycle('resume');
  if (settings.controls > 0) {
    $('#views_slideshow_thumbnailhover_playpause_' + settings.vss_id)
      .addClass('views_slideshow_thumbnailhover_pause')
      .addClass('views_slideshow_pause')
      .removeClass('views_slideshow_thumbnailhover_play')
      .removeClass('views_slideshow_play')
      .text('Pause');
  }
  settings.paused = false;
}

// Verify that the value is a number.
function IsNumeric(sText) {
  var ValidChars = "0123456789";
  var IsNumber=true;
  var Char;

  for (var i=0; i < sText.length && IsNumber == true; i++) { 
    Char = sText.charAt(i); 
    if (ValidChars.indexOf(Char) == -1) {
      IsNumber = false;
    }
  }
  return IsNumber;
}

/**
 * Cookie Handling Functions
 */
function createCookie(name,value,days) {
  if (days) {
    var date = new Date();
    date.setTime(date.getTime()+(days*24*60*60*1000));
    var expires = "; expires="+date.toGMTString();
  }
  else {
    var expires = "";
  }
  document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
  var nameEQ = name + "=";
  var ca = document.cookie.split(';');
  for(var i=0;i < ca.length;i++) {
    var c = ca[i];
    while (c.charAt(0)==' ') c = c.substring(1,c.length);
    if (c.indexOf(nameEQ) == 0) {
      return c.substring(nameEQ.length,c.length);
    }
  }
  return null;
}

function eraseCookie(name) {
  createCookie(name,"",-1);
}

/**
 * Checks to see if the slide is visible enough.
 * elem = element to check.
 * amountVisible = amount that should be visible. Either in percent or px. If
 *                it's not defined then all of the slide must be visible.
 *
 * Returns true or false
 */
function viewsSlideshowThumbnailHoverIsVisible(elem, type, amountVisible) {
  // Get the top and bottom of the window;
  var docViewTop = $(window).scrollTop();
  var docViewBottom = docViewTop + $(window).height();
  var docViewLeft = $(window).scrollLeft();
  var docViewRight = docViewLeft + $(window).width();

  // Get the top, bottom, and height of the slide;
  var elemTop = $(elem).offset().top;
  var elemHeight = $(elem).height();
  var elemBottom = elemTop + elemHeight;
  var elemLeft = $(elem).offset().left;
  var elemWidth = $(elem).width();
  var elemRight = elemLeft + elemWidth;
  var elemArea = elemHeight * elemWidth;
  
  // Calculate what's hiding in the slide.
  var missingLeft = 0;
  var missingRight = 0;
  var missingTop = 0;
  var missingBottom = 0;
  
  // Find out how much of the slide is missing from the left.
  if (elemLeft < docViewLeft) {
    missingLeft = docViewLeft - elemLeft;
  }

  // Find out how much of the slide is missing from the right.
  if (elemRight > docViewRight) {
    missingRight = elemRight - docViewRight;
  }
  
  // Find out how much of the slide is missing from the top.
  if (elemTop < docViewTop) {
    missingTop = docViewTop - elemTop;
  }

  // Find out how much of the slide is missing from the bottom.
  if (elemBottom > docViewBottom) {
    missingBottom = elemBottom - docViewBottom;
  }
  
  // If there is no amountVisible defined then check to see if the whole slide
  // is visible.
  if (type == 'full') {
    return ((elemBottom >= docViewTop) && (elemTop <= docViewBottom)
    && (elemBottom <= docViewBottom) &&  (elemTop >= docViewTop)
    && (elemLeft >= docViewLeft) && (elemRight <= docViewRight)
    && (elemLeft <= docViewRight) && (elemRight >= docViewLeft));
  }
  else if(type == 'vertical') {
    var verticalShowing = elemHeight - missingTop - missingBottom;
    
    // If user specified a percentage then find out if the current shown percent
    // is larger than the allowed percent.
    // Otherwise check to see if the amount of px shown is larger than the
    // allotted amount.
    if (amountVisible.indexOf('%')) {
      return (((verticalShowing/elemHeight)*100) >= parseInt(amountVisible));
    }
    else {
      return (verticalShowing >= parseInt(amountVisible));
    }
  }
  else if(type == 'horizontal') {
    var horizontalShowing = elemWidth - missingLeft - missingRight;
    
    // If user specified a percentage then find out if the current shown percent
    // is larger than the allowed percent.
    // Otherwise check to see if the amount of px shown is larger than the
    // allotted amount.
    if (amountVisible.indexOf('%')) {
      return (((horizontalShowing/elemWidth)*100) >= parseInt(amountVisible));
    }
    else {
      return (horizontalShowing >= parseInt(amountVisible));
    }
  }
  else if(type == 'area') {
    var areaShowing = (elemWidth - missingLeft - missingRight) * (elemHeight - missingTop - missingBottom);
    
    // If user specified a percentage then find out if the current shown percent
    // is larger than the allowed percent.
    // Otherwise check to see if the amount of px shown is larger than the
    // allotted amount.
    if (amountVisible.indexOf('%')) {
      return (((areaShowing/elemArea)*100) >= parseInt(amountVisible));
    }
    else {
      return (areaShowing >= parseInt(amountVisible));
    }
  }
}
;
/*
 * Copyright (c) 2009 Simo Kinnunen.
 * Licensed under the MIT license.
 *
 * @version 1.09i
 */
var Cufon=(function(){var m=function(){return m.replace.apply(null,arguments)};var x=m.DOM={ready:(function(){var C=false,E={loaded:1,complete:1};var B=[],D=function(){if(C){return}C=true;for(var F;F=B.shift();F()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState){(function(){E[document.readyState]?D():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");D()}catch(F){setTimeout(arguments.callee,1)}})()}q(window,"load",D);return function(F){if(!arguments.length){D()}else{C?F():B.push(F)}}})(),root:function(){return document.documentElement||document.body}};var n=m.CSS={Size:function(C,B){this.value=parseFloat(C);this.unit=String(C).match(/[a-z%]*$/)[0]||"px";this.convert=function(D){return D/B*this.value};this.convertFrom=function(D){return D/this.value*B};this.toString=function(){return this.value+this.unit}},addClass:function(C,B){var D=C.className;C.className=D+(D&&" ")+B;return C},color:j(function(C){var B={};B.color=C.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(E,D,F){B.opacity=parseFloat(F);return"rgb("+D+")"});return B}),fontStretch:j(function(B){if(typeof B=="number"){return B}if(/%$/.test(B)){return parseFloat(B)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[B]||1}),getStyle:function(C){var B=document.defaultView;if(B&&B.getComputedStyle){return new a(B.getComputedStyle(C,null))}if(C.currentStyle){return new a(C.currentStyle)}return new a(C.style)},gradient:j(function(F){var G={id:F,type:F.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},C=F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=C.length,D;E<B;++E){D=C[E].split("=",2).reverse();G.stops.push([D[1]||E/(B-1),D[0]])}return G}),quotedList:j(function(E){var D=[],C=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;while(B=C.exec(E)){D.push(B[3]||B[1])}return D}),recognizesMedia:j(function(G){var E=document.createElement("style"),D,C,B;E.type="text/css";E.media=G;try{E.appendChild(document.createTextNode("/**/"))}catch(F){}C=g("head")[0];C.insertBefore(E,C.firstChild);D=(E.sheet||E.styleSheet);B=D&&!D.disabled;C.removeChild(E);return B}),removeClass:function(D,C){var B=RegExp("(?:^|\\s+)"+C+"(?=\\s|$)","g");D.className=D.className.replace(B,"");return D},supports:function(D,C){var B=document.createElement("span").style;if(B[D]===undefined){return false}B[D]=C;return B[D]===C},textAlign:function(E,D,B,C){if(D.get("textAlign")=="right"){if(B>0){E=" "+E}}else{if(B<C-1){E+=" "}}return E},textShadow:j(function(F){if(F=="none"){return null}var E=[],G={},B,C=0;var D=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(B=D.exec(F)){if(B[0]==","){E.push(G);G={};C=0}else{if(B[1]){G.color=B[1]}else{G[["offX","offY","blur"][C++]]=B[2]}}}E.push(G);return E}),textTransform:(function(){var B={uppercase:function(C){return C.toUpperCase()},lowercase:function(C){return C.toLowerCase()},capitalize:function(C){return C.replace(/\b./g,function(D){return D.toUpperCase()})}};return function(E,D){var C=B[D.get("textTransform")];return C?C(E):E}})(),whiteSpace:(function(){var D={inline:1,"inline-block":1,"run-in":1};var C=/^\s+/,B=/\s+$/;return function(H,F,G,E){if(E){if(E.nodeName.toLowerCase()=="br"){H=H.replace(C,"")}}if(D[F.get("display")]){return H}if(!G.previousSibling){H=H.replace(C,"")}if(!G.nextSibling){H=H.replace(B,"")}return H}})()};n.ready=(function(){var B=!n.recognizesMedia("all"),E=false;var D=[],H=function(){B=true;for(var K;K=D.shift();K()){}};var I=g("link"),J=g("style");function C(K){return K.disabled||G(K.sheet,K.media||"screen")}function G(M,P){if(!n.recognizesMedia(P||"all")){return true}if(!M||M.disabled){return false}try{var Q=M.cssRules,O;if(Q){search:for(var L=0,K=Q.length;O=Q[L],L<K;++L){switch(O.type){case 2:break;case 3:if(!G(O.styleSheet,O.media.mediaText)){return false}break;default:break search}}}}catch(N){}return true}function F(){if(document.createStyleSheet){return true}var L,K;for(K=0;L=I[K];++K){if(L.rel.toLowerCase()=="stylesheet"&&!C(L)){return false}}for(K=0;L=J[K];++K){if(!C(L)){return false}}return true}x.ready(function(){if(!E){E=n.getStyle(document.body).isUsable()}if(B||(E&&F())){H()}else{setTimeout(arguments.callee,10)}});return function(K){if(B){K()}else{D.push(K)}}})();function s(D){var C=this.face=D.face,B={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=D.glyphs;this.w=D.w;this.baseSize=parseInt(C["units-per-em"],10);this.family=C["font-family"].toLowerCase();this.weight=C["font-weight"];this.style=C["font-style"]||"normal";this.viewBox=(function(){var F=C.bbox.split(/\s+/);var E={minX:parseInt(F[0],10),minY:parseInt(F[1],10),maxX:parseInt(F[2],10),maxY:parseInt(F[3],10)};E.width=E.maxX-E.minX;E.height=E.maxY-E.minY;E.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return E})();this.ascent=-parseInt(C.ascent,10);this.descent=-parseInt(C.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(L,N,E){var O=this.glyphs,M,K,G,P=[],F=0,J=-1,I=-1,H;while(H=L[++J]){M=O[H]||this.missingGlyph;if(!M){continue}if(K){F-=G=K[H]||0;P[I]-=G}F+=P[++I]=~~(M.w||this.w)+N+(B[H]?E:0);K=M.k}P.total=F;return P}}function f(){var C={},B={oblique:"italic",italic:"oblique"};this.add=function(D){(C[D.style]||(C[D.style]={}))[D.weight]=D};this.get=function(H,I){var G=C[H]||C[B[H]]||C.normal||C.italic||C.oblique;if(!G){return null}I={normal:400,bold:700}[I]||parseInt(I,10);if(G[I]){return G[I]}var E={1:1,99:0}[I%100],K=[],F,D;if(E===undefined){E=I>400}if(I==500){I=400}for(var J in G){if(!k(G,J)){continue}J=parseInt(J,10);if(!F||J<F){F=J}if(!D||J>D){D=J}K.push(J)}if(I<F){I=F}if(I>D){I=D}K.sort(function(M,L){return(E?(M>=I&&L>=I)?M<L:M>L:(M<=I&&L<=I)?M>L:M<L)?-1:1});return G[K[0]]}}function r(){function D(F,G){if(F.contains){return F.contains(G)}return F.compareDocumentPosition(G)&16}function B(G){var F=G.relatedTarget;if(!F||D(this,F)){return}C(this,G.type=="mouseover")}function E(F){C(this,F.type=="mouseenter")}function C(F,G){setTimeout(function(){var H=d.get(F).options;m.replace(F,G?h(H,H.hover):H,true)},10)}this.attach=function(F){if(F.onmouseenter===undefined){q(F,"mouseover",B);q(F,"mouseout",B)}else{q(F,"mouseenter",E);q(F,"mouseleave",E)}}}function u(){var C=[],D={};function B(H){var E=[],G;for(var F=0;G=H[F];++F){E[F]=C[D[G]]}return E}this.add=function(F,E){D[F]=C.push(E)-1};this.repeat=function(){var E=arguments.length?B(arguments):C,F;for(var G=0;F=E[G++];){m.replace(F[0],F[1],true)}}}function A(){var D={},B=0;function C(E){return E.cufid||(E.cufid=++B)}this.get=function(E){var F=C(E);return D[F]||(D[F]={})}}function a(B){var D={},C={};this.extend=function(E){for(var F in E){if(k(E,F)){D[F]=E[F]}}return this};this.get=function(E){return D[E]!=undefined?D[E]:B[E]};this.getSize=function(F,E){return C[F]||(C[F]=new n.Size(this.get(F),E))};this.isUsable=function(){return !!B}}function q(C,B,D){if(C.addEventListener){C.addEventListener(B,D,false)}else{if(C.attachEvent){C.attachEvent("on"+B,function(){return D.call(C,window.event)})}}}function v(C,B){var D=d.get(C);if(D.options){return C}if(B.hover&&B.hoverables[C.nodeName.toLowerCase()]){b.attach(C)}D.options=B;return C}function j(B){var C={};return function(D){if(!k(C,D)){C[D]=B.apply(null,arguments)}return C[D]}}function c(F,E){var B=n.quotedList(E.get("fontFamily").toLowerCase()),D;for(var C=0;D=B[C];++C){if(i[D]){return i[D].get(E.get("fontStyle"),E.get("fontWeight"))}}return null}function g(B){return document.getElementsByTagName(B)}function k(C,B){return C.hasOwnProperty(B)}function h(){var C={},B,F;for(var E=0,D=arguments.length;B=arguments[E],E<D;++E){for(F in B){if(k(B,F)){C[F]=B[F]}}}return C}function o(E,M,C,N,F,D){var K=document.createDocumentFragment(),H;if(M===""){return K}var L=N.separate;var I=M.split(p[L]),B=(L=="words");if(B&&t){if(/^\s/.test(M)){I.unshift("")}if(/\s$/.test(M)){I.push("")}}for(var J=0,G=I.length;J<G;++J){H=z[N.engine](E,B?n.textAlign(I[J],C,J,G):I[J],C,N,F,D,J<G-1);if(H){K.appendChild(H)}}return K}function l(D,M){var C=D.nodeName.toLowerCase();if(M.ignore[C]){return}var E=!M.textless[C];var B=n.getStyle(v(D,M)).extend(M);var F=c(D,B),G,K,I,H,L,J;if(!F){return}for(G=D.firstChild;G;G=I){K=G.nodeType;I=G.nextSibling;if(E&&K==3){if(H){H.appendData(G.data);D.removeChild(G)}else{H=G}if(I){continue}}if(H){D.replaceChild(o(F,n.whiteSpace(H.data,B,H,J),B,M,G,D),H);H=null}if(K==1){if(G.firstChild){if(G.nodeName.toLowerCase()=="cufon"){z[M.engine](F,null,B,M,G,D)}else{arguments.callee(G,M)}}J=G}}}var t=" ".split(/\s+/).length==0;var d=new A();var b=new r();var y=new u();var e=false;var z={},i={},w={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(B){return jQuery(B)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(B){return $$(B)})||(window.$&&function(B){return $(B)})||(document.querySelectorAll&&function(B){return document.querySelectorAll(B)})||g),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var p={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};m.now=function(){x.ready();return m};m.refresh=function(){y.repeat.apply(y,arguments);return m};m.registerEngine=function(C,B){if(!B){return m}z[C]=B;return m.set("engine",C)};m.registerFont=function(D){if(!D){return m}var B=new s(D),C=B.family;if(!i[C]){i[C]=new f()}i[C].add(B);return m.set("fontFamily",'"'+C+'"')};m.replace=function(D,C,B){C=h(w,C);if(!C.engine){return m}if(!e){n.addClass(x.root(),"cufon-active cufon-loading");n.ready(function(){n.addClass(n.removeClass(x.root(),"cufon-loading"),"cufon-ready")});e=true}if(C.hover){C.forceHitArea=true}if(C.autoDetect){delete C.fontFamily}if(typeof C.textShadow=="string"){C.textShadow=n.textShadow(C.textShadow)}if(typeof C.color=="string"&&/^-/.test(C.color)){C.textGradient=n.gradient(C.color)}else{delete C.textGradient}if(!B){y.add(D,arguments)}if(D.nodeType||typeof D=="string"){D=[D]}n.ready(function(){for(var F=0,E=D.length;F<E;++F){var G=D[F];if(typeof G=="string"){m.replace(C.selector(G),C,true)}else{l(G,C)}}});return m};m.set=function(B,C){w[B]=C;return m};return m})();Cufon.registerEngine("vml",(function(){var e=document.namespaces;if(!e){return}e.add("cvml","urn:schemas-microsoft-com:vml");e=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize){return}b=null;var h=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(h?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0"){return 0}if(/px$/i.test(m)){return parseFloat(m)}var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=(m=="normal")?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;m<l;++m){i.push(n[m][0]*100+"% "+n[m][1])}o.colors=i.join(",");o.color2=n[l][1];g[q]=o}return g[q]}return function(ac,G,Y,C,K,ad,W){var n=(G===null);if(n){G=K.alt}var I=ac.viewBox;var p=Y.computedFontSize||(Y.computedFontSize=new Cufon.CSS.Size(c(ad,Y.get("fontSize"))+"px",ac.baseSize));var y,q;if(n){y=K;q=K.firstChild}else{y=document.createElement("cufon");y.className="cufon cufon-vml";y.alt=G;q=document.createElement("cufoncanvas");y.appendChild(q);if(C.printable){var Z=document.createElement("cufontext");Z.appendChild(document.createTextNode(G));y.appendChild(Z)}if(!W){y.appendChild(document.createElement("cvml:shape"))}}var ai=y.style;var R=q.style;var l=p.convert(I.height),af=Math.ceil(l);var V=af/l;var P=V*Cufon.CSS.fontStretch(Y.get("fontStretch"));var U=I.minX,T=I.minY;R.height=af;R.top=Math.round(p.convert(T-ac.ascent));R.left=Math.round(p.convert(U));ai.height=p.convert(ac.height)+"px";var F=Y.get("color");var ag=Cufon.CSS.textTransform(G,Y).split("");var L=ac.spacing(ag,f(ad,Y,p,"letterSpacing"),f(ad,Y,p,"wordSpacing"));if(!L.length){return null}var k=L.total;var x=-U+k+(I.width-L[L.length-1]);var ah=p.convert(x*P),X=Math.round(ah);var O=x+","+I.height,m;var J="r"+O+"ns";var u=C.textGradient&&d(C.textGradient);var o=ac.glyphs,S=0;var H=C.textShadow;var ab=-1,aa=0,w;while(w=ag[++ab]){var D=o[ag[ab]]||ac.missingGlyph,v;if(!D){continue}if(n){v=q.childNodes[aa];while(v.firstChild){v.removeChild(v.firstChild)}}else{v=document.createElement("cvml:shape");q.appendChild(v)}v.stroked="f";v.coordsize=O;v.coordorigin=m=(U-S)+","+T;v.path=(D.d?"m"+D.d+"xe":"")+"m"+m+J;v.fillcolor=F;if(u){v.appendChild(u.cloneNode(false))}var ae=v.style;ae.width=X;ae.height=af;if(H){var s=H[0],r=H[1];var B=Cufon.CSS.color(s.color),z;var N=document.createElement("cvml:shadow");N.on="t";N.color=B.color;N.offset=s.offX+","+s.offY;if(r){z=Cufon.CSS.color(r.color);N.type="double";N.color2=z.color;N.offset2=r.offX+","+r.offY}N.opacity=B.opacity||(z&&z.opacity)||1;v.appendChild(N)}S+=L[aa++]}var M=v.nextSibling,t,A;if(C.forceHitArea){if(!M){M=document.createElement("cvml:rect");M.stroked="f";M.className="cufon-vml-cover";t=document.createElement("cvml:fill");t.opacity=0;M.appendChild(t);q.appendChild(M)}A=M.style;A.width=X;A.height=af}else{if(M){q.removeChild(M)}}ai.width=Math.max(Math.ceil(p.convert(k*P)),0);if(h){var Q=Y.computedYAdjust;if(Q===undefined){var E=Y.get("lineHeight");if(E=="normal"){E="1em"}else{if(!isNaN(E)){E+="em"}}Y.computedYAdjust=Q=0.5*(a(ad,E)-parseFloat(ai.height))}if(Q){ai.marginTop=Math.ceil(Q)+"px";ai.marginBottom=Q+"px"}}return y}})());Cufon.registerEngine("canvas",(function(){var b=document.createElement("canvas");if(!b||!b.getContext||!b.getContext.apply){return}b=null;var a=Cufon.CSS.supports("display","inline-block");var e=!a&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var f=document.createElement("style");f.type="text/css";f.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(e?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(f);function d(p,h){var n=0,m=0;var g=[],o=/([mrvxe])([^a-z]*)/g,k;generate:for(var j=0;k=o.exec(p);++j){var l=k[2].split(",");switch(k[1]){case"v":g[j]={m:"bezierCurveTo",a:[n+~~l[0],m+~~l[1],n+~~l[2],m+~~l[3],n+=~~l[4],m+=~~l[5]]};break;case"r":g[j]={m:"lineTo",a:[n+=~~l[0],m+=~~l[1]]};break;case"m":g[j]={m:"moveTo",a:[n=~~l[0],m=~~l[1]]};break;case"x":g[j]={m:"closePath"};break;case"e":break generate}h[g[j].m].apply(h,g[j].a)}return g}function c(m,k){for(var j=0,h=m.length;j<h;++j){var g=m[j];k[g.m].apply(k,g.a)}}return function(V,w,P,t,C,W){var k=(w===null);if(k){w=C.getAttribute("alt")}var A=V.viewBox;var m=P.getSize("fontSize",V.baseSize);var B=0,O=0,N=0,u=0;var z=t.textShadow,L=[];if(z){for(var U=z.length;U--;){var F=z[U];var K=m.convertFrom(parseFloat(F.offX));var I=m.convertFrom(parseFloat(F.offY));L[U]=[K,I];if(I<B){B=I}if(K>O){O=K}if(I>N){N=I}if(K<u){u=K}}}var Z=Cufon.CSS.textTransform(w,P).split("");var E=V.spacing(Z,~~m.convertFrom(parseFloat(P.get("letterSpacing"))||0),~~m.convertFrom(parseFloat(P.get("wordSpacing"))||0));if(!E.length){return null}var h=E.total;O+=A.width-E[E.length-1];u+=A.minX;var s,n;if(k){s=C;n=C.firstChild}else{s=document.createElement("cufon");s.className="cufon cufon-canvas";s.setAttribute("alt",w);n=document.createElement("canvas");s.appendChild(n);if(t.printable){var S=document.createElement("cufontext");S.appendChild(document.createTextNode(w));s.appendChild(S)}}var aa=s.style;var H=n.style;var j=m.convert(A.height);var Y=Math.ceil(j);var M=Y/j;var G=M*Cufon.CSS.fontStretch(P.get("fontStretch"));var J=h*G;var Q=Math.ceil(m.convert(J+O-u));var o=Math.ceil(m.convert(A.height-B+N));n.width=Q;n.height=o;H.width=Q+"px";H.height=o+"px";B+=A.minY;H.top=Math.round(m.convert(B-V.ascent))+"px";H.left=Math.round(m.convert(u))+"px";var r=Math.max(Math.ceil(m.convert(J)),0)+"px";if(a){aa.width=r;aa.height=m.convert(V.height)+"px"}else{aa.paddingLeft=r;aa.paddingBottom=(m.convert(V.height)-1)+"px"}var X=n.getContext("2d"),D=j/A.height;X.scale(D,D*M);X.translate(-u,-B);X.save();function T(){var x=V.glyphs,ab,l=-1,g=-1,y;X.scale(G,1);while(y=Z[++l]){var ab=x[Z[l]]||V.missingGlyph;if(!ab){continue}if(ab.d){X.beginPath();if(ab.code){c(ab.code,X)}else{ab.code=d("m"+ab.d,X)}X.fill()}X.translate(E[++g],0)}X.restore()}if(z){for(var U=z.length;U--;){var F=z[U];X.save();X.fillStyle=F.color;X.translate.apply(X,L[U]);T()}}var q=t.textGradient;if(q){var v=q.stops,p=X.createLinearGradient(0,A.minY,0,A.maxY);for(var U=0,R=v.length;U<R;++U){p.addColorStop.apply(p,v[U])}X.fillStyle=p}else{X.fillStyle=P.get("color")}T();return s}})());;
$(document).ready(function(){
  $("img.caption").each(function(i) {
    var imgwidth = $(this).width();
    var imgheight = $(this).height();
    var captiontext = $(this).attr('title');
    var style = $(this).attr('style');
    var alignment = $(this).attr('align');
    //Clear image styles to prevent conflicts with parent div
    $(this).attr({align:""});
    $(this).attr({style:""});
    $(this).wrap("<span class=\"image-caption-container\" style=\"display:block;" + style + "; float: " + alignment + "\"></span>");
    $(this).parent().addClass('image-caption-container-' + alignment);
    if(imgwidth != 'undefined' && imgwidth != 0){
      $(this).parent().width(imgwidth);
    }
    $(this).parent().append("<span style=\"display:block;\" class=\"image-caption\">" + captiontext + "</span>");
  });
});;

/**
 * JavaScript behaviors for the front-end display of webforms.
 */

(function ($) {

Drupal.behaviors.webform = function(context) {
  // Calendar datepicker behavior.
  Drupal.webform.datepicker(context);
};

Drupal.webform = Drupal.webform || {};

Drupal.webform.datepicker = function(context) {
  $('div.webform-datepicker').each(function() {
    var $webformDatepicker = $(this);
    var $calendar = $webformDatepicker.find('input.webform-calendar');
    var startYear = $calendar[0].className.replace(/.*webform-calendar-start-(\d+).*/, '$1');
    var endYear = $calendar[0].className.replace(/.*webform-calendar-end-(\d+).*/, '$1');
    var firstDay = $calendar[0].className.replace(/.*webform-calendar-day-(\d).*/, '$1');

    // Ensure that start comes before end for datepicker.
    if (startYear > endYear) {
      var greaterYear = startYear;
      startYear = endYear;
      endYear = greaterYear;
    }

    // Set up the jQuery datepicker element.
    $calendar.datepicker({
      dateFormat: 'yy-mm-dd',
      yearRange: startYear + ':' + endYear,
      firstDay: parseInt(firstDay),
      onSelect: function(dateText, inst) {
        var date = dateText.split('-');
        $webformDatepicker.find('select.year, input.year').val(+date[0]);
        $webformDatepicker.find('select.month').val(+date[1]);
        $webformDatepicker.find('select.day').val(+date[2]);
      },
      beforeShow: function(input, inst) {
        // Get the select list values.
        var year = $webformDatepicker.find('select.year, input.year').val();
        var month = $webformDatepicker.find('select.month').val();
        var day = $webformDatepicker.find('select.day').val();

        // If empty, default to the current year/month/day in the popup.
        var today = new Date();
        year = year ? year : today.getFullYear();
        month = month ? month : today.getMonth() + 1;
        day = day ? day : today.getDate();

        // Make sure that the default year fits in the available options.
        year = (year < startYear || year > endYear) ? startYear : year;

        // jQuery UI Datepicker will read the input field and base its date off
        // of that, even though in our case the input field is a button.
        $(input).val(year + '-' + month + '-' + day);
      }
    });

    // Prevent the calendar button from submitting the form.
    $calendar.click(function(event) {
      $(this).focus();
      event.preventDefault();
    });
  });
}

})(jQuery);;

/**
 * Toggle the visibility of a fieldset using smooth animations
 */
Drupal.toggleFieldset = function(fieldset) {
  if ($(fieldset).is('.collapsed')) {
    // Action div containers are processed separately because of a IE bug
    // that alters the default submit button behavior.
    var content = $('> div:not(.action)', fieldset);
    $(fieldset).removeClass('collapsed');
    content.hide();
    content.slideDown( {
      duration: 'fast',
      easing: 'linear',
      complete: function() {
        Drupal.collapseScrollIntoView(this.parentNode);
        this.parentNode.animating = false;
        $('div.action', fieldset).show();
      },
      step: function() {
        // Scroll the fieldset into view
        Drupal.collapseScrollIntoView(this.parentNode);
      }
    });
  }
  else {
    $('div.action', fieldset).hide();
    var content = $('> div:not(.action)', fieldset).slideUp('fast', function() {
      $(this.parentNode).addClass('collapsed');
      this.parentNode.animating = false;
    });
  }
};

/**
 * Scroll a given fieldset into view as much as possible.
 */
Drupal.collapseScrollIntoView = function (node) {
  var h = self.innerHeight || document.documentElement.clientHeight || $('body')[0].clientHeight || 0;
  var offset = self.pageYOffset || document.documentElement.scrollTop || $('body')[0].scrollTop || 0;
  var posY = $(node).offset().top;
  var fudge = 55;
  if (posY + node.offsetHeight + fudge > h + offset) {
    if (node.offsetHeight > h) {
      window.scrollTo(0, posY);
    } else {
      window.scrollTo(0, posY + node.offsetHeight - h + fudge);
    }
  }
};

Drupal.behaviors.collapse = function (context) {
  $('fieldset.collapsible > legend:not(.collapse-processed)', context).each(function() {
    var fieldset = $(this.parentNode);
    // Expand if there are errors inside
    if ($('input.error, textarea.error, select.error', fieldset).size() > 0) {
      fieldset.removeClass('collapsed');
    }

    // Turn the legend into a clickable link and wrap the contents of the fieldset
    // in a div for easier animation
    var text = this.innerHTML;
      $(this).empty().append($('<a href="#">'+ text +'</a>').click(function() {
        var fieldset = $(this).parents('fieldset:first')[0];
        // Don't animate multiple times
        if (!fieldset.animating) {
          fieldset.animating = true;
          Drupal.toggleFieldset(fieldset);
        }
        return false;
      }))
      .after($('<div class="fieldset-wrapper"></div>')
      .append(fieldset.children(':not(legend):not(.action)')))
      .addClass('collapse-processed');
  });
};
;

Drupal.behaviors.textarea = function(context) {
  $('textarea.resizable:not(.textarea-processed)', context).each(function() {
    // Avoid non-processed teasers.
    if ($(this).is(('textarea.teaser:not(.teaser-processed)'))) {
      return false;  
    }
    var textarea = $(this).addClass('textarea-processed'), staticOffset = null;

    // When wrapping the text area, work around an IE margin bug.  See:
    // http://jaspan.com/ie-inherited-margin-bug-form-elements-and-haslayout
    $(this).wrap('<div class="resizable-textarea"><span></span></div>')
      .parent().append($('<div class="grippie"></div>').mousedown(startDrag));

    var grippie = $('div.grippie', $(this).parent())[0];
    grippie.style.marginRight = (grippie.offsetWidth - $(this)[0].offsetWidth) +'px';

    function startDrag(e) {
      staticOffset = textarea.height() - e.pageY;
      textarea.css('opacity', 0.25);
      $(document).mousemove(performDrag).mouseup(endDrag);
      return false;
    }

    function performDrag(e) {
      textarea.height(Math.max(32, staticOffset + e.pageY) + 'px');
      return false;
    }

    function endDrag(e) {
      $(document).unbind("mousemove", performDrag).unbind("mouseup", endDrag);
      textarea.css('opacity', 1);
    }
  });
};
;

Drupal.settings.views = Drupal.settings.views || {'ajax_path': 'views/ajax'};

Drupal.behaviors.quicktabs = function (context) {
  $('.quicktabs_wrapper:not(.quicktabs-processed)', context).addClass('quicktabs-processed').each(function(){
    Drupal.quicktabs.prepare(this);
  });
};

Drupal.quicktabs = Drupal.quicktabs || {};
Drupal.quicktabs.ajax = {};
Drupal.quicktabs.scripts = {};
Drupal.quicktabs.css = {};

// setting up the inital behaviours
Drupal.quicktabs.prepare = function(el) {
  var i = 0;
  // el.id format: "quicktabs-$qtid"
  var qtid = el.id.substring(el.id.indexOf('-') +1);

  $(el).find('ul.quicktabs_tabs li a').each(function(){
    this.myTabIndex = i++;
    this.qtid = qtid;
    $(this).unbind('click').bind('click', quicktabsClick);
  });

  // Search for the active tab.
  var $active_tab = $(el).children('.quicktabs_tabs').find('li.active a');

  if ($active_tab.hasClass('qt_tab') || $active_tab.hasClass('qt_ajax_tab')) {
    $active_tab.trigger('click');
  }
  else {
    // Click on the first tab.
    $(el).children('.quicktabs_tabs').find('li.first a').trigger('click');
  }
  return false;
}

// constructor for an individual tab
Drupal.quicktabs.tab = function (el) {
  this.element = el;
  this.tabIndex = el.myTabIndex;
  this.qtid = el.qtid;
  var qtKey = 'qt_' + this.qtid;
  var i = 0;
  for (var key in Drupal.settings.quicktabs[qtKey].tabs) {
    if (i == this.tabIndex) {
      this.tabObj = Drupal.settings.quicktabs[qtKey].tabs[key];
      this.tabKey = key;
    }
    i++;
  }
  this.tabpage_id = 'quicktabs_tabpage_' + this.qtid + '_' + this.tabKey;
  this.container = $('#quicktabs_container_' + this.qtid);
  this.tabpage = this.container.find('#' + this.tabpage_id);
  // The 'this' variable will not persist inside of the options object.
  var tab = this;
  this.options = {
    success: function(response) {
      return tab.success(response);
    },
    complete: function(response) {
      return tab.complete();
    }
  }
}

// ajax callback for non-views tabs
Drupal.quicktabs.tab.prototype.success = function(response) {
  this.container.append(Drupal.theme('quicktabsResponse', this, response.data.content));
  $.extend(true, Drupal.settings, response.data.js_css.js_settings);
  Drupal.quicktabs.ajax.scripts(response.data.js_css.js_files);
  Drupal.quicktabs.ajax.css_files(response.data.js_css.css_files);
  Drupal.attachBehaviors(this.container);
}

// function to call on completed ajax call
// for non-views tabs
Drupal.quicktabs.tab.prototype.complete = function() {
  // stop the progress bar
  this.stopProgress();
}


Drupal.quicktabs.tab.prototype.stopProgress = function () {
  if (this.progress.element) {
    $(this.progress.element).remove();
  }
  $(this.element).removeClass('progress-disabled').attr('disabled', false);
}

Drupal.quicktabs.tab.prototype.startProgress = function () {
  var progressBar = new Drupal.progressBar('qt-progress-' + this.element.id, null, null, null);
  progressBar.setProgress(-1, Drupal.t('Loading'));
  this.progress = {};
  this.progress.element = $(progressBar.element).addClass('qt-progress qt-progress-bar');
  this.container.prepend(this.progress.element);
}

Drupal.quicktabs.tab.prototype.quicktabsAjaxView = function() {
  // Create an empty div for the tabpage. The generated view will be inserted into this.
  var tab = this;
  tab.container.append(Drupal.theme('quicktabsResponse', this, null));

  var target;
  target = $('#' + tab.tabpage_id + ' > div');
  var ajax_path = Drupal.settings.views.ajax_path;
   //If there are multiple views this might've ended up showing up multiple times.
  if (ajax_path.constructor.toString().indexOf("Array") != -1) {
    ajax_path = ajax_path[0];
  }
  var args;
  if (tab.tabObj.args != '') {
    args = tab.tabObj.args.join('/');
  } else {
    args = '';
  }
  var viewData = {
    'view_name': tab.tabObj.vid,
    'view_display_id': tab.tabObj.display,
    'view_args': args
  }
  $.ajax({
    url: ajax_path,
    type: 'GET',
    data: viewData,
    success: function(response) {
      // Call all callbacks.
      if (response.__callbacks) {
        $.each(response.__callbacks, function(i, callback) {
          eval(callback)(target, response);
        });
      }
    },
    complete: function() {
      tab.stopProgress();
    },
    error: function() { alert(Drupal.t("An error occurred at @path.", {'@path': ajax_path})); },
    dataType: 'json'
  });
}

var quicktabsClick = function() {

  var tab = new Drupal.quicktabs.tab(this);

  // Set clicked tab to active.
  $(this).parents('li').siblings().removeClass('active');
  $(this).parents('li').addClass('active');

  // Hide all tabpages.
  tab.container.children().addClass('quicktabs-hide');

  // Show the active tabpage.
  if (tab.tabpage.hasClass('quicktabs_tabpage')) {
    tab.tabpage.removeClass('quicktabs-hide');
  }
  else {
    if ($(this).hasClass('qt_ajax_tab')) {
      tab.startProgress();
      // Construct the ajax tabpage.
      if (tab.tabObj.type != 'view') {
        // construct the ajax path to retrieve the content, depending on type
        var qtAjaxPath = Drupal.settings.basePath + 'quicktabs/ajax/' + tab.tabObj.type + '/';
        switch (tab.tabObj.type) {
          case 'node':
            qtAjaxPath +=  tab.tabObj.nid + '/' + tab.tabObj.teaser + '/' + tab.tabObj.hide_title;
            break;
          case 'block':
            qtAjaxPath +=  tab.tabObj.bid + '/' + tab.tabObj.hide_title;
            break;
          case 'qtabs':
            qtAjaxPath +=  tab.tabObj.qtid;
            break;
          case 'callback':
            qtAjaxPath +=  tab.tabObj.path;
            break;
        }
        
        $.ajax({
          url: qtAjaxPath,
          type: 'GET',
          data: null,
          success: tab.options.success,
          complete: tab.options.complete,
          dataType: 'json'
        });
      }
      else {
        // special treatment for views
        tab.quicktabsAjaxView();
      }
    }
  }
  return false;
}

// theme function for ajax response
Drupal.theme.prototype.quicktabsResponse = function(tab, content) {
  var newDiv = tab.tabObj.type == 'view' ? '<div id="' + tab.tabpage_id + '" class="quicktabs_tabpage"><div></div></div>' : '<div id="' + tab.tabpage_id + '" class="quicktabs_tabpage">' + content + '</div>';
  return newDiv;
};


/**
 * Quicktabs' implementation of merlinofchaos's CTools js magic for loading
 * required js files for ajax-loaded content
 */
Drupal.quicktabs.ajax.scripts = function(files) {
  // Build a list of scripts already loaded:
  $('script').each(function () {
    Drupal.quicktabs.scripts[$(this).attr('src')] = $(this).attr('src');
  });

  var html = '';
  for (var i in files) {
    // Load all files that aren't already present on the page, but make sure not
    // to add misc/jquery.js because this could override a newer version of
    // jQuery loaded by jQuery Update module.
    if (!Drupal.quicktabs.scripts[files[i]] && !files[i].match(/^\/misc\/jquery\.js.*$/)) {
      Drupal.quicktabs.scripts[files[i]] = files[i];
      html += '<script type="text/javascript" src="' + files[i] + '"></script>';
    }
  }

  if (html) {
    $('body').append($(html));
  }
};

/**
 * Quicktabs' implementation of merlinofchaos's CTools js magic for loading
 * required css files for ajax-loaded content
 */
Drupal.quicktabs.ajax.css_files = function(files) {
  // Build a list of css files already loaded:

  $('link:not(.qt-temporary-css)').each(function () {
    if ($(this).attr('type') == 'text/css') {
      Drupal.quicktabs.css[$(this).attr('href')] = $(this).attr('href');
    }
  });

  var html = '';
  for (i in files) {
    if (!Drupal.quicktabs.css[files[i].file]) {
      html += '<link class="qt-temporary-css" type="text/css" rel="stylesheet" media="' + files[i].media +
        '" href="' + files[i].file + '" />';
    }
  }

  if (html) {
    $('link.ctools-temporary-css').remove();
    $('body').append($(html));
  }
};
;
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Manufacturer:
 * Dalton Maag Ltd.
 */
Cufon.registerFont({"w":216,"face":{"font-family":"Aller","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 5 3 3 0 0 2 0 4","ascent":"288","descent":"-72","x-height":"4","bbox":"-14 -294.155 360 90","underline-thickness":"18","underline-position":"-18","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":85},"%":{"d":"84,-132v26,0,35,-22,34,-51v-1,-29,-8,-50,-34,-50v-25,0,-36,21,-35,50v0,29,7,51,35,51xm84,-106v-47,0,-68,-31,-68,-77v0,-45,22,-76,68,-76v45,0,67,31,67,76v0,46,-21,77,-67,77xm292,-22v26,0,35,-22,35,-50v0,-29,-8,-50,-35,-50v-26,0,-35,22,-34,50v1,28,7,50,34,50xm292,4v-46,0,-67,-31,-67,-76v0,-45,21,-77,67,-77v46,0,68,31,68,77v0,46,-22,76,-68,76xm258,-255v12,0,26,-2,37,0r-174,255v-12,1,-25,2,-36,0","w":378},"&":{"d":"145,-229v-30,-10,-78,-8,-78,29v0,50,74,30,121,34r33,-45r3,0r0,45r47,0v3,8,2,21,0,29r-47,0r0,53v0,63,-43,88,-106,88v-56,0,-97,-22,-97,-77v0,-37,20,-62,46,-74v-20,-9,-37,-25,-37,-54v-1,-60,70,-72,123,-55v-1,12,-3,18,-8,27xm60,-79v0,35,23,51,61,51v64,0,73,-44,69,-108r-73,0v-36,1,-57,23,-57,57","w":273},"'":{"d":"23,-259v11,0,24,-2,34,0r0,99v-11,2,-23,1,-34,0r0,-99","w":80},"(":{"d":"97,-279v-55,77,-56,262,0,339v-11,2,-24,3,-35,0v-57,-78,-57,-261,0,-339v11,-2,23,-2,35,0","w":114},")":{"d":"53,-279v57,78,57,261,0,339v-11,2,-23,2,-35,0v55,-77,56,-262,0,-339v11,-2,24,-3,35,0","w":114},"*":{"d":"76,-259v8,-2,15,-1,23,0r3,47v-10,0,-20,2,-29,0xm66,-207v-1,10,-4,18,-8,26r-44,-17v1,-7,3,-14,7,-21xm60,-173v9,4,16,10,23,16r-30,36r-18,-13xm154,-219v4,7,6,14,7,21r-44,17v-4,-8,-7,-16,-8,-26xm139,-134v-5,6,-11,9,-18,13r-30,-36v7,-5,15,-12,23,-16","w":174},"+":{"d":"92,-111r-60,0v-2,-9,-1,-23,0,-32r60,0r0,-65v11,-2,21,-2,32,0r0,65r60,0v0,11,2,22,0,32r-60,0r0,66v-10,1,-22,2,-32,0r0,-66"},",":{"d":"28,-40v12,-1,23,-2,36,0r-23,81v-11,0,-24,2,-34,0","w":76},"-":{"d":"112,-117v0,10,2,23,0,32r-94,0v0,-10,-2,-23,0,-32r94,0","w":129},".":{"d":"23,0v0,-13,-2,-28,0,-40v13,-2,27,-2,40,0v3,11,3,29,0,40v-13,0,-28,2,-40,0","w":86},"\/":{"d":"100,-259v12,0,24,-2,35,0r-88,259v-11,0,-24,2,-34,0","w":147},"0":{"d":"18,-116v0,-69,25,-120,91,-120v65,0,90,51,90,120v0,68,-25,120,-91,120v-66,0,-90,-52,-90,-120xm161,-116v0,-50,-12,-88,-53,-88v-41,0,-53,39,-53,88v0,50,11,89,53,89v41,0,53,-40,53,-89"},"1":{"d":"49,-162v-7,-8,-10,-14,-13,-26v35,-14,62,-36,101,-46r0,203r51,0v1,11,2,20,0,31r-140,0v-3,-9,-2,-21,0,-31r54,0r0,-154"},"2":{"d":"27,-221v50,-26,151,-21,146,53v-4,63,-54,95,-86,136r96,0v0,10,2,23,0,32r-160,0r-2,-5r102,-122v22,-29,13,-77,-35,-77v-23,0,-37,7,-52,13v-3,-9,-9,-19,-9,-30"},"3":{"d":"28,-16v42,19,119,17,119,-43v0,-41,-43,-51,-82,-41r-3,-5r60,-95r-92,0v-2,-9,-3,-23,0,-32r145,0r3,4r-66,100v43,-4,70,24,72,65v4,85,-94,105,-167,77v2,-11,6,-21,11,-30"},"4":{"d":"15,-28r-3,-4r105,-207v12,1,23,7,32,12r-84,167r73,0r0,-68v11,-2,23,-2,34,0r0,68r34,0v0,10,2,23,0,32r-34,0r0,49v-11,0,-24,2,-34,0r0,-49r-123,0"},"5":{"d":"79,-136v60,-10,105,17,105,74v0,82,-89,103,-161,78v1,-12,5,-21,10,-30v44,17,113,11,113,-46v0,-50,-57,-57,-98,-42r-4,-3r5,-127r122,0v0,11,2,22,0,32r-90,0"},"6":{"d":"112,4v-110,7,-104,-153,-55,-214v22,-30,56,-48,104,-52v4,11,3,20,1,30v-59,6,-91,45,-101,101v10,-18,31,-35,61,-34v49,2,77,31,77,83v0,54,-34,82,-87,86xm162,-81v0,-34,-16,-54,-49,-54v-32,0,-49,22,-50,55v-1,34,17,53,48,53v33,0,51,-21,51,-54"},"7":{"d":"88,27v-13,-3,-23,-7,-33,-15r92,-212r-122,0v0,-11,-2,-22,0,-32r173,2"},"8":{"d":"185,-197v1,32,-20,49,-42,60v28,13,54,31,54,71v0,49,-38,70,-89,70v-51,0,-89,-21,-89,-70v0,-40,26,-58,53,-71v-22,-11,-42,-29,-41,-60v1,-42,34,-62,77,-62v43,0,75,20,77,62xm108,-26v58,0,66,-72,20,-88v-6,-3,-13,-6,-20,-8v-26,9,-51,20,-51,53v0,28,21,43,51,43xm108,-230v-48,-4,-54,58,-16,73v26,11,58,-7,58,-37v0,-25,-16,-34,-42,-36"},"9":{"d":"106,-235v109,-7,103,153,55,214v-23,29,-55,49,-104,52v-4,-8,-3,-21,-1,-30v58,-7,93,-43,101,-100v-11,17,-32,34,-61,33v-51,0,-77,-32,-77,-82v0,-55,34,-83,87,-87xm57,-149v0,35,16,53,48,53v32,0,51,-21,51,-54v1,-34,-17,-54,-49,-54v-30,1,-50,21,-50,55"},":":{"d":"23,-145v0,-13,-2,-28,0,-40v13,-2,27,-2,40,0v3,11,3,29,0,40v-13,0,-28,2,-40,0xm23,0v0,-13,-2,-28,0,-40v13,-2,27,-2,40,0v3,11,3,29,0,40v-13,0,-28,2,-40,0","w":86},";":{"d":"31,-40v12,-1,23,-2,36,0r-23,81v-11,0,-24,2,-34,0xm29,-145v0,-13,-2,-28,0,-40v13,-2,27,-2,40,0v3,11,3,29,0,40v-13,0,-28,2,-40,0","w":93},"<":{"d":"184,-204v3,14,2,22,0,34r-118,46r118,44v2,12,2,24,0,36r-150,-61v-2,-12,-3,-26,0,-38"},"=":{"d":"184,-107v2,10,2,22,0,32r-152,0v0,-10,-2,-23,0,-32r152,0xm184,-176v2,11,2,23,0,33r-152,0v0,-11,-2,-23,0,-33r152,0"},">":{"d":"32,-44v0,-11,-2,-24,0,-34r118,-46r-118,-44v-2,-12,-2,-24,0,-36r150,61v3,10,2,26,0,38"},"?":{"d":"162,-189v-2,42,-32,63,-62,75r0,37v-11,0,-24,2,-34,0r0,-58v29,-8,57,-18,58,-54v1,-44,-69,-46,-100,-30v-3,-10,-7,-18,-9,-30v58,-23,151,-10,147,60xm62,0v0,-13,-2,-28,0,-40v11,-3,29,-3,41,0v0,13,2,28,0,40v-13,0,-29,2,-41,0","w":175},"@":{"d":"54,-78v-6,93,84,124,165,96v4,7,7,15,8,25v-18,8,-41,12,-70,12v-85,-2,-137,-45,-137,-132v0,-113,73,-186,194,-186v79,0,129,40,131,122v2,79,-63,146,-137,110v-39,25,-110,14,-108,-44v3,-83,71,-133,157,-105r-26,129v52,20,82,-39,82,-90v0,-62,-39,-96,-103,-94v-97,2,-150,62,-156,157xm136,-82v-2,37,35,43,63,29r20,-104v-51,-9,-80,26,-83,75","w":365},"A":{"d":"159,-60r-98,0r-18,60v-12,0,-26,2,-37,0r84,-259v14,0,29,-2,42,0r84,259v-13,0,-27,2,-39,0xm71,-92r78,0r-39,-132","w":222},"B":{"d":"198,-72v1,80,-91,81,-166,72r0,-259v64,-9,153,-9,150,64v-2,29,-18,49,-42,56v34,6,58,25,58,67xm159,-73v0,-47,-43,-49,-91,-48r0,93v45,3,91,1,91,-45xm145,-193v0,-38,-37,-45,-77,-40r0,82v42,2,77,-2,77,-42","w":214},"C":{"d":"61,-128v0,82,66,119,136,90v5,10,9,20,10,30v-19,8,-40,12,-65,12v-81,-1,-118,-52,-121,-132v-4,-104,83,-159,182,-125v0,12,-6,21,-9,30v-69,-27,-133,13,-133,95","w":222},"D":{"d":"231,-129v0,114,-87,147,-199,129r0,-259v110,-19,199,18,199,130xm192,-130v0,-75,-44,-108,-123,-99r0,199v77,11,123,-21,123,-100","w":251},"E":{"d":"32,-259r142,0v0,10,2,23,0,32r-106,0r0,74r85,0v0,10,2,23,0,32r-85,0r0,89r109,0v0,10,2,23,0,32r-145,0r0,-259","w":192},"F":{"d":"32,-259r135,0v0,10,2,23,0,32r-99,0r0,76r83,0v0,11,2,23,0,33r-83,0r0,118v-12,0,-25,2,-36,0r0,-259","w":181},"G":{"d":"60,-128v-2,73,48,114,121,95r0,-101v12,0,26,-2,37,0r0,126v-20,8,-44,13,-73,12v-82,-2,-121,-50,-124,-132v-3,-104,85,-159,184,-125v0,12,-6,21,-9,30v-15,-4,-29,-9,-51,-8v-59,2,-83,43,-85,103","w":245},"H":{"d":"32,-259v12,0,25,-2,36,0r0,107r111,0r0,-107v12,0,25,-2,36,0r0,259v-12,0,-25,2,-36,0r0,-120r-111,0r0,120v-12,0,-25,2,-36,0r0,-259","w":246},"I":{"d":"32,-259v12,0,25,-2,36,0r0,259v-12,0,-25,2,-36,0r0,-259","w":100},"J":{"d":"16,-31v29,8,60,2,60,-33r0,-163r-45,0v-2,-10,-2,-22,0,-32r82,0r0,187v5,63,-44,87,-103,72v1,-12,3,-20,6,-31","w":142},"K":{"d":"79,-131r83,-128v13,0,27,-2,40,0r-82,124r93,135v-14,0,-28,2,-42,0xm32,-259v12,0,25,-2,36,0r0,259v-12,0,-25,2,-36,0r0,-259"},"L":{"d":"32,-259v12,0,25,-2,36,0r0,227r102,0v1,10,2,22,0,32r-138,0r0,-259","w":178},"M":{"d":"39,-259v13,0,29,-2,41,0r67,162r68,-162v13,0,27,-2,39,0r12,259v-12,0,-24,2,-35,0r-9,-201r-63,147v-9,1,-19,2,-28,0r-62,-148r-8,202v-11,0,-23,2,-34,0","w":293},"N":{"d":"32,-259v11,0,23,-2,34,0r112,195r0,-195v12,0,24,-2,35,0r0,259v-11,0,-23,2,-34,0r-113,-193r0,193v-11,0,-24,2,-34,0r0,-259","w":244},"O":{"d":"240,-129v0,79,-31,133,-109,133v-78,0,-109,-56,-109,-133v0,-77,31,-134,109,-134v78,0,109,55,109,134xm61,-129v0,55,15,102,70,102v55,0,71,-47,71,-102v0,-55,-15,-102,-71,-102v-55,0,-70,47,-70,102","w":262},"P":{"d":"190,-180v0,70,-52,92,-122,86r0,94v-12,0,-25,2,-36,0r0,-259v76,-12,158,-4,158,79xm152,-179v0,-46,-37,-57,-84,-51r0,104v45,6,84,-5,84,-53","w":203},"Q":{"d":"243,23v0,13,-3,22,-6,32r-83,-15v0,-15,3,-20,7,-31xm239,-129v0,79,-31,133,-109,133v-78,0,-109,-56,-109,-133v0,-77,31,-134,109,-134v78,0,109,55,109,134xm60,-129v1,57,16,102,70,102v55,0,71,-46,71,-102v0,-56,-16,-102,-71,-102v-55,0,-70,45,-70,102","w":260},"R":{"d":"149,-181v1,-43,-35,-56,-80,-50r0,231v-12,0,-25,2,-37,0r0,-259v83,-16,181,8,151,101v-8,24,-28,39,-50,49r75,109v-12,1,-28,2,-41,0r-83,-121v30,-10,64,-21,65,-60","w":214},"S":{"d":"145,-137v70,41,26,157,-62,141v-27,1,-47,-3,-66,-11v0,-10,5,-23,8,-32v43,20,140,14,112,-51v-21,-48,-114,-28,-114,-103v0,-70,87,-82,145,-60v-1,10,-3,20,-7,30v-34,-17,-120,-14,-96,41v12,27,55,30,80,45","w":196},"T":{"d":"76,-227r-67,0v0,-10,-2,-23,0,-32r171,0v2,10,2,22,0,32r-67,0r0,227v-12,2,-25,1,-37,0r0,-227","w":189},"U":{"d":"121,4v-124,0,-86,-150,-92,-263v12,-1,25,-2,37,0r0,147v1,47,7,83,55,83v48,0,56,-34,55,-83r0,-147v12,-1,26,-2,37,0v-6,114,33,263,-92,263","w":242},"V":{"d":"8,-259v13,0,29,-2,41,0r65,222r65,-222v13,0,28,-2,40,0r-85,259v-14,0,-29,2,-42,0","w":226},"W":{"d":"10,-259v13,0,28,-2,40,0r45,216r53,-216v12,0,27,-2,38,0r54,218r45,-218v12,0,26,-2,37,0r-62,259v-14,0,-30,2,-43,0r-51,-203r-52,203v-14,0,-29,2,-42,0","w":331},"X":{"d":"108,-135r-62,135v-14,2,-24,1,-38,0r64,-135r-54,-123v13,-2,26,-3,39,0xm111,-135r51,-123v12,-2,27,-3,39,0r-54,122r64,136v-15,2,-24,1,-39,0","w":219},"Y":{"d":"89,-95r-83,-164v14,0,29,-2,42,0r60,129r60,-129v13,0,27,-2,39,0r-81,164r0,95v-12,0,-26,2,-37,0r0,-95","w":213},"Z":{"d":"9,-3r130,-224r-114,0v-2,-10,-2,-22,0,-32r168,0r2,3r-130,224r121,0v2,10,2,22,0,32r-175,0","w":203},"[":{"d":"18,-274r77,0v2,10,2,20,0,30r-42,0r0,275r42,0v2,10,2,20,0,29r-77,0r0,-334","w":114},"\\":{"d":"134,0v-12,0,-24,2,-35,0r-87,-259v12,0,24,-2,35,0","w":148},"]":{"d":"19,60v-2,-9,-1,-21,0,-29r43,0r0,-275r-43,0v-1,-10,-2,-20,0,-30r78,0r0,334r-78,0","w":114},"^":{"d":"80,-259v13,0,26,-2,38,0r57,127v-11,0,-23,2,-33,0r-44,-97r-42,97v-12,1,-22,0,-34,0","w":198},"_":{"d":"180,5v1,8,2,19,0,27r-178,0v-2,-9,-3,-18,0,-27r178,0","w":181},"`":{"d":"46,-260v15,0,32,-2,46,0r42,46v-12,3,-25,2,-36,0","w":180},"a":{"d":"53,-55v0,36,45,34,73,27r0,-59v-34,-5,-73,-3,-73,32xm17,-55v3,-52,53,-68,109,-60v10,-52,-52,-49,-87,-37v-5,-8,-7,-18,-7,-29v56,-17,129,-11,129,61r0,115v-54,14,-148,20,-144,-50","w":186},"b":{"d":"193,-97v0,89,-86,119,-165,91r0,-258v12,0,25,-2,36,0r0,102v9,-15,28,-27,53,-27v54,1,76,36,76,92xm111,-158v-60,-2,-46,72,-47,128v50,14,94,-11,92,-65v-2,-36,-10,-62,-45,-63","w":212},"c":{"d":"55,-92v0,58,48,77,97,60v4,6,7,18,7,28v-71,25,-141,-9,-141,-88v0,-77,68,-114,139,-89v-1,9,-3,21,-6,28v-50,-19,-96,4,-96,61","w":172},"d":{"d":"19,-89v0,-74,55,-112,128,-95r0,-80v12,0,25,-2,36,0r0,259v-73,22,-164,7,-164,-84xm57,-89v-4,55,42,73,90,60r0,-124v-47,-20,-97,9,-90,64","w":210},"e":{"d":"164,-34v3,8,6,18,7,28v-69,27,-160,1,-153,-85v5,-59,28,-98,87,-98v58,0,82,44,76,105r-126,0v-5,60,62,69,109,50xm147,-110v4,-44,-50,-67,-77,-37v-8,9,-12,21,-14,37r91,0","w":200},"f":{"d":"132,-235v-34,-11,-62,7,-55,50r47,0v1,9,2,20,0,28r-47,0r0,157v-12,0,-25,2,-36,0r0,-157r-30,0v-2,-7,-1,-20,0,-28r30,0v-8,-64,37,-93,96,-79v0,12,-3,19,-5,29","w":133},"g":{"d":"54,-41v2,26,47,17,74,17v38,0,61,17,61,50v0,47,-49,64,-100,64v-43,0,-76,-10,-76,-48v0,-22,14,-37,29,-45v-26,-13,-18,-58,5,-70v-15,-10,-26,-27,-26,-51v0,-64,85,-81,127,-48v10,-8,27,-15,46,-14v0,11,2,22,0,32r-32,0v29,57,-27,112,-93,91v-6,4,-15,12,-15,22xm152,28v0,-30,-43,-22,-73,-23v-21,-2,-32,13,-32,30v0,46,105,31,105,-7xm58,-124v0,24,13,39,38,39v25,0,38,-15,38,-39v0,-25,-13,-39,-38,-39v-25,0,-38,14,-38,39","w":199},"h":{"d":"113,-157v-67,0,-46,92,-49,157v-12,0,-25,2,-36,0r0,-264v12,0,25,-2,36,0r0,107v11,-16,28,-32,57,-32v86,0,57,111,62,189v-12,0,-24,2,-35,0v-7,-56,23,-157,-35,-157","w":208},"i":{"d":"40,-157v-18,3,-32,0,-24,-28r59,0r0,185v-12,0,-24,2,-35,0r0,-157xm32,-225v0,-12,-2,-26,0,-37v12,0,27,-2,38,0v0,12,2,25,0,37v-12,0,-27,2,-38,0","w":103},"j":{"d":"-9,36v24,8,50,2,50,-28r0,-165v-18,3,-32,0,-24,-28r59,0r0,195v4,51,-45,65,-90,53v0,-10,2,-20,5,-27xm70,-226v-27,8,-48,1,-38,-35v10,-3,28,-3,38,0v2,12,2,23,0,35","w":104},"k":{"d":"27,-264v12,0,25,-2,36,0r0,264v-12,0,-25,2,-36,0r0,-264xm73,-96r58,-89v13,0,28,-2,40,0r-59,87r69,98v-13,0,-28,2,-40,0","w":185},"l":{"d":"104,0v-41,9,-76,-4,-76,-48r0,-216v12,0,24,-2,35,0r0,208v-2,25,13,34,37,28v2,8,4,18,4,28","w":107},"m":{"d":"108,-158v-62,0,-40,95,-44,158v-12,0,-24,2,-35,0r0,-185v10,0,20,-2,30,0r3,29v12,-39,95,-46,105,0v11,-17,26,-32,54,-33v86,-4,57,111,62,189v-12,0,-25,2,-36,0r0,-107v-1,-29,-5,-50,-32,-50v-61,0,-36,97,-41,157v-12,0,-25,2,-36,0r0,-110v0,-28,-5,-48,-30,-48","w":307},"n":{"d":"114,-157v-66,0,-48,91,-50,157v-12,0,-24,2,-35,0r0,-185v10,0,20,-2,30,0r3,30v11,-18,30,-33,59,-34v86,-4,57,111,62,189v-12,0,-24,2,-35,0r0,-107v-1,-30,-6,-50,-34,-50","w":208},"o":{"d":"190,-92v0,57,-27,96,-86,96v-59,0,-86,-38,-86,-96v0,-59,28,-97,86,-97v57,0,86,40,86,97xm55,-92v0,39,12,68,49,68v36,0,48,-30,48,-68v0,-38,-12,-68,-48,-68v-37,0,-49,30,-49,68","w":207},"p":{"d":"193,-97v0,75,-55,115,-129,97r0,85v-12,0,-25,2,-36,0r0,-270v21,-3,39,-2,34,26v11,-17,29,-30,56,-30v53,0,75,37,75,92xm111,-158v-59,-1,-46,71,-47,128v52,15,95,-11,92,-65v-2,-35,-11,-63,-45,-63","w":212},"q":{"d":"19,-87v0,-88,81,-119,163,-94r0,266v-12,0,-24,2,-35,0r0,-85v-68,15,-128,-13,-128,-87xm56,-86v0,54,44,69,91,56r0,-126v-53,-13,-91,15,-91,70","w":210},"r":{"d":"125,-153v-79,-10,-58,82,-61,153v-12,0,-24,2,-35,0r0,-185v10,0,21,-2,30,0r3,29v11,-18,32,-35,63,-29v2,10,2,21,0,32","w":133},"s":{"d":"144,-75v23,74,-70,93,-127,71v0,-11,6,-20,9,-29v32,20,113,2,76,-39v-30,-18,-80,-18,-80,-64v0,-56,74,-61,120,-44v-1,10,-4,20,-8,28v-25,-17,-102,-8,-67,30v25,17,68,15,77,47","w":163},"t":{"d":"123,-1v-44,11,-87,0,-87,-50r0,-105v-10,-2,-28,5,-30,-5r62,-69r3,0r0,45r47,0v0,10,2,20,0,29r-47,0r0,84v-6,39,16,54,48,43v4,8,3,19,4,28","w":128},"u":{"d":"179,-6v-67,21,-152,16,-152,-76r0,-103v12,0,24,-2,35,0v6,65,-23,165,51,159v12,0,22,-1,31,-4r0,-155v12,0,24,-2,35,0r0,179","w":206},"v":{"d":"6,-185v13,0,28,-2,40,0r50,153r51,-153v13,0,26,-2,38,0r-72,185v-12,0,-24,2,-35,0","w":191},"w":{"d":"8,-185v13,0,26,-2,38,0r36,151r41,-151v12,0,25,-2,36,0r41,149r36,-149v12,0,24,-2,35,0r-55,185v-12,0,-25,2,-36,0r-40,-140r-41,140v-12,0,-26,2,-37,0","w":279},"x":{"d":"57,-96r-44,-89v13,0,26,-2,39,0r38,90r-46,95v-13,0,-26,2,-38,0xm93,-95r38,-90v13,0,26,-2,39,0r-43,88r50,97v-13,0,-25,2,-38,0","w":183},"y":{"d":"31,58v23,8,48,0,50,-23r11,-35v-8,0,-19,2,-26,0r-61,-185v13,0,27,-2,39,0r51,172r53,-172v12,0,25,-2,37,0r-82,247v-11,26,-47,34,-78,23v0,-13,2,-19,6,-27","w":190},"z":{"d":"10,-5r98,-151r-86,0v-1,-8,-2,-21,0,-29r139,0r1,5r-98,152r92,0v2,9,1,19,0,28r-144,0","w":171},"{":{"d":"129,60v-67,5,-75,-44,-75,-109v0,-32,-13,-45,-36,-56r0,-5v22,-11,37,-28,36,-61v-1,-64,7,-109,75,-104v2,9,2,19,0,28v-36,-2,-40,21,-40,57v0,40,-3,71,-31,82v28,12,31,44,31,85v0,35,5,55,40,54v2,10,2,19,0,29","w":149},"|":{"d":"42,-279v12,-2,24,-2,35,0r0,339v-9,3,-25,3,-35,0r0,-339","w":119},"}":{"d":"131,-105v-74,17,13,172,-112,165v0,-10,-2,-20,0,-29v37,2,41,-22,41,-57v-1,-41,4,-69,30,-82v-27,-12,-31,-42,-30,-84v0,-34,-5,-58,-41,-55v0,-9,-2,-19,0,-28v68,-5,78,39,75,104v-1,34,15,50,37,61r0,5","w":149},"~":{"d":"165,-143v-32,47,-108,-19,-143,19v-8,-7,-12,-14,-15,-23v9,-11,27,-21,47,-21v34,2,70,29,96,1v8,7,11,14,15,24","w":171},"!":{"d":"33,-259v13,0,27,-2,39,0r-2,181v-11,2,-23,3,-34,0xm32,0v0,-13,-2,-28,0,-40v13,-2,27,-2,40,0v2,13,2,27,0,40v-13,0,-28,2,-40,0","w":104},"\"":{"d":"94,-259v11,0,24,-2,34,0r0,99v-11,2,-23,1,-34,0r0,-99xm23,-259v11,0,24,-2,34,0r0,99v-11,2,-23,1,-34,0r0,-99","w":151},"#":{"d":"68,-75r-44,0v0,-9,-2,-21,0,-29r47,0r5,-59r-45,0v-2,-7,-1,-20,0,-28r47,0r5,-57r32,-1r-4,58r61,0r5,-57r32,-1r-5,58r42,0v2,9,1,19,0,28r-44,0r-5,59r42,0v0,9,2,21,0,29r-45,0r-5,65v-11,2,-22,1,-32,0r5,-65r-61,0r-5,65v-12,1,-21,2,-33,0xm165,-104r5,-59r-62,0r-5,59r62,0","w":264},"$":{"d":"157,-133v56,31,33,135,-33,134r0,41v-6,3,-19,3,-25,0r0,-38v-29,1,-51,-3,-72,-11v0,-11,5,-22,8,-32v43,20,135,16,112,-50v-27,-43,-115,-27,-113,-101v1,-40,26,-64,65,-68r0,-35v7,-2,18,-1,25,0r0,34v19,0,41,4,55,10v-1,10,-4,19,-8,29v-35,-15,-117,-16,-96,42v17,25,56,31,82,45"},"\u00a0":{"w":85}}});
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Manufacturer:
 * Dalton Maag Ltd.
 */
Cufon.registerFont({"w":216,"face":{"font-family":"Aller","font-weight":700,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 8 3 4 0 0 2 0 4","ascent":"288","descent":"-72","x-height":"4","bbox":"-18 -298.893 363 90.1267","underline-thickness":"18","underline-position":"-18","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":79},"!":{"d":"26,-259v19,-2,37,-3,56,0r-4,176v-16,2,-32,3,-48,0xm27,0v-3,-18,-2,-35,0,-53v18,-2,35,-3,53,0v3,18,2,35,0,53v-18,3,-35,2,-53,0","w":107},"\"":{"d":"18,-259v13,-3,32,-3,46,0r0,101v-15,2,-31,2,-46,0r0,-101xm90,-259v13,-3,32,-3,46,0r0,101v-15,2,-31,2,-46,0r0,-101","w":154},"#":{"d":"61,-74r-40,0v-3,-12,-2,-26,0,-38r43,0r4,-44r-40,0v-3,-10,-3,-27,0,-38r43,0r5,-54v13,-3,30,-3,44,0r-5,54r44,0r4,-54v13,-3,30,-3,44,0r-4,54r37,0v3,10,3,27,0,38r-40,0r-4,44r38,0v0,13,2,26,0,38r-41,0r-5,63v-13,3,-30,3,-44,0r5,-63r-44,0r-5,63v-13,3,-30,3,-44,0xm152,-112r4,-44r-44,0r-4,44r44,0","w":264},"$":{"d":"156,-140v59,29,36,139,-30,141r0,41v-11,3,-21,4,-32,0r0,-38v-31,2,-54,-5,-76,-13v2,-16,6,-29,11,-43v36,17,123,20,101,-36v-31,-37,-107,-26,-105,-97v1,-45,28,-68,69,-74r0,-38v11,-2,21,-3,32,0r0,37v21,2,37,6,55,12v-1,14,-5,28,-11,41v-26,-13,-104,-25,-88,28v16,21,50,27,74,39"},"%":{"d":"269,-72v0,22,5,42,25,42v20,0,25,-20,25,-42v0,-22,-5,-42,-25,-42v-20,0,-25,20,-25,42xm363,-72v0,45,-23,76,-69,76v-47,0,-70,-30,-70,-76v0,-47,25,-77,70,-77v45,0,69,31,69,77xm62,-182v0,22,5,42,25,42v20,0,26,-20,26,-42v0,-22,-5,-42,-26,-42v-20,0,-25,20,-25,42xm157,-182v0,46,-23,76,-70,76v-46,0,-69,-31,-69,-76v0,-46,24,-77,69,-77v45,0,70,30,70,77xm253,-255v17,-2,32,-3,50,0r-174,254v-17,2,-33,3,-50,0","w":378},"&":{"d":"79,-196v0,41,60,25,98,28r42,-51r8,0r0,51r37,0v2,13,2,26,0,39r-37,0v9,89,-27,136,-111,133v-55,-1,-98,-21,-98,-77v0,-37,19,-60,43,-72v-18,-9,-33,-27,-33,-53v-2,-64,77,-76,131,-57v0,14,-4,26,-11,38v-26,-10,-69,-11,-69,21xm122,-40v51,0,58,-38,55,-89v-50,-2,-105,-5,-103,45v1,29,16,44,48,44","w":274},"'":{"d":"18,-259v13,-3,32,-3,46,0r0,101v-15,2,-31,2,-46,0r0,-101","w":82},"(":{"d":"111,60v-35,9,-64,-2,-67,-30v-40,-83,-32,-246,16,-309v13,-4,37,-3,51,0v-54,77,-53,264,0,339","w":128},")":{"d":"18,60v53,-79,53,-261,0,-339v14,-4,38,-4,51,0v56,78,54,263,0,339v-12,3,-37,3,-51,0","w":128},"*":{"d":"77,-259v9,-2,18,-1,27,0r5,49v-10,3,-26,3,-36,0xm13,-192v0,-11,6,-17,9,-25r48,11v-2,13,-6,24,-11,34xm148,-125v-5,6,-14,13,-22,16r-32,-37v9,-9,18,-16,28,-21xm160,-218v4,7,6,18,8,26r-45,20v-5,-10,-9,-22,-11,-34xm56,-108v-8,-3,-17,-10,-22,-17r26,-42v10,5,20,12,29,21","w":174},"+":{"d":"86,-105r-56,0v-3,-15,-4,-29,0,-44r56,0r0,-64v15,-2,29,-3,44,0r0,64r56,0v2,15,3,29,0,44r-56,0r0,63v-15,2,-29,3,-44,0r0,-63"},",":{"d":"36,-52v14,-3,35,-3,50,0r-27,92v-13,3,-33,3,-47,0","w":104},"-":{"d":"113,-121v2,14,3,30,0,44r-92,0v-2,-14,-3,-30,0,-44r92,0","w":133},".":{"d":"26,0v-4,-18,-4,-35,0,-53v17,-2,35,-3,52,0v4,18,4,35,0,53v-18,2,-34,3,-52,0","w":104},"\/":{"d":"92,-259v18,-2,33,-3,51,0r-88,259v-18,3,-33,2,-51,0","w":147},"0":{"d":"203,-117v0,70,-26,121,-95,121v-68,0,-93,-52,-93,-121v0,-69,26,-121,95,-121v68,0,93,51,93,121xm109,-194v-57,0,-55,155,0,155v32,0,39,-36,39,-78v0,-42,-6,-77,-39,-77"},"1":{"d":"94,-43r0,-126r-45,17v-9,-12,-14,-23,-19,-38r104,-45r9,0r0,192r52,0v2,15,2,28,0,43r-154,0v0,-15,-2,-29,0,-43r53,0"},"2":{"d":"25,-225v63,-30,179,-11,150,81v-13,41,-41,67,-64,100r76,0v3,14,2,30,0,44r-164,0r-3,-5v33,-47,74,-87,101,-139v16,-31,-13,-56,-51,-49v-13,2,-22,6,-33,10v-6,-12,-11,-26,-12,-42"},"3":{"d":"137,-66v0,-34,-41,-39,-73,-32r-4,-6r49,-87r-79,0v-4,-14,-3,-30,0,-44r150,0r4,6r-57,97v38,1,59,27,61,63v5,88,-99,111,-174,81v1,-15,7,-30,13,-42v40,16,111,17,110,-36"},"4":{"d":"6,-34r102,-206v18,2,33,8,45,17r-75,150r52,0r0,-57v14,-3,35,-3,50,0r0,57r26,0v3,14,2,30,0,44r-26,0r0,50v-17,2,-33,2,-50,0r0,-50r-121,0"},"5":{"d":"136,-63v0,-43,-59,-46,-91,-30r-5,-4r5,-138r129,0v2,14,3,30,0,44r-83,0r-2,52v56,-11,100,14,100,72v0,88,-96,105,-171,80v2,-16,7,-30,13,-43v36,15,105,16,105,-33"},"6":{"d":"113,4v-110,8,-111,-154,-58,-216v24,-27,60,-47,108,-49v4,13,6,27,1,42v-50,4,-81,32,-89,78v10,-15,26,-27,52,-26v49,2,77,32,77,83v0,55,-35,84,-91,88xm74,-84v-1,28,13,47,38,47v24,0,40,-17,39,-45v0,-29,-13,-45,-38,-45v-25,0,-39,17,-39,43"},"7":{"d":"133,-191r-108,0v-3,-14,-2,-30,0,-44r177,0r2,5r-106,257v-18,-5,-33,-10,-47,-21"},"8":{"d":"17,-68v0,-36,20,-56,44,-69v-17,-10,-33,-31,-33,-56v0,-44,34,-66,80,-66v46,0,80,22,80,66v0,26,-16,45,-33,56v24,12,44,33,44,69v0,51,-39,72,-91,72v-52,0,-91,-21,-91,-72xm108,-37v38,0,50,-42,28,-64v-7,-7,-16,-12,-28,-16v-45,4,-56,80,0,80xm108,-219v-48,0,-34,61,0,66v35,-3,47,-67,0,-66"},"9":{"d":"108,-238v110,-8,111,155,57,216v-24,27,-58,48,-107,49v-3,-14,-8,-27,-1,-42v51,-3,80,-33,89,-78v-11,14,-25,27,-52,26v-50,-2,-77,-32,-77,-83v0,-56,35,-84,91,-88xm70,-152v0,29,13,45,37,45v25,0,40,-16,40,-43v0,-27,-14,-47,-38,-47v-24,0,-39,17,-39,45"},":":{"d":"26,0v-4,-18,-4,-35,0,-53v17,-2,35,-3,52,0v4,18,4,35,0,53v-18,2,-34,3,-52,0xm26,-133v-4,-18,-4,-35,0,-53v17,-2,35,-3,52,0v4,18,4,35,0,53v-18,2,-34,3,-52,0","w":104},";":{"d":"34,-52v14,-3,35,-3,50,0r-27,92v-13,3,-33,3,-47,0xm34,-133v-4,-18,-4,-35,0,-53v17,-2,35,-3,52,0v4,18,4,35,0,53v-18,2,-34,3,-52,0","w":111},"<":{"d":"183,-208v2,17,3,30,1,47r-109,39r109,37v0,17,3,34,-1,49r-149,-59v-4,-19,-4,-35,0,-54"},"=":{"d":"184,-184v2,15,3,29,0,44r-152,0v-2,-15,-3,-29,0,-44r152,0xm184,-110v3,14,2,29,0,43r-152,0v-3,-14,-2,-29,0,-43r152,0"},">":{"d":"141,-122r-109,-37v0,-17,-3,-34,1,-49r149,59v4,19,4,35,0,54r-149,59v-2,-17,-3,-30,-1,-47"},"?":{"d":"15,-247v61,-25,157,-13,152,62v-3,40,-29,58,-57,71r0,33v-15,2,-32,3,-47,0r0,-62v25,-5,50,-12,51,-41v1,-40,-57,-35,-86,-23v-6,-11,-13,-25,-13,-40xm59,0v-3,-18,-2,-35,0,-53v18,-2,35,-3,53,0v3,18,2,35,0,53v-18,3,-35,2,-53,0","w":177},"@":{"d":"60,-80v-6,88,88,114,161,87r11,33v-20,10,-50,14,-80,14v-84,-2,-137,-45,-137,-132v0,-113,76,-184,198,-184v80,0,133,39,133,121v0,68,-38,123,-102,123v-18,0,-31,-5,-40,-14v-38,26,-108,17,-108,-46v0,-88,79,-132,164,-101r-23,122v46,12,66,-40,67,-84v1,-57,-38,-85,-96,-85v-92,2,-142,57,-148,146xm144,-86v-1,30,24,35,49,27r15,-90v-44,-7,-62,23,-64,63","w":361},"A":{"d":"85,-259v20,-2,39,-3,59,0r81,259v-19,2,-36,3,-55,0r-15,-52r-86,0r-14,52v-18,3,-33,2,-51,0xm143,-95r-30,-109r-31,109r61,0","w":228},"B":{"d":"204,-73v2,86,-98,81,-178,73r0,-259v66,-8,163,-12,161,63v-1,30,-16,50,-40,57v33,6,56,26,57,66xm150,-76v0,-36,-32,-40,-72,-38r0,74v35,5,72,0,72,-36xm136,-190v0,-32,-28,-37,-58,-33r0,69v33,2,58,-3,58,-36","w":217},"C":{"d":"76,-129v0,80,57,102,120,80v6,13,10,26,12,42v-22,9,-37,11,-65,11v-83,0,-120,-51,-124,-133v-5,-104,89,-159,186,-123v-1,16,-7,29,-12,42v-63,-24,-117,5,-117,81","w":222},"D":{"d":"234,-128v0,117,-91,145,-208,128r0,-259v116,-17,208,14,208,131xm178,-129v0,-64,-33,-97,-99,-88r0,175v67,8,99,-21,99,-87","w":252},"E":{"d":"25,-259r147,0v3,14,2,31,0,45r-94,0r0,56r75,0v3,15,2,30,0,45r-75,0r0,68r97,0v3,14,2,31,0,45r-150,0r0,-259","w":191},"F":{"d":"25,-259r147,0v3,14,2,31,0,45r-94,0r0,61r75,0v3,15,2,30,0,45r-75,0r0,108v-18,3,-35,2,-53,0r0,-259","w":182},"G":{"d":"75,-129v0,62,31,96,92,86r0,-91v19,-3,34,-2,53,0r0,127v-19,8,-50,11,-75,11v-83,-1,-125,-50,-127,-133v-3,-103,87,-160,186,-123v-1,16,-7,29,-12,42v-62,-24,-117,7,-117,81","w":240},"H":{"d":"25,-259v18,-3,35,-2,53,0r0,102r87,0r0,-102v18,-3,35,-2,53,0r0,259v-18,3,-35,2,-53,0r0,-112r-87,0r0,112v-18,3,-35,2,-53,0r0,-259","w":243},"I":{"d":"25,-259v18,-3,35,-2,53,0r0,259v-18,3,-35,2,-53,0r0,-259","w":103},"J":{"d":"15,-44v28,8,57,2,57,-32r0,-138r-43,0v-2,-15,-3,-31,0,-45r96,0r0,190v2,62,-55,82,-115,69v-2,-15,0,-30,5,-44","w":147},"K":{"d":"85,-130r71,-129v18,-4,39,-1,57,0r-71,125r77,134v-20,0,-40,4,-58,0xm25,-259v16,-3,36,-3,53,0r0,259v-16,3,-36,3,-53,0r0,-259","w":222},"L":{"d":"25,-259v19,-2,33,-3,52,0r0,214r90,0v0,15,2,31,0,45r-142,0r0,-259","w":177},"M":{"d":"32,-259v20,-2,37,-3,56,0r59,148r61,-148v15,-3,36,-2,52,0r12,259v-18,2,-33,3,-50,0r-7,-176r-52,122v-14,2,-27,3,-41,0r-49,-124r-5,178v-16,3,-30,2,-46,0","w":294},"N":{"d":"25,-259v15,-3,28,-2,44,0r100,165r0,-165v16,-2,30,-3,46,0r0,259v-16,3,-27,2,-43,0r-100,-165r0,165v-15,2,-32,3,-47,0r0,-259","w":240},"O":{"d":"243,-129v0,78,-33,133,-112,133v-80,0,-113,-54,-113,-133v0,-79,33,-134,113,-134v79,0,112,56,112,134xm186,-129v0,-52,-10,-89,-55,-89v-38,0,-56,29,-56,89v0,60,19,89,56,89v37,0,55,-29,55,-89","w":261},"P":{"d":"197,-173v-1,69,-49,95,-119,90r0,83v-18,2,-35,2,-53,0r0,-260v87,-9,174,-4,172,87xm143,-172v0,-38,-26,-51,-65,-47r0,92v38,5,65,-8,65,-45","w":209},"Q":{"d":"249,20v-1,15,-2,31,-8,42r-89,-14v3,-14,4,-29,9,-42xm243,-129v0,78,-33,133,-112,133v-80,0,-113,-54,-113,-133v0,-79,33,-134,113,-134v79,0,112,56,112,134xm186,-129v0,-52,-10,-89,-55,-89v-38,0,-56,29,-56,89v0,60,19,89,56,89v37,0,55,-29,55,-89","w":261},"R":{"d":"28,-259v87,-15,191,4,165,102v-7,22,-22,38,-40,47r63,110v-19,1,-39,3,-58,0r-68,-121v24,-11,49,-22,51,-55v1,-34,-26,-48,-61,-43r0,219v-17,2,-34,2,-52,0r0,-259","w":219},"S":{"d":"23,-54v34,20,122,22,103,-36v-30,-39,-107,-23,-107,-98v0,-77,94,-87,157,-63v-1,14,-6,28,-12,41v-28,-13,-103,-25,-88,29v33,38,109,24,109,103v0,83,-103,97,-172,69v2,-15,5,-31,10,-45","w":198},"T":{"d":"76,-214r-65,0v-2,-14,-3,-31,0,-45r182,0v3,14,2,31,0,45r-64,0r0,214v-18,2,-35,2,-53,0r0,-214","w":204},"U":{"d":"121,4v-128,0,-92,-146,-97,-263v18,-2,34,-3,52,0r0,134v1,45,1,84,45,84v43,0,44,-38,44,-84r0,-134v18,-2,35,-3,53,0v-5,117,30,263,-97,263","w":241},"V":{"d":"4,-259v19,-2,36,-3,56,0r57,204r57,-204v19,-2,36,-3,55,0r-84,259v-18,3,-40,3,-59,0","w":232},"W":{"d":"6,-259v16,-2,39,-4,56,0r37,195r44,-195v17,-2,33,-3,50,0r46,200r37,-200v16,-3,36,-1,51,0r-63,259v-20,3,-36,2,-57,0r-41,-172r-45,172v-19,1,-35,3,-54,0","w":331},"X":{"d":"116,-134r40,-124v18,-2,38,-4,55,0r-46,123r56,135v-18,3,-36,3,-55,0xm63,-135r-46,-123v17,-4,37,-2,55,0r41,124r-51,134v-19,3,-37,3,-56,0","w":227},"Y":{"d":"84,-93r-80,-166v19,-2,38,-3,57,0r51,118r51,-118v19,-3,36,-2,55,0r-81,166r0,93v-16,3,-36,3,-53,0r0,-93","w":221},"Z":{"d":"14,-4r108,-210r-99,0v-3,-14,-2,-31,0,-45r174,0r2,4r-107,210r102,0v3,14,2,31,0,45r-178,0","w":208},"[":{"d":"18,-279r86,0v2,14,3,27,0,41r-36,0r0,257r36,0v2,14,2,27,0,41r-86,0r0,-339","w":123},"\\":{"d":"5,-259v19,-2,33,-3,52,0r87,259v-18,3,-33,2,-51,0","w":149},"]":{"d":"56,19r0,-257r-36,0v-2,-14,-2,-27,0,-41r86,0r0,339r-86,0v-2,-14,-3,-27,0,-41r36,0","w":123},"^":{"d":"75,-259v16,-2,31,-3,48,0r57,128v-15,2,-31,4,-47,1r-35,-82r-33,82v-16,2,-31,3,-47,-1","w":197},"_":{"d":"179,1v2,12,3,23,0,35r-176,0v-3,-9,-3,-25,0,-35r176,0","w":181},"`":{"d":"39,-259v20,-2,43,-3,62,0r40,44v-15,3,-34,4,-48,0","w":180},"a":{"d":"62,-60v0,27,34,27,56,22r0,-47v-23,-5,-56,-2,-56,25xm14,-58v2,-53,50,-64,104,-60v3,-42,-49,-35,-81,-25v-5,-11,-10,-21,-10,-37v60,-22,141,-12,141,65r0,108v-53,18,-157,23,-154,-51","w":187},"b":{"d":"198,-96v4,91,-94,117,-174,90r0,-257v18,-2,33,-3,51,0r0,95v8,-13,25,-23,47,-22v54,1,74,39,76,94xm108,-148v-46,-1,-31,64,-33,108v42,8,69,-11,69,-55v0,-31,-8,-52,-36,-53","w":212},"c":{"d":"67,-93v-6,52,44,67,83,49v6,11,10,22,10,39v-71,28,-145,-7,-145,-88v0,-80,69,-116,143,-88v0,14,-3,28,-9,38v-41,-16,-88,0,-82,50","w":171},"d":{"d":"15,-91v4,-69,50,-109,122,-96r0,-76v15,-3,36,-3,51,0r0,257v-75,24,-179,10,-173,-85xm67,-91v0,42,28,62,70,50r0,-107v-44,-11,-70,14,-70,57","w":211},"e":{"d":"105,-190v62,-1,90,49,80,113r-119,0v0,48,63,46,100,32v6,10,10,24,10,39v-76,27,-167,2,-161,-86v4,-58,29,-98,90,-98xm139,-113v3,-35,-41,-51,-62,-28v-6,7,-10,16,-11,28r73,0","w":202},"f":{"d":"137,-223v-29,-6,-53,1,-49,37r43,0v3,12,3,27,0,39r-43,0r0,147v-18,3,-33,2,-51,0r0,-147r-29,0v-3,-12,-3,-27,0,-39r29,0v-6,-65,48,-93,108,-77v-1,16,-4,27,-8,40","w":142},"g":{"d":"70,-62v-13,9,-13,31,10,30v56,-2,116,-2,113,55v-3,50,-49,67,-102,67v-42,0,-79,-7,-79,-48v0,-24,12,-35,28,-45v-27,-12,-21,-61,5,-70v-14,-11,-26,-28,-26,-51v0,-68,96,-82,137,-46v10,-13,21,-19,45,-18v0,14,2,29,0,42r-30,0v22,58,-35,101,-101,84xm145,26v0,-26,-36,-19,-61,-20v-17,-1,-27,7,-27,24v0,20,16,22,37,23v25,1,51,-7,51,-27xm69,-124v0,19,9,32,29,32v21,0,29,-12,29,-32v0,-20,-8,-33,-29,-33v-20,0,-29,13,-29,33","w":203},"h":{"d":"112,-145v-58,0,-31,91,-37,145v-15,3,-36,3,-51,0r0,-263v15,-3,36,-3,51,0r0,99v11,-14,25,-26,52,-26v88,0,58,111,63,190v-15,3,-36,3,-51,0r0,-105v-1,-23,-5,-40,-27,-40","w":210},"i":{"d":"35,-147r-24,0v-2,-13,-3,-26,0,-39r74,0r0,186v-18,2,-32,3,-50,0r0,-147xm28,-217v-2,-16,-3,-33,0,-49v17,-2,35,-3,52,0v3,14,3,34,0,49v-17,0,-36,2,-52,0","w":110},"j":{"d":"-11,28v28,8,47,-4,47,-33r0,-142r-25,0v-2,-13,-3,-26,0,-39r74,0r0,190v5,60,-50,73,-103,61v0,-15,3,-25,7,-37xm28,-219v-3,-15,-3,-30,0,-46v17,-2,35,-4,52,0v3,15,3,30,0,46v-13,4,-38,5,-52,0","w":110},"k":{"d":"22,-263v16,-3,35,-2,51,0r0,263v-16,2,-35,3,-51,0r0,-263xm80,-98r46,-88v18,-2,37,-3,55,0r-47,86r55,100v-20,2,-35,3,-55,0","w":192},"l":{"d":"114,-1v-51,11,-90,-7,-90,-62r0,-200v18,-3,33,-2,51,0r0,189v-3,26,9,41,36,34v4,14,3,24,3,39","w":116},"m":{"d":"110,-145v-56,2,-27,93,-34,145v-18,3,-33,2,-51,0r0,-186v22,-6,54,-4,48,26v12,-40,97,-40,107,3v9,-17,26,-33,54,-33v87,0,55,112,61,190v-18,3,-33,2,-51,0r0,-105v-1,-23,-2,-40,-24,-40v-56,2,-27,93,-34,145v-18,2,-33,3,-51,0r0,-105v-1,-23,-2,-40,-25,-40","w":316},"n":{"d":"112,-145v-57,1,-30,91,-36,145v-18,3,-33,2,-51,0r0,-186v22,-6,54,-4,48,26v10,-16,25,-30,53,-30v88,0,59,110,64,190v-18,3,-33,2,-51,0r0,-105v0,-23,-5,-40,-27,-40","w":211},"o":{"d":"194,-93v0,59,-29,97,-90,97v-60,0,-89,-37,-89,-97v0,-59,29,-96,89,-97v61,0,90,38,90,97xm67,-93v0,34,7,58,37,58v30,0,38,-25,38,-58v0,-33,-8,-57,-38,-57v-30,0,-37,24,-37,57","w":208},"p":{"d":"198,-96v0,72,-47,106,-123,99r0,82v-15,3,-35,3,-51,0r0,-271v12,-4,29,-2,42,0r6,27v10,-17,24,-32,52,-31v53,1,74,40,74,94xm108,-147v-45,0,-31,63,-33,107v41,12,72,-11,69,-55v-2,-28,-8,-52,-36,-52","w":212},"q":{"d":"15,-89v0,-89,86,-117,172,-93r0,267v-15,3,-36,3,-51,0r0,-84v-69,12,-121,-18,-121,-90xm68,-89v0,42,28,59,68,48r0,-106v-43,-10,-68,16,-68,58","w":211},"r":{"d":"135,-142v-74,-15,-58,75,-59,142v-15,3,-35,3,-51,0r0,-186v23,-6,53,-5,48,27v11,-17,32,-35,63,-28v2,14,2,31,-1,45","w":144},"s":{"d":"25,-45v24,15,94,16,73,-23v-30,-17,-80,-14,-80,-64v0,-60,81,-68,129,-48v-1,12,-6,28,-11,37v-17,-13,-84,-15,-62,18v32,15,79,14,79,66v0,63,-85,75,-139,53v1,-13,6,-28,11,-39","w":165},"t":{"d":"132,-2v-53,12,-102,-2,-102,-61r0,-84v-10,-1,-26,4,-25,-7r67,-86r9,0r0,54r43,0v3,12,3,26,0,39r-43,0v3,48,-19,126,47,106v4,12,4,24,4,39","w":137},"u":{"d":"115,4v-62,0,-93,-26,-93,-90r0,-100v18,-2,33,-3,51,0v6,64,-28,168,61,146r0,-146v18,-3,33,-2,51,0r0,179v-17,6,-45,11,-70,11","w":205},"v":{"d":"2,-186v17,-3,39,-3,56,0r41,138r40,-138v15,-3,38,-3,55,0r-71,186v-17,2,-35,3,-52,0","w":195},"w":{"d":"3,-186v16,-3,38,-3,55,0r29,137r35,-137v14,-2,37,-4,51,0r34,135r29,-135v15,-3,35,-3,52,0r-58,186v-17,2,-34,3,-51,0r-34,-123r-35,123v-17,2,-34,3,-51,0","w":290},"x":{"d":"48,-96r-36,-90v16,-2,37,-3,54,0r29,91r-37,95v-19,3,-34,2,-53,0xm97,-95r29,-91v17,-2,36,-3,54,0r-36,90r43,96v-19,2,-34,3,-52,0","w":192},"y":{"d":"34,48v37,14,53,-16,57,-48v-11,0,-23,2,-33,0r-54,-186v17,-3,37,-3,54,0r39,162r44,-162v17,-2,34,-4,51,0r-69,230v-7,40,-50,55,-95,41v-3,-14,2,-27,6,-37","w":195},"z":{"d":"10,-4r84,-143r-72,0v0,-13,-2,-27,0,-39r147,0r2,4r-86,143r80,0v0,13,2,27,0,39r-152,0","w":177},"{":{"d":"137,59v-74,7,-87,-39,-85,-110v1,-32,-13,-47,-34,-57r0,-9v32,-11,36,-45,35,-89v-1,-55,26,-85,84,-77v3,14,2,25,0,39v-32,-3,-37,17,-36,47v1,42,-3,73,-30,85v28,12,30,43,30,85v-1,29,3,50,36,46v2,15,3,25,0,40","w":157},"|":{"d":"37,-279v16,-4,33,-4,49,0r0,339v-16,4,-33,4,-49,0r0,-339","w":122},"}":{"d":"105,-51v2,69,-10,118,-85,110v-2,-15,-3,-25,0,-40v32,4,36,-17,36,-46v0,-41,1,-74,30,-85v-28,-12,-30,-45,-30,-85v0,-30,-4,-50,-36,-47v-2,-14,-3,-25,0,-39v71,-10,88,38,85,109v-1,32,12,47,34,57r0,9v-21,10,-34,25,-34,57","w":157},"~":{"d":"54,-174v32,0,70,30,94,2v9,9,15,20,19,33v-9,11,-28,20,-49,20v-33,-1,-69,-29,-95,-2v-7,-10,-15,-19,-19,-31v11,-12,28,-22,50,-22","w":171},"\u00a0":{"w":79}}});
Cufon.registerFont({"w":216,"face":{"font-family":"Aller","font-weight":400,"font-style":"italic","font-stretch":"normal","units-per-em":"360","panose-1":"2 0 5 3 4 0 0 9 0 4","ascent":"288","descent":"-72","x-height":"4","bbox":"-34 -291.889 360.046 88.24","underline-thickness":"18","underline-position":"-18","slope":"-12","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":81},"!":{"d":"77,-259v13,-2,24,-1,38,0r-34,182v-12,1,-24,2,-35,0xm75,-40v-1,15,-3,26,-6,40v-13,0,-27,2,-39,0v0,-14,2,-27,7,-40v13,0,26,-2,38,0","w":99},"\"":{"d":"129,-258v9,-3,24,-3,34,0r-17,98v-11,2,-23,1,-34,0xm61,-258v9,-3,24,-3,34,0r-17,98v-11,2,-23,1,-34,0","w":140},"#":{"d":"269,-191r-5,28r-43,0r-15,59r40,0v0,9,-2,19,-5,29r-43,0r-16,65v-11,1,-21,0,-33,0r17,-65r-58,0r-17,65v-11,1,-22,2,-33,0r17,-65r-44,0v1,-11,3,-20,5,-29r46,0r15,-59r-43,0v2,-8,2,-20,5,-28r46,0r15,-57r32,-1r-15,58r58,0r15,-57r33,-1r-15,58r41,0xm173,-104r15,-59r-58,0r-15,59r58,0","w":257},"$":{"d":"99,-193v6,55,97,44,95,111v-1,52,-34,75,-78,84r-7,40v-7,2,-18,3,-25,0v1,-12,6,-28,5,-38v-23,0,-48,-5,-63,-12v2,-12,5,-21,10,-32v38,21,121,17,118,-35v-4,-59,-95,-44,-93,-112v1,-43,31,-68,75,-71r6,-33v8,0,18,-2,25,0r-5,31v19,1,35,6,49,11v-1,12,-5,22,-10,31v-29,-15,-107,-21,-102,25"},"%":{"d":"114,-233v-30,0,-38,34,-39,66v0,23,8,35,24,35v30,0,40,-34,40,-65v0,-24,-8,-36,-25,-36xm172,-199v-1,52,-25,91,-77,93v-37,1,-54,-25,-54,-60v0,-51,24,-93,77,-93v36,0,55,22,54,60xm296,-122v-31,2,-40,33,-40,65v0,23,8,35,24,35v31,0,39,-33,40,-65v0,-24,-7,-35,-24,-35xm354,-89v-1,53,-25,91,-77,93v-37,1,-55,-26,-55,-60v0,-51,24,-93,77,-93v37,0,56,22,55,60xm278,-255v13,0,26,-2,38,0r-199,255v-12,0,-27,2,-38,0","w":354},"&":{"d":"101,-196v1,45,65,26,107,30v3,-13,6,-27,5,-45v8,-4,24,-7,35,-7v0,18,0,36,-5,52r37,0r-5,30r-37,0v-10,79,-31,143,-120,140v-50,-2,-85,-20,-85,-70v0,-44,25,-70,58,-83v-14,-9,-27,-22,-27,-45v1,-61,70,-80,128,-62v-3,11,-4,19,-9,28v-31,-13,-84,-6,-82,32xm142,-136v-72,-12,-101,109,-19,109v65,0,72,-54,80,-109r-61,0","w":259},"'":{"d":"61,-258v9,-3,24,-3,34,0r-17,98v-11,2,-23,1,-34,0","w":71},"(":{"d":"157,-279v-57,72,-102,222,-60,339v-11,0,-25,2,-35,0v-42,-110,-2,-272,59,-339v12,0,25,-2,36,0","w":119},")":{"d":"91,-279v43,109,3,274,-59,339v-12,0,-25,2,-35,0v58,-70,101,-223,60,-339v11,0,24,-2,34,0","w":121},"*":{"d":"119,-259v8,-2,14,-1,22,0r-5,47v-9,0,-19,2,-28,0xm100,-207r-13,26r-41,-17v2,-7,6,-14,11,-21xm88,-173v7,4,14,11,20,16r-36,36v-6,-4,-12,-7,-16,-13xm146,-181v-3,-8,-4,-16,-3,-26r47,-12v2,7,3,13,3,21xm116,-157v8,-7,17,-12,26,-16r18,39r-20,13","w":171},"+":{"d":"207,-142v0,12,-2,21,-5,31r-60,0r-11,66v-11,0,-23,2,-33,0r11,-66r-59,0v0,-12,2,-21,5,-31r60,0r11,-66v11,0,23,-2,33,0r-11,66r59,0"},",":{"d":"38,-39v10,-3,26,-3,36,0r-35,79v-11,2,-24,3,-35,0","w":84},"-":{"d":"131,-120v0,11,-2,24,-5,33r-91,0v0,-11,3,-22,6,-33r90,0","w":125},".":{"d":"69,-40v0,16,-3,27,-7,40v-13,0,-28,2,-40,0v0,-15,3,-28,7,-40v13,0,28,-2,40,0","w":84},"\/":{"d":"137,-259v12,0,25,-2,36,0r-129,259v-12,0,-25,2,-36,0","w":133},"0":{"d":"222,-152v0,82,-33,156,-114,156v-51,0,-75,-34,-75,-83v0,-81,34,-153,114,-157v52,-2,75,34,75,84xm144,-204v-62,4,-76,79,-71,145v5,18,15,35,39,32v55,-6,73,-65,73,-126v0,-30,-10,-53,-41,-51"},"1":{"d":"44,0v-1,-10,3,-24,5,-31r55,0r27,-151r-51,23v-5,-9,-10,-18,-10,-29v36,-14,66,-35,106,-46r-36,203r53,0r-5,31r-144,0"},"2":{"d":"159,-175v0,-42,-67,-29,-89,-15v-5,-9,-8,-20,-8,-31v44,-23,142,-25,137,42v-6,76,-70,102,-108,148r95,0v0,10,-4,23,-6,31r-158,0v0,-2,-2,-3,-2,-4r104,-104v17,-19,35,-34,35,-67"},"3":{"d":"153,-67v0,-37,-41,-43,-75,-35r-3,-6r78,-92r-91,0v-1,-11,2,-24,5,-32r144,0r1,4r-82,98v38,2,60,24,61,61v3,86,-96,113,-172,83v3,-11,7,-21,12,-30v47,22,122,12,122,-51"},"4":{"d":"213,-60v0,11,-1,24,-5,32r-32,0r-9,49v-11,0,-25,2,-35,0r9,-49r-119,0r-1,-4r133,-207v12,2,22,7,30,13r-107,166r69,0r13,-71v11,0,25,-2,35,0r-12,71r31,0"},"5":{"d":"153,-70v0,-43,-55,-43,-87,-31r-3,-4r27,-127r118,0r-5,32r-86,0r-13,65v48,-9,88,12,88,60v0,86,-90,120,-169,90v2,-11,7,-21,12,-30v48,22,118,7,118,-55"},"6":{"d":"111,4v-105,2,-75,-152,-30,-201v29,-31,69,-61,124,-65v1,10,3,20,1,30v-61,7,-101,38,-117,91v29,-42,129,-34,122,38v-6,62,-36,105,-100,107xm76,-68v0,24,14,42,39,42v38,0,59,-32,59,-72v0,-26,-14,-40,-40,-40v-37,0,-58,30,-58,70"},"7":{"d":"59,-200v0,-10,3,-25,6,-32r164,0r2,3r-150,256v-14,-4,-23,-7,-32,-16r125,-211r-115,0"},"8":{"d":"33,-55v0,-47,33,-66,65,-83v-17,-10,-30,-24,-31,-50v-5,-78,151,-103,151,-17v0,37,-25,56,-52,68v20,12,41,27,40,60v-2,54,-41,81,-97,81v-44,0,-76,-16,-76,-59xm112,-26v45,0,73,-45,45,-78v-7,-9,-18,-13,-30,-18v-28,10,-54,26,-56,61v-1,23,17,35,41,35xm149,-230v-46,0,-62,59,-22,74v4,2,7,4,10,5v24,-9,44,-22,46,-50v1,-19,-16,-29,-34,-29"},"9":{"d":"141,-235v105,-4,77,151,35,200v-30,35,-69,62,-129,66v-2,-9,-3,-21,-1,-31v60,-9,104,-35,119,-90v-12,16,-33,27,-61,26v-40,-1,-61,-26,-61,-65v0,-63,36,-103,98,-106xm80,-133v-1,27,14,37,39,39v59,5,87,-110,20,-110v-40,0,-57,32,-59,71"},":":{"d":"92,-173v0,16,-3,27,-7,40v-13,0,-28,2,-40,0v0,-15,3,-28,7,-40v13,0,28,-2,40,0xm69,-40v0,16,-3,27,-7,40v-13,0,-28,2,-40,0v0,-15,3,-28,7,-40v13,0,28,-2,40,0","w":84},";":{"d":"31,-39v10,-3,26,-3,36,0r-35,79v-11,2,-24,3,-35,0xm96,-173v0,16,-3,27,-7,40v-13,0,-28,2,-40,0v0,-15,3,-28,7,-40v13,0,28,-2,40,0","w":84},"<":{"d":"220,-204v0,12,-3,28,-6,37r-123,44r107,46v0,11,-2,25,-6,33r-136,-61v0,-14,2,-27,6,-38"},"=":{"d":"200,-106v0,12,-2,22,-5,32r-150,0v0,-10,2,-21,5,-32r150,0xm57,-144v0,-13,2,-21,6,-31r149,0v0,12,-2,21,-5,31r-150,0"},">":{"d":"173,-126r-106,-44v0,-13,2,-24,6,-34r136,61v0,13,-3,28,-7,38r-157,61v0,-13,2,-26,5,-36"},"?":{"d":"59,-221v-4,-7,-7,-19,-6,-30v52,-20,133,-13,132,50v-2,49,-36,72,-73,87r-7,37v-11,0,-23,2,-34,0r10,-58v33,-9,63,-22,65,-61v1,-41,-58,-38,-87,-25xm102,-40v0,15,-3,28,-7,40v-13,0,-28,2,-40,0v0,-14,3,-29,7,-40v11,-3,29,-3,40,0","w":167},"@":{"d":"116,-75v0,-84,71,-132,157,-105r-26,129v52,20,82,-39,82,-90v0,-62,-39,-95,-103,-94v-98,2,-151,64,-157,157v-7,94,85,123,166,96r8,25v-18,9,-47,12,-76,12v-83,-2,-132,-47,-132,-132v0,-113,73,-186,194,-186v79,0,129,41,131,122v2,78,-62,146,-136,110v-40,24,-108,16,-108,-44xm152,-82v0,37,34,43,62,29r20,-104v-51,-9,-82,25,-82,75","w":355},"A":{"d":"130,-259v14,0,31,-2,44,0r36,259v-13,1,-26,2,-39,0r-7,-61r-87,0r-26,61v-13,0,-26,2,-38,0xm161,-93r-15,-124r-55,124r70,0","w":215},"B":{"d":"207,-84v-1,84,-89,96,-174,84r46,-259v55,-8,136,-10,134,52v-1,37,-22,59,-51,68v26,4,45,26,45,55xm168,-82v0,-40,-37,-40,-77,-39r-16,93v49,4,93,-4,93,-54xm175,-201v0,-33,-32,-36,-64,-32r-15,82v45,4,79,-8,79,-50","w":208},"C":{"d":"80,-99v0,67,63,84,115,61v5,9,7,18,8,30v-72,32,-162,1,-162,-88v0,-114,78,-193,196,-158v-2,13,-6,19,-11,30v-89,-28,-146,36,-146,125","w":207},"D":{"d":"251,-157v0,121,-87,179,-218,157r46,-259v92,-15,172,9,172,102xm211,-152v2,-62,-37,-87,-100,-77r-35,199v88,12,133,-40,135,-122","w":246},"E":{"d":"78,-259r138,0v0,11,-2,22,-6,33r-100,0r-13,73r80,0v0,11,-2,22,-6,33r-80,0r-15,88r103,0v-3,13,-1,21,-6,32r-140,0","w":188},"F":{"d":"78,-259r131,0v-3,13,-1,22,-6,33r-93,0r-14,76r79,0v0,11,-3,22,-6,32r-78,0r-21,118v-12,0,-26,2,-37,0","w":178},"G":{"d":"80,-99v0,58,45,83,99,66r18,-101v12,0,25,-2,36,0r-22,126v-17,8,-48,12,-72,12v-64,-1,-97,-36,-98,-100v-3,-114,80,-194,196,-157v-2,13,-6,19,-11,30v-87,-31,-146,35,-146,124","w":236},"H":{"d":"79,-259v12,0,26,-2,37,0r-19,107r100,0r18,-107v12,0,26,-2,37,0r-45,259v-12,0,-26,2,-37,0r20,-120r-99,0r-20,120v-13,0,-26,2,-38,0","w":239},"I":{"d":"79,-259v12,0,26,-2,37,0r-45,259v-13,0,-26,2,-38,0","w":103},"J":{"d":"19,-32v29,11,66,0,65,-32r29,-163r-43,0v0,-11,2,-24,5,-32r80,0r-33,187v-5,57,-44,90,-111,72v1,-13,2,-23,8,-32","w":141},"K":{"d":"79,-259v12,-1,25,-2,37,0r-46,259v-12,1,-27,2,-37,0xm104,-131r99,-128v14,0,29,-2,42,0r-100,127r62,132v-16,1,-25,2,-40,0","w":209},"L":{"d":"172,-32v0,13,-3,22,-6,32r-133,0r45,-259v12,0,26,-2,37,0r-39,227r96,0","w":176},"M":{"d":"86,-259v13,0,27,-2,39,0r36,160r91,-160v13,0,27,-2,39,0r-33,259v-12,0,-25,2,-36,0r27,-197r-83,143v-11,2,-18,1,-28,0r-33,-144r-42,198v-11,0,-24,2,-34,0","w":288},"N":{"d":"78,-259v11,0,24,-2,34,0r73,195r34,-195v11,0,23,-2,34,0r-45,259v-11,0,-24,2,-34,0r-73,-194r-33,194v-12,0,-24,2,-35,0","w":240},"O":{"d":"257,-167v0,93,-40,171,-131,171v-59,0,-86,-37,-86,-95v0,-92,39,-172,131,-172v59,0,86,38,86,96xm167,-231v-66,4,-89,71,-89,140v0,38,14,64,52,64v64,0,88,-71,88,-140v0,-36,-14,-66,-51,-64","w":252},"P":{"d":"219,-194v-2,74,-54,107,-132,100r-17,94v-12,1,-25,2,-37,0r46,-259v63,-10,142,-6,140,65xm180,-190v0,-40,-32,-45,-69,-40r-18,104v52,5,87,-13,87,-64","w":203},"Q":{"d":"236,23v0,12,-5,23,-9,31r-80,-15v0,-12,5,-21,10,-30xm257,-167v0,93,-40,171,-131,171v-59,0,-86,-37,-86,-95v0,-92,39,-172,131,-172v59,0,86,38,86,96xm167,-231v-66,4,-89,71,-89,140v0,38,14,64,52,64v64,0,88,-71,88,-140v0,-36,-14,-66,-51,-64","w":252},"R":{"d":"111,-121v33,-10,64,-29,66,-71v2,-36,-30,-44,-66,-39r-41,231v-12,0,-26,2,-37,0r46,-259v62,-10,137,-5,137,61v-1,48,-31,71,-62,88r47,110v-13,1,-28,2,-40,0","w":207},"S":{"d":"188,-84v0,82,-97,104,-171,77v2,-11,6,-21,12,-32v41,19,122,16,118,-39v-4,-58,-91,-44,-91,-111v0,-72,90,-88,152,-63v-2,11,-6,21,-11,30v-31,-15,-102,-20,-102,26v0,58,93,45,93,112","w":191},"T":{"d":"220,-259v-1,13,-3,21,-6,32r-64,0r-40,227v-12,0,-26,2,-37,0r40,-227r-64,0v0,-12,2,-22,5,-32r166,0","w":185},"U":{"d":"193,-23v-39,46,-157,38,-148,-45v8,-67,22,-127,31,-191v12,0,26,-2,37,0r-26,147v-7,42,-12,85,37,83v49,-2,58,-39,66,-83r26,-147v12,0,26,-2,37,0v-18,80,-15,183,-60,236","w":238},"V":{"d":"55,-259v13,0,27,-2,39,0r25,217r95,-217v13,0,27,-2,39,0r-118,259v-15,0,-31,2,-45,0","w":219},"W":{"d":"57,-259v13,0,26,-2,39,0r4,211r85,-211v13,0,27,-2,39,0r14,213r77,-213v12,0,26,-2,37,0r-102,259v-14,0,-29,2,-42,0r-14,-198r-83,198v-14,0,-29,2,-42,0","w":321},"X":{"d":"94,-136r-34,-123v13,-1,26,-2,39,0r31,124r-79,135v-14,1,-29,2,-42,0xm133,-135r74,-124v13,-2,28,-1,40,0r-76,124r42,135v-14,1,-24,2,-38,0","w":218},"Y":{"d":"97,-94r-49,-165v13,0,26,-2,39,0r35,127r74,-127v13,0,27,-2,39,0r-101,166r-17,93v-12,1,-27,2,-37,0","w":197},"Z":{"d":"181,-32v0,13,-1,22,-5,32r-163,0r-1,-3r151,-223r-105,0v0,-11,2,-23,6,-33r157,0r2,4r-151,223r109,0","w":190},"[":{"d":"101,31r-5,29r-76,0r59,-334r75,0v0,11,-2,22,-5,30r-40,0r-49,275r41,0","w":123},"\\":{"d":"49,-259v12,0,25,-2,36,0r57,259v-12,0,-24,2,-35,0","w":147},"]":{"d":"1,60v0,-11,2,-20,5,-29r40,0r49,-275r-40,0v0,-9,2,-20,5,-30r75,0r-58,334r-76,0","w":118},"^":{"d":"120,-258v10,-3,27,-3,37,0r33,126v-12,1,-22,0,-34,0r-24,-94r-55,94v-12,1,-22,0,-35,0","w":190},"_":{"d":"-3,32v0,-10,1,-19,4,-27r171,0v0,10,-3,18,-5,27r-170,0","w":174},"`":{"d":"90,-260v15,0,31,-2,46,0r33,46v-12,3,-25,2,-36,0","w":180},"a":{"d":"67,-62v-3,50,48,40,65,10v16,-28,25,-66,32,-105v-63,-11,-94,37,-97,95xm30,-54v-2,-96,74,-156,172,-127r-24,140v-2,15,-3,27,-1,41v-11,0,-23,2,-34,0v-1,-14,-1,-29,2,-42v-14,23,-32,45,-68,46v-33,0,-47,-24,-47,-58","w":199},"b":{"d":"168,-116v3,-43,-43,-54,-66,-25v-20,26,-24,74,-32,113v62,11,94,-30,98,-88xm206,-122v0,95,-80,146,-176,118r40,-260v12,0,25,-2,36,0v3,38,-9,72,-13,107v11,-18,30,-31,59,-32v36,-1,54,28,54,67","w":205},"c":{"d":"69,-73v0,47,46,56,83,41v4,7,6,17,6,28v-58,20,-126,4,-126,-65v0,-82,64,-140,149,-113v0,11,-5,22,-10,29v-57,-23,-102,20,-102,80","w":165},"d":{"d":"67,-62v-3,50,48,40,65,10v16,-28,25,-66,32,-105v-63,-11,-94,37,-97,95xm169,-188v6,-27,8,-48,8,-76v11,0,25,-2,35,0v2,94,-36,169,-35,264v-11,0,-23,2,-33,0v-1,-14,-2,-31,2,-42v-14,22,-32,46,-68,46v-34,0,-49,-23,-48,-58v2,-83,50,-140,139,-134","w":198},"e":{"d":"67,-73v-5,55,62,55,98,37v4,7,5,18,6,28v-55,24,-147,14,-140,-61v6,-66,37,-115,105,-120v58,-5,66,68,22,90v-25,12,-57,21,-91,26xm139,-120v18,-11,17,-44,-9,-41v-36,3,-52,30,-60,61v25,-5,52,-10,69,-20","w":179},"f":{"d":"-24,55v41,13,53,-19,60,-56r28,-155r-30,0v0,-12,2,-19,5,-29r29,0v5,-57,41,-95,105,-78v-2,13,-6,19,-10,29v-36,-15,-58,14,-60,49r45,0v0,12,-2,19,-5,29r-44,0r-28,157v-6,57,-40,102,-105,82v3,-12,5,-19,10,-28","w":120},"g":{"d":"21,51v39,13,93,4,106,-28v7,-17,14,-43,18,-65v-13,24,-33,45,-68,46v-33,0,-47,-24,-47,-58v-2,-97,75,-156,173,-127v-16,73,-19,159,-46,221v-18,43,-90,59,-144,40v0,-10,3,-20,8,-29xm66,-62v-3,49,50,40,66,10v15,-28,25,-66,32,-105v-65,-11,-95,38,-98,95","w":198},"h":{"d":"137,-158v-65,10,-56,98,-72,158v-12,0,-25,2,-36,0r41,-264v11,0,25,-2,35,0v6,37,-10,72,-13,108v12,-17,35,-33,62,-33v86,0,26,126,23,189v-11,0,-25,2,-35,0r21,-131v1,-18,-10,-26,-26,-27","w":204},"i":{"d":"42,-156v0,-11,2,-20,5,-29r58,0r-33,185v-12,0,-24,2,-35,0r28,-156r-23,0xm112,-262v0,15,-3,27,-7,39v-13,0,-29,2,-41,0v0,-15,3,-27,7,-39v13,0,29,-2,41,0","w":102},"j":{"d":"-24,56v29,8,52,-2,57,-33r32,-179r-23,0v0,-12,2,-19,5,-29r58,0r-37,210v-7,53,-51,73,-99,58v0,-9,3,-20,7,-27xm112,-262v0,15,-3,27,-7,39v-13,0,-29,2,-41,0v0,-15,3,-27,7,-39v13,0,29,-2,41,0","w":102},"k":{"d":"94,-96v21,-28,50,-54,63,-89v13,0,26,-2,38,0v-12,37,-42,60,-64,89r44,96v-14,2,-24,1,-38,0xm30,0r39,-224v0,-13,3,-27,1,-40v12,0,25,-2,36,0v-3,92,-29,176,-41,264v-11,0,-25,2,-35,0","w":181},"l":{"d":"106,-1v-45,16,-89,-12,-66,-66r28,-157r2,-40v12,0,24,-2,35,0v0,81,-27,145,-34,221v-2,18,17,18,32,15v2,7,3,17,3,27","w":106},"m":{"d":"155,-111v15,-43,-27,-63,-52,-31v-26,31,-27,94,-38,142v-11,0,-25,2,-35,0r25,-144v3,-16,3,-27,1,-41v11,0,23,-2,34,0v0,11,2,22,0,32v13,-36,100,-57,103,1v16,-39,112,-60,107,10v-4,50,-16,95,-24,142v-12,0,-25,2,-35,0r22,-132v3,-34,-39,-29,-54,-10v-25,32,-27,94,-38,142v-12,0,-25,2,-36,0","w":303},"n":{"d":"164,-111v11,-32,-12,-60,-41,-41v-40,26,-44,95,-55,152v-12,0,-25,2,-36,0r28,-178v0,-2,-1,-4,-1,-7v11,0,23,-2,33,0v3,14,2,28,-1,41v13,-22,32,-45,67,-45v83,0,26,128,22,189v-11,0,-25,2,-35,0","w":207},"o":{"d":"202,-118v0,67,-33,121,-103,122v-45,1,-67,-26,-67,-71v0,-67,35,-122,103,-122v45,0,67,26,67,71xm68,-66v-1,26,11,42,35,42v46,0,61,-46,63,-94v0,-26,-11,-42,-35,-42v-46,0,-61,48,-63,94","w":200},"p":{"d":"168,-116v3,-42,-43,-54,-66,-25v-20,26,-24,74,-32,113v62,11,95,-30,98,-88xm206,-122v-3,82,-52,133,-142,125r-14,82v-12,0,-25,2,-36,0r41,-229v2,-15,3,-27,1,-41v11,0,23,-2,34,0v0,11,2,21,0,31v12,-18,31,-35,62,-35v37,0,55,28,54,67","w":205},"q":{"d":"31,-54v0,-95,72,-155,172,-128r-46,267v-12,0,-25,2,-36,0r22,-123v-14,21,-32,41,-65,42v-33,0,-47,-25,-47,-58xm67,-62v-3,49,51,42,65,10v19,-27,25,-67,33,-105v-63,-12,-95,37,-98,95","w":198},"r":{"d":"158,-184v-2,13,1,36,-18,31v-68,2,-59,95,-75,153v-12,0,-24,2,-36,0r25,-140v3,-19,4,-29,2,-45v11,0,23,-2,33,0v1,10,3,22,1,32v13,-19,35,-39,68,-31","w":131},"s":{"d":"25,-33v32,17,111,9,82,-39v-23,-17,-65,-18,-65,-60v0,-57,76,-68,123,-47v-2,9,-5,18,-10,27v-24,-17,-95,-11,-71,29v21,20,66,19,66,61v0,67,-82,77,-134,57v1,-10,3,-21,9,-28","w":156},"t":{"d":"122,-1v-46,16,-100,-8,-76,-67r16,-88r-30,0v0,-12,2,-19,5,-29r29,0v2,-15,6,-28,5,-45v8,-4,24,-7,34,-7v3,17,-1,35,-4,52r47,0v0,12,-2,19,-5,29r-46,0r-19,111v-2,22,26,21,42,16v4,7,1,18,2,28","w":126},"u":{"d":"82,4v-39,2,-50,-32,-43,-72r21,-117v12,0,24,-2,35,0r-21,132v-1,41,50,26,61,3v24,-31,29,-86,37,-135v12,0,25,-2,36,0r-28,171v7,20,-16,17,-32,14v0,-14,-2,-29,1,-41v-12,23,-33,43,-67,45","w":204},"v":{"d":"36,-185v13,0,26,-2,38,0r21,149v20,-50,52,-92,65,-149v15,2,48,-10,38,14v-27,60,-62,114,-91,171v-12,0,-27,2,-38,0","w":180},"w":{"d":"39,-185v12,-1,26,-2,38,0r14,144r58,-144v12,0,24,-2,35,0r17,144v16,-49,42,-89,53,-144v11,1,31,-5,38,2v-18,68,-55,121,-80,183v-12,0,-26,2,-37,0r-18,-133r-55,133v-13,0,-26,2,-38,0","w":275},"x":{"d":"11,0v8,-40,41,-67,60,-96r-26,-89v12,0,24,-2,35,0r25,89r-55,83v-2,5,-2,9,-2,13v-13,0,-25,2,-37,0xm108,-96v16,-29,43,-50,49,-89v12,-1,23,-2,35,0v-3,40,-33,59,-49,87r29,98v-12,0,-26,2,-37,0","w":176},"y":{"d":"8,85v0,-16,5,-34,24,-25v34,-4,38,-32,53,-60r-23,0r-24,-185v12,0,26,-2,37,0r19,167v20,-57,52,-103,65,-167v11,-2,25,-1,38,-1v-4,49,-32,80,-46,120v-32,51,-43,125,-98,152v-14,4,-31,2,-45,-1","w":180},"z":{"d":"155,-28v0,10,-2,21,-5,28r-138,0r-1,-5r116,-151r-80,0v0,-11,2,-20,5,-29r131,0r1,5r-116,152r87,0","w":161},"{":{"d":"112,59v-65,13,-69,-51,-54,-107v8,-29,-5,-47,-24,-59v17,-17,38,-24,43,-54v11,-62,18,-121,94,-114r-5,28v-77,-3,-25,115,-92,140v36,16,10,78,10,115v0,20,11,22,32,23v0,9,-1,20,-4,28","w":136},"|":{"d":"94,-279v11,-2,24,-2,35,0r-60,339v-9,3,-26,3,-35,0","w":119},"}":{"d":"4,59v1,-10,-1,-29,9,-29v71,-2,22,-115,87,-139v-34,-18,-11,-76,-10,-115v0,-21,-10,-23,-32,-24v2,-10,-2,-27,10,-28v74,-6,48,65,48,124v0,22,9,32,25,42v-16,18,-37,25,-43,55v-13,61,-14,119,-94,114","w":135},"~":{"d":"48,-124v-6,-6,-12,-13,-14,-23v12,-11,30,-21,51,-21v33,0,64,27,90,1v7,7,10,14,14,24v-11,11,-30,19,-50,19v-32,0,-67,-27,-91,0","w":172},"\u00a0":{"w":81}}});
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Manufacturer:
 * Dalton Maag Ltd.
 */
Cufon.registerFont({"w":216,"face":{"font-family":"Aller","font-weight":700,"font-style":"italic","font-stretch":"normal","units-per-em":"360","panose-1":"2 0 8 3 4 0 0 9 0 4","ascent":"288","descent":"-72","x-height":"4","bbox":"-37 -292.893 368 88.2239","underline-thickness":"18","underline-position":"-18","slope":"-12","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":75},"!":{"d":"70,-259v16,-3,38,-3,55,0r-35,176v-15,4,-33,2,-49,0xm25,0v-1,-21,4,-36,9,-53v16,-3,36,-3,52,0v1,21,-4,36,-9,53v-17,2,-35,4,-52,0","w":103},"\"":{"d":"61,-258v15,-4,33,-4,47,0r-18,100v-13,3,-32,3,-46,0xm129,-258v15,-4,33,-4,47,0r-18,100v-13,3,-32,3,-46,0","w":153},"#":{"d":"253,-112v-1,14,-3,25,-6,38r-41,0r-16,63v-13,3,-30,3,-44,0r16,-63r-44,0r-16,63v-12,3,-30,3,-44,0r16,-63r-41,0v0,-14,3,-25,7,-38r44,0r11,-44r-40,0v0,-13,2,-26,7,-38r43,0r15,-54v13,-3,30,-3,43,0r-14,54r44,0r14,-54v13,-3,30,-3,44,0r-14,54r38,0v0,14,-3,25,-7,38r-41,0r-11,44r37,0xm172,-112r11,-44r-44,0r-11,44r44,0","w":264},"$":{"d":"115,-190v13,47,91,42,89,105v-1,52,-34,76,-79,86r-7,41v-11,4,-20,3,-31,0v0,-12,9,-30,5,-38v-28,1,-45,-3,-65,-12v3,-17,4,-31,12,-46v31,17,105,24,108,-22v-11,-52,-89,-42,-87,-108v1,-46,35,-70,80,-75r6,-32v10,-2,21,-3,31,0r-6,31v19,2,35,6,50,12v-2,15,-6,30,-14,41v-24,-13,-90,-23,-92,17"},"&":{"d":"154,-224v-40,-6,-56,57,-11,56r59,0v2,-11,4,-21,3,-34v10,-7,31,-12,49,-11v4,14,0,32,-3,45r29,0v0,16,-3,26,-7,39r-28,0v-8,78,-36,136,-126,133v-50,-2,-87,-19,-87,-69v0,-43,26,-68,56,-81v-13,-8,-25,-23,-24,-44v1,-64,76,-86,135,-65v0,17,-3,26,-11,38v-12,-5,-21,-5,-34,-7xm150,-129v-62,-12,-90,88,-23,89v53,1,62,-42,68,-89r-45,0","w":266},"'":{"d":"61,-258v15,-4,33,-4,47,0r-18,100v-13,3,-32,3,-46,0","w":85},"(":{"d":"171,-279v-63,76,-98,219,-60,339v-13,3,-37,4,-50,0v-41,-117,-4,-274,58,-339v14,-4,38,-3,52,0","w":132},")":{"d":"-2,60v62,-77,97,-220,60,-339v14,-3,37,-4,50,0v41,117,3,273,-58,339v-13,4,-38,3,-52,0","w":138},"*":{"d":"120,-258v8,-3,19,-2,28,0r-4,48v-11,3,-26,3,-37,0xm45,-194v3,-8,7,-18,12,-24r46,12v-4,12,-9,22,-16,32xm167,-123v-8,7,-12,11,-23,15r-25,-39v10,-8,18,-14,30,-20xm195,-217v2,8,5,14,4,26r-47,20v-6,-9,-5,-21,-5,-35xm76,-108v-6,-4,-16,-12,-20,-18r31,-42v8,5,19,16,26,23","w":177},"+":{"d":"212,-149v1,17,-2,31,-8,44r-55,0r-11,63v-16,2,-31,3,-45,0r11,-63r-56,0v0,-14,2,-29,7,-44r56,0r12,-64v14,-3,31,-2,45,0r-12,64r56,0"},",":{"d":"45,-51v13,-4,37,-5,50,0r-41,91v-14,3,-34,3,-48,0","w":104},"-":{"d":"36,-84v0,-17,4,-30,8,-44r90,0v0,15,-3,32,-8,44r-90,0","w":131},".":{"d":"26,0v-1,-21,4,-36,9,-53v15,-3,36,-3,52,0v1,21,-4,36,-9,53v-17,2,-35,5,-52,0","w":103},"\/":{"d":"134,-258v18,-4,35,-4,51,0r-129,258v-18,2,-34,3,-51,0","w":144},":":{"d":"26,0v-1,-21,4,-36,9,-53v15,-3,36,-3,52,0v1,21,-4,36,-9,53v-17,2,-35,5,-52,0xm49,-133v-1,-21,4,-36,9,-53v15,-3,36,-3,52,0v1,21,-4,36,-9,53v-17,2,-35,5,-52,0","w":103,"k":{"Y":11,"T":15}},";":{"d":"38,-51v13,-4,37,-5,50,0r-41,91v-14,3,-34,3,-48,0xm53,-133v-1,-21,4,-36,9,-53v15,-3,36,-3,52,0v1,21,-4,36,-9,53v-17,2,-35,5,-52,0","w":104},"<":{"d":"217,-208v-1,17,-2,36,-8,50r-115,37r101,40v0,17,-3,33,-9,45r-138,-59v-1,-18,2,-36,9,-54"},"=":{"d":"44,-66v0,-17,1,-31,7,-44r152,0v1,15,-4,33,-8,44r-151,0xm57,-140v1,-17,3,-30,8,-44r151,0v1,18,-2,30,-8,44r-151,0"},">":{"d":"163,-125r-102,-38v0,-17,3,-31,9,-45r138,59v0,21,-2,36,-9,54r-159,59v-1,-19,2,-37,8,-50"},"?":{"d":"49,-252v53,-22,144,-16,140,50v-3,47,-32,74,-69,88r-6,33v-16,2,-32,2,-47,0r10,-62v29,-6,58,-19,58,-52v0,-33,-51,-27,-76,-17v-5,-11,-10,-25,-10,-40xm49,0v0,-20,5,-36,9,-53v16,-3,37,-3,53,0v1,21,-4,36,-9,53v-17,2,-36,5,-53,0","w":170},"@":{"d":"81,-80v-6,89,88,114,162,87r11,33v-20,10,-49,14,-80,14v-85,-2,-137,-45,-137,-132v0,-113,75,-184,197,-184v81,0,134,40,134,121v0,68,-38,123,-102,123v-18,0,-31,-5,-40,-14v-39,26,-109,15,-109,-46v0,-87,80,-132,164,-101r-23,122v46,12,67,-39,67,-84v1,-57,-38,-86,-96,-85v-92,2,-142,57,-148,146xm165,-86v-2,31,24,35,50,27r15,-90v-45,-8,-63,25,-65,63","w":366},"A":{"d":"130,-259v20,-2,40,-3,60,0r32,259v-20,2,-34,3,-54,0r-4,-52r-79,0r-23,52v-17,2,-36,3,-53,0xm160,-95r-10,-104r-46,104r56,0","w":227},"B":{"d":"213,-85v1,90,-98,95,-185,85r46,-259v59,-7,146,-12,145,55v-1,35,-22,57,-50,66v25,4,45,25,44,53xm160,-85v0,-31,-29,-29,-59,-29r-14,74v37,6,73,-4,73,-45xm167,-199v1,-24,-25,-27,-47,-24r-12,69v36,2,59,-10,59,-45","w":210},"C":{"d":"94,-100v0,57,55,69,100,51v5,11,10,29,10,44v-78,26,-167,-1,-167,-90v0,-114,84,-196,202,-158v-4,17,-8,27,-15,42v-78,-28,-130,32,-130,111","w":206},"D":{"d":"255,-158v0,125,-94,179,-227,158r46,-258v89,-17,181,6,181,100xm198,-153v1,-48,-29,-71,-78,-64r-31,175v73,7,108,-41,109,-111","w":246},"E":{"d":"180,-45v4,16,-5,30,-7,45r-145,0r46,-259r142,0v0,18,-2,31,-8,45r-90,0r-9,56r71,0v0,14,-3,29,-8,45r-71,0r-12,68r91,0","w":190},"F":{"d":"179,-153v-1,18,-3,30,-8,45r-71,0r-19,108v-20,2,-35,3,-53,0r46,-259r142,0v0,18,-2,31,-8,45r-90,0r-10,61r71,0","w":182},"G":{"d":"94,-100v0,47,32,65,76,56r16,-90v16,-3,36,-3,52,0r-22,128v-20,7,-47,10,-73,10v-67,0,-105,-35,-106,-99v-2,-114,84,-196,202,-158v-4,17,-8,27,-15,42v-78,-28,-130,32,-130,111","w":237},"H":{"d":"74,-258v18,-4,36,-3,53,0r-18,101r78,0r18,-101v17,-2,36,-4,53,0r-46,258v-18,2,-35,3,-53,0r20,-112r-78,0r-20,112v-20,2,-35,3,-53,0","w":240},"I":{"d":"74,-258v18,-4,36,-3,53,0r-46,258v-20,2,-35,3,-53,0","w":109},"J":{"d":"21,-44v30,9,58,-2,63,-32r24,-138r-41,0v1,-17,4,-32,8,-45r93,0r-33,190v-7,60,-58,83,-122,69v0,-16,1,-33,8,-44","w":150},"K":{"d":"109,-130r89,-129v18,-4,39,-1,58,0r-92,129r49,130v-17,3,-37,3,-55,0xm74,-259v16,-3,36,-3,53,0r-46,259v-18,2,-36,4,-53,0"},"L":{"d":"74,-259v17,-3,35,-3,52,0r-38,214r85,0v-1,17,-4,31,-8,45r-137,0","w":176},"M":{"d":"82,-258v19,-4,36,-4,54,0r30,144r84,-144v16,-4,35,-4,51,0r-34,258v-18,2,-33,3,-50,0r24,-170r-68,116v-14,2,-27,3,-41,0r-23,-117r-35,171v-17,2,-30,3,-46,0","w":291},"N":{"d":"74,-259v13,-4,30,-2,44,0r63,165r29,-165v16,-2,33,-4,47,0r-45,259v-16,2,-29,3,-44,0r-64,-164r-28,164v-14,4,-33,2,-48,0","w":239},"O":{"d":"259,-165v0,94,-40,166,-134,169v-60,2,-91,-37,-89,-96v3,-95,40,-171,134,-171v61,0,89,37,89,98xm165,-218v-59,0,-74,65,-74,128v0,33,13,50,39,50v60,0,74,-67,74,-128v0,-34,-13,-50,-39,-50","w":250},"P":{"d":"226,-188v-2,73,-52,111,-131,105r-14,83v-18,2,-35,2,-53,0r46,-260v73,-7,154,-5,152,72xm171,-185v0,-29,-21,-36,-51,-34r-17,92v41,6,68,-16,68,-58","w":209},"Q":{"d":"250,20v-2,16,-6,31,-11,43r-86,-15v1,-14,5,-32,11,-42xm259,-165v0,94,-40,166,-134,169v-60,2,-91,-37,-89,-96v3,-95,40,-171,134,-171v61,0,89,37,89,98xm165,-218v-59,0,-74,65,-74,128v0,33,13,50,39,50v60,0,74,-67,74,-128v0,-34,-13,-50,-39,-50","w":250},"R":{"d":"151,-143v34,-24,22,-91,-32,-76r-38,219v-18,2,-35,2,-53,0r46,-258v77,-18,176,5,146,94v-9,26,-27,45,-49,56r38,108v-19,2,-37,3,-55,0r-40,-120v13,-8,25,-14,37,-23","w":212},"S":{"d":"135,-157v98,34,56,161,-55,161v-23,0,-44,-4,-66,-12v2,-17,8,-30,14,-45v41,28,141,5,96,-49v-29,-21,-73,-35,-75,-79v-5,-81,94,-97,161,-70v-3,15,-7,29,-15,41v-24,-13,-89,-23,-91,17v0,21,17,26,31,36","w":191},"T":{"d":"231,-259v-1,17,-3,31,-8,45r-61,0r-37,214v-20,2,-35,3,-53,0r37,-214r-61,0v1,-17,3,-31,8,-45r175,0","w":197},"U":{"d":"201,-26v-40,50,-169,43,-159,-46v7,-65,21,-126,30,-187v16,-3,36,-3,53,0r-28,161v-3,31,-2,58,30,57v45,-2,49,-43,56,-84r23,-134v16,-3,36,-3,53,0v-18,79,-15,179,-58,233","w":240},"V":{"d":"48,-259v19,-2,36,-3,55,0r17,204r89,-204v17,-3,37,-2,55,0r-123,259v-21,2,-41,4,-61,0","w":222},"W":{"d":"51,-259v17,-2,39,-4,55,0r1,188r74,-188v15,-3,34,-3,49,0r9,193r68,-193v15,-4,36,-1,52,0r-105,259v-17,4,-37,2,-56,0r-10,-167r-70,167v-19,1,-35,3,-54,0","w":320},"X":{"d":"136,-134r62,-125v19,-2,39,-4,57,0r-66,123r35,136v-18,3,-38,3,-57,0xm81,-134r-23,-125v16,-4,37,-2,54,0r22,125r-66,134v-18,3,-40,3,-59,0","w":226},"Y":{"d":"90,-93r-48,-166v19,-2,38,-4,56,0r28,115r66,-115v19,-2,37,-3,56,0r-105,166r-17,93v-16,3,-36,3,-53,0","w":202},"Z":{"d":"54,-214v1,-16,2,-32,8,-45r167,0r2,4r-137,210r91,0v-1,17,-4,32,-8,45r-167,0r-2,-4r139,-210r-93,0","w":192},"[":{"d":"75,-279r84,0v1,13,-1,27,-7,41r-34,0r-46,257r35,0v0,13,-3,27,-8,41r-84,0","w":125},"\\":{"d":"45,-259v18,-3,33,-2,51,0r83,259v-16,3,-36,3,-52,0","w":176},"]":{"d":"44,19r46,-257r-35,0v0,-13,3,-27,8,-41r84,0r-60,339r-84,0v-1,-13,1,-27,7,-41r34,0","w":123},"^":{"d":"129,-209r-43,79v-17,2,-32,3,-48,-1r76,-127v16,-3,33,-4,49,0r31,127v-15,2,-32,5,-46,0","w":192},"_":{"d":"-3,36v1,-13,3,-24,6,-35r170,0v0,14,-2,24,-6,35r-170,0","w":177},"`":{"d":"80,-259v20,-2,43,-3,62,0r32,44v-15,3,-34,4,-48,0","w":180},"a":{"d":"155,-148v-54,-6,-77,38,-77,85v0,40,35,28,50,5v13,-20,22,-57,27,-90xm26,-51v-2,-102,78,-162,184,-131v-8,60,-25,116,-25,181v-16,2,-30,3,-46,0v-1,-12,-3,-22,-1,-34v-13,20,-34,39,-65,39v-32,0,-47,-23,-47,-55","w":204},"b":{"d":"161,-116v2,-33,-33,-39,-51,-17v-14,17,-19,63,-25,93v50,9,74,-29,76,-76xm216,-123v0,101,-89,149,-188,117r33,-187v5,-32,6,-46,6,-70v15,-4,34,-2,50,0v7,32,-7,71,-11,102v12,-17,28,-30,58,-29v37,0,52,27,52,67","w":211},"c":{"d":"80,-75v0,40,42,45,71,31v6,10,9,22,9,39v-58,22,-132,5,-132,-66v0,-83,67,-140,153,-112v0,15,-5,30,-12,40v-49,-21,-89,15,-89,68","w":165},"d":{"d":"155,-148v-54,-6,-77,38,-77,85v0,40,35,28,50,5v13,-20,22,-57,27,-90xm162,-190v5,-26,9,-47,7,-73v15,-4,34,-2,51,0v1,91,-35,169,-34,262v-16,2,-29,3,-45,0v-3,-8,-2,-25,-1,-35v-13,21,-34,39,-67,40v-32,1,-47,-23,-47,-55v0,-84,45,-141,136,-139","w":206},"e":{"d":"78,-71v-1,44,60,39,87,23v8,9,9,24,10,40v-59,25,-153,15,-147,-64v5,-68,39,-111,107,-118v61,-6,72,68,29,94v-22,14,-55,19,-86,25xm134,-120v13,-10,11,-34,-8,-33v-29,1,-40,25,-46,49v20,-3,42,-7,54,-16","w":183},"f":{"d":"-25,44v38,11,51,-16,57,-50r25,-141r-30,0v1,-15,2,-26,7,-39r30,0v8,-60,50,-93,118,-77v-4,16,-7,27,-14,40v-31,-10,-53,7,-54,37r39,0v0,16,-1,26,-6,39r-40,0v-27,95,-1,261,-144,230v1,-14,5,-27,12,-39","w":129},"g":{"d":"78,-64v-2,37,35,31,51,6v13,-20,21,-58,27,-90v-54,-7,-76,37,-78,84xm22,41v65,18,115,-13,117,-76v-13,19,-34,40,-65,39v-32,0,-48,-22,-48,-55v-2,-103,81,-162,186,-131v-17,74,-17,165,-49,225v-22,42,-96,54,-151,38v1,-16,3,-29,10,-40","w":205},"h":{"d":"154,-114v13,-31,-23,-44,-40,-20v-22,30,-26,90,-37,134v-17,2,-33,3,-50,0r34,-193v5,-32,6,-46,6,-70v15,-4,34,-2,50,0v7,32,-7,71,-12,102v21,-39,116,-44,103,30r-23,131v-18,2,-34,3,-51,0","w":210},"i":{"d":"38,-147v0,-16,3,-26,7,-39r73,0r-33,186v-18,2,-31,3,-50,0r26,-147r-23,0xm71,-217v1,-18,2,-34,8,-48v17,-2,36,-5,53,0v0,18,-3,34,-9,48v-17,0,-36,2,-52,0","w":112},"j":{"d":"38,-147v0,-16,3,-27,7,-39r73,0r-37,209v-6,53,-56,74,-113,61v-1,-16,2,-27,8,-38v29,9,51,-5,56,-32r29,-161r-23,0xm80,-264v16,-5,36,-5,51,0v1,18,-2,31,-8,45v-13,4,-37,5,-51,0v-1,-18,2,-32,8,-45","w":112},"k":{"d":"67,-263v15,-4,34,-2,50,0v4,16,2,32,-2,52r-37,211v-17,2,-34,3,-51,0v12,-85,37,-173,40,-263xm102,-98v19,-28,49,-51,56,-88v16,-3,38,-3,55,0v-9,39,-39,60,-59,89r35,97v-18,2,-35,2,-53,0","w":194},"l":{"d":"119,-3v-46,18,-94,-5,-83,-67r29,-157v2,-15,2,-23,1,-36v15,-4,34,-2,51,0v1,73,-25,136,-32,207v-2,18,16,18,30,15v3,11,6,24,4,38","w":116},"m":{"d":"100,-153v12,-36,101,-60,104,-1v15,-38,110,-59,105,10v-4,50,-17,96,-24,144v-18,2,-34,3,-51,0r22,-130v2,-24,-29,-19,-39,-5v-23,31,-25,90,-35,135v-18,2,-34,3,-51,0r21,-130v2,-24,-30,-19,-39,-4v-20,32,-26,90,-36,134v-18,2,-34,3,-51,0r26,-146v0,-13,3,-28,1,-40v15,-2,32,-4,46,0v4,9,3,22,1,33","w":310},"n":{"d":"154,-114v13,-31,-23,-44,-40,-20v-22,30,-26,90,-37,134v-18,2,-34,3,-51,0r26,-146v0,-13,3,-28,1,-40v15,-2,32,-4,46,0v4,9,3,22,1,33v15,-40,115,-60,109,10v-4,50,-16,95,-24,143v-18,2,-34,3,-51,0","w":210},"o":{"d":"205,-117v0,69,-34,119,-105,121v-48,1,-72,-26,-72,-72v0,-68,34,-120,104,-122v49,-1,73,26,73,73xm127,-150v-38,0,-48,46,-48,83v0,21,9,32,26,32v38,0,49,-43,49,-82v0,-22,-9,-33,-27,-33","w":200},"p":{"d":"161,-116v2,-33,-33,-39,-51,-17v-14,17,-19,63,-25,93v50,9,74,-29,76,-76xm216,-123v-1,82,-51,133,-139,126r-14,82v-16,3,-35,3,-51,0r39,-231r2,-40v16,-2,30,-3,46,0v3,8,3,22,1,32v11,-19,34,-37,64,-36v37,0,53,27,52,67","w":211},"q":{"d":"27,-51v0,-102,78,-161,184,-131r-47,267v-15,3,-34,3,-50,0r19,-111v-21,41,-106,43,-106,-25xm80,-64v-2,38,34,30,49,6v13,-20,21,-58,27,-90v-53,-6,-74,36,-76,84","w":204},"r":{"d":"167,-186v1,18,-3,34,-9,45v-75,-13,-64,83,-81,141v-18,2,-34,3,-51,0r26,-146v0,-13,3,-28,1,-40v15,-2,32,-4,46,0v4,9,3,22,1,33v11,-20,35,-41,67,-33","w":141},"s":{"d":"26,-44v24,16,96,13,74,-25v-22,-16,-58,-18,-58,-58v0,-62,79,-75,130,-53v0,15,-5,26,-12,37v-16,-9,-63,-19,-67,8v10,30,64,23,64,69v0,67,-84,82,-142,61v1,-14,5,-27,11,-39","w":160},"t":{"d":"136,-3v-51,15,-106,2,-94,-67r14,-77r-28,0v1,-15,2,-26,7,-39r28,0r5,-42v11,-7,32,-11,49,-11v5,16,0,38,-4,53r45,0v0,16,-3,26,-7,39r-44,0r-15,88v-3,22,23,23,40,18v4,9,7,25,4,38","w":137},"u":{"d":"143,-33v-18,44,-121,57,-108,-22r23,-131v16,-4,34,-2,51,0r-22,128v-2,26,33,22,43,6v21,-31,27,-89,36,-134v18,-2,34,-3,51,0r-25,146r-2,40v-16,2,-30,3,-46,0v0,-11,-3,-22,-1,-33","w":210},"v":{"d":"33,-186v18,-3,37,-2,55,0r14,136v17,-45,48,-80,52,-136v15,-2,47,-5,58,2v-17,70,-64,123,-92,184v-18,0,-39,4,-55,0","w":191},"w":{"d":"35,-186v16,-2,38,-4,54,0r5,129r54,-129v15,-3,35,-2,51,0r10,129v15,-43,42,-75,45,-129v15,-2,42,-4,55,1v-14,73,-58,123,-84,185v-16,4,-39,2,-55,0r-11,-118r-50,118v-18,0,-39,4,-55,0","w":290},"x":{"d":"62,-96r-21,-90v16,-2,34,-4,50,0r19,90v-16,33,-39,58,-50,96v-17,3,-34,3,-52,0v8,-40,37,-64,54,-96xm113,-96v14,-29,39,-51,43,-90v16,-3,33,-3,49,0v-1,39,-29,61,-44,88r23,98v-19,2,-35,3,-52,0","w":192},"y":{"d":"20,46v39,11,56,-17,69,-46v-11,0,-25,2,-35,0r-17,-186v17,-2,36,-3,53,0r9,163v18,-54,56,-98,57,-163v23,-2,65,-12,53,21v-27,77,-65,157,-105,222v-16,27,-56,38,-94,27v1,-15,4,-27,10,-38","w":195},"z":{"d":"165,-39v1,16,-5,26,-7,39r-150,0r-2,-4r107,-143r-70,0v0,-15,3,-27,7,-39r141,0r1,4r-107,143r80,0","w":168},"{":{"d":"118,59v-84,12,-75,-60,-62,-128v-1,-20,-8,-32,-23,-40v8,-22,33,-21,38,-46v13,-63,20,-144,108,-127v0,13,-5,28,-8,39v-71,-4,-23,108,-85,132v34,17,11,75,9,111v-1,18,10,20,29,20v0,15,-2,27,-6,39","w":138},"|":{"d":"85,-279v16,-4,35,-4,49,0r-59,339v-18,3,-33,4,-50,0","w":121},"}":{"d":"132,-234v-1,44,-25,97,13,117v-6,22,-32,20,-37,46v-13,63,-20,144,-108,127v0,-13,5,-28,8,-39v70,3,22,-109,85,-132v-34,-17,-11,-75,-9,-111v1,-18,-10,-20,-29,-20v0,-15,2,-27,6,-39v45,-3,72,9,71,51","w":135},"~":{"d":"91,-174v31,0,63,29,87,3v9,11,15,16,20,32v-13,11,-31,21,-55,20v-33,-1,-59,-28,-87,-2v-9,-11,-16,-17,-20,-31v14,-10,32,-22,55,-22","w":183},"%":{"d":"270,-55v0,14,4,25,17,25v25,-2,32,-32,32,-57v0,-14,-5,-28,-18,-27v-26,2,-30,32,-31,59xm363,-89v0,53,-28,91,-81,93v-38,1,-56,-22,-56,-58v0,-54,26,-95,81,-95v38,0,56,24,56,60xm84,-166v0,14,4,26,17,26v26,-2,30,-32,32,-58v0,-14,-5,-26,-18,-26v-25,2,-30,31,-31,58xm177,-199v0,53,-27,93,-81,93v-37,0,-56,-21,-56,-59v0,-54,27,-94,81,-94v37,0,56,23,56,60xm264,-255v17,-2,32,-3,50,0r-174,254v-17,3,-32,2,-50,0","w":362},"0":{"d":"225,-150v-3,83,-34,150,-116,154v-54,3,-81,-34,-79,-87v3,-83,34,-155,117,-155v54,0,80,32,78,88xm143,-194v-48,0,-61,64,-61,113v0,25,8,42,31,42v48,0,59,-61,59,-113v0,-28,-9,-42,-29,-42"},"1":{"d":"196,-43v-1,15,-2,29,-7,43r-149,0v0,-14,3,-29,8,-43r48,0r22,-124r-43,17v-5,-13,-12,-23,-12,-40r107,-45r12,0r-34,192r48,0"},"2":{"d":"193,-44v-1,17,-3,30,-8,44r-167,0r-2,-5v41,-46,89,-86,124,-138v16,-24,6,-53,-25,-51v-20,1,-31,6,-47,12v-6,-11,-11,-27,-12,-42v51,-24,151,-24,147,46v-4,67,-57,93,-90,134r80,0"},"3":{"d":"142,-68v0,-34,-36,-37,-66,-30r-4,-6r66,-87r-79,0v1,-17,3,-30,8,-44r147,0r3,6r-74,96v34,4,54,26,54,63v0,85,-103,111,-182,83v3,-15,7,-30,13,-43v39,17,114,16,114,-38"},"4":{"d":"217,-73v-1,16,-2,31,-7,44r-25,0r-9,50v-17,2,-34,2,-50,0r9,-50r-119,0r-2,-5r126,-206v18,1,32,8,43,17r-91,150r50,0r12,-65v17,0,34,-2,50,0r-11,65r24,0"},"5":{"d":"141,-68v0,-40,-55,-36,-81,-22r-6,-5r30,-140r126,0v0,17,-3,30,-8,44r-79,0r-11,53v48,-8,84,15,85,61v1,87,-98,119,-178,90v2,-16,6,-31,12,-44v37,18,110,15,110,-37"},"6":{"d":"33,-78v4,-107,62,-180,173,-183v4,13,3,30,1,42v-55,1,-91,23,-106,65v10,-11,28,-21,52,-20v41,1,63,25,63,67v0,66,-40,109,-108,111v-51,1,-77,-30,-75,-82xm131,-132v-47,0,-66,93,-16,93v32,0,47,-29,48,-62v0,-21,-12,-31,-32,-31"},"7":{"d":"57,-191v0,-16,1,-33,7,-44r171,0r2,5r-146,257v-20,-4,-34,-12,-47,-22r113,-196r-100,0"},"8":{"d":"31,-55v0,-42,27,-63,56,-83v-50,-39,-6,-120,65,-120v38,0,70,18,69,55v-1,32,-21,53,-43,67v18,12,33,25,32,55v-3,56,-44,85,-101,85v-44,0,-78,-16,-78,-59xm115,-38v42,0,56,-56,21,-73v-4,-3,-8,-5,-12,-7v-19,11,-39,26,-39,54v0,16,11,26,30,26xm149,-218v-35,0,-48,46,-17,60v3,2,6,3,9,4v15,-9,30,-20,31,-42v0,-13,-9,-22,-23,-22"},"9":{"d":"141,-238v107,-6,83,151,39,204v-30,36,-71,61,-139,60v-2,-14,-3,-30,0,-44v58,2,97,-19,111,-64v-36,35,-121,19,-115,-49v6,-64,38,-104,104,-107xm89,-135v0,20,12,32,31,31v31,-1,46,-25,47,-57v0,-20,-10,-34,-29,-34v-33,0,-47,27,-49,60"},"\u00a0":{"w":75}}});
;
$(document).ready(function() {

// find last p tag in teasers and set to inline to move read more into teaser properly.
    $('.teaser').find('p:last').each(function(i) {
        $(this).addClass('inline');
    });
    

	$('#edit-search-theme-form-l').autofill({

        value: 'Search',

        defaultTextColor: '#666',

        activeTextColor: '#333'

      });

	$('#email-address').autofill({

        value: 'Enter Your Email',

        defaultTextColor: '#666',

        activeTextColor: '#333'

      });

      
});


function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
};
/*
* Auto-Fill Plugin
* Written by Joe Sak 
* Website: http://www.joesak.com/
* Article: http://www.joesak.com/2008/11/19/a-jquery-function-to-auto-fill-input-fields-and-clear-them-on-click/
* GitHub: http://github.com/joemsak/jQuery-AutoFill
*/
(function($){$.fn.autofill=function(options){var defaults={value:'First Name',prePopulate:'',defaultTextColor:"#666",activeTextColor:"#333"};var options=$.extend(defaults,options);return this.each(function(){var obj=$(this);var pfield=(obj.attr('type')=='password');var p_obj=false;if(pfield){obj.hide();obj.after('<input type="text" id="'+this.id+'_autofill" class="'+$(this).attr('class')+'" />');p_obj=obj;obj=obj.next();}
if(document.activeElement!=obj[0]){obj.css({color:options.defaultTextColor}).val(options.value);}
obj.each(function(){$(this.form).submit(function(){if(obj.val()==options.value){obj.val(options.prePopulate);}});});obj.focus(function(){if(obj.val()==options.value){if(pfield){obj.hide();p_obj.show().focus()}
obj.val(options.prePopulate).css({color:options.activeTextColor});}}).blur(function(){if(obj.val()==options.prePopulate||obj.val()==''){obj.css({color:options.defaultTextColor}).val(options.value);}});if(p_obj&&p_obj.length>0){p_obj.blur(function(){if(p_obj.val()==""){p_obj.hide();obj.show().css({color:options.defaultTextColor}).val(options.value);}});}});};})(jQuery);
;

