// $Id: jquery.js,v 1.12.2.3 2008/06/25 09:38:39 goba Exp $ 

/*
 * 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,{}));
// $Id: drupal.js,v 1.41.2.4 2009/07/21 08:59:10 goba Exp $

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>';
  }
};
;
// $Id: progress.js,v 1.20 2008/01/04 11:53:21 goba Exp $

/**
 * 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);
  }
};
;
// $Id: googleanalytics.js,v 1.9.2.4 2010/09/19 11:39:20 hass Exp $

$(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) {
          // External link clicked.
          _gaq.push(["_trackEvent", "Outgoing links", "Click", this.href]);
        }
      }

    });
  });
});
;
/* $Id: auto_image_handling.js,v 1.1.4.33 2010/09/22 21:07:57 snpower Exp $ */

// Image Node Auto-Format with Auto Image Grouping.
// Original version by Steve McKenzie.
// Altered by Stella Power for jQuery version.

function parse_url(url, param) {
  param = param.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
  url = url.replace(/&amp;/, "&");
  var regexS = "[\\?&]"+param+"=([^&#]*)";
  var regex = new RegExp(regexS);
  var results = regex.exec(url);
  if (results === null) {
    return "";
  }
  else {
    return results[1];
  }
}


function lightbox2_init_triggers(classes, rel_type, custom_class) {
  if (classes == '' || rel_type == 0) {
    return;
  }
  var settings = Drupal.settings.lightbox2;

  var link_target  = "";
  if (settings.node_link_target !== 0) {
    link_target = 'target="'+ settings.node_link_target +'"';
  }

  $("a:has("+classes+")").each(function(i) {

    if ((!settings.disable_for_gallery_lists && !settings.disable_for_acidfree_gallery_lists) || (!$(this).parents("td.giAlbumCell").attr("class") && !$(this).parents(".galleries").length && !$(this).parents(".acidfree-folder").length && !$(this).parents(".acidfree-list").length) || ($(this).parents(".galleries").length && !settings.disable_for_gallery_lists) || (($(this).parents(".acidfree-folder").length || $(this).parents(".acidfree-list").length) && !settings.disable_for_acidfree_gallery_lists)) {

      var child = $(this).find(classes);

      // Ensure the child has a class attribute we can work with.
      if ($(child).attr("class") && !$(this).parents("div.acidfree-video").length) {

        // Set the alt text.
        var alt = $(child).attr("alt");
        if (!alt) {
          alt = "";
        }

        // Set the image node link text.
        var link_text = settings.node_link_text;
        var download_link_text = settings.download_link_text;
        var rewrite = 1;

        // Set the rel attribute.
        var rel = "lightbox";
        var lightframe = false;
        if (rel_type == "lightframe_ungrouped") {
          rel = "lightframe[]";
          lightframe = true;
        }
        else if (rel_type == "lightframe") {
          lightframe = true;
        }
        else if (rel_type == "lightbox_ungrouped") {
          rel = "lightbox[]";
        }
        if (rel_type != "lightbox_ungrouped" && rel_type != "lightframe_ungrouped") {
          rel = rel_type + "[" + $(child).attr("class") + "]";
        }

        // Set the basic href attribute - need to ensure there's no language
        // string (e.g. /en) prepended to the URL.
        var id = null;
        var href = $(child).attr("src");
        var download = null;
        var orig_href = $(this).attr("href");
        var pattern = new RegExp(settings.file_path);
        if (orig_href.match(pattern)) {
          var lang_pattern = new RegExp(Drupal.settings.basePath + "\\w\\w\\/");
          orig_href = orig_href.replace(lang_pattern, Drupal.settings.basePath);
        }
        var frame_href = orig_href;

        // Handle flickr images.
        if ($(child).attr("class").match("flickr-photo-img") ||
          $(child).attr("class").match("flickr-photoset-img")) {
          href = $(child).attr("src").replace("_s.", ".").replace("_t.", ".").replace("_m.", ".").replace("_b.", ".");
          if (rel_type != "lightbox_ungrouped" && rel_type != "lightframe_ungrouped") {
            rel = rel_type + "[flickr]";
            if ($(child).parents("div.block-flickr").attr("class")) {
              id = $(child).parents("div.block-flickr").attr("id");
              rel = rel_type + "["+ id +"]";
            }
          }
          download = href;
        }

        // Handle "image-img_assist_custom" images.
        else if ($(child).filter("img[class*=img_assist_custom]").size()) {
          // Image assist uses "+" signs for spaces which doesn't work for
          // normal links.
          if (settings.display_image_size != "original") {
            orig_href = orig_href.replace(/\+/, " ");
            href = $(child).attr("src").replace(new RegExp("\\.img_assist_custom-[0-9]+x[0-9]+"), ((settings.display_image_size === "")?settings.display_image_size:"."+ settings.display_image_size));
            if (rel_type != "lightbox_ungrouped" && rel_type != "lightframe_ungrouped") {
              rel = rel_type + "[node_images]";
            }
            if (lightframe) {
              frame_href = orig_href + "/lightbox2";
            }
          }
          else {
            rewrite = 0;
          }
        }

        // Handle "inline" images.
        else if ($(child).attr("class").match("inline")) {
          href = orig_href;
        }

        // Handle gallery2 block images.
        else if ($(child).attr("class").match("ImageFrame_image") || $(child).attr("class").match("ImageFrame_none")) {
          var thumb_id = parse_url(href, "g2_itemId");
          var new_id = parse_url(orig_href, "g2_itemId");
          if (new_id && thumb_id) {
            var g2pattern = new RegExp("g2_itemId="+thumb_id);
            var replacement = "g2_itemId="+ new_id;
            href = href.replace(g2pattern, replacement);
          }
          rel = rel_type + "[gallery2]";
          if ($(child).parents("div.block-gallery").attr("class")) {
            id = $(child).parents("div.block-gallery").attr("id");
            rel = rel_type + "["+ id +"]";
          }
          download = href;
        }


        // Set the href attribute.
        else if (settings.image_node_sizes != '()' && !custom_class) {
          if (settings.display_image_size != "original") {
            href = $(child).attr("src").replace(new RegExp(settings.image_node_sizes), ((settings.display_image_size === "")?settings.display_image_size:"."+ settings.display_image_size)).replace(/(image\/view\/\d+)(\/[\w\-]*)/, ((settings.display_image_size === "")?"$1/_original":"$1/"+ settings.display_image_size));
            if (rel_type != "lightbox_ungrouped" && rel_type != "lightframe_ungrouped") {
              rel = rel_type + "[node_images]";
              if ($(child).parents("div.block-multiblock,div.block-image").attr("class")) {
                id = $(child).parents("div.block-multiblock,div.block-image").attr("id");
                rel = rel_type + "["+ id +"]";
              }
            }
            download = $(child).attr("src").replace(new RegExp(settings.image_node_sizes), "").replace(/(image\/view\/\d+)(\/[\w\-]*)/, "$1/_original");
            if (lightframe) {
              frame_href = orig_href + "/lightbox2";
            }
          }
          else {
            rewrite = 0;
          }
        }

        // Modify the image url.
        var img_title = $(child).attr("title");
        if (!img_title) {
          img_title = $(this).attr("title");
          if (!img_title) {
            img_title = $(child).attr("alt");
          }
          $(child).attr({title: img_title});
        }
        if (lightframe) {
          href = frame_href;
        }
        if (rewrite) {
          if (!custom_class) {
            var title_link = "";
            if (link_text.length) {
              title_link = "<br /><br /><a href=\"" + orig_href + "\" id=\"lightbox2-node-link-text\" "+ link_target +" >"+ link_text + "</a>";
            }
            if (download_link_text.length && download) {
              title_link = title_link + " - <a href=\"" + download + "\" id=\"lightbox2-download-link-text\" target=\"_blank\">" + download_link_text + "</a>";
            }
            rel = rel + "[" + img_title + title_link + "]";
            $(this).attr({
              rel: rel,
              href: href
            });
          }
          else {
            if (rel_type != "lightbox_ungrouped" && rel_type != "lightframe_ungrouped") {
              rel = rel_type + "[" + $(child).attr("class") + "]";
              if ($(child).parents("div.block-image").attr("class")) {
                id = $(child).parents("div.block-image").attr("id");
                rel = rel_type + "["+ id +"]";
              }
            }
            rel = rel + "[" + img_title + "]";
            $(this).attr({
              rel: rel,
              href: orig_href
            });
          }
        }
      }
    }

  });
}

function lightbox2_init_acidfree_video() {
  var settings = Drupal.settings.lightbox2;

  var link_target  = "";
  if (settings.node_link_target !== 0) {
    link_target = 'target="'+ settings.node_link_target +'"';
  }

  var link_text = settings.node_link_text;
  var rel = "lightframe";

  $("div.acidfree-video a").each(function(i) {

    if (!settings.disable_for_acidfree_gallery_lists || (!$(this).parents(".acidfree-folder").length && !$(this).parents(".acidfree-list").length) || (($(this).parents(".acidfree-folder").length || $(this).parents(".acidfree-list").length) && !settings.disable_for_acidfree_gallery_lists)) {
      var orig_href = $(this).attr("href");
      var href = orig_href + "/lightframevideo";
      var title = $(this).attr("title");
      var title_link = "";
      if (link_text.length) {
        title_link = "<br /><a href=\"" + orig_href + "\" id=\"lightbox2-node-link-text\" "+ link_target +" >"+ link_text + "</a>";
      }

      $(this).attr({
        rel: rel,
        title: title + title_link,
        href: href
      });
    }
  });
}

function lightbox2_image_nodes() {

  var settings = Drupal.settings.lightbox2;

  // Don't do it on the image assist popup selection screen.
  var img_assist = document.getElementById("img_assist_thumbs");
  if (!img_assist) {

    // Select the enabled image types.
    lightbox2_init_triggers(settings.trigger_lightbox_classes, "lightbox_ungrouped");
    lightbox2_init_triggers(settings.custom_trigger_classes, settings.custom_class_handler, true);
    lightbox2_init_triggers(settings.trigger_lightbox_group_classes, "lightbox");
    lightbox2_init_triggers(settings.trigger_slideshow_classes, "lightshow");
    lightbox2_init_triggers(settings.trigger_lightframe_classes, "lightframe_ungrouped");
    lightbox2_init_triggers(settings.trigger_lightframe_group_classes, "lightframe");
    if (settings.enable_acidfree_videos) {
      lightbox2_init_acidfree_video();
    }

  }
}


Drupal.behaviors.initAutoLightbox = function (context) {
  lightbox2_image_nodes();
};

;
/* $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: poormanscron.js,v 1.1.2.3 2010/01/17 00:27:52 davereid Exp $
(function ($) {

/**
 * Checks to see if the cron should be automatically run.
 */
Drupal.behaviors.cronCheck = function(context) {
  if (Drupal.settings.cron.runNext || false) {
    $('body:not(.cron-check-processed)', context).addClass('cron-check-processed').each(function() {
      // Only execute the cron check if its the right time.
      if (Math.round(new Date().getTime() / 1000.0) >= Drupal.settings.cron.runNext) {
        $.get(Drupal.settings.cron.basePath + '/run-cron-check');
      }
    });
  }
};

})(jQuery);
;
/*
 * 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}})());;
// $Id: tableheader.js,v 1.16.2.2 2009/03/30 12:48:09 goba Exp $

Drupal.tableHeaderDoScroll = function() {
  if (typeof(Drupal.tableHeaderOnScroll)=='function') {
    Drupal.tableHeaderOnScroll();
  }
};

Drupal.behaviors.tableHeader = function (context) {
  // This breaks in anything less than IE 7. Prevent it from running.
  if (jQuery.browser.msie && parseInt(jQuery.browser.version, 10) < 7) {
    return;
  }

  // Keep track of all cloned table headers.
  var headers = [];

  $('table.sticky-enabled thead:not(.tableHeader-processed)', context).each(function () {
    // Clone thead so it inherits original jQuery properties.
    var headerClone = $(this).clone(true).insertBefore(this.parentNode).wrap('<table class="sticky-header"></table>').parent().css({
      position: 'fixed',
      top: '0px'
    });

    headerClone = $(headerClone)[0];
    headers.push(headerClone);

    // Store parent table.
    var table = $(this).parent('table')[0];
    headerClone.table = table;
    // Finish initialzing header positioning.
    tracker(headerClone);

    $(table).addClass('sticky-table');
    $(this).addClass('tableHeader-processed');
  });

  // Define the anchor holding var.
  var prevAnchor = '';

  // Track positioning and visibility.
  function tracker(e) {
    // Save positioning data.
    var viewHeight = document.documentElement.scrollHeight || document.body.scrollHeight;
    if (e.viewHeight != viewHeight) {
      e.viewHeight = viewHeight;
      e.vPosition = $(e.table).offset().top - 4;
      e.hPosition = $(e.table).offset().left;
      e.vLength = e.table.clientHeight - 100;
      // Resize header and its cell widths.
      var parentCell = $('th', e.table);
      $('th', e).each(function(index) {
        var cellWidth = parentCell.eq(index).css('width');
        // Exception for IE7.
        if (cellWidth == 'auto') {
          cellWidth = parentCell.get(index).clientWidth +'px';
        }
        $(this).css('width', cellWidth);
      });
      $(e).css('width', $(e.table).css('width'));
    }

    // Track horizontal positioning relative to the viewport and set visibility.
    var hScroll = document.documentElement.scrollLeft || document.body.scrollLeft;
    var vOffset = (document.documentElement.scrollTop || document.body.scrollTop) - e.vPosition;
    var visState = (vOffset > 0 && vOffset < e.vLength) ? 'visible' : 'hidden';
    $(e).css({left: -hScroll + e.hPosition +'px', visibility: visState});

    // Check the previous anchor to see if we need to scroll to make room for the header.
    // Get the height of the header table and scroll up that amount.
    if (prevAnchor != location.hash) {
      if (location.hash != '') {
        var offset = $('td' + location.hash).offset();
        if (offset) {
          var top = offset.top;
          var scrollLocation = top - $(e).height();
          $('body, html').scrollTop(scrollLocation);
        }
      }
      prevAnchor = location.hash;
    }
  }

  // Only attach to scrollbars once, even if Drupal.attachBehaviors is called
  //  multiple times.
  if (!$('body').hasClass('tableHeader-processed')) {
    $('body').addClass('tableHeader-processed');
    $(window).scroll(Drupal.tableHeaderDoScroll);
    $(document.documentElement).scroll(Drupal.tableHeaderDoScroll);
  }

  // Track scrolling.
  Drupal.tableHeaderOnScroll = function() {
    $(headers).each(function () {
      tracker(this);
    });
  };

  // Track resizing.
  var time = null;
  var resize = function () {
    // Ensure minimum time between adjustments.
    if (time) {
      return;
    }
    time = setTimeout(function () {
      $('table.sticky-header').each(function () {
        // Force cell width calculation.
        this.viewHeight = 0;
        tracker(this);
      });
      // Reset timer
      time = null;
    }, 250);
  };
  $(window).resize(resize);
};
;
// $Id: quicktabs.js,v 1.3.2.21 2010/04/20 18:24:05 katbailey Exp $

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;
        }
        
        $.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 (i in files) {
    if (!Drupal.quicktabs.scripts[files[i]]) {
      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.
 * 
 * Copyright:
 * Typeface data Copyright © 1992-94 The Monotype Corporation. Copyright 1994
 * Microsoft Corporation. All rights reserved.
 * 
 * Trademark:
 * Abadi¨ Trademark of The Monotype Corporation. Registered in U.S. Patent and
 * Trademark Office.
 */
Cufon.registerFont({"w":183,"face":{"font-family":"Abadi","font-weight":800,"font-stretch":"condensed","units-per-em":"360","panose-1":"2 11 10 6 3 1 1 1 1 3","ascent":"288","descent":"-72","x-height":"4","bbox":"-7 -262 289.226 89.1285","underline-thickness":"17.9297","underline-position":"-27.0703","unicode-range":"U+0020-U+00BB"},"glyphs":{" ":{"w":91},"!":{"d":"82,-245r-8,170r-44,0r-8,-170r60,0xm23,-26v0,-15,14,-30,28,-30v17,-1,31,13,31,30v0,16,-14,30,-29,30v-15,0,-30,-15,-30,-30","w":104},"\"":{"d":"29,-154v-6,-27,-11,-56,-9,-91r53,0v2,35,-3,63,-8,91r-36,0xm108,-154v-6,-27,-11,-56,-9,-91r54,0v2,35,-3,63,-8,91r-37,0","w":172},"#":{"d":"14,-179r54,0r14,-67r34,0r-15,67r62,0r15,-67r33,0r-14,67r29,0r0,33r-36,0r-11,54r47,0r0,33r-53,0r-15,67r-33,0r15,-67r-64,0r-13,67r-34,0r14,-67r-29,0r0,-33r36,0r11,-54r-47,0r0,-33xm95,-146r-12,54r63,0r11,-54r-62,0","w":239},"$":{"d":"29,-131v-29,-38,-6,-97,38,-104r0,-26r32,0r0,23v15,1,29,5,44,13r0,54v-16,-15,-30,-23,-44,-23v-20,0,-37,23,-21,38v25,22,83,29,80,82v-2,39,-24,66,-59,74r0,26r-32,0r0,-23v-15,0,-31,-6,-51,-15r0,-55v18,17,35,26,52,26v26,0,46,-30,26,-48v-14,-13,-53,-26,-65,-42","w":168},"%":{"d":"66,-249v18,0,54,20,72,20v23,0,40,-11,52,-33r33,0r-117,279r-34,0r95,-225v-18,9,-30,10,-48,0v15,44,-11,89,-53,89v-33,0,-57,-30,-57,-65v0,-36,23,-65,57,-65xm66,-150v23,0,24,-66,1,-67v-24,1,-24,65,-1,67xm169,-61v0,-34,24,-65,55,-65v36,-1,59,28,59,65v0,36,-24,65,-57,65v-34,0,-57,-29,-57,-65xm226,-28v23,-3,22,-64,1,-67v-27,0,-22,64,-1,67","w":292},"&":{"d":"123,-15v-42,44,-114,5,-114,-55v0,-29,16,-56,47,-79v-31,-61,12,-117,83,-96r0,43v-26,-16,-45,7,-32,33r32,63r0,-43r48,0v0,35,-9,74,-26,94r26,55r-57,0xm74,-109v-20,27,-4,75,30,61","w":194},"'":{"d":"25,-154v-6,-27,-11,-56,-9,-91r54,0v2,35,-3,63,-8,91r-37,0","w":86},"(":{"d":"92,78v-58,-97,-55,-233,-1,-323r44,0v-53,85,-50,243,2,323r-45,0","w":153},")":{"d":"61,-245v59,96,57,232,2,323r-44,0v53,-85,50,-243,-2,-323r44,0","w":153},"*":{"d":"73,-245r23,0r0,43r41,-14r7,22r-41,13r25,34r-18,14r-26,-35r-26,35r-18,-14r26,-34r-41,-13r7,-22r41,14r0,-43","w":168},"+":{"d":"22,-136r79,0r0,-79r38,0r0,79r79,0r0,38r-79,0r0,78r-38,0r0,-78r-79,0r0,-38","w":239},",":{"d":"55,-48v21,0,32,19,32,40v0,23,-10,55,-31,94r-24,0v10,-27,15,-49,17,-68v-36,-10,-31,-66,6,-66","w":104},"-":{"d":"21,-111r93,0r0,55r-93,0r0,-55","w":135},"\u00ad":{"d":"21,-111r93,0r0,55r-93,0r0,-55","w":135},".":{"d":"25,-24v0,-15,14,-28,26,-28v16,-1,29,13,29,28v0,16,-12,28,-28,28v-15,0,-27,-12,-27,-28","w":104},"\/":{"d":"90,-250r36,0r-81,278r-36,0","w":135},"0":{"d":"93,4v-117,1,-111,-243,-2,-243v59,0,84,55,84,125v0,64,-26,117,-82,118xm92,-40v38,-5,28,-103,20,-136v-4,-13,-11,-19,-20,-19v-25,0,-27,38,-27,75v0,41,1,74,27,80"},"1":{"d":"37,-190v31,2,46,-13,44,-45r46,0r0,235r-54,0r0,-149r-36,0r0,-41"},"2":{"d":"99,-152v13,-19,-1,-40,-25,-40v-13,0,-27,7,-44,19r0,-52v56,-29,129,-13,131,51v2,65,-80,74,-89,130r93,0r0,44r-146,0v-12,-88,37,-110,80,-152"},"3":{"d":"96,-168v0,-35,-46,-28,-71,-6r0,-51v48,-27,128,-14,128,45v0,29,-18,44,-40,54v31,6,51,21,51,57v0,65,-80,91,-139,60r0,-51v27,24,82,26,82,-14v0,-26,-29,-32,-59,-29r0,-41v24,1,48,-2,48,-24"},"4":{"d":"92,-235r56,0r0,127r27,0r0,41r-27,0r0,67r-56,0r0,-67r-82,0r0,-44xm92,-168r-39,60r39,0r0,-60"},"5":{"d":"74,-43v34,0,48,-62,16,-71v-6,0,-10,4,-14,11r-48,0r0,-132r122,0r0,45r-67,0r0,42v40,-32,82,11,82,62v0,73,-70,113,-137,77r0,-53v17,13,33,19,46,19"},"6":{"d":"14,-114v0,-86,57,-151,140,-114r0,52v-40,-33,-84,-10,-83,39v10,-13,22,-23,40,-23v88,0,69,169,-15,164v-53,-3,-82,-52,-82,-118xm95,-111v-12,2,-18,12,-24,24v2,22,7,42,24,44v23,-2,26,-66,0,-68"},"7":{"d":"15,-235r145,0r0,45r-75,190r-60,0r78,-190r-88,0r0,-45"},"8":{"d":"92,4v-42,0,-82,-28,-82,-66v0,-22,14,-41,44,-56v-20,-17,-32,-27,-33,-56v-1,-40,34,-64,73,-65v37,-2,69,23,68,57v-1,27,-15,34,-34,51v27,16,44,28,46,63v1,43,-39,72,-82,72xm94,-196v-25,6,-20,41,1,53v10,-11,15,-22,15,-32v1,-11,-6,-21,-16,-21xm91,-39v34,-4,34,-56,-1,-67v-17,11,-26,24,-26,38v0,15,13,30,27,29"},"9":{"d":"168,-117v0,84,-60,147,-141,110r0,-51v41,33,83,8,83,-40v-33,50,-98,6,-98,-54v0,-45,31,-88,74,-87v55,1,82,57,82,122xm86,-123v13,-2,18,-13,24,-25v-2,-21,-7,-41,-23,-44v-25,1,-27,67,-1,69"},":":{"d":"52,-115v-34,0,-34,-57,-1,-56v16,0,29,11,29,27v0,15,-12,29,-28,29xm25,-24v0,-15,14,-28,26,-28v16,-1,29,13,29,28v0,16,-12,28,-28,28v-15,0,-27,-12,-27,-28","w":104},";":{"d":"53,-115v-35,1,-35,-57,-2,-56v16,0,29,12,29,28v0,15,-12,27,-27,28xm55,-48v21,-1,32,20,32,40v0,23,-10,55,-31,94r-24,0v10,-27,16,-51,17,-69v-36,-10,-31,-65,6,-65","w":104},"<":{"d":"218,-19r-196,-81r0,-34r196,-82r0,41r-144,58r144,57r0,41","w":239},"=":{"d":"22,-178r196,0r0,38r-196,0r0,-38xm22,-94r196,0r0,38r-196,0r0,-38","w":239},">":{"d":"22,-216r196,82r0,34r-196,81r0,-41r144,-57r-144,-58r0,-41","w":239},"?":{"d":"95,-183v-10,-34,-57,-22,-84,-2r0,-50v60,-29,137,-13,140,50v3,54,-65,55,-62,110r-48,0v-9,-61,41,-69,54,-108xm35,-26v0,-15,14,-30,28,-30v17,-1,32,14,32,30v1,15,-15,30,-30,30v-15,0,-30,-15,-30,-30","w":161},"@":{"d":"73,-79v0,-61,63,-120,115,-77r10,-12r40,0r-24,105v27,-14,41,-40,41,-77v0,-49,-30,-75,-83,-75v-78,0,-121,61,-125,138v-6,107,123,131,190,76r-3,42v-99,56,-223,2,-223,-120v0,-98,69,-170,163,-170v96,0,144,96,97,174v-23,37,-48,53,-102,55v-1,-11,-2,-21,-3,-29v-24,50,-93,29,-93,-30xm180,-127v-32,-20,-60,13,-58,46v0,14,6,21,17,21v20,0,36,-34,41,-67","w":300},"A":{"d":"65,-245r57,0r65,245r-63,0r-8,-49r-47,0r-9,49r-59,0xm92,-178r-15,85r31,0","w":187,"k":{"v":4,"u":4,"p":-8,"Y":22,"W":4,"V":12,"U":9,"T":24,"Q":8,"O":8,"G":12,"C":4}},"B":{"d":"183,-70v1,75,-86,73,-165,70r0,-245v68,0,150,-11,149,57v0,31,-17,46,-41,56v35,6,57,23,57,62xm109,-176v0,-18,-14,-24,-34,-22r0,47v20,1,34,-6,34,-25xm125,-77v0,-25,-23,-30,-50,-28r0,57v27,3,50,-5,50,-29","w":187,"k":{"U":4,"A":4,".":4,",":4}},"C":{"d":"111,-198v-58,2,-59,146,-1,150v9,0,20,-4,31,-13r0,55v-77,38,-131,-37,-131,-116v0,-79,51,-152,131,-118r0,56v-9,-9,-19,-14,-30,-14","w":153},"D":{"d":"182,-125v1,71,-31,126,-100,125r-64,0r0,-245r71,0v68,-1,93,52,93,120xm123,-128v0,-39,-7,-73,-48,-70r0,150v35,1,48,-24,48,-80","w":191,"k":{"Y":15,"W":8,"V":12,"A":12,".":24,",":24}},"E":{"d":"18,-245r140,0r0,49r-83,0r0,45r77,0r0,48r-77,0r0,53r83,0r0,50r-140,0r0,-245","w":168},"F":{"d":"18,-245r136,0r0,49r-79,0r0,51r73,0r0,48r-73,0r0,97r-57,0r0,-245","w":161,"k":{"r":4,"o":4,"l":-4,"e":4,"A":17,".":54,",":54}},"G":{"d":"98,-45v16,-1,12,-25,13,-43r-18,0r0,-44r72,0r0,132r-28,0r-13,-18v-61,61,-113,-25,-113,-104v0,-90,67,-158,145,-113r0,54v-46,-43,-92,-1,-88,62v2,35,5,69,30,74","w":180,"k":{".":-4,",":-4}},"H":{"d":"18,-245r57,0r0,95r45,0r0,-95r57,0r0,245r-57,0r0,-103r-45,0r0,103r-57,0r0,-245","w":194},"I":{"d":"18,-245r58,0r0,245r-58,0r0,-245","w":93},"J":{"d":"10,-49v14,10,26,0,25,-17r0,-179r58,0r0,184v3,53,-33,75,-83,61r0,-49","w":112,"k":{"y":4,"u":4,"o":10,"e":5,"A":12,";":8,":":8,".":15,",":18}},"K":{"d":"16,-245r57,0r0,88r43,-88r57,0r-48,83r55,162r-64,0r-28,-97r-15,27r0,70r-57,0r0,-245","w":172,"k":{"y":-9,"w":-12,"v":-9,"u":-7,"o":-4,"e":-4,"a":-12,"G":4,"C":-4}},"L":{"d":"18,-245r57,0r0,195r79,0r0,50r-136,0r0,-245","w":149,"k":{"y":-4,"Y":20,"W":4,"V":12,"T":15,"G":4,"C":-4}},"M":{"d":"17,-245r63,0r34,94r35,-94r62,0r0,245r-56,0r3,-162r-4,0v-8,34,-28,84,-40,120r-39,-120r-5,0v5,49,3,108,3,162r-56,0r0,-245","w":228},"N":{"d":"17,-245r58,0r47,137r3,0v-3,-43,-2,-91,-2,-137r55,0r0,245r-58,0r-47,-138r-3,0r1,138r-54,0r0,-245","w":194},"O":{"d":"98,4v-119,2,-121,-253,-3,-253v65,0,96,55,96,125v0,69,-32,127,-93,128xm99,-49v42,-3,39,-97,24,-130v-6,-13,-13,-19,-22,-19v-49,5,-50,143,-2,149","w":198,"k":{"Y":17,"X":15,"W":5,"V":12,"T":12,"A":15,".":20,",":20}},"P":{"d":"174,-175v0,55,-39,83,-101,78r0,97r-57,0r0,-245r87,0v46,-1,71,25,71,70xm117,-173v1,-23,-19,-27,-44,-25r0,53v25,2,43,-6,44,-28","w":180,"k":{"o":12,"e":12,"a":5,"A":25,".":73,",":73}},"Q":{"d":"99,-249v112,-4,119,210,35,245v11,18,30,23,49,9r0,44v-48,19,-81,-6,-92,-46v-56,-3,-82,-64,-83,-124v-1,-69,30,-126,91,-128xm99,-48v48,-7,46,-142,1,-150v-49,6,-48,144,-1,150","w":198,"k":{"Y":15,"V":8,"T":10,"A":5,".":17,",":17}},"R":{"d":"171,-186v-2,36,-22,55,-53,66v49,6,44,76,57,120r-62,0v-11,-36,6,-100,-40,-101r0,101r-57,0r0,-245v70,0,157,-13,155,59xm113,-173v0,-22,-17,-27,-40,-25r0,53v24,2,40,-6,40,-28","w":180,"k":{"y":-5,"w":-9,"v":-7,"u":6,"o":5,"e":5,"a":-7,"Y":12,"V":4,"U":4,"T":5,"Q":4,"O":4,"G":4}},"S":{"d":"141,-121v37,52,-7,125,-70,125v-18,0,-38,-6,-59,-17r0,-60v19,18,36,26,53,26v17,0,33,-13,31,-28v-8,-47,-84,-39,-84,-102v0,-61,73,-91,128,-59r0,58v-15,-15,-30,-22,-44,-22v-20,0,-35,23,-20,37v15,13,54,26,65,42","w":165,"k":{".":12,",":12}},"T":{"d":"9,-245r155,0r0,50r-50,0r0,195r-57,0r0,-195r-48,0r0,-50","w":172,"k":{"z":12,"y":8,"w":8,"u":15,"s":12,"r":15,"o":17,"m":15,"h":-4,"e":17,"c":22,"a":17,"Q":10,"O":10,"G":15,"C":10,"A":25,";":22,":":22,".":39,"-":27,",":39}},"U":{"d":"93,4v-50,0,-78,-28,-78,-80r0,-169r57,0r0,162v-1,21,4,39,21,39v17,0,22,-14,22,-35r0,-166r58,0r0,169v1,51,-30,80,-80,80","w":187,"k":{"A":5,".":12,",":13}},"V":{"d":"3,-245r61,0r27,161r28,-161r62,0r-62,245r-57,0","k":{"y":5,"u":12,"r":10,"o":15,"i":4,"e":15,"a":10,"Q":10,"O":10,"G":15,"C":8,"A":15,";":15,":":15,".":46,"-":22,",":46}},"W":{"d":"150,-245r13,180r4,0r15,-180r58,0r-45,245r-58,0r-13,-188r-4,0r-14,188r-57,0r-46,-245r58,0r15,180r4,0v1,-56,10,-124,14,-180r56,0","w":243,"k":{"o":12,"i":4,"h":-4,"e":10,"d":8,"a":5,"O":5,"G":10,"C":4,"A":4,";":15,":":15,".":30,"-":15,",":30}},"X":{"d":"18,-245r61,0r15,72r15,-72r62,0r-38,109r48,136r-64,0r-23,-98r-24,98r-64,0r49,-136","w":187,"k":{"O":8,"G":12,"C":7}},"Y":{"d":"4,-245r65,0r21,77r20,-77r66,0r-58,133r0,112r-58,0r0,-112","w":180,"k":{"v":8,"u":15,"q":17,"p":12,"o":25,"i":4,"e":25,"d":22,"a":25,"S":10,"O":17,"G":20,"C":12,"A":25,";":27,":":27,".":49,"-":34,",":49}},"Z":{"d":"18,-245r140,0r0,50r-82,145r90,0r0,50r-156,0r0,-50r82,-145r-74,0r0,-50","w":176},"[":{"d":"52,-245r70,0r0,32r-32,0r0,258r32,0r0,33r-70,0r0,-323","w":138},"\\":{"d":"11,-250r36,0r77,278r-35,0","w":135},"]":{"d":"87,78r-70,0r0,-32r32,0r0,-258r-32,0r0,-33r70,0r0,323","w":138},"^":{"d":"20,-105r66,-140r40,0r64,140r-50,0r-35,-86r-35,86r-50,0","w":210},"_":{"d":"-2,27r203,0r0,18r-203,0r0,-18","w":198},"`":{"d":"17,-243r44,0r26,52r-33,0","w":120},"a":{"d":"96,-111v-9,-27,-49,-21,-70,-2r0,-45v53,-28,121,-12,121,53v0,40,-4,75,10,105r-56,0v-2,-5,-4,-10,-5,-16v-25,39,-87,13,-87,-34v0,-34,29,-54,87,-61xm78,-36v19,-1,19,-26,18,-47v-38,-2,-47,40,-18,47","w":161,"k":{"w":4,"v":4,"t":4,"g":-4,"b":-4}},"b":{"d":"167,-87v0,58,-56,122,-98,73r-16,14r-35,0r0,-245r55,0r0,94v10,-12,19,-19,36,-20v37,-1,58,45,58,84xm90,-124v-25,2,-15,45,-17,71v3,5,9,10,15,10v28,0,30,-76,2,-81","w":176,"k":{"y":4,"v":4,"u":4,"l":4,"b":-4,".":13,",":12}},"c":{"d":"66,-85v0,29,29,51,51,29r0,49v-53,34,-108,-17,-108,-76v0,-58,48,-108,108,-81r0,50v-24,-20,-51,0,-51,29","w":131,"k":{"y":-4}},"d":{"d":"11,-83v0,-56,47,-115,93,-75r0,-87r56,0r0,245r-50,0r-5,-20v-9,13,-19,23,-37,24v-36,0,-57,-47,-57,-87xm87,-45v24,-4,16,-43,17,-70v-3,-5,-8,-11,-16,-10v-28,2,-29,77,-1,80","w":176,"k":{"y":-5,"w":-5,"v":-5,"d":-4}},"e":{"d":"68,-77v6,44,61,40,83,11r0,52v-62,42,-141,5,-141,-69v0,-48,30,-89,78,-88v48,1,75,39,70,94r-90,0xm109,-106v4,-26,-22,-46,-37,-25v-4,6,-6,14,-7,25r44,0","w":168,"k":{"x":4,"w":-4,"v":-4,"g":-5,"b":-4,".":4,",":4}},"f":{"d":"106,-198v-20,-13,-30,6,-26,30r26,0r0,41r-26,0r0,127r-56,0r0,-127r-21,0r0,-41r21,0v-9,-60,28,-96,82,-75r0,45","w":104,"k":{"k":-4,"f":-9,"a":-6,"?":-21,".":12,",":12,"!":-17," ":-26}},"g":{"d":"102,-20v-35,50,-100,-7,-93,-64v-6,-55,54,-118,96,-70r16,-14r37,0r0,161v4,75,-75,113,-138,73r0,-55v36,35,89,26,82,-31xm85,-49v24,0,15,-41,17,-67v-19,-24,-36,2,-36,29v0,18,4,38,19,38","w":176,"k":{"y":-4,"o":5,"g":-2,"e":5,"a":-5}},"h":{"d":"89,-124v-12,1,-17,14,-16,30r0,94r-55,0r0,-245r55,0r0,92v25,-35,83,-14,83,34r0,119r-56,0r0,-110v0,-9,-4,-14,-11,-14","w":172},"i":{"d":"17,-220v0,-15,14,-29,30,-29v16,0,30,13,30,29v0,16,-14,30,-30,30v-15,0,-30,-15,-30,-30xm19,-168r56,0r0,168r-56,0r0,-168","w":93,"k":{"v":-7}},"j":{"d":"18,-220v0,-15,14,-29,30,-29v16,0,30,14,30,29v1,15,-15,30,-30,30v-16,0,-30,-14,-30,-30xm-7,30v12,8,26,4,26,-13r0,-185r56,0r0,185v5,53,-37,77,-82,59r0,-46","w":93},"k":{"d":"18,-245r56,0r0,128r26,-51r52,0r-32,47r39,121r-59,0r-19,-64v-12,12,-5,42,-7,64r-56,0r0,-245","w":157,"k":{"y":-7,"e":4}},"l":{"d":"19,-245r56,0r0,245r-56,0r0,-245","w":93,"k":{"y":-4}},"m":{"d":"72,-149v14,-28,64,-32,76,5v19,-46,90,-28,90,30r0,114r-55,0r0,-103v0,-13,-4,-20,-12,-20v-12,0,-15,14,-15,30r0,93r-55,0r0,-103v0,-13,-5,-20,-12,-20v-10,0,-15,14,-15,26r0,97r-55,0r0,-168r47,0","w":255,"k":{"y":-4,"u":4}},"n":{"d":"89,-123v-12,1,-16,15,-16,29r0,94r-55,0r0,-168r48,0r5,18v21,-38,85,-18,85,29r0,121r-56,0r0,-109v0,-9,-4,-14,-11,-14","w":172,"k":{"y":4}},"o":{"d":"10,-83v0,-50,29,-88,77,-88v48,0,79,35,79,86v0,51,-30,89,-79,89v-48,0,-77,-38,-77,-87xm88,-40v30,-3,29,-85,0,-88v-30,1,-30,87,0,88","w":176,"k":{"y":4,"x":5,"v":-2,"g":-4,".":5,",":5}},"p":{"d":"166,-86v0,59,-47,115,-94,76r0,88r-55,0r0,-246r48,0r5,19v9,-13,18,-22,38,-22v38,-1,58,45,58,85xm90,-124v-26,0,-16,44,-18,71v21,23,37,-2,37,-32v0,-20,-4,-39,-19,-39","w":176,"k":{"z":4,"y":4,"w":4,".":8,",":8}},"q":{"d":"11,-82v-7,-57,54,-119,96,-72r14,-14r38,0r0,246r-56,0r0,-94v-40,53,-97,-11,-92,-66xm87,-45v23,-3,14,-44,16,-70v-4,-5,-7,-10,-14,-10v-29,2,-30,75,-2,80","w":176},"r":{"d":"114,-115v-56,-20,-37,64,-40,115r-57,0r0,-168r48,0r6,23v5,-19,21,-32,43,-23r0,53","w":116,"k":{"y":-12,"v":-17,"u":-5,"t":-17,"s":-9,"r":-9,"q":-4,"p":-5,"o":-5,"n":-7,"m":-7,"l":-5,"k":-5,"j":-12,"g":-5,"e":-4,"d":-4,"c":-4,"a":-7,";":-12,":":-12,".":27,"-":-4,",":27}},"s":{"d":"88,-104v79,17,49,108,-22,108v-17,0,-35,-5,-55,-15r0,-51v18,15,34,22,47,22v25,-2,21,-23,-2,-30v-30,-9,-45,-23,-45,-50v0,-51,71,-62,114,-40r0,49v-13,-11,-26,-17,-38,-17v-21,1,-22,19,1,24","w":146,"k":{"w":5}},"t":{"d":"107,-2v-39,15,-82,3,-82,-45r0,-80r-21,0r0,-41r24,0r4,-50r47,0r0,50r28,0r0,41r-26,0r0,69v-1,18,16,19,26,11r0,45","w":116},"u":{"d":"102,-17v-25,41,-84,15,-84,-36r0,-115r55,0r0,104v0,10,2,19,11,19v9,0,15,-10,14,-19r0,-104r57,0r0,168r-48,0","w":172},"v":{"d":"-4,-168r59,0r17,109r17,-109r57,0r-48,168r-55,0","w":142,"k":{"q":-6,"e":-4,"d":-7,"c":-4,"a":-7,".":17,",":17}},"w":{"d":"-1,-168r56,0r18,115r13,-115r56,0r14,118r18,-118r56,0r-45,168r-56,0r-15,-128r-16,128r-55,0","w":228,"k":{"q":-5,"h":-5,"d":-5,"c":-4,"a":-7,".":17,",":17}},"x":{"d":"9,-168r57,0r10,60r15,-60r50,0r-29,77r37,91r-62,0r-13,-70r-14,70r-58,0r37,-89","w":149,"k":{"o":4,"e":4,"d":4,"c":4}},"y":{"d":"2,-168r60,0r16,112r16,-112r57,0v-20,70,-37,161,-63,221v-11,25,-47,38,-77,22r0,-43v25,15,35,-7,39,-29","w":153,"k":{"o":6,"g":-4,"e":4,"a":-4,".":24,",":24}},"z":{"d":"15,-168r122,0r0,43r-59,82r65,0r0,43r-134,0r0,-43r59,-82r-53,0r0,-43","w":149,"k":{"d":-4,"c":-4}},"{":{"d":"48,14v0,-50,2,-68,-39,-73r0,-42v34,-3,39,-18,39,-62v0,-67,17,-89,82,-86r0,42v-31,1,-35,0,-36,26v-3,61,1,75,-33,101v34,15,31,64,33,112v5,13,12,15,35,15r0,42v-59,1,-81,-14,-81,-75","w":138},"|":{"d":"87,-249r38,0r0,331r-38,0r0,-331","w":211},"}":{"d":"91,-175v0,47,0,70,39,74r0,42v-35,3,-39,17,-39,61v0,68,-18,89,-82,87r0,-42v28,-2,35,-1,36,-26v4,-61,-1,-77,33,-101v-28,-20,-29,-34,-32,-82v-2,-41,5,-44,-37,-45r0,-42v59,-2,82,13,82,74","w":138},"~":{"d":"76,-150v17,-4,73,29,88,28v15,0,33,-9,52,-26r0,39v-20,16,-39,25,-55,25v-28,1,-61,-28,-87,-29v-16,0,-34,9,-53,26r0,-39v19,-16,37,-24,55,-24","w":236},"\u00bb":{"d":"112,-28r-36,0r18,-55r-18,-56r36,0r19,56xm49,-28r-37,0r19,-55r-19,-56r37,0r19,56","w":142},"\u00a0":{"w":91}}});
;
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * Copyright (c) 2008 by Jos Buivenga. All rights reserved.
 * 
 * Trademark:
 * Museo Sans is a trademark of Jos Buivenga.
 * 
 * Full name:
 * MuseoSans-500
 * 
 * Description:
 * Spaced and kerned with iKern.
 * 
 * Manufacturer:
 * Jos Buivenga
 * 
 * Designer:
 * Jos Buivenga
 * 
 * Vendor URL:
 * http://www.josbuivenga.demon.nl
 */
Cufon.registerFont({"w":218,"face":{"font-family":"MuseoSans","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 0 0 0 0 0 0 0 0","ascent":"270","descent":"-90","x-height":"4","bbox":"-20 -318 330 75.737","underline-thickness":"18","underline-position":"-18","stemh":"30","stemv":"36","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":92},"!":{"d":"42,-70r-3,-184r36,0r-2,184r-31,0xm40,0r0,-35r35,0r0,35r-35,0","w":114},"\"":{"d":"73,-191r0,-67r27,0r0,67r-27,0xm23,-191r0,-67r27,0r0,67r-27,0","w":123},"#":{"d":"51,0r12,-69r-47,0r4,-26r47,0r11,-61r-47,0r5,-26r46,0r13,-72r29,0r-12,72r55,0r13,-72r29,0r-12,72r47,0r-5,26r-47,0r-11,61r47,0r-4,26r-47,0r-12,69r-29,0r12,-69r-56,0r-12,69r-29,0xm96,-95r56,0r11,-61r-56,0","w":258},"$":{"d":"19,-29r21,-27v0,0,26,27,64,27v24,0,44,-13,44,-37v0,-53,-124,-45,-124,-122v0,-35,27,-63,67,-69r0,-34r25,0r0,33v40,3,62,25,62,25r-16,30v0,0,-24,-22,-56,-22v-27,0,-46,17,-46,37v0,50,124,40,124,121v0,36,-26,66,-68,71r0,33r-25,0r0,-33v-46,-5,-72,-33,-72,-33","w":203},"%":{"d":"72,-152v-30,0,-55,-23,-55,-53v0,-29,25,-53,55,-53v30,0,54,24,54,53v0,30,-24,53,-54,53xm23,0r194,-254r34,0r-194,254r-34,0xm72,-179v15,0,26,-11,26,-26v0,-15,-11,-27,-26,-27v-15,0,-27,12,-27,27v0,15,12,26,27,26xm148,-49v0,-29,23,-53,54,-53v30,0,55,24,55,53v0,30,-25,53,-55,53v-31,0,-54,-23,-54,-53xm176,-49v0,15,11,27,26,27v15,0,27,-12,27,-27v0,-15,-12,-27,-27,-27v-15,0,-26,12,-26,27","w":273},"&":{"d":"108,4v-92,0,-120,-111,-44,-140v1,-3,-31,-11,-33,-57v-2,-53,58,-73,109,-62r-9,29v-28,-7,-64,5,-64,37v0,16,7,40,46,40r48,0r0,-35r34,0r0,35r34,0r0,31r-34,0v7,74,-21,122,-87,122xm56,-73v0,24,20,45,52,45v44,0,58,-38,53,-90v-50,-2,-105,-1,-105,45","w":246},"'":{"d":"23,-191r0,-67r27,0r0,67r-27,0","w":73},"(":{"d":"68,34v-52,-83,-59,-216,0,-299r31,0v-56,90,-53,205,0,299r-31,0","w":108,"k":{"j":-3,"V":-4,"T":-5,"Y":-4}},")":{"d":"41,34r-31,0v53,-94,56,-209,0,-299r31,0v57,84,51,216,0,299","w":108},"*":{"d":"56,-118r-26,-19r32,-40r-49,-14r9,-30r48,18r-2,-51r32,0r-2,51r48,-18r10,30r-50,14r32,40r-26,19v-10,-14,-17,-30,-28,-43","w":168},"+":{"d":"28,-89r0,-28r80,0r0,-88r30,0r0,88r80,0r0,28r-80,0r0,89r-30,0r0,-89r-80,0","w":245},",":{"d":"10,36r22,-74r36,0r-31,74r-27,0","w":91,"k":{"v":6,"V":19,"M":2,"9":4,"8":3,"7":5,"6":6,"4":17,"0":5,"B":4,"D":4,"E":4,"F":4,"H":4,"I":4,"K":4,"L":4,"N":4,"P":4,"R":4,"U":8,"T":21,"Y":21,"C":9,"G":9,"O":9,"Q":9,"W":15,"t":2,"w":5,"y":8}},"-":{"d":"32,-87r0,-31r106,0r0,31r-106,0","w":169,"k":{"A":6,"B":5,"D":5,"E":5,"F":5,"H":5,"I":5,"K":5,"L":5,"N":5,"P":5,"R":5,"M":5,"U":4,"a":2,"T":22,"Y":22,"C":2,"G":2,"O":2,"Q":2,"W":11,"S":16,"V":13,"X":15,"Z":14,"x":4,"z":5}},".":{"d":"27,0r0,-37r37,0r0,37r-37,0","w":91,"k":{"v":6,"V":19,"9":3,"8":3,"7":4,"6":6,"4":17,"0":6,"B":4,"D":4,"E":4,"F":4,"H":4,"I":4,"K":4,"L":4,"N":4,"P":4,"R":4,"U":8,"T":20,"Y":21,"C":10,"G":10,"O":10,"Q":10,"W":15,"t":2,"w":5,"y":9}},"\/":{"d":"13,15r91,-283r31,0r-91,283r-31,0","w":145,"k":{"7":-2}},"0":{"d":"112,4v-68,0,-89,-58,-89,-131v0,-73,21,-131,89,-131v68,0,90,58,90,131v0,73,-22,131,-90,131xm112,-28v42,0,54,-44,54,-99v0,-55,-12,-99,-54,-99v-41,0,-53,44,-53,99v0,55,12,99,53,99","w":225,"k":{".":6,",":6}},"1":{"d":"20,0r0,-31r56,0r0,-180v-4,7,-27,30,-36,38r-22,-22r61,-59r32,0r0,223r55,0r0,31r-146,0","w":176,"k":{"4":6,"\/":-2}},"2":{"d":"22,0v-21,-105,122,-121,122,-183v0,-25,-18,-42,-45,-42v-33,0,-52,32,-52,32r-26,-17v0,0,23,-48,80,-48v47,0,80,29,80,73v0,84,-121,96,-122,154r126,0r0,31r-163,0","w":205,"k":{"4":6}},"3":{"d":"14,-30r20,-27v0,0,24,27,61,27v28,0,52,-19,52,-46v-1,-37,-35,-50,-76,-47r-9,-19r72,-82v-28,2,-76,1,-108,1r0,-31r152,0r0,23r-69,79v33,4,74,26,74,75v0,44,-34,81,-86,81v-52,0,-83,-34,-83,-34","w":204,"k":{".":3,",":4}},"4":{"d":"11,-68r0,-22r118,-164r40,0r0,156r35,0r0,30r-35,0r0,68r-35,0r0,-68r-123,0xm50,-99v25,3,57,0,84,1r1,-118v-23,38,-58,80,-85,117","k":{".":8,",":7}},"5":{"d":"17,-31r20,-26v0,0,20,27,56,27v30,0,56,-20,56,-51v0,-31,-25,-52,-58,-52v-43,0,-38,19,-64,5r13,-126r128,0r0,31r-97,0v-1,22,-8,47,-7,67v0,0,13,-8,32,-8v54,0,89,37,89,83v0,49,-39,85,-90,85v-52,0,-78,-35,-78,-35","w":202,"k":{".":3,",":3}},"6":{"d":"116,4v-54,0,-95,-48,-95,-120v0,-65,36,-142,115,-142v30,0,49,10,49,10r-11,31v0,0,-17,-9,-37,-9v-46,-1,-74,46,-75,86v42,-51,136,-15,136,59v0,50,-34,85,-82,85xm116,-28v29,0,47,-23,47,-53v0,-31,-20,-53,-52,-53v-29,0,-52,17,-52,35v0,33,25,71,57,71","w":215,"k":{".":3,",":3}},"7":{"d":"31,0r99,-200v7,-24,33,-23,-4,-23r-113,0r0,-31r170,0r0,24r-115,230r-37,0","w":190,"k":{"4":8,".":24,",":24}},"8":{"d":"21,-73v0,-39,33,-63,40,-68v-51,-35,-31,-117,51,-117v47,0,80,26,80,68v0,34,-27,62,-30,66v63,33,31,128,-53,128v-51,0,-88,-31,-88,-77xm159,-71v0,-27,-38,-38,-72,-55v-8,6,-30,23,-30,50v0,60,102,64,102,5xm68,-191v0,28,34,39,67,53v4,-4,22,-23,22,-50v0,-23,-18,-38,-45,-38v-28,0,-44,16,-44,35","k":{".":3,",":4}},"9":{"d":"80,4v-30,0,-49,-10,-49,-10r11,-31v0,0,16,9,36,9v46,1,75,-46,76,-86v-42,50,-136,14,-136,-60v0,-50,33,-84,81,-84v54,0,95,46,95,119v0,65,-35,143,-114,143xm105,-120v29,0,52,-18,52,-36v0,-33,-25,-70,-57,-70v-30,0,-47,22,-47,52v0,31,19,54,52,54","w":215,"k":{".":10,",":12}},":":{"d":"34,-145r0,-37r37,0r0,37r-37,0xm34,0r0,-37r37,0r0,37r-37,0","w":105},";":{"d":"17,36r19,-74r36,0r-27,74r-28,0xm36,-145r0,-37r37,0r0,37r-37,0","w":105},"<":{"d":"12,-91r0,-23r168,-75r0,32r-129,55r129,54r0,32","w":200},"=":{"d":"35,-122r0,-28r171,0r0,28r-171,0xm35,-54r0,-28r171,0r0,28r-171,0","w":240},">":{"d":"21,-16r0,-32r129,-55r-129,-54r0,-32r168,75r0,23","w":200},"?":{"d":"52,-70v-10,-68,59,-77,61,-121v0,-20,-17,-35,-41,-35v-23,0,-41,15,-41,15r-19,-25v0,0,24,-23,63,-23v41,0,75,26,75,66v-1,66,-73,61,-64,123r-34,0xm51,0r0,-35r36,0r0,35r-36,0","w":176},"@":{"d":"21,-87v0,-74,59,-133,132,-133v116,1,91,79,93,175r26,0r0,26r-98,0v-45,0,-75,-32,-75,-68v-1,-49,50,-75,114,-67v-1,-21,-22,-37,-59,-37v-56,0,-98,48,-98,104v0,57,41,104,102,104r0,28v-81,0,-137,-59,-137,-132xm135,-87v0,37,36,47,78,42r0,-85v-42,-4,-78,5,-78,43","w":295},"A":{"d":"186,0r-25,-73r-96,0r-25,73r-37,0r91,-254r38,0r91,254r-37,0xm113,-219v-8,32,-27,83,-39,116r77,0","w":226,"k":{"U":3,"T":15,"Y":17,"C":1,"G":1,"O":1,"Q":1,"W":8,"t":1,"w":2,"y":3,"V":11,"\"":14,"'":14,"-":6,"v":3}},"B":{"d":"35,0r0,-254v75,-1,162,-9,162,65v0,26,-14,43,-31,55v27,8,41,34,41,62v0,82,-90,74,-172,72xm70,-147v44,1,91,5,91,-39v0,-43,-49,-38,-91,-37r0,76xm70,-31v48,1,101,6,101,-43v0,-49,-52,-46,-101,-44r0,87","w":228,"k":{"X":1,"V":1,";":2,":":2,",":4,"Y":3,"W":1,"\"":2,"'":2,"-":3,".":3}},"C":{"d":"17,-129v0,-74,56,-129,130,-129v61,0,92,33,92,33r-18,27v0,0,-29,-28,-73,-28v-57,0,-94,43,-94,97v0,54,37,101,94,101v48,0,79,-34,79,-34r19,26v0,0,-35,40,-99,40v-76,0,-130,-58,-130,-133","w":259,"k":{"C":2,"G":2,"O":2,"Q":2,"t":1,"w":3,"y":3,"-":22,"v":2,"f":1}},"D":{"d":"35,0r0,-254r84,0v78,0,129,47,129,127v0,81,-51,127,-129,127r-84,0xm70,-31v83,7,141,-14,141,-96v0,-80,-57,-103,-141,-96r0,192","w":266,"k":{"A":1,"T":3,"Y":6,"W":1,"V":1,"X":5,"Z":3,"-":2,".":9,",":10}},"E":{"d":"35,0r0,-254r147,0r0,31r-112,0r0,79r91,0r0,31r-91,0r0,82r118,0r0,31r-153,0","w":206,"k":{"C":2,"G":2,"O":2,"Q":2,"t":1,"w":4,"y":5,"-":12,"v":4,"f":1}},"F":{"d":"35,0r0,-254r140,0r0,31r-105,0r0,83r89,0r0,31r-89,0r0,109r-35,0","w":187,"k":{"x":10,"p":3,";":8,":":7,",":27,"A":10,"J":9,"a":4,"w":1,"z":8,"-":5,".":27,"f":1,"m":3,"n":3,"r":3,"s":2,"u":2}},"G":{"d":"18,-127v0,-73,55,-131,129,-131v61,0,93,30,93,30r-18,27v0,0,-29,-25,-72,-25v-60,0,-96,44,-96,98v0,59,41,100,94,100v44,0,72,-32,72,-32r0,-37r-41,0r0,-31r73,0r0,128r-31,0r0,-27v0,0,-28,31,-78,31v-68,0,-125,-53,-125,-131","w":273,"k":{"\"":3,"'":3,"-":2}},"H":{"d":"35,0r0,-254r35,0r0,111r132,0r0,-111r36,0r0,254r-36,0r0,-112r-132,0r0,112r-35,0","w":272,"k":{"\"":3,"'":3,"-":5,".":4,",":3,":":2,";":2}},"I":{"d":"35,0r0,-254r35,0r0,254r-35,0","w":104,"k":{"\"":3,"'":3,"-":5,".":4,",":3,":":2,";":2}},"J":{"d":"86,4v-41,0,-80,-29,-75,-90r35,0v-4,38,17,58,40,58v20,0,40,-12,40,-45r0,-150r-64,0r0,-31r100,0r0,181v0,55,-39,77,-76,77","w":193,"k":{"A":1,"\"":2,"'":2,"-":5,".":6,",":6,":":2,";":3}},"K":{"d":"35,0r0,-254r35,0r0,107r38,0r64,-107r39,0r-73,121r78,133r-40,0r-68,-117r-38,0r0,117r-35,0","w":224,"k":{"C":5,"G":5,"O":5,"Q":5,"t":3,"w":4,"y":4,"-":15,"v":4,"f":1,"u":2,"]":-2,"d":2,"q":2,"g":3,"c":3,"e":3,"o":3}},"L":{"d":"35,0r0,-254r35,0r0,223r114,0r0,31r-149,0","w":190,"k":{"A":-4,"U":4,"T":22,"Y":18,"C":6,"G":6,"O":6,"Q":6,"W":14,"t":1,"w":6,"y":12,"V":19,"\"":27,"'":27,"-":28,"v":8}},"M":{"d":"27,0r20,-254r38,0r71,172v19,-52,49,-119,71,-172r38,0r20,254r-35,0r-13,-160v-2,-15,2,-39,-1,-38v-15,45,-45,107,-64,152r-32,0r-50,-114v-7,-14,-12,-39,-15,-38v1,62,-9,137,-13,198r-35,0","w":311,"k":{"V":1,"Y":4,"W":2,"\"":4,"'":4,"-":5}},"N":{"d":"35,0r0,-254r35,0r113,165v10,14,19,38,22,37v-6,-55,-2,-139,-3,-202r36,0r0,254r-35,0r-113,-165v-9,-14,-22,-37,-22,-37v4,57,1,139,2,202r-35,0","w":272,"k":{"\"":3,"'":3,"-":5,".":4,",":3,":":2,";":2}},"O":{"d":"17,-129v0,-73,58,-129,131,-129v73,0,130,56,130,129v0,75,-57,133,-130,133v-73,0,-131,-58,-131,-133xm54,-129v0,57,42,101,94,101v52,0,94,-44,94,-101v0,-55,-42,-97,-94,-97v-52,0,-94,42,-94,97","w":295,"k":{"A":1,"T":4,"Y":6,"W":1,"V":1,"X":5,"Z":4,"-":2,".":10,",":11}},"P":{"d":"35,0r0,-254r92,0v46,0,80,31,80,79v0,70,-60,89,-137,81r0,94r-35,0xm70,-125v52,2,101,3,101,-50v0,-52,-50,-50,-101,-48r0,98","k":{"X":2,",":34,"A":9,"J":12,"Z":1,"-":5,".":35}},"Q":{"d":"18,-129v0,-73,57,-129,130,-129v110,0,170,133,101,213r30,29r-21,22r-29,-29v-82,66,-211,1,-211,-106xm54,-129v0,80,87,130,149,82r-30,-29r21,-23r29,30v46,-60,2,-157,-75,-157v-53,0,-94,41,-94,97","w":299,"k":{"V":3,"T":5,"Y":8,"W":2,"\"":2,"'":2,"-":3}},"R":{"d":"112,-254v104,-17,117,116,45,143v23,35,41,74,62,111r-41,0r-53,-101r-55,0r0,101r-35,0r0,-254r77,0xm166,-178v0,-49,-46,-46,-96,-45r0,91v49,2,96,3,96,-46","w":230,"k":{"Y":2,"-":12}},"S":{"d":"15,-29r20,-27v0,0,27,27,65,27v24,0,44,-13,44,-37v0,-55,-123,-44,-123,-122v0,-40,34,-70,82,-70v47,0,72,25,72,25r-16,30v0,0,-24,-22,-56,-22v-27,0,-46,17,-46,37v0,53,123,39,123,121v0,39,-31,71,-81,71v-54,0,-84,-33,-84,-33","w":196,"k":{"t":1,"w":1,"y":1,"-":3,"v":1,".":2,"f":1,",":2,":":2,";":2}},"T":{"d":"89,0r0,-223r-87,0r0,-31r210,0r0,31r-87,0r0,223r-36,0","w":213,"k":{"A":15,"J":9,"a":29,"T":-9,"Y":-8,"C":4,"G":4,"O":4,"Q":4,"w":26,"y":22,"V":-9,"x":26,"z":27,"-":22,"v":23,".":20,"f":3,",":20,"m":34,"n":34,"r":34,"s":30,"u":33,":":18,";":18,"]":-8,"d":31,"q":31,"g":32,"c":31,"e":31,"o":31,")":-5,"?":-6,"p":34,"}":-7}},"U":{"d":"31,-90r0,-164r36,0r0,164v0,39,25,62,64,62v39,0,64,-23,64,-63r0,-163r36,0r0,164v0,57,-41,94,-100,94v-59,0,-100,-37,-100,-94","w":262,"k":{"A":3,"\"":2,"'":2,"-":4,".":8,",":9,"m":1,"n":1,"r":1,":":3,";":3,"p":1}},"V":{"d":"96,0r-94,-254r39,0r63,179v6,14,7,36,10,35v19,-70,51,-146,74,-214r37,0r-93,254r-36,0","w":227,"k":{"}":-6,"p":5,"]":-6,"M":1,"?":-4,";":5,":":4,",":19,")":-4,"A":10,"J":6,"a":8,"T":-9,"Y":-8,"C":1,"G":1,"O":1,"Q":1,"z":1,"-":13,".":19,"m":5,"n":5,"r":5,"s":6,"u":4,"d":9,"q":9,"g":9,"c":11,"e":11,"o":11}},"W":{"d":"154,-254r32,0r56,213v12,-73,35,-143,51,-213r37,0r-67,254r-41,0r-52,-201r-52,201r-41,0r-65,-254r37,0r45,186v4,14,2,28,5,27v14,-72,38,-143,55,-213","w":341,"k":{"A":8,"J":5,"M":2,"a":6,"C":1,"G":1,"O":1,"Q":1,"z":1,"-":12,".":15,",":15,"m":5,"n":5,"r":5,"s":5,"u":3,":":4,";":4,"d":6,"q":6,"g":6,"c":7,"e":7,"o":7,"p":5,"}":-2}},"X":{"d":"8,0r80,-131r-75,-123r41,0r57,99v11,-25,40,-72,55,-99r41,0r-75,123r80,131r-40,0r-63,-107v-14,29,-43,77,-61,107r-40,0","w":220,"k":{"v":4,"]":-2,"C":5,"G":5,"O":5,"Q":5,"t":3,"w":4,"y":4,"-":15,"f":1,"u":2,"d":2,"q":2,"g":3,"c":3,"e":3,"o":3}},"Y":{"d":"88,0r0,-108r-85,-146r40,0r64,115v13,-32,43,-82,61,-115r41,0r-85,146r0,108r-36,0","w":211,"k":{"A":17,"J":8,"M":3,"a":14,"T":-8,"Y":-7,"C":6,"G":6,"O":6,"Q":6,"t":1,"w":1,"V":-8,"x":2,"z":4,"-":22,".":21,"f":3,",":21,"m":12,"n":12,"r":12,"s":14,"u":11,":":9,";":10,"]":-6,"d":18,"q":18,"g":18,"c":20,"e":20,"o":20,")":-4,"?":-4,"p":12,"}":-6}},"Z":{"d":"15,0r0,-24r122,-176v12,-23,38,-23,-1,-23r-115,0r0,-31r179,0r0,23r-141,201r142,-1r0,31r-186,0","k":{"C":4,"G":4,"O":4,"Q":4,"t":1,"w":3,"y":2,"-":24,"v":2,"f":1,"u":1,"d":1,"q":1,"g":2,"c":2,"e":2,"o":2}},"[":{"d":"36,34r0,-299r60,0r0,27r-29,0r0,246r29,0r0,26r-60,0","w":108,"k":{"X":-2,"V":-6,"T":-7,"Y":-6}},"\\":{"d":"102,15r-92,-283r31,0r91,283r-30,0","w":145},"]":{"d":"13,8r29,0r0,-246r-29,0r0,-27r59,0r0,299r-59,0r0,-26","w":108},"^":{"d":"25,-89r72,-165r23,0r71,165r-31,0r-52,-127r-51,127r-32,0","w":220},"_":{"d":"10,0r194,0r0,28r-194,0r0,-28","w":213},"`":{"d":"92,-272r-34,-46r37,0r27,46r-30,0","w":179},"a":{"d":"13,-51v0,-63,78,-63,117,-63v1,-31,-16,-44,-40,-43v-28,0,-50,18,-50,18r-15,-26v0,0,26,-21,68,-21v46,0,72,25,72,71r0,115r-32,0v-1,-10,3,-24,0,-32v0,0,-14,36,-58,36v-31,0,-62,-19,-62,-55xm48,-53v0,15,11,29,34,29v32,-1,51,-32,49,-63v-32,0,-83,-2,-83,34","w":190,"k":{"Y":20,"W":6,"V":10,"U":1,"T":34,"t":1,"f":1}},"b":{"d":"27,0r0,-254r35,0r0,98v0,0,16,-30,59,-30v49,0,80,38,80,95v0,58,-35,95,-83,95v-41,0,-58,-31,-58,-31r0,27r-33,0xm61,-90v0,32,17,64,52,64v29,0,52,-24,52,-65v0,-40,-21,-65,-51,-65v-27,0,-53,20,-53,66","w":216,"k":{"T":31,"Y":18,"W":5,"V":9,"X":2,"Z":1,"x":1}},"c":{"d":"14,-91v0,-54,41,-95,98,-95v46,0,68,26,68,26r-16,25v0,0,-20,-21,-51,-21v-37,0,-63,28,-63,65v0,37,26,65,64,65v34,0,57,-24,57,-24r14,25v0,0,-25,29,-73,29v-57,0,-98,-40,-98,-95","w":196,"k":{"Y":10,"W":3,"V":4,"T":28,"-":4}},"d":{"d":"15,-91v0,-58,35,-95,83,-95v44,0,54,29,57,28v-2,-27,0,-66,-1,-96r35,0r0,254r-33,0r0,-30v0,0,-15,34,-60,34v-49,0,-81,-38,-81,-95xm51,-91v0,40,22,65,52,65v27,0,52,-19,52,-65v0,-32,-16,-65,-51,-65v-29,0,-53,24,-53,65","w":216},"e":{"d":"15,-91v0,-58,39,-95,91,-95v56,1,85,44,78,100r-133,0v2,40,30,60,62,60v31,0,54,-21,54,-21r15,25v0,0,-27,26,-71,26v-57,0,-96,-41,-96,-95xm52,-112r97,0v-2,-67,-92,-58,-97,0","w":199,"k":{"Y":16,"W":5,"V":8,"T":30}},"f":{"d":"37,0r0,-152r-23,0r0,-28r23,0v0,-67,43,-81,82,-75r0,30v-22,-5,-49,4,-47,45r43,0r0,28r-43,0r0,152r-35,0","w":120,"k":{"}":-6,"]":-6,"Y":-6,"V":-8,"T":-8,"J":5,"A":2,"?":-4,",":3,")":-5,"y":-4,"v":-2,".":3}},"g":{"d":"44,33v0,0,23,12,50,12v42,0,64,-30,57,-76v-11,18,-28,29,-54,29v-51,0,-82,-40,-82,-93v0,-52,30,-91,80,-91v46,0,55,28,58,27r0,-23r33,0r0,174v-1,86,-93,100,-154,68xm104,-32v25,0,48,-15,48,-63v0,-48,-24,-61,-52,-61v-32,0,-49,23,-49,60v0,38,20,64,53,64","w":213,"k":{"Y":12,"W":4,"V":5,"U":1,"T":34}},"h":{"d":"123,-154v-34,1,-62,28,-61,69r0,85r-35,0r0,-254r35,0r0,108v8,-18,32,-40,68,-40v86,0,57,109,62,186r-35,0r0,-109v0,-26,-5,-45,-34,-45","w":217,"k":{"U":1,"T":34,"Y":18,"W":5,"V":9,"f":1}},"i":{"d":"27,-219r0,-35r35,0r0,35r-35,0xm27,0r0,-182r35,0r0,182r-35,0","w":89},"j":{"d":"27,-219r0,-35r35,0r0,35r-35,0xm27,-182r35,0r0,188v-4,66,-47,70,-82,67r0,-29v22,0,47,0,47,-40r0,-186","w":89},"k":{"d":"27,0r0,-254r35,0r0,139r26,0r50,-67r39,0r-60,81r67,101r-41,0r-54,-86r-27,0r0,86r-35,0","w":189,"k":{"Y":3,"V":1,"U":1,"T":26,"J":1,"-":2,"u":1,"d":2,"q":2,"g":3,"c":3,"e":3,"o":3}},"l":{"d":"25,-50r0,-204r35,0r0,198v1,25,9,27,26,26r0,31v-32,0,-61,1,-61,-51","w":95,"k":{"Y":1,"W":1,"U":2}},"m":{"d":"117,-155v-63,1,-57,86,-55,155r-35,0r0,-182r34,0v1,12,-3,27,0,37v14,-46,110,-60,118,0v10,-22,35,-41,65,-41v83,0,56,110,60,186r-35,0r0,-109v0,-26,-5,-46,-32,-46v-62,2,-55,87,-54,155r-35,0r0,-109v0,-24,-3,-46,-31,-46","w":329,"k":{"U":1,"T":34,"Y":18,"W":5,"V":9,"f":1}},"n":{"d":"123,-154v-36,1,-62,27,-61,69r0,85r-35,0r0,-182r34,0v1,12,-3,27,0,37v7,-16,29,-41,69,-41v86,0,57,109,62,186r-35,0r0,-109v0,-26,-5,-45,-34,-45","w":217,"k":{"U":1,"T":34,"Y":18,"W":5,"V":9,"f":1}},"o":{"d":"14,-91v0,-55,44,-95,98,-95v54,0,99,40,99,95v0,55,-45,95,-99,95v-54,0,-98,-40,-98,-95xm50,-91v0,38,28,65,62,65v35,0,63,-27,63,-65v0,-38,-28,-65,-63,-65v-34,0,-62,27,-62,65","w":224,"k":{"Z":1,"Y":21,"X":3,"W":6,"V":11,"T":31,"x":3,"z":1,"f":1}},"p":{"d":"27,72r0,-254r32,0r0,29v0,0,16,-33,62,-33v49,0,80,38,80,95v0,58,-35,95,-83,95v-40,0,-56,-30,-56,-30r0,98r-35,0xm61,-90v0,32,19,64,52,64v29,0,52,-24,52,-65v0,-40,-21,-65,-51,-65v-27,0,-53,20,-53,66","w":216,"k":{"T":31,"Y":18,"W":5,"V":9,"X":2,"Z":1,"x":1}},"q":{"d":"15,-91v0,-58,35,-95,83,-95v42,0,58,30,58,30r0,-26r33,0r0,254r-35,0r0,-99v0,0,-15,31,-58,31v-49,0,-81,-38,-81,-95xm51,-91v0,40,22,65,52,65v27,0,52,-19,52,-65v0,-32,-16,-65,-51,-65v-29,0,-53,24,-53,65","w":216,"k":{"Y":12,"W":4,"V":5,"U":1,"T":34}},"r":{"d":"128,-149v-66,-10,-71,76,-66,149r-35,0r0,-182r34,0v1,14,-3,33,0,45v10,-30,31,-50,67,-47r0,35","w":135,"k":{"Z":17,"Y":1,"X":6,"T":25,"J":14,"A":6,"y":-3,"-":3,".":13,",":13,"c":1,"e":1,"o":1}},"s":{"d":"13,-22r17,-25v0,0,20,21,52,21v15,0,30,-8,30,-23v0,-33,-94,-27,-94,-86v0,-33,30,-51,66,-51v40,0,59,20,59,20r-14,26v0,0,-16,-16,-45,-16v-15,0,-30,6,-30,22v0,33,94,25,94,85v0,30,-26,53,-66,53v-45,0,-69,-26,-69,-26","w":161,"k":{"Y":12,"W":3,"V":4,"T":28}},"t":{"d":"35,-67r0,-85r-24,0r0,-28r25,0r0,-52r34,0r0,52r44,0r0,28r-44,0r0,81v3,40,25,42,47,41r0,31v-37,1,-82,-1,-82,-68","w":128,"k":{"Y":3,"T":13}},"u":{"d":"87,4v-83,0,-59,-109,-62,-186r35,0r0,109v0,25,5,45,34,45v68,-1,60,-84,59,-154r35,0r0,182r-34,0v-1,-12,3,-27,0,-37v-8,18,-31,41,-67,41","w":215,"k":{"Y":12,"W":4,"V":5,"U":1,"T":34}},"v":{"d":"71,0r-68,-182r37,0r51,148v11,-50,35,-101,50,-148r37,0r-67,182r-40,0","w":180,"k":{"Z":12,"X":4,"T":23,"A":3,",":7,".":6}},"w":{"d":"65,0r-59,-182r37,0r43,147r45,-147r32,0r45,147v11,-50,29,-99,42,-147r37,0r-59,182r-38,0r-44,-137v-11,44,-29,93,-42,137r-39,0","w":293,"k":{"Z":12,"Y":1,"X":4,"T":26,"A":2,".":5,",":6}},"x":{"d":"135,0r-44,-71v-12,24,-30,48,-43,71r-40,0r62,-94r-59,-88r40,0r41,66r40,-66r40,0r-59,88r62,94r-40,0","w":182,"k":{"Y":2,"T":26,"-":4,"d":1,"q":1,"g":2,"c":3,"e":3,"o":3}},"y":{"d":"2,64r12,-26v14,11,48,8,54,-19r9,-21r-76,-180r39,0r53,141v13,-47,35,-96,51,-141r37,0r-85,215v-9,43,-70,52,-94,31","w":183,"k":{"Z":13,"X":4,"T":23,"J":1,"A":3,".":8,",":9}},"z":{"d":"14,0r0,-20r107,-133v-27,2,-72,1,-103,1r0,-30r150,0r0,20r-92,116v-8,10,-15,14,-15,17v31,-2,76,-1,110,-1r0,30r-157,0","w":186,"k":{"Y":4,"W":1,"V":2,"T":28,"-":5,"g":1,"c":1,"e":1,"o":1}},"{":{"d":"48,-28r0,-34v0,-37,-30,-40,-30,-40r0,-30v0,0,30,-3,30,-40r0,-31v4,-61,40,-62,67,-62r0,27v-16,0,-36,-1,-36,37r0,38v0,38,-30,43,-29,46v0,0,29,9,29,46r0,41v2,38,20,38,36,38r0,27v-28,0,-62,-2,-67,-63","w":126,"k":{"j":-3,"V":-6,"T":-7,"Y":-6,"W":-2}},"|":{"d":"36,57r0,-342r30,0r0,342r-30,0","w":101},"}":{"d":"11,8v16,0,36,0,36,-38r0,-41v0,-39,30,-44,29,-47v0,0,-29,-9,-29,-45r0,-38v-2,-38,-20,-37,-36,-37r0,-27v28,0,62,1,67,62r0,31v0,37,30,40,30,40r0,30v0,0,-30,3,-30,40r0,34v-4,61,-40,63,-67,63r0,-27","w":126},"~":{"d":"24,-73v0,-42,20,-61,51,-61v38,0,41,35,68,35v19,0,24,-19,24,-34r29,0v0,42,-19,61,-50,61v-38,0,-42,-35,-69,-35v-19,0,-24,19,-24,34r-29,0"},"\u00a0":{"w":92}}});
;
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * Design and data by The Monotype Corporation. © 1993. Microsoft Corporation. All
 * rights reserved.
 * 
 * Trademark:
 * Rockwell ® is a registered trademark of The Monotype Corporation.
 */
Cufon.registerFont({"w":195,"face":{"font-family":"Rockwell","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 6 6 3 2 2 5 2 4 3","ascent":"288","descent":"-72","x-height":"5","bbox":"-13 -258 360 80","underline-thickness":"17.9297","underline-position":"-19.1602","unicode-range":"U+0020-U+00BB"},"glyphs":{" ":{"w":90,"k":{"Y":36,"W":29,"V":29,"T":14}},"!":{"d":"61,-66r-18,0r-8,-104r0,-75r35,0v2,64,-4,122,-9,179xm31,0r0,-43r43,0r0,43r-43,0","w":105},"\"":{"d":"40,-248v39,0,5,71,4,102r-7,0r-14,-81v0,-14,6,-21,17,-21xm105,-248v38,8,6,72,5,102r-9,0r-14,-81v0,-14,6,-21,18,-21","w":146},"#":{"d":"97,-179r70,0r14,-69r26,0r-15,69r33,0r0,26r-38,0r-13,62r51,0r0,26r-56,0r-14,68r-26,0r14,-68r-70,0r-14,68r-26,0r14,-68r-32,0r0,-26r38,0r13,-62r-51,0r0,-26r56,0r14,-69r26,0xm92,-153r-13,62r69,0r13,-62r-69,0","w":240},"$":{"d":"180,-69v1,45,-29,68,-71,73r0,27r-26,0r0,-27v-42,-2,-74,-33,-72,-78r32,0v2,29,15,46,40,49r0,-81v-45,-9,-67,-32,-67,-68v0,-40,28,-65,67,-69r0,-11r26,0r0,11v37,5,64,27,60,78r-31,0v-1,-29,-6,-43,-29,-48r0,78v48,9,70,21,71,66xm83,-141r0,-74v-43,5,-42,67,0,74xm109,-100r0,75v34,-4,47,-37,30,-62v-4,-6,-15,-10,-30,-13"},"%":{"d":"81,-117v-35,-1,-52,-27,-52,-66v-1,-37,17,-65,52,-65v35,1,52,27,52,65v1,38,-16,66,-52,66xm54,-183v0,32,9,49,27,49v18,0,27,-17,27,-49v0,-32,-9,-49,-27,-49v-18,0,-27,17,-27,49xm65,0r194,-245r25,0r-193,245r-26,0xm268,4v-35,0,-52,-27,-52,-66v0,-39,17,-64,52,-65v35,-1,53,29,52,65v0,39,-17,66,-52,66xm241,-62v0,32,9,49,27,49v18,0,26,-17,26,-49v0,-32,-8,-48,-26,-48v-18,0,-27,16,-27,48","w":348},"&":{"d":"168,-196v-1,34,-22,42,-51,56r49,67v9,-16,15,-34,19,-56r51,0r0,30r-26,0v-6,23,-15,40,-25,52r13,16r38,0r0,31r-56,0r-16,-21v-56,52,-155,17,-153,-58v0,-33,19,-57,56,-73v-37,-39,-8,-96,43,-96v31,0,59,22,58,52xm110,-220v-32,3,-30,35,-11,57v21,-10,33,-14,37,-34v-1,-13,-11,-24,-26,-23xm85,-129v-61,19,-41,103,17,102v16,0,30,-6,43,-19","w":243},"'":{"d":"31,-248v41,0,4,70,5,102r-8,0r-14,-80v0,-15,6,-22,17,-22","w":63},"(":{"d":"125,78v-51,-22,-96,-84,-96,-164v0,-78,40,-140,96,-163r0,27v-40,25,-60,68,-60,137v0,71,20,110,60,136r0,27","w":135},")":{"d":"70,-85v0,-70,-21,-112,-60,-137r0,-27v55,25,97,83,96,164v-1,83,-38,133,-96,163r0,-27v42,-27,60,-66,60,-136","w":135},"*":{"d":"109,-248v4,30,-12,50,-11,73v16,-6,29,-14,38,-24r30,-9r9,31v-19,10,-49,6,-72,12v11,14,22,23,33,28r18,25r-26,18r-19,-24v-2,-15,-6,-29,-15,-41v-9,12,-14,26,-16,41r-19,24r-26,-18r18,-25v11,-5,22,-14,33,-28v-22,-6,-53,-1,-72,-12r9,-31r30,9v9,10,22,18,38,24v1,-23,-15,-43,-11,-73r31,0","w":187},"+":{"d":"24,-136r82,0r0,-82r28,0r0,82r82,0r0,28r-82,0r0,82r-28,0r0,-82r-82,0r0,-28","w":240},",":{"d":"31,0r0,-43r43,0v0,45,7,92,-43,92r0,-19v15,-2,22,-13,21,-30r-21,0","w":105,"k":{" ":29}},"-":{"d":"11,-101r106,0r0,33r-106,0r0,-33","w":127},"\u00ad":{"d":"11,-101r106,0r0,33r-106,0r0,-33","w":127},".":{"d":"31,0r0,-43r43,0r0,43r-43,0","w":105,"k":{" ":29}},"\/":{"d":"127,-249r29,0r-125,253r-29,0","w":157},"0":{"d":"98,4v-60,0,-85,-59,-85,-126v0,-70,23,-126,85,-126v60,0,84,59,84,126v0,70,-24,126,-84,126xm98,-220v-43,0,-49,47,-49,98v0,56,6,97,49,97v43,0,49,-42,49,-97v0,-56,-7,-98,-49,-98"},"1":{"d":"85,-30r0,-185r-33,0r0,-29r67,0r0,214r31,0r0,30r-98,0r0,-30r33,0"},"2":{"d":"171,-182v0,76,-112,85,-121,150r92,0r1,-55r30,0r-2,87r-157,0v-1,-87,72,-108,114,-157v21,-24,2,-64,-33,-63v-37,2,-44,27,-42,67r-32,0v-4,-58,20,-95,74,-95v44,0,75,26,76,66"},"3":{"d":"145,-68v0,-35,-32,-48,-71,-44r0,-31v39,1,62,-5,62,-37v0,-22,-13,-41,-38,-40v-31,0,-38,19,-41,49r-34,0v-2,-51,27,-73,72,-77v77,-7,97,96,39,119v30,9,46,29,46,59v0,74,-106,95,-147,51v-14,-15,-21,-37,-21,-64r32,0v-9,66,101,80,101,15"},"4":{"d":"108,-66r-82,0v-3,-11,-7,-19,-15,-27r101,-153r29,0r0,151r39,0r0,29r-39,0r0,36r22,0r0,30r-81,0r0,-30r26,0r0,-36xm108,-95r0,-97r-64,97r64,0"},"5":{"d":"179,-79v0,75,-93,108,-142,62v-14,-14,-22,-34,-24,-61r31,0v4,29,21,54,52,54v30,0,48,-23,48,-54v0,-58,-70,-69,-94,-23v-8,-7,-17,-13,-26,-17r10,-126r131,0r0,65r-30,0r0,-34r-75,0r-6,72v50,-42,125,-6,125,62"},"6":{"d":"18,-121v0,-69,24,-126,86,-127v45,-1,67,33,69,76r-29,0v-1,-44,-60,-67,-81,-23v-8,17,-13,39,-13,67v41,-54,128,-23,125,48v-2,44,-28,85,-73,84v-59,-2,-84,-55,-84,-125xm144,-77v-1,-57,-65,-61,-92,-15v-2,84,90,86,92,15"},"7":{"d":"72,-30v3,-64,36,-143,64,-183r-84,0r0,33r-31,0r0,-64r153,0r0,25v-29,32,-67,130,-67,189r29,0r0,30r-97,0r0,-30r33,0"},"8":{"d":"99,4v-88,0,-120,-105,-44,-132v-64,-31,-32,-128,40,-120v79,-9,109,87,44,120v29,11,44,32,44,61v-1,45,-36,71,-84,71xm96,-219v-26,0,-43,14,-43,38v0,26,18,39,45,39v24,0,44,-14,44,-39v0,-26,-15,-38,-46,-38xm96,-113v-27,0,-49,17,-49,44v0,27,21,45,50,44v29,0,50,-16,50,-44v0,-28,-20,-45,-51,-44"},"9":{"d":"174,-124v0,69,-23,127,-86,128v-44,0,-69,-33,-70,-76r30,0v1,43,59,66,80,23v8,-17,14,-39,14,-67v-42,53,-125,23,-125,-49v0,-45,27,-84,73,-83v60,2,84,54,84,124xm48,-168v0,57,64,60,92,15v-5,-44,-21,-66,-48,-66v-26,0,-45,23,-44,51"},":":{"d":"31,-127r0,-43r43,0r0,43r-43,0xm31,0r0,-43r43,0r0,43r-43,0","w":105,"k":{" ":29}},";":{"d":"31,-127r0,-43r43,0r0,43r-43,0xm31,0r0,-43r43,0v0,45,7,92,-43,92r0,-19v15,-2,22,-13,21,-30r-21,0","w":105,"k":{" ":29}},"<":{"d":"216,-29r-192,-81r0,-25r192,-81r0,30r-155,64r155,63r0,30","w":240},"=":{"d":"24,-177r192,0r0,27r-192,0r0,-27xm24,-95r192,0r0,28r-192,0r0,-28","w":240},">":{"d":"24,-216r192,81r0,25r-192,81r0,-30r155,-63r-155,-64r0,-30","w":240},"?":{"d":"158,-179v0,39,-28,68,-68,66r-5,47r-18,0r-4,-78v32,8,60,-6,60,-37v0,-23,-16,-40,-39,-39v-29,0,-42,20,-40,50r-33,0v-4,-51,27,-77,72,-78v45,-1,74,27,75,69xm55,0r0,-43r43,0r0,43r-43,0","w":168},"@":{"d":"238,5v-23,0,-31,-8,-33,-29v-42,57,-118,21,-118,-50v0,-75,95,-159,144,-80r6,-27r32,0r-31,145v-1,6,6,12,12,12v37,-7,68,-50,68,-97v0,-65,-58,-111,-125,-111v-84,0,-147,68,-147,151v0,90,61,135,151,135v55,0,101,-20,124,-53r32,0v-22,44,-82,79,-155,79v-107,0,-178,-57,-178,-158v1,-97,69,-180,174,-180v84,0,150,59,150,137v0,58,-50,126,-106,126xm181,-160v-37,-2,-61,53,-61,89v-1,26,14,49,37,50v35,0,64,-50,64,-89v0,-29,-14,-49,-40,-50","w":363},"A":{"d":"171,-86r-88,0r-19,55r30,0r0,31r-97,0r0,-31r30,0r67,-186r-30,0r0,-28r125,0r0,28r-31,0r69,186r27,0r0,31r-96,0r0,-31r31,0xm161,-115r-32,-102r-3,0r-34,102r69,0","w":251,"k":{"y":14,"w":4,"v":22,"Y":18,"W":14,"V":22,"U":9,"T":7,"Q":14,"O":11,"G":11,"C":7}},"B":{"d":"195,-69v0,82,-100,69,-187,69r0,-31r30,0r0,-183r-30,0r0,-31v80,1,175,-14,174,64v0,25,-12,43,-30,51v26,8,43,30,43,61xm75,-143v38,1,70,1,70,-36v0,-31,-32,-38,-70,-35r0,71xm158,-72v0,-40,-38,-42,-83,-40r0,81v47,2,83,1,83,-41","w":209,"k":{"U":7,".":7,",":7}},"C":{"d":"140,-29v43,0,74,-31,84,-70r32,17v-11,51,-59,85,-118,86v-72,1,-123,-55,-123,-125v0,-110,123,-162,203,-101r0,-23r31,0r0,79r-31,0v-11,-28,-43,-50,-79,-50v-49,-1,-83,42,-83,93v0,52,38,94,84,94","w":273,"k":{"A":9,".":14,",":14}},"D":{"d":"244,-126v0,93,-52,130,-150,126r-89,0r0,-31r33,0r0,-183r-33,0r0,-31r94,0v95,-4,145,34,145,119xm206,-124v-1,-74,-46,-97,-131,-90r0,183v83,5,132,-15,131,-93","w":262,"k":{"Y":25,"W":25,"V":25,"A":4,".":22,",":22}},"E":{"d":"41,-31r0,-183r-31,0r0,-31r203,0r0,74r-30,0r0,-43r-105,0r0,73r91,0r0,30r-91,0r0,80r105,0r0,-44r30,0r0,75r-203,0r0,-31r31,0","w":225},"F":{"d":"37,-31r0,-183r-30,0r0,-31r189,0r0,74r-30,0r0,-43r-92,0r0,72r79,0r0,31r-79,0r0,80r32,0r0,31r-99,0r0,-31r30,0","w":198,"k":{"o":29,"e":29,"a":29,"A":32,".":50,",":50}},"G":{"d":"58,-124v-9,100,146,133,169,37r-45,0r0,-31r89,0v7,74,-48,122,-122,122v-81,0,-132,-54,-132,-127v0,-71,49,-125,124,-125v34,0,63,10,86,31r0,-28r31,0r0,81r-31,0v-12,-26,-45,-52,-83,-52v-53,0,-82,42,-86,92","w":288,"k":{".":22,",":22}},"H":{"d":"37,-31r0,-183r-27,0r0,-31r93,0r0,31r-29,0r0,70r107,0r0,-70r-29,0r0,-31r94,0r0,31r-28,0r0,183r28,0r0,31r-94,0r0,-31r29,0r0,-82r-107,0r0,82r29,0r0,31r-93,0r0,-31r27,0","w":254},"I":{"d":"38,-31r0,-183r-27,0r0,-31r90,0r0,31r-26,0r0,183r26,0r0,31r-90,0r0,-31r27,0","w":112},"J":{"d":"77,0v7,62,-35,86,-90,73r0,-35v35,9,53,4,53,-40r0,-212r-31,0r0,-31r99,0r0,31r-31,0r0,214","w":112,"k":{"u":5,"o":14,"e":14,"a":13,"A":4,".":11,",":11}},"K":{"d":"37,-31r0,-183r-30,0r0,-31r98,0r0,31r-31,0r0,183r28,0r0,31r-95,0r0,-31r30,0xm75,-129r79,-85r-28,0r0,-31r95,0r0,31r-26,0r-75,85r78,98r26,0r0,31r-100,0r0,-31r27,0","w":225,"k":{"y":29,"u":7,"o":7,"e":9,"O":14}},"L":{"d":"37,-31r0,-183r-32,0r0,-31r100,0r0,31r-30,0r0,183r75,0r0,-83r34,0r0,114r-179,0r0,-31r32,0","w":187,"k":{"y":7,"Y":27,"W":27,"V":36}},"M":{"d":"38,-31r0,-183r-29,0r0,-31r83,0r65,168r65,-168r84,0r0,31r-29,0r0,183r29,0r0,31r-92,0r0,-31r29,0r0,-183r-84,216r-7,0r-84,-216r0,183r27,0r0,31r-86,0r0,-31r29,0","w":315},"N":{"d":"37,-31r0,-183r-35,0r0,-31r83,0r107,191r0,-160r-34,0r0,-31r100,0r0,31r-36,0r0,216r-38,0r-117,-208r0,175r35,0r0,31r-100,0r0,-31r35,0","w":258,"k":{"A":5,".":14,",":14}},"O":{"d":"143,4v-75,-1,-124,-52,-125,-127v-1,-71,52,-125,125,-125v74,0,128,54,128,125v0,73,-56,128,-128,127xm143,-216v-50,0,-85,43,-85,93v0,52,35,95,86,95v50,0,86,-45,86,-95v0,-51,-38,-93,-87,-93","w":288,"k":{"Y":27,"X":27,"W":25,"V":25,"A":22,".":29,",":29}},"P":{"d":"197,-169v0,66,-47,80,-122,75r0,63r32,0r0,31r-100,0r0,-31r31,0r0,-183r-31,0r0,-31r88,0v67,-4,102,19,102,76xm160,-170v-1,-44,-36,-46,-85,-44r0,91v49,1,86,0,85,-47","w":206,"k":{"o":11,"e":11,"a":7,"A":27,".":50,",":50}},"Q":{"d":"271,-123v0,70,-47,118,-110,126v24,9,42,20,64,13v-7,10,-5,31,-23,31v-29,0,-83,-46,-114,-19r-10,-15v7,-8,16,-12,27,-14v-51,-16,-86,-59,-87,-122v-1,-70,52,-125,125,-125v75,0,129,53,128,125xm143,-216v-50,0,-85,43,-85,93v0,52,35,95,86,95v50,0,86,-45,86,-95v0,-51,-38,-93,-87,-93","w":288,"k":{"U":11,".":32,",":32}},"R":{"d":"5,-245v82,4,192,-21,190,64v0,32,-16,53,-50,61r43,89r30,0r0,31r-53,0r-55,-114r-35,0r0,83r31,0r0,31r-101,0r0,-31r33,0r0,-183r-33,0r0,-31xm157,-181v0,-39,-41,-33,-82,-33r0,69v41,0,82,5,82,-36","w":217,"k":{"Y":7,"W":7,"V":7,"O":7}},"S":{"d":"144,-132v62,32,35,136,-41,136v-22,0,-42,-8,-60,-24r0,20r-31,0r0,-89r31,0r0,22v15,27,34,40,58,40v35,0,59,-46,32,-65v-38,-28,-121,-20,-121,-89v0,-65,81,-86,126,-48r0,-17r30,0r0,74r-30,0v2,-35,-29,-42,-52,-45v-40,-5,-56,46,-22,60v14,6,69,18,80,25","w":191,"k":{".":9,",":9}},"T":{"d":"85,-31r0,-183r-51,0r0,62r-30,0r0,-93r198,0r0,93r-30,0r0,-62r-50,0r0,183r32,0r0,31r-100,0r0,-31r31,0","w":206,"k":{"o":22,"h":-5,"e":18,"a":11,"O":5,"A":9,".":29,"-":45,",":29}},"U":{"d":"124,4v-64,0,-89,-25,-89,-94r0,-124r-30,0r0,-31r96,0r0,31r-29,0r0,122v-3,47,8,66,47,66v43,0,53,-15,53,-64r0,-124r-29,0r0,-31r96,0r0,31r-31,0r0,128v4,65,-26,90,-84,90","w":243,"k":{"A":9,".":27,",":27}},"V":{"d":"112,2r-82,-216r-31,0r0,-31r97,0r0,31r-28,0r62,164r60,-164r-28,0r0,-31r94,0r0,31r-30,0r-80,216r-34,0","w":254,"k":{"u":18,"o":40,"e":40,"a":40,"O":18,"G":18,"A":22,";":13,":":13,".":65,"-":43,",":65}},"W":{"d":"92,2r-63,-216r-29,0r0,-31r94,0r0,31r-30,0r46,160r45,-160r-29,0r0,-31r112,0r0,31r-29,0r45,160r45,-160r-29,0r0,-31r90,0r0,31r-29,0r-61,216r-35,0r-55,-193r-54,193r-34,0","w":360,"k":{"y":18,"u":20,"o":32,"e":32,"a":32,"O":18,"A":14,";":13,":":13,".":58,"-":31,",":58}},"X":{"d":"36,-31r63,-92r-63,-91r-31,0r0,-31r98,0r0,31r-27,0r42,62r43,-62r-28,0r0,-31r93,0r0,31r-30,0r-60,88r65,95r32,0r0,31r-100,0r0,-31r28,0r-45,-66r-45,66r30,0r0,31r-97,0r0,-31r32,0","w":236},"Y":{"d":"99,-31r0,-80r-73,-103r-30,0r0,-31r101,0r0,31r-31,0r54,75r49,-75r-30,0r0,-31r97,0r0,31r-32,0r-68,103r0,80r33,0r0,31r-103,0r0,-31r33,0","w":232,"k":{"u":29,"o":43,"e":41,"a":45,"O":27,"A":18,";":13,":":13,".":43,"-":45,",":43}},"Z":{"d":"9,0r0,-31r131,-183r-95,0r0,43r-30,0r0,-74r172,0r0,28r-134,186r107,0r0,-47r31,0r0,78r-182,0","w":202},"[":{"d":"125,-245r0,25r-54,0r0,269r54,0r0,24r-87,0r0,-318r87,0","w":135},"\\":{"d":"31,-249r125,253r-29,0r-125,-253r29,0","w":157},"]":{"d":"10,-245r87,0r0,318r-87,0r0,-24r54,0r0,-269r-54,0r0,-25","w":135},"^":{"d":"42,-104r-33,0r63,-141r25,0r62,141r-31,0r-44,-105","w":168},"_":{"d":"-2,27r184,0r0,18r-184,0r0,-18","w":180},"`":{"d":"93,-193r-23,0r-50,-55r48,0","w":119},"a":{"d":"19,-135v23,-56,152,-60,139,27r0,78r29,0r0,30r-59,0r0,-21v-34,41,-111,27,-111,-30v0,-50,68,-71,108,-41v14,-56,-52,-72,-74,-35xm49,-51v0,39,55,33,76,8r0,-20v-23,-22,-76,-27,-76,12","w":191,"k":{"y":7,"w":7,"v":7}},"b":{"d":"134,3v-26,0,-51,-15,-62,-28r0,25r-63,0r0,-30r31,0r0,-185r-31,0r0,-30r63,0r0,99v48,-59,145,-20,145,59v0,49,-35,90,-83,90xm128,-144v-31,0,-55,24,-55,59v0,33,25,58,54,58v31,0,55,-26,55,-61v0,-33,-24,-57,-54,-56","w":232,"k":{"y":14,"v":14,"u":4,"l":7,"b":7,".":22,",":22}},"c":{"d":"13,-86v-3,-67,78,-117,131,-72r0,-12r30,0r0,64r-30,0v-3,-22,-21,-38,-45,-38v-31,-1,-50,26,-50,58v0,63,81,84,103,27r27,13v-15,34,-42,51,-80,51v-51,1,-84,-43,-86,-91","w":187},"d":{"d":"16,-84v0,-79,95,-122,144,-63r0,-68r-33,0r0,-30r67,0r0,215r30,0r0,30r-64,0r0,-25v-47,57,-144,20,-144,-59xm105,-144v-31,0,-53,27,-53,59v0,35,22,58,53,58v30,0,55,-25,55,-60v0,-34,-24,-57,-55,-57","w":225,"k":{"y":9,"w":4,"v":4}},"e":{"d":"13,-85v0,-76,95,-119,151,-65v18,17,28,40,29,73r-143,0v2,56,84,72,113,25r30,13v-17,27,-47,43,-86,44v-52,0,-94,-36,-94,-90xm159,-101v-4,-35,-58,-65,-90,-34v-9,9,-16,20,-18,34r108,0","w":206,"k":{"y":14,"x":4,"w":7,"v":13,"b":5,".":7,",":7}},"f":{"d":"81,-222v-20,0,-11,31,-13,52r29,0r0,30r-29,0r0,110r32,0r0,30r-90,0r0,-30r25,0r0,-110r-25,0r0,-30r25,0v-3,-45,5,-79,44,-79v26,0,41,13,45,39r-30,4v-1,-11,-6,-16,-13,-16","w":105,"k":{"o":-7,"l":-4,"i":-4,"f":-4,"e":-9,"a":-9,".":-14,",":-14}},"g":{"d":"13,-83v0,-77,93,-121,144,-63r0,-24r64,0r0,30r-31,0r0,126v14,96,-98,115,-158,71r22,-24v44,34,117,17,103,-56v-10,13,-37,28,-62,28v-48,0,-82,-40,-82,-88xm103,-142v-31,1,-55,25,-55,59v0,33,22,58,54,58v31,0,56,-26,56,-58v0,-32,-24,-60,-55,-59","w":225,"k":{"y":11,"o":7,"g":4,"e":7,"a":5,".":14,",":14}},"h":{"d":"142,-104v5,-58,-38,-45,-70,-19r0,93r29,0r0,30r-94,0r0,-30r31,0r0,-185r-31,0r0,-30r65,0r0,94v40,-37,103,-35,103,35r0,86r29,0r0,30r-62,0r0,-104","w":206,"k":{"y":11}},"i":{"d":"54,-208v-11,0,-21,-9,-21,-20v0,-10,10,-21,21,-20v11,0,20,9,20,20v0,11,-9,20,-20,20xm38,-30r0,-110r-26,0r0,-30r60,0r0,140r26,0r0,30r-86,0r0,-30r26,0","w":105,"k":{"v":7}},"j":{"d":"56,-208v-11,1,-20,-9,-20,-20v0,-12,9,-20,20,-20v11,0,20,9,20,20v0,11,-9,20,-20,20xm74,-25v5,77,-12,106,-81,98r0,-30v47,3,47,-7,47,-63r0,-120r-26,0r0,-30r60,0r0,145","w":105},"k":{"d":"39,-30r0,-185r-30,0r0,-30r64,0r0,153r63,-51r-28,0r0,-27r94,0r0,27r-26,0r-64,54r60,59r30,0r0,30r-44,0r-85,-86r0,56r29,0r0,30r-93,0r0,-30r30,0","w":206,"k":{"y":7,"o":11,"e":11}},"l":{"d":"37,-30r0,-185r-30,0r0,-30r64,0r0,215r26,0r0,30r-90,0r0,-30r30,0","w":105,"k":{"y":7,"w":5}},"m":{"d":"143,-111v0,-49,-41,-33,-70,-10r0,91r30,0r0,30r-94,0r0,-30r31,0r0,-110r-28,0r0,-30r61,0r0,21v33,-27,82,-38,100,3v41,-39,107,-41,107,32r0,84r30,0r0,30r-64,0r0,-108v4,-52,-42,-37,-69,-13r0,91r29,0r0,30r-63,0r0,-111","w":311,"k":{"y":7}},"n":{"d":"143,-111v0,-49,-43,-31,-70,-10r0,91r29,0r0,30r-92,0r0,-30r30,0r0,-110r-30,0r0,-30r63,0r0,20v42,-35,103,-34,103,37r0,83r29,0r0,30r-62,0r0,-111","w":206,"k":{"y":11,"v":9,"u":4}},"o":{"d":"103,5v-50,0,-89,-39,-89,-90v0,-50,39,-90,89,-90v48,0,90,39,90,90v0,51,-41,90,-90,90xm103,-142v-32,0,-55,26,-54,57v0,31,23,57,54,57v31,0,54,-25,54,-57v0,-32,-24,-57,-54,-57","w":206,"k":{"y":18,"x":14,"w":16,"v":14,".":18,",":18}},"p":{"d":"210,-84v0,78,-92,118,-143,63r0,68r33,0r0,29r-98,0r0,-29r32,0r0,-187r-29,0r0,-30r62,0r0,27v46,-62,143,-20,143,59xm122,-143v-32,0,-57,27,-56,60v1,32,21,57,54,58v34,0,55,-24,55,-60v0,-33,-23,-58,-53,-58","w":225,"k":{"y":11,".":14,",":14}},"q":{"d":"13,-85v0,-78,97,-120,143,-58r0,-27r62,0r0,30r-28,0r0,187r31,0r0,29r-98,0r0,-29r33,0r0,-68v-50,57,-143,13,-143,-64xm102,-25v33,0,55,-27,55,-58v1,-33,-24,-60,-56,-60v-30,0,-53,25,-53,58v0,33,21,60,54,60","w":221},"r":{"d":"145,-139v-72,-9,-71,40,-69,109r37,0r0,30r-105,0r0,-30r34,0r0,-110r-34,0r0,-30r61,0r0,38v12,-29,32,-44,76,-41r0,34","w":150,"k":{"y":-5,"v":-5,"u":-5,"t":-5,"r":-5,"q":11,"p":-5,"o":14,"n":-11,"l":7,"k":7,"i":-7,"g":11,"e":18,"d":14,"c":14,"a":9,".":22,",":22}},"s":{"d":"125,-94v52,25,27,97,-36,97v-18,0,-33,-4,-44,-12r0,9r-30,0r0,-58r30,0v-5,38,70,46,75,11v-3,-31,-77,-19,-90,-42v-35,-31,-4,-84,44,-84v16,0,30,3,42,10r0,-7r30,0r0,56r-30,0v1,-38,-67,-41,-70,-10v-2,26,58,20,79,30","w":164},"t":{"d":"98,-2v-40,14,-65,-3,-65,-54r0,-84r-22,0r0,-30r22,0r0,-26r33,-31r0,57r32,0r0,30r-32,0r0,82v-2,29,7,33,32,26r0,30","w":108},"u":{"d":"67,-66v-6,58,41,43,69,18r0,-92r-30,0r0,-30r64,0r0,140r29,0r0,30r-63,0r0,-20v-42,37,-103,32,-103,-42r0,-78r-24,0r0,-30r58,0r0,104","w":202},"v":{"d":"85,3r-56,-143r-30,0r0,-30r86,0r0,30r-22,0r36,96r37,-96r-24,0r0,-30r84,0r0,30r-27,0r-54,143r-30,0","k":{"o":13,"e":9,"a":5,".":36,",":36}},"w":{"d":"66,3r-46,-143r-21,0r0,-30r72,0r0,30r-22,0r32,102r33,-102r-19,0r0,-30r83,0r0,30r-19,0r32,102r33,-102r-23,0r0,-30r77,0r0,30r-25,0r-46,143r-31,0r-39,-123r-40,123r-31,0","w":277,"k":{"o":13,"h":7,"e":9,"a":5,".":29,",":29}},"x":{"d":"100,-68r-33,38r22,0r0,30r-83,0r0,-30r25,0r52,-58r-49,-52r-23,0r0,-30r80,0r0,30r-22,0r31,32r30,-32r-18,0r0,-30r80,0r0,30r-27,0r-47,52r53,58r21,0r0,30r-80,0r0,-30r24,0","w":198,"k":{"e":14}},"y":{"d":"87,-3r-56,-137r-28,0r0,-30r84,0r0,30r-20,0r37,94r36,-94r-23,0r0,-30r83,0r0,30r-26,0r-84,216r-56,0r0,-29r33,0","w":202,"k":{"o":18,"e":18,"a":7,".":36,",":36}},"z":{"d":"6,0r0,-28r106,-115r-69,0r0,33r-29,0r0,-60r138,0r0,30r-107,112r78,0r0,-35r29,0r0,63r-146,0","w":161,"k":{"o":5,"e":4}},"{":{"d":"47,-6v0,-41,-4,-61,-37,-64r0,-28v33,-3,37,-23,37,-64v0,-62,8,-84,65,-83r0,27v-28,0,-36,4,-36,34v1,60,1,82,-36,100v27,13,36,30,36,74v0,46,-6,61,36,60r0,26v-57,4,-65,-23,-65,-82","w":119},"|":{"d":"81,-249r28,0r0,329r-28,0r0,-329","w":189},"}":{"d":"73,-162v0,41,4,61,37,64r0,28v-33,3,-37,23,-37,64v0,62,-7,84,-65,82r0,-26v28,0,36,-4,36,-34v-1,-60,-1,-82,36,-100v-27,-12,-36,-31,-36,-74v0,-46,6,-61,-36,-60r0,-27v56,-3,65,24,65,83","w":119},"~":{"d":"9,-127v43,-47,92,-6,141,5v16,0,32,-9,51,-25r0,30v-44,46,-93,5,-140,-5v-16,0,-33,8,-52,24r0,-29","w":209},"\u00ab":{"d":"6,-85r52,-85r35,0r-51,85r51,85r-35,0xm81,-85r52,-85r35,0r-51,85r51,85r-35,0","w":172},"\u00bb":{"d":"91,-85r-52,85r-35,0r52,-85r-52,-85r35,0xm167,-85r-53,85r-35,0r52,-85r-52,-85r35,0","w":172},"\u00a0":{"w":90,"k":{"Y":36,"W":29,"V":29,"T":14}}}});
;
// $Id: jquery.overlabel.js,v 1.1 2009/08/19 04:28:07 sociotech Exp $

( function( $ ) {
 
    // plugin definition
    $.fn.overlabel = function( options ) {
 
        // build main options before element iteration
        var opts = $.extend( {}, $.fn.overlabel.defaults, options );
 
        var selection = this.filter( 'label[for]' ).map( function() {
 
            var label = $( this );
            var id = label.attr( 'for' );
            var field = document.getElementById( id );
 
            if ( !field ) return;
 
            // build element specific options
            var o = $.meta ? $.extend( {}, opts, label.data() ) : opts;
 
            label.addClass( o.label_class );
 
            var hide_label = function() { label.css( o.hide_css ) };
            var show_label = function() { this.value || label.css( o.show_css ) };
 
            $( field )
                 .parent().addClass( o.wrapper_class ).end()
                 .focus( hide_label ).blur( show_label ).each( hide_label ).each( show_label );
 
            return this;
 
        } );
 
        return opts.filter ? selection : selection.end();
    };
 
    // publicly accessible defaults
    $.fn.overlabel.defaults = {
 
        label_class:   'overlabel-apply',
        wrapper_class: 'overlabel-wrapper',
        hide_css:      { 'text-indent': '-10000px' },
        show_css:      { 'text-indent': '0px', 'cursor': 'text' },
        filter:        false
 
    };
 
} )( jQuery );;
// $Id: jquery.equalheights.js,v 1.1 2009/08/19 04:28:07 sociotech Exp $

/**
 * Equal Heights Plugin
 * Equalize the heights of elements. Great for columns or any elements
 * that need to be the same size (floats, etc).
 * 
 * Version 1.0
 * Updated 12/10/2008
 *
 * Copyright (c) 2008 Rob Glazebrook (cssnewbie.com) 
 *
 * Usage: $(object).equalHeights([minHeight], [maxHeight]);
 * 
 * Example 1: $(".cols").equalHeights(); Sets all columns to the same height.
 * Example 2: $(".cols").equalHeights(400); Sets all cols to at least 400px tall.
 * Example 3: $(".cols").equalHeights(100,300); Cols are at least 100 but no more
 * than 300 pixels tall. Elements with too much content will gain a scrollbar.
 * 
 */

(function($) {
	$.fn.equalHeights = function(minHeight, maxHeight) {
		tallest = (minHeight) ? minHeight : 0;
		this.each(function() {
			if($(this).height() > tallest) {
				tallest = $(this).height();
			}
		});
		if((maxHeight) && tallest > maxHeight) tallest = maxHeight;
		return this.each(function() {
			$(this).height(tallest).css("overflow","visible");
		});
	}
})(jQuery);;
// $Id: jquery.bgiframe.min.js,v 1.1 2009/08/19 04:28:07 sociotech Exp $

/* 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);;
// $Id: hoverIntent.js,v 1.1 2009/08/19 04:28:07 sociotech Exp $

(function($){
	/* hoverIntent by Brian Cherne */
	$.fn.hoverIntent = function(f,g) {
		// default configuration options
		var cfg = {
			sensitivity: 7,
			interval: 100,
			timeout: 0
		};
		// override configuration options with user supplied object
		cfg = $.extend(cfg, g ? { over: f, out: g } : f );

		// instantiate variables
		// cX, cY = current X and Y position of mouse, updated by mousemove event
		// pX, pY = previous X and Y position of mouse, set by mouseover and polling interval
		var cX, cY, pX, pY;

		// A private function for getting mouse position
		var track = function(ev) {
			cX = ev.pageX;
			cY = ev.pageY;
		};

		// A private function for comparing current and previous mouse position
		var compare = function(ev,ob) {
			ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t);
			// compare mouse positions to see if they've crossed the threshold
			if ( ( Math.abs(pX-cX) + Math.abs(pY-cY) ) < cfg.sensitivity ) {
				$(ob).unbind("mousemove",track);
				// set hoverIntent state to true (so mouseOut can be called)
				ob.hoverIntent_s = 1;
				return cfg.over.apply(ob,[ev]);
			} else {
				// set previous coordinates for next time
				pX = cX; pY = cY;
				// use self-calling timeout, guarantees intervals are spaced out properly (avoids JavaScript timer bugs)
				ob.hoverIntent_t = setTimeout( function(){compare(ev, ob);} , cfg.interval );
			}
		};

		// A private function for delaying the mouseOut function
		var delay = function(ev,ob) {
			ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t);
			ob.hoverIntent_s = 0;
			return cfg.out.apply(ob,[ev]);
		};

		// A private function for handling mouse 'hovering'
		var handleHover = function(e) {
			// next three lines copied from jQuery.hover, ignore children onMouseOver/onMouseOut
			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; }

			// copy objects to be passed into t (required for event object to be passed in IE)
			var ev = jQuery.extend({},e);
			var ob = this;

			// cancel hoverIntent timer if it exists
			if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); }

			// else e.type == "onmouseover"
			if (e.type == "mouseover") {
				// set "previous" X and Y position based on initial entry point
				pX = ev.pageX; pY = ev.pageY;
				// update "current" X and Y position based on mousemove
				$(ob).bind("mousemove",track);
				// start polling interval (self-calling timeout) to compare mouse coordinates over time
				if (ob.hoverIntent_s != 1) { ob.hoverIntent_t = setTimeout( function(){compare(ev,ob);} , cfg.interval );}

			// else e.type == "onmouseout"
			} else {
				// unbind expensive mousemove event
				$(ob).unbind("mousemove",track);
				// if hoverIntent state is true, then call the mouseOut function after the specified delay
				if (ob.hoverIntent_s == 1) { ob.hoverIntent_t = setTimeout( function(){delay(ev,ob);} , cfg.timeout );}
			}
		};

		// bind the function to the two event listeners
		return this.mouseover(handleHover).mouseout(handleHover);
	};
	
})(jQuery);;
// $Id: supposition.js,v 1.1 2009/08/19 04:28:07 sociotech Exp $

/*
 * Supposition v0.2 - an optional enhancer for Superfish jQuery menu widget
 *
 * Copyright (c) 2008 Joel Birch - based mostly on work by Jesse Klaasse and credit goes largely to him.
 * Special thanks to Karl Swedberg for valuable input.
 *
 * 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.supposition = function(){
		var $w = $(window), /*do this once instead of every onBeforeShow call*/
			_offset = function(dir) {
				return window[dir == 'y' ? 'pageYOffset' : 'pageXOffset']
				|| document.documentElement && document.documentElement[dir=='y' ? 'scrollTop' : 'scrollLeft']
			    || document.body[dir=='y' ? 'scrollTop' : 'scrollLeft'];
			},
			onInit = function(){
				/* I haven't touched this bit - needs work as there are still z-index issues */
				$topNav = $('li',this);
				var cZ=parseInt($topNav.css('z-index')) + $topNav.length;
				$topNav.each(function() {
					$(this).css({zIndex:--cZ});
				});
			},
			onHide = function(){
				this.css({marginTop:'',marginLeft:''});
			},
			onBeforeShow = function(){
				this.each(function(){
					var $u = $(this);
					$u.css('display','block');
					var menuWidth = $u.width(),
						parentWidth = $u.parents('ul').width(),
						totalRight = $w.width() + _offset('x'),
						menuRight = $u.offset().left + menuWidth;
					if (menuRight > totalRight) {
						$u.css('margin-left', ($u.parents('ul').length == 1 ? totalRight - menuRight : -(menuWidth + parentWidth)) + 'px');
					}

					var windowHeight = $w.height(),
						offsetTop = $u.offset().top,
						menuHeight = $u.height(),
						baseline = windowHeight + _offset('y');
					var expandUp = (offsetTop + menuHeight > baseline);
					if (expandUp) {
						$u.css('margin-top',baseline - (menuHeight + offsetTop));
					}
					$u.css('display','none');
				});
			};
		
		return this.each(function() {
			var o = $.fn.superfish.o[this.serial]; /* get this menu's options */
			
			/* if callbacks already set, store them */
			var _onInit = o.onInit,
				_onBeforeShow = o.onBeforeShow,
				_onHide = o.onHide;
				
			$.extend($.fn.superfish.o[this.serial],{
				onInit		: function() {
					onInit.call(this); /* fire our Supposition callback */
					_onInit.call(this); /* fire stored callbacks */
				},
				onBeforeShow: function() {
					onBeforeShow.call(this); /* fire our Supposition callback */
					_onBeforeShow.call(this); /* fire stored callbacks */
				},
				onHide		: function() {
					onHide.call(this); /* fire our Supposition callback */
					_onHide.call(this); /* fire stored callbacks */
				}
			});
		});
	};

})(jQuery);;
// $Id: supersubs.js,v 1.1 2009/08/19 04:28:07 sociotech Exp $

/*
 * Supersubs v0.2b - jQuery plugin
 * 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
 *
 *
 * This plugin automatically adjusts submenu widths of suckerfish-style menus to that of
 * their longest list item children. If you use this, please expect bugs and report them
 * to the jQuery Google Group with the word 'Superfish' in the subject line.
 *
 */

;(function($){ // $ will refer to jQuery within this closure

	$.fn.supersubs = function(options){
		var opts = $.extend({}, $.fn.supersubs.defaults, options);
		// return original object to support chaining
		return this.each(function() {
			// cache selections
			var $$ = $(this);
			// support metadata
			var o = $.meta ? $.extend({}, opts, $$.data()) : opts;
			// get the font size of menu.
			// .css('fontSize') returns various results cross-browser, so measure an em dash instead
			var fontsize = $('<li id="menu-fontsize">&#8212;</li>').css({
				'padding' : 0,
				'position' : 'absolute',
				'top' : '-999em',
				'width' : 'auto'
			}).appendTo($$).width(); //clientWidth is faster, but was incorrect here
			// remove em dash
			$('#menu-fontsize').remove();
			// cache all ul elements
			$ULs = $$.find('ul');
			// loop through each ul in menu
			$ULs.each(function(i) {	
				// cache this ul
				var $ul = $ULs.eq(i);
				// get all (li) children of this ul
				var $LIs = $ul.children();
				// get all anchor grand-children
				var $As = $LIs.children('a');
				// force content to one line and save current float property
				var liFloat = $LIs.css('white-space','nowrap').css('float');
				// remove width restrictions and floats so elements remain vertically stacked
				var emWidth = $ul.add($LIs).add($As).css({
					'float' : 'none',
					'width'	: 'auto'
				})
				// this ul will now be shrink-wrapped to longest li due to position:absolute
				// so save its width as ems. Clientwidth is 2 times faster than .width() - thanks Dan Switzer
				.end().end()[0].clientWidth / fontsize;
				// add more width to ensure lines don't turn over at certain sizes in various browsers
				emWidth += o.extraWidth;
				// restrict to at least minWidth and at most maxWidth
				if (emWidth > o.maxWidth)		{ emWidth = o.maxWidth; }
				else if (emWidth < o.minWidth)	{ emWidth = o.minWidth; }
				emWidth += 'em';
				// set ul to width in ems
				$ul.css('width',emWidth);
				// restore li floats to avoid IE bugs
				// set li width to full width of this ul
				// revert white-space to normal
				$LIs.css({
					'float' : liFloat,
					'width' : '100%',
					'white-space' : 'normal'
				})
				// update offset position of descendant ul to reflect new width of parent
				.each(function(){
					var $childUl = $('>ul',this);
					var offsetDirection = $childUl.css('left')!==undefined ? 'left' : 'right';
					$childUl.css(offsetDirection,emWidth);
				});
			});
			
		});
	};
	// expose defaults
	$.fn.supersubs.defaults = {
		minWidth		: 9,		// requires em unit.
		maxWidth		: 25,		// requires em unit.
		extraWidth		: 0			// extra width can ensure lines don't sometimes turn over due to slight browser differences in how they round-off values
	};
	
})(jQuery); // plugin code ends
;
// $Id: superfish.js,v 1.1 2009/08/19 04:28:07 sociotech Exp $

/*
 * 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() {
			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);
;
/*
 * Url preview script 
 * powered by jQuery (http://www.jquery.com)
 * 
 * written by Alen Grakalic (http://cssglobe.com)
 * 
 * for more info visit http://cssglobe.com/post/1695/easiest-tooltip-and-image-preview-using-jquery
 *
 */
 
this.screenshotPreview = function(){	
	/* CONFIG */
		
		xOffset = 10;
		yOffset = 30;
		
		// these 2 variable determine popup's distance from the cursor
		// you might want to adjust to get the right result
		
	/* END CONFIG */
	$("a.screenshot").hover(function(e){
		this.t = this.title;
		this.title = "";	
		var c = (this.t != "") ? "<br/>" + this.t : "";
		$("body").append("<div id='screenshot'><div class='screenshot-preview "+ this.rel +"' alt='url preview'></div>"+"'<div class='caption'>"+ c +"</div></div>");								 
		$("#screenshot")
			.css("top",(e.pageY - xOffset) + "px")  
			.css("left",(e.pageX + yOffset) + "px")
			.fadeIn("fast");						
    },
	function(){
		this.title = this.t;	
		$("#screenshot").remove();
    });	
	$("a.screenshot").mousemove(function(e){
		$("#screenshot")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});			
};


// starting the script on page load
$(document).ready(function(){
	screenshotPreview();
});;
// $Id: script.js,v 1.1.2.3 2009/12/02 00:47:46 sociotech Exp $

Drupal.behaviors.fusionEqualheights = function (context) {
  $("#header-top-wrapper div.equal-heights div.content").equalHeights();
  $("#header-group-wrapper div.equal-heights div.content").equalHeights();
  $("#preface-top-wrapper div.equal-heights div.content").equalHeights();
  $("#preface-bottom div.equal-heights div.content").equalHeights();
  $("#sidebar-first div.equal-heights div.content").equalHeights();
  $("#content-top div.equal-heights div.content").equalHeights();
  $("#content-region div.equal-heights div.content").equalHeights();
  $("#content-bottom div.equal-heights div.content").equalHeights();
  $("#node-top div.equal-heights div.content").equalHeights();
  $("#node-bottom div.equal-heights div.content").equalHeights();
  $("#sidebar-last div.equal-heights div.content").equalHeights();
  $("#postscript-top div.equal-heights div.content").equalHeights();
  $("#postscript-bottom-wrapper div.equal-heights div.content").equalHeights();
  $("#footer-wrapper div.equal-heights div.content").equalHeights();
};

Drupal.behaviors.fusionIE6fixes = function (context) {
  // IE6 & less-specific functions
  // Add hover class to primary menu li elements on hover
  if ($.browser.msie && ($.browser.version < 7)) {
    $('input.form-submit').hover(function() {
      $(this).addClass('hover');
      }, function() {
        $(this).removeClass('hover');
    });
    $('#primary-menu ul.sf-menu li.expanded').hover(function() {
      $(this).addClass('hover');
      }, function() {
        $(this).removeClass('hover');
    });
  };
};

Drupal.behaviors.fusionOverlabel = function (context) {
  $("div.fusion-horiz-login label").overlabel();
};

Drupal.behaviors.fusionSuperfish = function (context) {
  $("#primary-menu ul.sf-menu").superfish({
    hoverClass:  'sfHover',
    delay:       250,
    animation:   {opacity:'show',height:'show'},
    speed:       'fast',
    autoArrows:  false,
    dropShadows: false,
    disableHI:   true
  }).supposition();
};

Drupal.behaviors.fusionSuperfishBlocks = function (context) {
  $("div.block ul.sf-menu").superfish({
    hoverClass:  'sfHover',
    delay:       250,
    animation:   {opacity:'show',height:'show'},
    speed:       'fast',
    autoArrows:  false,
    dropShadows: false,
    disableHI:   true
  }).supposition();
};

Drupal.behaviors.fusionGridMask = function (context) {
  var grid_width_pos = parseInt($('body').attr('class').indexOf('grid-width-')) + 11;
  var grid_width = $('body').attr('class').substring(grid_width_pos, grid_width_pos + 2);
  var grid = '<div id="grid-mask-overlay" class="full-width"><div class="row">';
  for (i = 1; i <= grid_width; i++) {
    grid += '<div class="block grid' + grid_width + '-1"><div class="inner"></div></div>';
  }
  grid += '</div></div>';
  $('body.grid-mask-enabled').prepend(grid);
  $('#grid-mask-overlay .row').addClass('grid' + grid_width + '-' + grid_width);
  $('#grid-mask-overlay .block .inner').height($('body').height());
};

Drupal.behaviors.fusionGridMaskToggle = function (context) {
  $('body.grid-mask-enabled').prepend('<div id="grid-mask-toggle">grid</div>');
  $('div#grid-mask-toggle')
    .toggle( function () {
      $(this).toggleClass('grid-on');
      $('body').toggleClass('grid-mask');
    },
    function() {
      $(this).toggleClass('grid-on');
      $('body').toggleClass('grid-mask');
    });
};
;
/**
* DD_roundies, this adds rounded-corner CSS in standard browsers and VML sublayers in IE that accomplish a similar appearance when comparing said browsers.
* Author: Drew Diller
* Email: drew.diller@gmail.com
* URL: http://www.dillerdesign.com/experiment/DD_roundies/
* Version: 0.0.2a -  preview 2008.12.26
* Licensed under the MIT License: http://dillerdesign.com/experiment/DD_roundies/#license
*
* Usage:
* DD_roundies.addRule('#doc .container', '10px 5px'); // selector and multiple radii
* DD_roundies.addRule('.box', 5, true); // selector, radius, and optional addition of border-radius code for standard browsers.
* 
* Just want the PNG fixing effect for IE6, and don't want to also use the DD_belatedPNG library?  Don't give any additional arguments after the CSS selector.
* DD_roundies.addRule('.your .example img');
**/

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}('t K={16:\'K\',1L:G,1M:G,1d:G,2f:y(){u(D.2g!=8&&D.1N&&!D.1N[q.16]){q.1L=M;q.1M=M}17 u(D.2g==8){q.1d=M}},2h:D.2i,1O:[],1b:{},2j:y(){u(q.1L||q.1M){D.1N.2L(q.16,\'2M:2N-2O-2P:x\')}u(q.1d){D.2Q(\'<?2R 2S="\'+q.16+\'" 2T="#1P#2k" ?>\')}},2l:y(){t a=D.1k(\'z\');D.2m.1w.1Q(a,D.2m.1w.1w);u(a.12){2n{t b=a.12;b.1x(q.16+\'\\\\:*\',\'{1l:2U(#1P#2k)}\');q.12=b}2o(2p){}}17{q.12=a}},1x:y(a,b,c){u(1R b==\'1S\'||b===2V){b=0}u(b.2W.2q().1y(\'2X\')==-1){b=b.2q().2Y(/[^0-9 ]/g,\'\').1T(\' \')}H(t i=0;i<4;i++){b[i]=(!b[i]&&b[i]!==0)?b[C.1e((i-2),0)]:b[i]}u(q.12){u(q.12.1x){t d=a.1T(\',\');H(t i=0;i<d.1U;i++){q.12.1x(d[i],\'1l:2Z(K.1V.2r(q, [\'+b.1W(\',\')+\']))\')}}17 u(c){t e=b.1W(\'F \')+\'F\';q.12.1z(D.2s(a+\' {Q-1f:\'+e+\'; -30-Q-1f:\'+e+\';}\'));q.12.1z(D.2s(a+\' {-1A-Q-1m-1n-1f:\'+b[0]+\'F \'+b[0]+\'F; -1A-Q-1m-1X-1f:\'+b[1]+\'F \'+b[1]+\'F; -1A-Q-1Y-1X-1f:\'+b[2]+\'F \'+b[2]+\'F; -1A-Q-1Y-1n-1f:\'+b[3]+\'F \'+b[3]+\'F;}\'))}}17 u(q.1d){q.1O.31({\'2t\':a,\'2u\':b})}},2v:y(a){2w(32.33){I\'z.Q\':I\'z.34\':I\'z.1B\':q.1o(a);13;I\'z.2x\':q.1Z(a);13;I\'z.1p\':I\'z.2y\':I\'z.2z\':q.1o(a);13;I\'z.20\':a.18.z.20=(a.z.20==\'S\')?\'S\':\'35\';13;I\'z.21\':q.22(a);13;I\'z.1c\':a.18.z.1c=a.z.1c;13}},1o:y(a){a.14.23=\'\';q.2A(a);q.1Z(a);q.1C(a);q.1D(a);q.24(a);q.2B(a);q.22(a)},22:y(a){u(a.W.21.1y(\'36\')!=-1){t b=a.W.21;b=1g(b.37(b.25(\'=\')+1,b.25(\')\')),10)/2C;H(t v 1h a.x){a.x[v].1i.38=b}}},2A:y(a){u(!a.W){1q}17{t b=a.W}a.14.1p=\'\';a.14.1E=\'\';t c=(b.1p==\'2D\');t d=M;u(b.1E!=\'S\'||a.1F){u(!a.1F){a.J=b.1E;a.J=a.J.39(5,a.J.25(\'")\')-5)}17{a.J=a.26}t e=q;u(!e.1b[a.J]){t f=D.1k(\'3a\');f.1r(\'3b\',y(){q.1s=q.3c;q.1t=q.3d;e.1D(a)});f.3e=e.16+\'3f\';f.14.23=\'1l:S; 1j:27; 1m:-2E; 1n:-2E; Q:S;\';f.26=a.J;f.2F(\'1s\');f.2F(\'1t\');D.2G.1Q(f,D.2G.1w);e.1b[a.J]=f}a.x.Z.1i.26=a.J;d=G}a.x.Z.2H=!d;a.x.Z.1G=\'S\';a.x.1u.2H=!c;a.x.1u.1G=b.1p;a.14.1E=\'S\';a.14.1p=\'2D\'},1Z:y(a){a.x.1H.1G=a.W.2x},1C:y(a){t c=[\'N\',\'19\',\'1a\',\'O\'];a.P={};H(t b=0;b<4;b++){a.P[c[b]]=1g(a.W[\'Q\'+c[b]+\'U\'],10)||0}},1D:y(c){t e=[\'O\',\'N\',\'U\',\'V\'];H(t d=0;d<4;d++){c.E[e[d]]=c[\'3g\'+e[d]]}t f=y(a,b){a.z.1n=(b?0:c.E.O)+\'F\';a.z.1m=(b?0:c.E.N)+\'F\';a.z.1s=c.E.U+\'F\';a.z.1t=c.E.V+\'F\'};H(t v 1h c.x){t g=(v==\'Z\')?1:2;c.x[v].3h=(c.E.U*g)+\', \'+(c.E.V*g);f(c.x[v],M)}f(c.18,G);u(K.1d){c.x.1H.z.28=\'-3i\';u(1R c.P==\'1S\'){q.1C(c)}c.x.1u.z.28=(c.P.N-1)+\'F \'+(c.P.O-1)+\'F\'}},24:y(j){t k=y(a,w,h,r,b,c,d){t e=a?[\'m\',\'1I\',\'l\',\'1J\',\'l\',\'1I\',\'l\',\'1J\',\'l\']:[\'1J\',\'l\',\'1I\',\'l\',\'1J\',\'l\',\'1I\',\'l\',\'m\'];b*=d;c*=d;w*=d;h*=d;t R=r.2I();H(t i=0;i<4;i++){R[i]*=d;R[i]=C.3j(w/2,h/2,R[i])}t f=[e[0]+C.11(0+b)+\',\'+C.11(R[0]+c),e[1]+C.11(R[0]+b)+\',\'+C.11(0+c),e[2]+C.15(w-R[1]+b)+\',\'+C.11(0+c),e[3]+C.15(w+b)+\',\'+C.11(R[1]+c),e[4]+C.15(w+b)+\',\'+C.15(h-R[2]+c),e[5]+C.15(w-R[2]+b)+\',\'+C.15(h+c),e[6]+C.11(R[3]+b)+\',\'+C.15(h+c),e[7]+C.11(0+b)+\',\'+C.15(h-R[3]+c),e[8]+C.11(0+b)+\',\'+C.11(R[0]+c)];u(!a){f.3k()}t g=f.1W(\'\');1q g};u(1R j.P==\'1S\'){q.1C(j)}t l=j.P;t m=j.2J.2I();t n=k(M,j.E.U,j.E.V,m,0,0,2);m[0]-=C.1e(l.O,l.N);m[1]-=C.1e(l.N,l.19);m[2]-=C.1e(l.19,l.1a);m[3]-=C.1e(l.1a,l.O);H(t i=0;i<4;i++){m[i]=C.1e(m[i],0)}t o=k(G,j.E.U-l.O-l.19,j.E.V-l.N-l.1a,m,l.O,l.N,2);t p=k(M,j.E.U-l.O-l.19+1,j.E.V-l.N-l.1a+1,m,l.O,l.N,1);j.x.1u.29=o;j.x.Z.29=p;j.x.1H.29=n+o;q.2K(j)},2B:y(a){t s=a.W;t b=[\'N\',\'O\',\'19\',\'1a\'];H(t i=0;i<4;i++){a.14[\'1B\'+b[i]]=(1g(s[\'1B\'+b[i]],10)||0)+(1g(s[\'Q\'+b[i]+\'U\'],10)||0)+\'F\'}a.14.Q=\'S\'},2K:y(e){t f=K;u(!e.J||!f.1b[e.J]){1q}t g=e.W;t h={\'X\':0,\'Y\':0};t i=y(a,b){t c=M;2w(b){I\'1n\':I\'1m\':h[a]=0;13;I\'3l\':h[a]=0.5;13;I\'1X\':I\'1Y\':h[a]=1;13;1P:u(b.1y(\'%\')!=-1){h[a]=1g(b,10)*0.3m}17{c=G}}t d=(a==\'X\');h[a]=C.15(c?((e.E[d?\'U\':\'V\']-(e.P[d?\'O\':\'N\']+e.P[d?\'19\':\'1a\']))*h[a])-(f.1b[e.J][d?\'1s\':\'1t\']*h[a]):1g(b,10));h[a]+=1};H(t b 1h h){i(b,g[\'2y\'+b])}e.x.Z.1i.1j=(h.X/(e.E.U-e.P.O-e.P.19+1))+\',\'+(h.Y/(e.E.V-e.P.N-e.P.1a+1));t j=g.2z;t c={\'T\':1,\'R\':e.E.U+1,\'B\':e.E.V+1,\'L\':1};t k={\'X\':{\'2a\':\'L\',\'2b\':\'R\',\'d\':\'U\'},\'Y\':{\'2a\':\'T\',\'2b\':\'B\',\'d\':\'V\'}};u(j!=\'2c\'){c={\'T\':(h.Y),\'R\':(h.X+f.1b[e.J].1s),\'B\':(h.Y+f.1b[e.J].1t),\'L\':(h.X)};u(j.1y(\'2c-\')!=-1){t v=j.1T(\'2c-\')[1].3n();c[k[v].2a]=1;c[k[v].2b]=e.E[k[v].d]+1}u(c.B>e.E.V){c.B=e.E.V+1}}e.x.Z.z.3o=\'3p(\'+c.T+\'F \'+c.R+\'F \'+c.B+\'F \'+c.L+\'F)\'},1v:y(a){t b=q;2d(y(){b.1o(a)},1)},2e:y(a){q.1D(a);q.24(a)},1V:y(b){q.z.1l=\'S\';u(!q.W){1q}17{t c=q.W}t d={3q:G,3r:G,3s:G,3t:G,3u:G,3v:G,3w:G};u(d[q.1K]===G){1q}t e=q;t f=K;q.2J=b;q.E={};t g={3x:\'2e\',3y:\'2e\'};u(q.1K==\'A\'){t i={3z:\'1v\',3A:\'1v\',3B:\'1v\',3C:\'1v\'};H(t a 1h i){g[a]=i[a]}}H(t h 1h g){q.1r(\'3D\'+h,y(){f[g[h]](e)})}q.1r(\'3E\',y(){f.2v(e)});t j=y(a){a.z.3F=1;u(a.W.1j==\'3G\'){a.z.1j=\'3H\'}};j(q.3I);j(q);q.18=D.1k(\'3J\');q.18.14.23=\'1l:S; 1j:27; 28:0; 1B:0; Q:0; 3K:S;\';q.18.z.1c=c.1c;q.x={\'1u\':M,\'Z\':M,\'1H\':M};H(t v 1h q.x){q.x[v]=D.1k(f.16+\':3L\');q.x[v].1i=D.1k(f.16+\':3M\');q.x[v].1z(q.x[v].1i);q.x[v].3N=G;q.x[v].z.1j=\'27\';q.x[v].z.1c=c.1c;q.x[v].3O=\'1,1\';q.18.1z(q.x[v])}q.x.Z.1G=\'S\';q.x.Z.1i.3P=\'3Q\';q.3R.1Q(q.18,q);q.1F=G;u(q.1K==\'3S\'){q.1F=M;q.z.3T=\'3U\'}2d(y(){f.1o(e)},1)}};2n{D.3V("3W",G,M)}2o(2p){}K.2f();K.2j();K.2l();u(K.1d&&D.1r&&K.2h){D.1r(\'3X\',y(){u(D.3Y==\'3Z\'){t d=K.1O;t e=d.1U;t f=y(a,b,c){2d(y(){K.1V.2r(a,b)},c*2C)};H(t i=0;i<e;i++){t g=D.2i(d[i].2t);t h=g.1U;H(t r=0;r<h;r++){u(g[r].1K!=\'40\'){f(g[r],d[i].2u,r)}}}}})}',62,249,'||||||||||||||||||||||||||this|||var|if|||vml|function|style|||Math|document|dim|px|false|for|case|vmlBg|DD_roundies||true|Top|Left|bW|border||none||Width|Height|currentStyle|||image||floor|styleSheet|break|runtimeStyle|ceil|ns|else|vmlBox|Right|Bottom|imgSize|zIndex|IE8|max|radius|parseInt|in|filler|position|createElement|behavior|top|left|applyVML|backgroundColor|return|attachEvent|width|height|color|pseudoClass|firstChild|addRule|search|appendChild|webkit|padding|vmlStrokeWeight|vmlOffsets|backgroundImage|isImg|fillcolor|stroke|qy|qx|nodeName|IE6|IE7|namespaces|selectorsToProcess|default|insertBefore|typeof|undefined|split|length|roundify|join|right|bottom|vmlStrokeColor|display|filter|vmlOpacity|cssText|vmlPath|lastIndexOf|src|absolute|margin|path|b1|b2|repeat|setTimeout|reposition|IEversion|documentMode|querySelector|querySelectorAll|createVmlNameSpace|VML|createVmlStyleSheet|documentElement|try|catch|err|toString|call|createTextNode|selector|radii|readPropertyChanges|switch|borderColor|backgroundPosition|backgroundRepeat|vmlFill|nixBorder|100|transparent|10000px|removeAttribute|body|filled|slice|DD_radii|clipImage|add|urn|schemas|microsoft|com|writeln|import|namespace|implementation|url|null|constructor|Array|replace|expression|moz|push|event|propertyName|borderWidth|block|lpha|substring|opacity|substr|img|onload|offsetWidth|offsetHeight|className|_sizeFinder|offset|coordsize|1px|min|reverse|center|01|toUpperCase|clip|rect|BODY|TABLE|TR|TD|SELECT|OPTION|TEXTAREA|resize|move|mouseleave|mouseenter|focus|blur|on|onpropertychange|zoom|static|relative|offsetParent|ignore|background|shape|fill|stroked|coordorigin|type|tile|parentNode|IMG|visibility|hidden|execCommand|BackgroundImageCache|onreadystatechange|readyState|complete|INPUT'.split('|'),0,{}));
/*
  VERSION: Drop Shadow jQuery Plugin 1.6  12-13-2007

  REQUIRES: jquery.js (verified for 1.3.2)

  SYNTAX: $(selector).dropShadow(options);  // Creates new drop shadows
          $(selector).redrawShadow();       // Redraws shadows on elements
          $(selector).removeShadow();       // Removes shadows from elements
          $(selector).shadowId();           // Returns an existing shadow's ID

  OPTIONS:

    left    : integer (default = 4)
    top     : integer (default = 4)
    blur    : integer (default = 2)
    opacity : decimal (default = 0.5)
    color   : string (default = "black")
    swap    : boolean (default = false)

  The left and top parameters specify the distance and direction, in  pixels, to
  offset the shadow. Zero values position the shadow directly behind the element.
  Positive values shift the shadow to the right and down, while negative values 
  shift the shadow to the left and up.
  
  The blur parameter specifies the spread, or dispersion, of the shadow. Zero 
  produces a sharp shadow, one or two produces a normal shadow, and three or four
  produces a softer shadow. Higher values increase the processing load.
  
  The opacity parameter should be a decimal value, usually less than one. You can
  use a value higher than one in special situations, e.g. with extreme blurring. 
  
  Color is specified in the usual manner, with a color name or hex value. The
  color parameter does not apply with transparent images.
  
  The swap parameter reverses the stacking order of the original and the shadow.
  This can be used for special effects, like an embossed or engraved look.

  EXPLANATION:
  
  This jQuery plug-in adds soft drop shadows behind page elements. It is only
  intended for adding a few drop shadows to mostly stationary objects, like a
  page heading, a photo, or content containers.

  The shadows it creates are not bound to the original elements, so they won't
  move or change size automatically if the original elements change. A window
  resize event listener is assigned, which should re-align the shadows in many
  cases, but if the elements otherwise move or resize you will have to handle
  those events manually. Shadows can be redrawn with the redrawShadow() method
  or removed with the removeShadow() method. The redrawShadow() method uses the
  same options used to create the original shadow. If you want to change the
  options, you should remove the shadow first and then create a new shadow.
  
  The dropShadow method returns a jQuery collection of the new shadow(s). If
  further manipulation is required, you can store it in a variable like this:

    var myShadow = $("#myElement").dropShadow();

  You can also read the ID of the shadow from the original element at a later
  time. To get a shadow's ID, either read the shadowId attribute of the
  original element or call the shadowId() method. For example:

    var myShadowId = $("#myElement").attr("shadowId");  or
    var myShadowId = $("#myElement").shadowId();

  If the original element does not already have an ID assigned, a random ID will
  be generated for the shadow. However, if the original does have an ID, the 
  shadow's ID will be the original ID and "_dropShadow". For example, if the
  element's ID is "myElement", the shadow's ID would be "myElement_dropShadow".

  If you have a long piece of text and the user resizes the window so that the
  text wraps or unwraps, the shape of the text changes and the words are no
  longer in the same positions. In that case, you can either preset the height
  and width, so that it becomes a fixed box, or you can shadow each word
  separately, like this:

    <h1><span>Your</span> <span>Page</span> <span>Title</span></h1>

    $("h1 span").dropShadow();

  The dropShadow method attempts to determine whether the selected elements have
  transparent backgrounds. If you want to shadow the content inside an element,
  like text or a transparent image, it must not have a background-color or
  background-image style. If the element has a solid background it will create a
  rectangular shadow around the outside box.

  The shadow elements are positioned absolutely one layer below the original 
  element, which is positioned relatively (unless it's already absolute).

  *** All shadows have the "dropShadow" class, for selecting with CSS or jQuery.

  ISSUES:
  
    1)  Limited styling of shadowed elements by ID. Because IDs must be unique,
        and the shadows have their own ID, styles applied by ID won't transfer
        to the shadows. Instead, style elements by class or use inline styles.
    2)  Sometimes shadows don't align properly. Elements may need to be wrapped
        in container elements, margins or floats changed, etc. or you may just 
        have to tweak the left and top offsets to get them to align. For example,
        with draggable objects, you have to wrap them inside two divs. Make the 
        outer div draggable and set the inner div's position to relative. Then 
        you can create a shadow on the element inside the inner div.
    3)  If the user changes font sizes it will throw the shadows off. Browsers 
        do not expose an event for font size changes. The only known way to 
        detect a user font size change is to embed an invisible text element and
        then continuously poll for changes in size.
    4)  Safari support is shaky, and may require even more tweaks/wrappers, etc.
    
    The bottom line is that this is a gimick effect, not PFM, and if you push it
    too hard or expect it to work in every possible situation on every browser,
    you will be disappointed. Use it sparingly, and don't use it for anything 
    critical. Otherwise, have fun with it!
        
  AUTHOR: Larry Stevens.  This work is in the public domain,
          and is not supported in any way. Use it at your own risk.
*/


(function($){

  var dropShadowZindex = 1;  //z-index counter

  $.fn.dropShadow = function(options)
  {
    // Default options
    var opt = $.extend({
      left: 4,
      top: 4,
      blur: 2,
      opacity: .5,
      color: "black",
      swap: false
      }, options);
    var jShadows = $([]);  //empty jQuery collection
    
    // Loop through original elements
    this.not(".dropShadow").each(function()
    {
      var jthis = $(this);
      var shadows = [];
      var blur = (opt.blur <= 0) ? 0 : opt.blur;
      var opacity = (blur == 0) ? opt.opacity : opt.opacity / (blur * 8);
      var zOriginal = (opt.swap) ? dropShadowZindex : dropShadowZindex + 1;
      var zShadow = (opt.swap) ? dropShadowZindex + 1 : dropShadowZindex;
      
      // Create ID for shadow
      var shadowId;
      if (this.id) {
        shadowId = this.id + "_dropShadow";
      }
      else {
        shadowId = "ds" + (1 + Math.floor(9999 * Math.random()));
      }

      // Modify original element
      $.data(this, "shadowId", shadowId); //store id in expando
      $.data(this, "shadowOptions", options); //store options in expando
      jthis
        .attr("shadowId", shadowId)
        .css("zIndex", zOriginal);
      if (jthis.css("position") != "absolute") {
        jthis.css({
          position: "relative",
          zoom: 1 //for IE layout
        });
      }

      // Create first shadow layer
      bgColor = jthis.css("backgroundColor");
      if (bgColor == "rgba(0, 0, 0, 0)") bgColor = "transparent";  //Safari
      if (bgColor != "transparent" || jthis.css("backgroundImage") != "none" 
          || this.nodeName == "SELECT" 
          || this.nodeName == "INPUT"
          || this.nodeName == "TEXTAREA") {   
        shadows[0] = $("<div></div>")
          .css("background", opt.color);                
      }
      else {
        shadows[0] = jthis
          .clone()
          .removeAttr("id")
          .removeAttr("name")
          .removeAttr("shadowId")
          .css("color", opt.color);
      }
      shadows[0]
        .addClass("dropShadow")
        .css({
          height: jthis.outerHeight(),
          left: blur,
          opacity: opacity,
          position: "absolute",
          top: blur,
          width: jthis.outerWidth(),
          zIndex: zShadow
        });
        
      // Create other shadow layers
      var layers = (8 * blur) + 1;
      for (i = 1; i < layers; i++) {
        shadows[i] = shadows[0].clone();
      }

      // Position layers
      var i = 1;      
      var j = blur;
      while (j > 0) {
        shadows[i].css({left: j * 2, top: 0});           //top
        shadows[i + 1].css({left: j * 4, top: j * 2});   //right
        shadows[i + 2].css({left: j * 2, top: j * 4});   //bottom
        shadows[i + 3].css({left: 0, top: j * 2});       //left
        shadows[i + 4].css({left: j * 3, top: j});       //top-right
        shadows[i + 5].css({left: j * 3, top: j * 3});   //bottom-right
        shadows[i + 6].css({left: j, top: j * 3});       //bottom-left
        shadows[i + 7].css({left: j, top: j});           //top-left
        i += 8;
        j--;
      }

      // Create container
      var divShadow = $("<div></div>")
        .attr("id", shadowId) 
        .addClass("dropShadow")
        .css({
          left: jthis.position().left + opt.left - blur,
          marginTop: jthis.css("marginTop"),
          marginRight: jthis.css("marginRight"),
          marginBottom: jthis.css("marginBottom"),
          marginLeft: jthis.css("marginLeft"),
          position: "absolute",
          top: jthis.position().top + opt.top - blur,
          zIndex: zShadow
        });

      // Add layers to container  
      for (i = 0; i < layers; i++) {
        divShadow.append(shadows[i]);
      }
      
      // Add container to DOM
      jthis.after(divShadow);

      // Add shadow to return set
      jShadows = jShadows.add(divShadow);

      // Re-align shadow on window resize
      $(window).resize(function()
      {
        try {
          divShadow.css({
            left: jthis.position().left + opt.left - blur,
            top: jthis.position().top + opt.top - blur
          });
        }
        catch(e){}
      });
      
      // Increment z-index counter
      dropShadowZindex += 2;

    });  //end each
    
    return this.pushStack(jShadows);
  };


  $.fn.redrawShadow = function()
  {
    // Remove existing shadows
    this.removeShadow();
    
    // Draw new shadows
    return this.each(function()
    {
      var shadowOptions = $.data(this, "shadowOptions");
      $(this).dropShadow(shadowOptions);
    });
  };


  $.fn.removeShadow = function()
  {
    return this.each(function()
    {
      var shadowId = $(this).shadowId();
      $("div#" + shadowId).remove();
    });
  };


  $.fn.shadowId = function()
  {
    return $.data(this[0], "shadowId");
  };


  $(function()  
  {
    // Suppress printing of shadows
    var noPrint = "<style type='text/css' media='print'>";
    noPrint += ".dropShadow{visibility:hidden;}</style>";
    $("head").append(noPrint);
  });

})(jQuery);;
      window.onload = function()  
      {
        $("#sidebar-last .button .inner, #sidebar-first .button .inner").dropShadow({left: 0, top: 0, opacity: 0.15, blur: 2});
      };
DD_roundies.addRule('.search-box .inner, .roundie', '10px', true);
DD_roundies.addRule('img.imagefield-field_content_page_main_image, .rotator .views-field-view-node a, .view-node a', '5px', true);;

