/******************************************************************************
Name:    Highslide JS
Version: 4.1.8 (October 27 2009)
Config:  default +events +unobtrusive +imagemap +slideshow +positioning +transitions +viewport +thumbstrip +inline +ajax +iframe +flash +packed
Author:  Torstein HÃ¸nsi
Support: http://highslide.com/support

Licence:
Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5
License (http://creativecommons.org/licenses/by-nc/2.5/).

You are free:
	* to copy, distribute, display, and perform the work
	* to make derivative works

Under the following conditions:
	* Attribution. You must attribute the work in the manner  specified by  the
	  author or licensor.
	* Noncommercial. You may not use this work for commercial purposes.

* For  any  reuse  or  distribution, you  must make clear to others the license
  terms of this work.
* Any  of  these  conditions  can  be  waived  if  you  get permission from the 
  copyright holder.

Your fair use and other rights are in no way affected by the above.
******************************************************************************/
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('q(!m){A m={11:{9m:\'aE\',aR:\'dD...\',aD:\'8I 2d dE\',bk:\'8I 2d dC 2d dB\',9j:\'dz 2d dA D (f)\',cz:\'dF by <i>aa a7</i>\',cL:\'dG 2d dL aa a7 dM\',8x:\'ae\',8y:\'a8\',8j:\'ad\',8p:\'am\',8n:\'am (dK)\',aX:\'dJ\',a6:\'al\',at:\'al 1p (ag)\',bd:\'ap\',ab:\'ap 1p (ag)\',8w:\'ae (8N 18)\',8A:\'a8 (8N 3m)\',8s:\'ad\',aZ:\'1:1\',3G:\'dI %1 dy %2\',9E:\'8I 2d 24 2L, dx ai dn 2d 3x. do 8N dm O 1C ai 3c.\'},4Y:\'K/di/\',7M:\'dj.54\',6r:\'dk.54\',6Z:5G,8Y:5G,4B:15,90:15,5g:15,6z:15,4w:dp,b7:0.75,9t:L,9b:5,3R:2,dq:3,5F:1l,bn:\'4H 3m\',bp:1,bR:L,ck:\'dv://K.dw/\',cj:\'du\',aI:L,91:[\'a\',\'5k\'],3k:[],cx:5G,45:0,89:50,6Q:1l,6R:L,4E:L,3Q:\'60\',7W:L,4c:\'1P\',9q:\'1P\',aV:I,aW:I,9L:L,4I:an,6p:an,5U:L,1Y:\'dr-ds\',8g:{2U:\'<Q 1X="K-2U"><5V>\'+\'<1L 1X="K-3c">\'+\'<a 23="#" 2i="{m.11.8w}">\'+\'<1D>{m.11.8x}</1D></a>\'+\'</1L>\'+\'<1L 1X="K-3O">\'+\'<a 23="#" 2i="{m.11.at}">\'+\'<1D>{m.11.a6}</1D></a>\'+\'</1L>\'+\'<1L 1X="K-3h">\'+\'<a 23="#" 2i="{m.11.ab}">\'+\'<1D>{m.11.bd}</1D></a>\'+\'</1L>\'+\'<1L 1X="K-1C">\'+\'<a 23="#" 2i="{m.11.8A}">\'+\'<1D>{m.11.8y}</1D></a>\'+\'</1L>\'+\'<1L 1X="K-3x">\'+\'<a 23="#" 2i="{m.11.8s}">\'+\'<1D>{m.11.8j}</1D></a>\'+\'</1L>\'+\'<1L 1X="K-19-2F">\'+\'<a 23="#" 2i="{m.11.9j}">\'+\'<1D>{m.11.aZ}</1D></a>\'+\'</1L>\'+\'<1L 1X="K-24">\'+\'<a 23="#" 2i="{m.11.8n}" >\'+\'<1D>{m.11.8p}</1D></a>\'+\'</1L>\'+\'</5V></Q>\',b5:\'<Q 1X="K-ed"><5V>\'+\'<1L 1X="K-3c">\'+\'<a 23="#" 2i="{m.11.8w}" 2m="E m.3c(k)">\'+\'<1D>{m.11.8x}</1D></a>\'+\'</1L>\'+\'<1L 1X="K-1C">\'+\'<a 23="#" 2i="{m.11.8A}" 2m="E m.1C(k)">\'+\'<1D>{m.11.8y}</1D></a>\'+\'</1L>\'+\'<1L 1X="K-3x">\'+\'<a 23="#" 2i="{m.11.8s}" 2m="E 1l">\'+\'<1D>{m.11.8j}</1D></a>\'+\'</1L>\'+\'<1L 1X="K-24">\'+\'<a 23="#" 2i="{m.11.8n}" 2m="E m.24(k)">\'+\'<1D>{m.11.8p}</1D></a>\'+\'</1L>\'+\'</5V></Q>\'+\'<Q 1X="K-1f"></Q>\'+\'<Q 1X="K-ef"><Q>\'+\'<1D 1X="K-3Y" 2i="{m.11.aX}"><1D></1D></1D>\'+\'</Q></Q>\'},6u:[],9C:L,14:[],a3:[\'5U\',\'3w\',\'4c\',\'9q\',\'aV\',\'aW\',\'1Y\',\'3R\',\'ek\',\'em\',\'ej\',\'b3\',\'ei\',\'eg\',\'eh\',\'b2\',\'cJ\',\'9L\',\'3V\',\'66\',\'3k\',\'45\',\'M\',\'N\',\'9R\',\'6Q\',\'6R\',\'4E\',\'e7\',\'e6\',\'dh\',\'2E\',\'7W\',\'46\',\'4C\',\'3Q\',\'8c\',\'9W\',\'4I\',\'6p\',\'6N\',\'9o\',\'2M\',\'2P\',\'cp\',\'ct\',\'1d\'],1S:[],5I:0,8W:{x:[\'bJ\',\'18\',\'4y\',\'3m\',\'bK\'],y:[\'6v\',\'16\',\'9D\',\'4H\',\'7J\']},7B:{},b2:{},b3:{},8c:{aH:{},26:{},az:{}},3X:[],6b:[],4i:{},4v:[],7u:[],5e:[],7m:{},7R:{},77:[],3J:/dV\\/4\\.0/.1b(4n.6d)?8:8R((4n.6d.5u().2s(/.+(?:av|dT|dS|1E)[\\/: ]([\\d.]+)/)||[0,\'0\'])[1]),1E:(W.6j&&!2c.3T),4z:/cu/.1b(4n.6d),6f:/dP.+av:1\\.[0-8].+dR/.1b(4n.6d),$:C(1v){q(1v)E W.7X(1v)},2o:C(28,3o){28[28.V]=3o},1c:C(ba,3W,4f,68,bb){A el=W.1c(ba);q(3W)m.3L(el,3W);q(bb)m.R(el,{7T:0,8v:\'1B\',9z:0});q(4f)m.R(el,4f);q(68)68.21(el);E el},3L:C(el,3W){O(A x 3a 3W)el[x]=3W[x];E el},R:C(el,4f){O(A x 3a 4f){q(m.1E&&x==\'1A\'){q(4f[x]>0.99)el.G.e4(\'6a\');J el.G.6a=\'b9(1A=\'+(4f[x]*2w)+\')\'}J el.G[x]=4f[x]}},2x:C(el,1g,3y){A 4A,5d,4s;q(1F 3y!=\'7z\'||3y===I){A 2H=bh;3y={4a:2H[2],2P:2H[3],6L:2H[4]}}q(1F 3y.4a!=\'3G\')3y.4a=5G;3y.2P=1h[3y.2P]||1h.b6;3y.7e=m.3L({},1g);O(A 3d 3a 1g){A e=1I m.fx(el,3y,3d);4A=8R(m.8t(el,3d))||0;5d=8R(1g[3d]);4s=3d!=\'1A\'?\'F\':\'\';e.3r(4A,5d,4s)}},8t:C(el,1g){q(W.7S){E W.7S.bx(el,I).ca(1g)}J{q(1g==\'1A\')1g=\'6a\';A 3o=el.6q[1g.2h(/\\-(\\w)/g,C(a,b){E b.b1()})];q(1g==\'6a\')3o=3o.2h(/b9\\(1A=([0-9]+)\\)/,C(a,b){E b/2w});E 3o===\'\'?1:3o}},7I:C(){A d=W,w=2c,5L=d.7G&&d.7G!=\'8S\'?d.56:d.1f;A M=m.1E?5L.8i:(d.56.8i||7c.e2),N=m.1E?5L.cK:7c.e0;m.4u={M:M,N:N,5w:m.1E?5L.5w:e1,5z:m.1E?5L.5z:cP}},6C:C(el){q(/5k/i.1b(el.3E)){A 73=W.2u(\'1N\');O(A i=0;i<73.V;i++){A u=73[i].cY;q(u&&u.2h(/^.*?#/,\'\')==el.22.3d){el=73[i];5i}}}A p={x:el.4F,y:el.80};4Z(el.b8){el=el.b8;p.x+=el.4F;p.y+=el.80;q(el!=W.1f&&el!=W.56){p.x-=el.5w;p.y-=el.5z}}E p},2F:C(a,26,3r,U){q(!a)a=m.1c(\'a\',I,{1n:\'1B\'},m.2a);q(1F a.5K==\'C\')E 26;q(U==\'3A\'){O(A i=0;i<m.4v.V;i++){q(m.4v[i]&&m.4v[i].a==a){m.4v[i].c8();m.4v[i]=I;E 1l}}m.aK=L}1w{1I m.69(a,26,3r,U);E 1l}1t(e){E L}},95:C(a,26,3r){E m.2F(a,26,3r,\'3A\')},9O:C(){E m.1c(\'Q\',{1a:\'K-3A-S\',2g:m.8a(m.8g.b5)})},4J:C(el,3E,1a){A 1m=el.2u(3E);O(A i=0;i<1m.V;i++){q((1I 5p(1a)).1b(1m[i].1a)){E 1m[i]}}E I},8a:C(s){s=s.2h(/\\s/g,\' \');A 2k=/{m\\.11\\.([^}]+)\\}/g,6i=s.2s(2k),11;q(6i)O(A i=0;i<6i.V;i++){11=6i[i].2h(2k,"$1");q(1F m.11[11]!=\'1T\')s=s.2h(6i[i],m.11[11])}E s},cf:C(){A 1m=W.2u(\'a\');O(A i=0;i<1m.V;i++){A U=m.aC(1m[i]);q(U&&!1m[i].aS){(C(){A t=U;q(m.1z(m,\'cX\',{7b:1m[i],U:t})){1m[i].2m=(U==\'2L\')?C(){E m.2F(k)}:C(){E m.95(k,{2E:t})}}})();1m[i].aS=L}}m.5Z()},aC:C(el){q(el.7k==\'K\')E\'2L\';J q(el.7k==\'K-2R\')E\'2R\';J q(el.7k==\'K-1i\')E\'1i\';J q(el.7k==\'K-3t\')E\'3t\'},7Y:C(a){O(A i=0;i<m.5e.V;i++){q(m.5e[i][0]==a){A c=m.5e[i][1];m.5e[i][1]=c.6s(1);E c}}E I},bG:C(e){A 28=m.5Z();O(A i=0;i<28.5s.V;i++){A a=28.5s[i];q(m.44(a,\'2E\')==\'2R\'&&m.44(a,\'7W\'))m.2o(m.7u,a)}m.7Z(0)},7Z:C(i){q(!m.7u[i])E;A a=m.7u[i];A 64=m.4x(m.44(a,\'9R\'));q(!64)64=m.9O();A 2R=1I m.7A(a,64,1);2R.8X=C(){};2R.3u=C(){m.2o(m.5e,[a,64]);m.7Z(i+1)};2R.94()},aL:C(){A 7V=0,7t=-1,14=m.14,B,1G;O(A i=0;i<14.V;i++){B=14[i];q(B){1G=B.T.G.1G;q(1G&&1G>7V){7V=1G;7t=i}}}q(7t==-1)m.30=-1;J 14[7t].3B()},44:C(a,5P){a.5K=a.2m;A p=a.5K?a.5K():I;a.5K=I;E(p&&1F p[5P]!=\'1T\')?p[5P]:(1F m[5P]!=\'1T\'?m[5P]:I)},76:C(a){A 1d=m.44(a,\'1d\');q(1d)E 1d;E a.23},4x:C(1v){A 1M=m.$(1v),4Q=m.7R[1v],a={};q(!1M&&!4Q)E I;q(!4Q){4Q=1M.6s(L);4Q.1v=\'\';m.7R[1v]=4Q;E 1M}J{E 4Q.6s(L)}},3D:C(d){q(d)m.97.21(d);m.97.2g=\'\'},1x:C(B){q(!m.2S){m.2S=m.1c(\'Q\',{1a:\'K-dd K-2B-D\',6e:\'\',2m:C(){q(m.1z(m,\'de\'))m.24()}},{1o:\'1Z\',1A:0},m.2a,L)}m.2S.G.1n=\'\';m.2S.6e+=\'|\'+B.P;q(m.6f&&m.aP)m.R(m.2S,{9K:\'7E(\'+m.4Y+\'d5.au)\',1A:1});J m.2x(m.2S,{1A:B.45},m.89)},93:C(P){q(!m.2S)E;q(1F P!=\'1T\')m.2S.6e=m.2S.6e.2h(\'|\'+P,\'\');q((1F P!=\'1T\'&&m.2S.6e!=\'\')||(m.2r&&m.44(m.2r,\'45\')))E;q(m.6f&&m.aP)m.2S.G.1n=\'1B\';J m.2x(m.2S,{1A:0},m.89,I,C(){m.2S.G.1n=\'1B\'})},8Q:C(7r,B){A 1j=B=B||m.2C();q(m.2r)E 1l;J m.1j=1j;1w{m.2r=7r;7r.2m()}1t(e){m.1j=m.2r=I}1w{q(!7r||B.3k[1]!=\'43\')B.24()}1t(e){}E 1l},7q:C(el,2p){A B=m.2C(el);q(B)E m.8Q(B.8V(2p),B);J E 1l},3c:C(el){E m.7q(el,-1)},1C:C(el){E m.7q(el,1)},6V:C(e){q(!e)e=2c.2y;q(!e.2G)e.2G=e.a0;q(1F e.2G.9X!=\'1T\')E L;q(!m.1z(m,\'cM\',e))E L;A B=m.2C();A 2p=I;aq(e.dg){2b 70:q(B)B.7v();E L;2b 32:2p=2;5i;2b 34:2b 39:2b 40:2p=1;5i;2b 8:2b 33:2b 37:2b 38:2p=-1;5i;2b 27:2b 13:2p=0}q(2p!==I){q(2p!=2)m.5n(W,2c.3T?\'9c\':\'9d\',m.6V);q(!m.aI)E L;q(e.4X)e.4X();J e.bl=1l;q(B){q(2p==0){B.24()}J q(2p==2){q(B.1p)B.1p.bm()}J{q(B.1p)B.1p.3h();m.7q(B.P,2p)}E 1l}}E L},df:C(Z){m.2o(m.1S,m.3L(Z,{1V:\'1V\'+m.5I++}))},d9:C(1r){A 3b=1r.2M;q(1F 3b==\'7z\'){O(A i=0;i<3b.V;i++){A o={};O(A x 3a 1r)o[x]=1r[x];o.2M=3b[i];m.2o(m.6b,o)}}J{m.2o(m.6b,1r)}},9P:C(7b,7p){A el,2k=/^K-T-([0-9]+)$/;el=7b;4Z(el.22){q(el.6T!==1T)E el.6T;q(el.1v&&2k.1b(el.1v))E el.1v.2h(2k,"$1");el=el.22}q(!7p){el=7b;4Z(el.22){q(el.3E&&m.6M(el)){O(A P=0;P<m.14.V;P++){A B=m.14[P];q(B&&B.a==el)E P}}el=el.22}}E I},2C:C(el,7p){q(1F el==\'1T\')E m.14[m.30]||I;q(1F el==\'3G\')E m.14[el]||I;q(1F el==\'9n\')el=m.$(el);E m.14[m.9P(el,7p)]||I},6M:C(a){E(a.2m&&a.2m.cA().2h(/\\s/g,\' \').2s(/m.(d2|e)d4/))},bj:C(){O(A i=0;i<m.14.V;i++)q(m.14[i]&&m.14[i].6n)m.aL()},1z:C(5Y,9T,2H){E 5Y&&5Y[9T]?(5Y[9T](5Y,2H)!==1l):L},8d:C(e){q(!e)e=2c.2y;q(e.d7>1)E L;q(!e.2G)e.2G=e.a0;A el=e.2G;4Z(el.22&&!(/K-(2L|3x|3A|3Y)/.1b(el.1a))){el=el.22}A B=m.2C(el);q(B&&(B.5D||!B.6n))E L;q(B&&e.U==\'88\'){q(e.2G.9X)E L;A 2s=el.1a.2s(/K-(2L|3x|3Y)/);q(2s){m.2v={B:B,U:2s[1],18:B.x.H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)E;q(!B||!e.9Y||m.2C(e.9Y,L)==B||m.2v)E;m.1z(B,6t?\'fk\':\'fy\',e);O(A i=0;i<B.1S.V;i++)(C(){A o=m.$(\'1V\'+B.1S[i]);q(o&&o.7f){q(6t)m.R(o,{1o:\'1Z\',1n:\'\'});m.2x(o,{1A:6t?o.1A:0},o.41)}})()}1t(e){}},2n:C(el,2y,3U){q(el==W&&2y==\'42\')m.2o(m.77,3U);1w{el.2n(2y,3U,1l)}1t(e){1w{el.aF(\'6w\'+2y,3U);el.fv(\'6w\'+2y,3U)}1t(e){el[\'6w\'+2y]=3U}}},5n:C(el,2y,3U){1w{el.5n(2y,3U,1l)}1t(e){1w{el.aF(\'6w\'+2y,3U)}1t(e){el[\'6w\'+2y]=I}}},7j:C(i){q(m.9C&&m.6u[i]&&m.6u[i]!=\'1T\'){A 1N=W.1c(\'1N\');1N.4O=C(){1N=I;m.7j(i+1)};1N.1d=m.6u[i]}},cg:C(3G){q(3G&&1F 3G!=\'7z\')m.9b=3G;A 28=m.5Z();O(A i=0;i<28.5l.V&&i<m.9b;i++){m.2o(m.6u,m.76(28.5l[i]))}q(m.1Y)1I m.5A(m.1Y,C(){m.7j(0)});J m.7j(0);q(m.6r)A 54=m.1c(\'1N\',{1d:m.4Y+m.6r})},7y:C(){q(!m.2a){m.7I();m.5c=m.1E&&m.3J<7;m.c0=m.5c&&81.fw==\'fA:\';O(A x 3a m.7i){q(1F m[x]!=\'1T\')m.11[x]=m[x];J q(1F m.11[x]==\'1T\'&&1F m.7i[x]!=\'1T\')m.11[x]=m.7i[x]}m.2a=m.1c(\'Q\',{1a:\'K-2a\'},{1k:\'2l\',18:0,16:0,M:\'2w%\',1G:m.4w,9r:\'aE\'},W.1f,L);m.2q=m.1c(\'a\',{1a:\'K-2q\',2i:m.11.aD,2g:m.11.aR,23:\'bH:;\'},{1k:\'2l\',16:\'-4l\',1A:m.b7,1G:1},m.2a);m.97=m.1c(\'Q\',I,{1n:\'1B\'},m.2a);m.2B=m.1c(\'Q\',{1a:\'K-2B K-2B-D\'},{1o:(m.4z&&m.3J<cy)?\'1Z\':\'1q\'},m.2a,1);m.3v=m.1c(\'Q\',I,{aw:\'aA\',fQ:\'fP\'},I,L);1h.fS=C(t,b,c,d){E c*t/d+b};1h.b6=C(t,b,c,d){E c*(t/=d)*t+b};1h.8M=C(t,b,c,d){E-c*(t/=d)*(t-2)+b};m.c9=m.5c;m.bz=((2c.3T&&m.3J<9)||4n.aU==\'aT\'||(m.1E&&m.3J<5.5));m.1z(k,\'fT\')}},42:C(){q(m.9f)E;m.9f=L;O(A i=0;i<m.77.V;i++)m.77[i]()},85:C(){A el,1m,6j=[],5l=[],5s=[],3e={},2k;O(A i=0;i<m.91.V;i++){1m=W.2u(m.91[i]);O(A j=0;j<1m.V;j++){el=1m[j];2k=m.6M(el);q(2k){m.2o(6j,el);q(2k[0]==\'m.2F\')m.2o(5l,el);J q(2k[0]==\'m.95\')m.2o(5s,el);A g=m.44(el,\'2M\')||\'1B\';q(!3e[g])3e[g]=[];m.2o(3e[g],el)}}}m.4G={6j:6j,3e:3e,5l:5l,5s:5s};E m.4G},5Z:C(){E m.4G||m.85()},24:C(el){A B=m.2C(el);q(B)B.24();E 1l}};m.fx=C(36,1r,1g){k.1r=1r;k.36=36;k.1g=1g;q(!1r.bc)1r.bc={}};m.fx.4V={96:C(){(m.fx.3C[k.1g]||m.fx.3C.ac)(k);q(k.1r.3C)k.1r.3C.af(k.36,k.4L,k)},3r:C(8r,2d,4s){k.9u=(1I 7a()).79();k.4A=8r;k.5d=2d;k.4s=4s;k.4L=k.4A;k.H=k.9i=0;A 7c=k;C t(7d){E 7c.3C(7d)}t.36=k.36;q(t()&&m.3X.2o(t)==1){m.aY=fN(C(){A 3X=m.3X;O(A i=0;i<3X.V;i++)q(!3X[i]())3X.fG(i--,1);q(!3X.V){fE(m.aY)}},13)}},3C:C(7d){A t=(1I 7a()).79();q(7d||t>=k.1r.4a+k.9u){k.4L=k.5d;k.H=k.9i=1;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d=B.2t;q(k.92===1T)k.92=B.1s[\'1y\'+k.3f]-d[\'1y\'+k.3f];d.G[k.3j]=(k.D-k.92)+\'F\';q(k.1x==\'x\')B.48.G.M=\'1P\';q(B.1f)B.1f.G[k.3j]=\'1P\'}q(k.1x==\'x\'&&B.1u)B.5o(L);q(k.1x==\'x\'&&B.1p&&B.2I){q(i==k.19)B.1p.58(\'19-2F\');J B.1p.4R(\'19-2F\')}},9U:C(i){k.H=i;k.B.T.G[k.6U]=i+\'F\';q(k.B.1e)k.B.1e.4D()}};m.69=C(a,26,3r,3g){q(W.bu&&m.1E&&!m.9f){m.2n(W,\'42\',C(){1I m.69(a,26,3r,3g)});E}k.a=a;k.3r=3r;k.3g=3g||\'2L\';k.2z=(3g==\'3A\');k.2I=!k.2z;m.9C=1l;k.1S=[];k.1j=m.1j;m.1j=I;m.7y();A P=k.P=m.14.V;O(A i=0;i<m.a3.V;i++){A 3d=m.a3[i];k[3d]=26&&1F 26[3d]!=\'1T\'?26[3d]:m[3d]}q(!k.1d)k.1d=a.23;A el=(26&&26.87)?m.$(26.87):a;el=k.aB=el.2u(\'1N\')[0]||el;k.7O=el.1v||a.1v;q(!m.1z(k,\'f8\'))E L;O(A i=0;i<m.14.V;i++){q(m.14[i]&&m.14[i].a==a&&!(k.1j&&k.3k[1]==\'43\')){m.14[i].3B();E 1l}}q(!m.fc)O(A i=0;i<m.14.V;i++){q(m.14[i]&&m.14[i].aB!=el&&!m.14[i].6I){m.14[i].6B()}}m.14[P]=k;q(!m.9t&&!m.2r){q(m.14[P-1])m.14[P-1].24();q(1F m.30!=\'1T\'&&m.14[m.30])m.14[m.30].24()}k.el=el;k.1J=m.6C(el);m.7I();A x=k.x=1I m.6O(k,\'x\');x.9Z();A y=k.y=1I m.6O(k,\'y\');y.9Z();q(/5k/i.1b(el.3E))k.ak(el);k.T=m.1c(\'Q\',{1v:\'K-T-\'+k.P,1a:\'K-T \'+k.9W},{1o:\'1q\',1k:\'2l\',1G:m.4w+=2},I,L);k.T.f0=k.T.eT=m.aG;q(k.3g==\'2L\'&&k.3R==2)k.3R=0;q(!k.1Y||(k.1j&&k.2I&&k.3k[1]==\'43\')){k[k.3g+\'9J\']()}J q(m.4i[k.1Y]){k.9I();k[k.3g+\'9J\']()}J{k.65();A B=k;1I m.5A(k.1Y,C(){B.9I();B[B.3g+\'9J\']()})}E L};m.69.4V={9y:C(e){2c.81.23=k.1d},9I:C(){A 1e=k.1e=m.4i[k.1Y];1e.B=k;1e.2e.G.1G=k.T.G.1G-1;m.4i[k.1Y]=I},65:C(){q(k.6I||k.2q)E;k.2q=m.2q;A B=k;k.2q.2m=C(){B.6B()};q(!m.1z(k,\'eQ\'))E;A B=k,l=k.x.Y(\'9F\')+\'F\',t=k.y.Y(\'9F\')+\'F\';q(!2W&&k.1j&&k.3k[1]==\'43\')A 2W=k.1j;q(2W){l=2W.x.Y(\'9G\')+\'F\';t=2W.y.Y(\'9G\')+\'F\';k.2q.G.1G=m.4w++}49(C(){q(B.2q)m.R(B.2q,{18:l,16:t,1G:m.4w++})},2w)},eY:C(){A B=k;A 1N=W.1c(\'1N\');k.S=1N;1N.4O=C(){q(m.14[B.P])B.67()};q(m.eX)1N.eW=C(){E 1l};1N.1a=\'K-2L\';m.R(1N,{1o:\'1q\',1n:\'3M\',1k:\'2l\',6N:\'4l\',1G:3});1N.2i=m.11.9E;q(m.4z)m.2a.21(1N);q(m.1E&&m.eZ)1N.1d=I;1N.1d=k.1d;k.65()},eU:C(){q(!m.1z(k,\'eP\'))E;k.S=m.7Y(k.a);q(!k.S)k.S=m.4x(k.9R);q(!k.S)k.S=m.9O();k.a4([\'6E\']);q(k.6E){A 1f=m.4J(k.S,\'Q\',\'K-1f\');q(1f)1f.21(k.6E);k.6E.G.1n=\'3M\'}m.1z(k,\'eS\');A 1s=k.1s=k.S;q(/(3t|1i)/.1b(k.2E))k.8T(1s);m.2a.21(k.T);m.R(k.T,{1k:\'f1\',7T:\'0 \'+m.90+\'F 0 \'+m.4B+\'F\'});k.S=m.1c(\'Q\',{1a:\'K-3A\'},{1k:\'4m\',1G:3,2j:\'1q\'},k.T);k.48=m.1c(\'Q\',I,I,k.S,1);k.48.21(1s);m.R(1s,{1k:\'4m\',1n:\'3M\',9r:m.11.9m||\'\'});q(k.M)1s.G.M=k.M+\'F\';q(k.N)m.R(1s,{N:k.N+\'F\',2j:\'1q\'});q(1s.1R<k.4I)1s.G.M=k.4I+\'F\';q(k.2E==\'2R\'&&!m.7Y(k.a)){k.65();A B=k;A 2R=1I m.7A(k.a,1s);2R.1d=k.1d;2R.3u=C(){q(m.14[B.P])B.67()};2R.8X=C(){81.23=B.1d};2R.94()}J q(k.2E==\'1i\'&&k.3Q==\'60\'){k.6A()}J k.67()},67:C(){1w{q(!k.S)E;k.S.4O=I;q(k.6I)E;J k.6I=L;A x=k.x,y=k.y;q(k.2q){m.R(k.2q,{16:\'-4l\'});k.2q=I;m.1z(k,\'cl\')}q(k.2I){x.19=k.S.M;y.19=k.S.N;m.R(k.S,{M:x.t+\'F\',N:y.t+\'F\'});k.T.21(k.S);m.2a.21(k.T)}J q(k.7Q)k.7Q();x.83();y.83();m.R(k.T,{18:(x.1J+x.3i-x.cb)+\'F\',16:(y.1J+x.3i-y.cb)+\'F\'});k.9l();k.bT();A 2X=x.19/y.19;x.86();k.2O(x);y.86();k.2O(y);q(k.2z)k.b4();q(k.1u)k.5o(0,1);q(k.5U){q(k.2I)k.cr(2X);J k.7P();A 1O=k.1p;q(1O&&k.1j&&1O.2U&&1O.aJ){A H=1O.ch.1k||\'\',p;O(A 1x 3a m.8W)O(A i=0;i<5;i++){p=k[1x];q(H.2s(m.8W[1x][i])){p.H=k.1j[1x].H+(k.1j[1x].1H-p.1H)+(k.1j[1x].D-p.D)*[0,0,.5,1,1][i];q(1O.aJ==\'fb\'){q(p.H+p.D+p.1H+p.2Z>p.29+p.4S-p.4p)p.H=p.29+p.4S-p.D-p.3n-p.4p-p.1H-p.2Z;q(p.H<p.29+p.3n)p.H=p.29+p.3n}}}}q(k.2I&&k.x.19>(k.x.1W||k.x.D)){k.bI();q(k.1S.V==1)k.5o()}}k.9k()}1t(e){k.9y(e)}},8T:C(68,1P){A c=m.4J(68,\'7l\',\'K-1f\');q(/(1i|3t)/.1b(k.2E)){q(k.46)c.G.M=k.46+\'F\';q(k.4C)c.G.N=k.4C+\'F\'}},6A:C(){q(k.ay)E;A B=k;k.1f=m.4J(k.1s,\'7l\',\'K-1f\');q(k.2E==\'1i\'){k.65();A 53=m.3v.6s(1);k.1f.21(53);k.f2=k.1s.1R;q(!k.46)k.46=53.1R;A 5t=k.1s.1U-k.1f.1U,h=k.4C||m.4u.N-5t-m.5g-m.6z,4O=k.3Q==\'60\'?\' 4O="q (m.14[\'+k.P+\']) m.14[\'+k.P+\'].67()" \':\'\';k.1f.2g+=\'<1i 3d="m\'+(1I 7a()).79()+\'" f5="0" P="\'+k.P+\'" \'+\' G="M:\'+k.46+\'F; N:\'+h+\'F" \'+4O+\' 1d="\'+k.1d+\'" ></1i>\';k.53=k.1f.2u(\'Q\')[0];k.1i=k.1f.2u(\'1i\')[0];q(k.3Q==\'6l\')k.8u()}q(k.2E==\'3t\'){k.1f.1v=k.1f.1v||\'m-eO-1v-\'+k.P;A a=k.8c;q(!a.26)a.26={};q(1F a.26.aO==\'1T\')a.26.aO=\'eq\';q(9x)9x.et(k.1d,k.1f.1v,k.46,k.4C,a.eM||\'7\',a.eC,a.aH,a.26,a.az)}k.ay=L},7Q:C(){q(k.1i&&!k.4C){k.1i.G.N=k.1f.G.N=k.8H()+\'F\'}k.1s.21(m.3v);q(!k.x.19)k.x.19=k.1s.1R;k.y.19=k.1s.1U;k.1s.9h(m.3v);q(m.1E&&k.ax>3s(k.1s.6q.N)){k.ax=3s(k.1s.6q.N)}m.R(k.T,{1k:\'2l\',7T:\'0\'});m.R(k.S,{M:k.x.t+\'F\',N:k.y.t+\'F\'})},8H:C(){A h;1w{A 2A=k.5O=k.1i.9N||k.1i.5W.W;A 3v=2A.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x.H<8F&&8F<k.x.H+k.x.Y(\'2f\')&&k.y.H<8E&&8E<k.y.H+k.y.Y(\'2f\');q(k.1u)k.c6();m.1z(k,\'fV\')},cc:C(){A P=k.P;A 1Y=k.1Y;1I m.5A(1Y,C(){1w{m.14[P].cd()}1t(e){}})},cd:C(){A 1C=k.8V(1);q(1C&&1C.2m.cA().2s(/m\\.2F/))A 1N=m.1c(\'1N\',{1d:m.76(1C)})},8V:C(2p){A 8f=k.7x(),as=m.4G.3e[k.2M||\'1B\'];q(!as[8f+2p]&&k.1p&&k.1p.bt){q(2p==1)E as[0];J q(2p==-1)E as[as.V-1]}E as[8f+2p]||I},7x:C(){A 28=m.5Z().3e[k.2M||\'1B\'];q(28)O(A i=0;i<28.V;i++){q(28[i]==k.a)E i}E I},bQ:C(){q(k[k.66]){A 28=m.4G.3e[k.2M||\'1B\'];q(28){A s=m.11.3G.2h(\'%1\',k.7x()+1).2h(\'%2\',28.V);k[k.66].2g=\'<Q 1X="K-3G">\'+s+\'</Q>\'+k[k.66].2g}}},9l:C(){q(!k.1j){O(A i=0;i<m.6b.V;i++){A 1O=m.6b[i],3b=1O.2M;q(1F 3b==\'1T\'||3b===I||3b===k.2M)k.1p=1I m.84(k.P,1O)}}J{k.1p=k.1j.1p}A 1O=k.1p;q(!1O)E;A P=1O.4h=k.P;1O.bF();1O.58(\'19-2F\');q(1O.2U){A o=1O.ch||{};o.4T=1O.2U;o.1V=\'2U\';k.4P(o)}q(1O.2K)1O.2K.7h(k);q(!k.1j&&k.3V)1O.3O(L);q(1O.3V){1O.3V=49(C(){m.1C(P)},(1O.fe||eG))}},6B:C(){m.3D(k.T);m.14[k.P]=I;q(m.2r==k.a)m.2r=I;m.93(k.P);q(k.2q)m.2q.G.18=\'-4l\';m.1z(k,\'cl\')},bP:C(){q(k.5y)E;k.5y=m.1c(\'a\',{23:m.ck,2G:m.cj,1a:\'K-5y\',2g:m.11.cz,2i:m.11.cL});k.4P({4T:k.5y,1k:k.cJ||\'16 18\',1V:\'5y\'})},a4:C(82,cE){O(A i=0;i<82.V;i++){A U=82[i],s=I;q(U==\'9H\'&&!m.1z(k,\'eF\'))E;J q(U==\'5h\'&&!m.1z(k,\'ez\'))E;q(!k[U+\'5r\']&&k.7O)k[U+\'5r\']=U+\'-O-\'+k.7O;q(k[U+\'5r\'])k[U]=m.4x(k[U+\'5r\']);q(!k[U]&&!k[U+\'8e\']&&k[U+\'cB\'])1w{s=ew(k[U+\'cB\'])}1t(e){}q(!k[U]&&k[U+\'8e\']){s=k[U+\'8e\']}q(!k[U]&&!s){k[U]=m.4x(k.a[\'cH\'+U+\'5r\']);q(!k[U]){A 1C=k.a.cD;4Z(1C&&!m.6M(1C)){q((1I 5p(\'K-\'+U)).1b(1C.1a||I)){q(!1C.1v)k.a[\'cH\'+U+\'5r\']=1C.1v=\'1V\'+m.5I++;k[U]=m.4x(1C.1v);5i}1C=1C.cD}}}q(!k[U]&&!s&&k.66==U)s=\'\\n\';q(!k[U]&&s)k[U]=m.1c(\'Q\',{1a:\'K-\'+U,2g:s});q(cE&&k[U]){A o={1k:(U==\'5h\')?\'6v\':\'7J\'};O(A x 3a k[U+\'cF\'])o[x]=k[U+\'cF\'][x];o.4T=k[U];k.4P(o)}}},55:C(1o){q(m.c9)k.6H(\'fa\',1o);q(m.bz)k.6H(\'f9\',1o);q(m.6f)k.6H(\'*\',1o)},6H:C(3E,1o){A 1m=W.2u(3E);A 1g=3E==\'*\'?\'2j\':\'1o\';O(A i=0;i<1m.V;i++){q(1g==\'1o\'||(W.7S.bx(1m[i],"").ca(\'2j\')==\'1P\'||1m[i].bw(\'1q-by\')!=I)){A 2Q=1m[i].bw(\'1q-by\');q(1o==\'1Z\'&&2Q){2Q=2Q.2h(\'[\'+k.P+\']\',\'\');1m[i].62(\'1q-by\',2Q);q(!2Q)1m[i].G[1g]=1m[i].9Q}J q(1o==\'1q\'){A 3F=m.6C(1m[i]);3F.w=1m[i].1R;3F.h=1m[i].1U;q(!k.45){A bA=(3F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w,h)},9A:C(w,h){k.y.6W(h);k.x.6W(w);k.T.G.N=k.y.Y(\'2f\')+\'F\'},24:C(){q(k.5D||!k.6n)E;q(k.3k[1]==\'43\'&&m.2r){m.2C(m.2r).6B();m.2r=I}q(!m.1z(k,\'f7\'))E;k.5D=L;q(k.1p&&!m.2r)k.1p.3h();m.5n(W,2c.3T?\'9c\':\'9d\',m.6V);1w{q(k.2z)k.bZ();k.S.G.4t=\'f3\';k.9e(0,{T:{M:k.x.t,N:k.y.t,18:k.x.1J-k.x.cb+k.x.3i,16:k.y.1J-k.y.cb+k.y.3i},S:{18:0,16:0,M:k.x.t,N:k.y.t}},m.8Y)}1t(e){k.5Q()}},bZ:C(){q(m.6f){q(!m.5x)m.5x=m.1c(\'Q\',I,{1k:\'2l\'},m.2a);m.R(m.5x,{M:k.x.D+\'F\',N:k.y.D+\'F\',18:k.x.H+\'F\',16:k.y.H+\'F\',1n:\'3M\'})}q(k.2E==\'3t\')1w{m.$(k.1f.1v).f4()}1t(e){}q(k.3Q==\'6l\'&&!k.4E)k.c2();q(k.2t&&k.2t!=k.5q)k.2t.G.2j=\'1q\'},c2:C(){q(m.1E&&k.1i)1w{k.1i.5W.W.1f.2g=\'\'}1t(e){}q(k.2E==\'3t\')9x.f6(k.1f.1v);k.1f.2g=\'\'},bi:C(){q(k.1e)k.1e.2e.G.1n=\'1B\';k.3K=I;k.T.G.1n=\'1B\';m.2o(m.4v,k)},c8:C(){1w{m.14[k.P]=k;q(!m.9t&&m.30!=k.P){1w{m.14[m.30].24()}1t(e){}}A z=m.4w++,5C={1n:\'\',1G:z};m.R(k.T,5C);k.5D=1l;A o=k.1e||0;q(o){q(!k.3R)5C.1o=\'1q\';m.R(o.2e,5C)}q(k.1p){k.9l()}k.9k()}1t(e){}},4P:C(o){A el=o.4T,4U=(o.bN==\'2B\'&&!/7H$/.1b(o.1k));q(1F el==\'9n\')el=m.4x(el);q(o.3A)el=m.1c(\'Q\',{2g:o.3A});q(!el||1F el==\'9n\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.T)}q(m.5x)m.5x.G.1n=\'1B\';k.72();q(!m.2B.7K.V)m.2B.G.1n=\'1B\';q(k.45)m.93(k.P);m.1z(k,\'fO\');m.14[k.P]=I;m.bj()}};m.7A=C(a,S,7s){k.a=a;k.S=S;k.7s=7s};m.7A.4V={94:C(){A 2T;q(!k.1d)k.1d=m.76(k.a);q(k.1d.2s(\'#\')){A 28=k.1d.7o(\'#\');k.1d=28[0];k.1v=28[1]}q(m.7m[k.1d]){k.cq=m.7m[k.1d];q(k.1v)k.a5();J k.5X();E}1w{2T=1I cI()}1t(e){1w{2T=1I bs("fU.bE")}1t(e){1w{2T=1I bs("bC.bE")}1t(e){k.8X()}}}A 3z=k;2T.fW=C(){q(3z.2T.bu==4){q(3z.1v)3z.a5();J 3z.5X()}};A 1d=k.1d;k.2T=2T;q(m.fh)1d=1d.2h(/$/,(/\\?/.1b(1d)?\'&\':\'?\')+\'fi=\'+(1I 7a()).79());2T.cC(\'fp\',1d,L);2T.cm(\'X-eo-ft\',\'cI\');2T.cm(\'fu-fB\',\'fz/x-fC-9X-fI\');2T.fK(I)},a5:C(){m.7y();A 3W=2c.3T||m.c0?{1d:\'cV:cS\'}:I;k.1i=m.1c(\'1i\',3W,{1k:\'2l\',16:\'-4l\'},m.2a);k.5X()},5X:C(){A s=k.cq||k.2T.cO,7n;q(k.7s)m.7m[k.1d]=s;q(!m.1E||m.3J>=5.5){s=s.2h(1I 5p(\'<d3[^>]*>\',\'cG\'),\'\').2h(1I 5p(\'<ci[^>]*>.*?</ci>\',\'cG\'),\'\');q(k.1i){A 2A=k.1i.9N;q(!2A&&k.1i.5W)2A=k.1i.5W.W;q(!2A){A 3z=k;49(C(){3z.5X()},25);E}2A.cC();2A.d8(s);2A.24();1w{s=2A.7X(k.1v).2g}1t(e){1w{s=k.1i.W.7X(k.1v).2g}1t(e){}}m.3D(k.1i)}J{7n=/(<1f[^>]*>|<\\/1f>)/d0;q(7n.1b(s))s=s.7o(7n)[m.1E?1:2]}}m.4J(k.S,\'7l\',\'K-1f\').2g=s;k.3u();O(A x 3a k)k[x]=I}};m.84=C(4h,1r){q(m.d6!==1l)m.85();k.4h=4h;O(A x 3a 1r)k[x]=1r[x];q(k.cU)k.bv();q(k.2K)k.2K=m.bo(k)};m.84.4V={bv:C(){k.2U=m.1c(\'Q\',{2g:m.8a(m.8g.2U)},I,m.2a);A 61=[\'3O\',\'3h\',\'3c\',\'1C\',\'3x\',\'19-2F\',\'24\'];k.1Q={};A 3z=k;O(A i=0;i<61.V;i++){k.1Q[61[i]]=m.4J(k.2U,\'1L\',\'K-\'+61[i]);k.4R(61[i])}k.1Q.3h.G.1n=\'1B\'},bF:C(){q(k.bt||!k.2U)E;A B=m.14[k.4h],54=B.7x(),2k=/7w$/;q(54==0)k.58(\'3c\');J q(2k.1b(k.1Q.3c.2u(\'a\')[0].1a))k.4R(\'3c\');q(54+1==m.4G.3e[B.2M||\'1B\'].V){k.58(\'1C\');k.58(\'3O\')}J q(2k.1b(k.1Q.1C.2u(\'a\')[0].1a)){k.4R(\'1C\');k.4R(\'3O\')}},4R:C(1Q){q(!k.1Q)E;A bg=k,a=k.1Q[1Q].2u(\'a\')[0],2k=/7w$/;a.2m=C(){bg[1Q]();E 1l};q(2k.1b(a.1a))a.1a=a.1a.2h(2k,\'\')},58:C(1Q){q(!k.1Q)E;A a=k.1Q[1Q].2u(\'a\')[0];a.2m=C(){E 1l};q(!/7w$/.1b(a.1a))a.1a+=\' 7w\'},bm:C(){q(k.3V)k.3h();J k.3O()},3O:C(bq){q(k.1Q){k.1Q.3O.G.1n=\'1B\';k.1Q.3h.G.1n=\'\'}k.3V=L;q(!bq)m.1C(k.4h)},3h:C(){q(k.1Q){k.1Q.3h.G.1n=\'1B\';k.1Q.3O.G.1n=\'\'}db(k.3V);k.3V=I},3c:C(){k.3h();m.3c(k.1Q.3c)},1C:C(){k.3h();m.1C(k.1Q.1C)},3x:C(){},\'19-2F\':C(){m.2C().7v()},24:C(){m.24(k.1Q.24)}};m.bo=C(1p){C 7h(B){m.3L(1r||{},{4T:4q,1V:\'2K\',1a:\'K-2K-\'+5j+\'-Z \'+(1r.1a||\'\')});q(m.5c)1r.5M=0;B.4P(1r);m.R(4q.22,{2j:\'1q\'})};C 29(3H){5m(1T,1h.31(3H*4q[3I?\'1R\':\'1U\']*0.7))};C 5m(i,8K){q(i===1T)O(A j=0;j<6c.V;j++){q(6c[j]==m.14[1p.4h].a){i=j;5i}}q(i===1T)E;A as=4q.2u(\'a\'),4k=as[i],4e=4k.22,18=3I?\'c1\':\'bX\',3m=3I?\'c3\':\'c7\',M=3I?\'bV\':\'bO\',4F=\'1y\'+18,1R=\'1y\'+M,78=Q.22.22[1R],51=78-2e[1R],5T=3s(2e.G[3I?\'18\':\'16\'])||0,2V=5T,cR=20;q(8K!==1T){2V=5T-8K;q(51>0)51=0;q(2V>0)2V=0;q(2V<51)2V=51}J{O(A j=0;j<as.V;j++)as[j].1a=\'\';4k.1a=\'K-4k-4c\';A 8D=i>0?as[i-1].22[4F]:4e[4F],8G=4e[4F]+4e[1R]+(as[i+1]?as[i+1].22[1R]:0);q(8G>78-5T)2V=78-8G;J q(8D<-5T)2V=-8D}A 8L=4e[4F]+(4e[1R]-74[1R])/2+2V;m.2x(2e,3I?{18:2V}:{16:2V},I,\'8M\');m.2x(74,3I?{18:8L}:{16:8L},I,\'8M\');8P.G.1n=2V<0?\'3M\':\'1B\';8C.G.1n=(2V>51)?\'3M\':\'1B\'};A 6c=m.4G.3e[m.14[1p.4h].2M||\'1B\'],1r=1p.2K,5j=1r.5j||\'bS\',8O=(5j==\'cW\'),4g=8O?[\'Q\',\'5V\',\'1L\',\'1D\']:[\'2e\',\'4M\',\'4b\',\'2D\'],3I=(5j==\'bS\'),4q=m.1c(\'Q\',{1a:\'K-2K K-2K-\'+5j,2g:\'<Q 1X="K-2K-cZ">\'+\'<\'+4g[0]+\'><\'+4g[1]+\'></\'+4g[1]+\'></\'+4g[0]+\'></Q>\'+\'<Q 1X="K-29-1K"><Q></Q></Q>\'+\'<Q 1X="K-29-en"><Q></Q></Q>\'+\'<Q 1X="K-74"><Q></Q></Q>\'},{1n:\'1B\'},m.2a),6x=4q.7K,Q=6x[0],8P=6x[1],8C=6x[2],74=6x[3],2e=Q.e3,4M=4q.2u(4g[1])[0],4b;O(A i=0;i<6c.V;i++){q(i==0||!3I)4b=m.1c(4g[2],I,I,4M);(C(){A a=6c[i],4e=m.1c(4g[3],I,I,4b),e5=i;m.1c(\'a\',{23:a.23,2m:C(){m.2C(k).3B();E m.8Q(a)},2g:m.bU?m.bU(a):a.2g},I,4e)})()}q(!8O){8P.2m=C(){29(-1)};8C.2m=C(){29(1)};m.2n(4M,W.dZ!==1T?\'dW\':\'dQ\',C(e){A 3H=0;e=e||2c.2y;q(e.bY){3H=e.bY/dU;q(m.3T)3H=-3H}J q(e.br){3H=-e.br/3}q(3H)29(-3H*0.2);q(e.4X)e.4X();e.bl=1l})}E{7h:7h,5m:5m}};m.7i=m.11;A ee=m.69;q(m.1E){(C(){1w{W.56.e9(\'18\')}1t(e){49(bh.e8,50);E}m.42()})()}m.2n(W,\'ea\',m.42);m.2n(2c,\'7U\',m.42);m.2n(W,\'42\',C(){q(m.7M||m.45){A G=m.1c(\'G\',{U:\'eb/8t\'},I,W.2u(\'ec\')[0]);C 6k(8z,8l){q(!m.1E){G.21(W.dO(8z+" {"+8l+"}"))}J{A 1j=W.bD[W.bD.V-1];q(1F(1j.6k)=="7z")1j.6k(8z,8l)}}C 5N(1g){E\'dN( ( ( dt = W.56.\'+1g+\' ? W.56.\'+1g+\' : W.1f.\'+1g+\' ) ) + \\\'F\\\' );\'}q(m.7M)6k(\'.K 1N\',\'4t: 7E(\'+m.4Y+m.7M+\'), 7D !dl;\');6k(\'.K-2B-D\',m.1E&&(m.3J<7||W.7G==\'8S\')?\'1k: 2l; \'+\'18:\'+5N(\'5w\')+\'16:\'+5N(\'5z\')+\'M:\'+5N(\'8i\')+\'N:\'+5N(\'cK\'):\'1k: dH; M: 2w%; N: 2w%; 18: 0; 16: 0\')}});m.2n(2c,\'3Y\',C(){m.7I();q(m.2B)O(A i=0;i<m.2B.7K.V;i++){A 1M=m.2B.7K[i],B=m.2C(1M);B.5E(1M);q(1M.1V==\'2K\')B.1p.2K.5m()}});m.2n(W,\'7F\',C(e){m.7B={x:e.7C,y:e.7L}});m.2n(W,\'88\',m.8d);m.2n(W,\'ce\',m.8d);m.2n(W,\'42\',m.cf);m.2n(2c,\'7U\',m.cg);m.2n(2c,\'7U\',m.bG)}',62,990,'||||||||||||||||||||this||hs||||if||||||||||var|exp|function|size|return|px|style|pos|null|else|highslide|true|width|height|for|key|div|setStyles|content|wrapper|type|length|document||get|overlay||lang|||expanders||top||left|full|className|test|createElement|src|outline|body|prop|Math|iframe|last|position|false|els|display|visibility|slideshow|hidden|options|innerContent|catch|overlayBox|id|try|dim|offset|fireEvent|opacity|none|next|span|ie|typeof|zIndex|p1|new|tpos|up|li|node|img|ss|auto|btn|offsetWidth|overlays|undefined|offsetHeight|hsId|imgSize|class|outlineType|visible||appendChild|parentNode|href|close||params||arr|scroll|container|case|window|to|table|wsize|innerHTML|replace|title|overflow|re|absolute|onclick|addEventListener|push|op|loading|upcoming|match|scrollerDiv|getElementsByTagName|dragArgs|100|animate|event|isHtml|doc|viewport|getExpander|td|objectType|expand|target|args|isImage|imgPad|thumbstrip|image|slideshowGroup|minSize|justify|easing|hiddenBy|ajax|dimmer|xhr|controls|tblPos|tgt|ratio|min|p2|focusKey|round||||xSize|elem||||in|sg|previous|name|groups|ucwh|contentType|pause|tb|wh|transitions|xpos|right|marginMin|val|lastY|lastX|custom|parseInt|swf|onLoad|clearing|useBox|move|opt|pThis|html|focus|step|discardElement|tagName|elPos|number|delta|isX|uaVersion|releaseMask|extend|block|graphic|play|changed|objectLoadTime|outlineWhileAnimating|hasDragged|opera|func|autoplay|attribs|timers|resize|ySize||dur|ready|crossfade|getParam|dimmingOpacity|objectWidth|xp1|mediumContent|setTimeout|duration|tr|anchor|yp1|cell|styles|tree|expKey|pendingOutlines|max|active|9999px|relative|navigator|invPos|marginMax|dom|blurExp|unit|cursor|page|sleeping|zIndexCounter|getNode|center|safari|start|marginLeft|objectHeight|setPosition|preserveContent|offsetLeft|anchors|bottom|minWidth|getElementByClass|tgtArr|now|tbody|ypos|onload|createOverlay|clone|enable|clientSize|overlayId|relToVP|prototype|styleRestoreCursor|preventDefault|graphicsDir|while||minTblPos|fitsize|ruler|cur|doShowHide|documentElement|moveOnly|disable|fadeBox|allowReduce|cNode|ieLt7|end|cacheBindings|wDiff|marginTop|heading|break|mode|area|images|selectThumb|removeEventListener|sizeOverlayBox|RegExp|scrollingContent|Id|htmls|hDiff|toLowerCase|destroy|scrollLeft|mask|credits|scrollTop|Outline|uclt|stl|isClosing|positionOverlay|padToMinWidth|250|maxY|idCounter|minX|getParams|iebody|fade|fix|iDoc|param|afterClose|maxX|trans|curTblPos|allowSizeReduction|ul|contentWindow|loadHTML|obj|getAnchors|before|buttons|setAttribute|opos|cache|showLoading|numberPosition|contentLoaded|parent|Expander|filter|slideshows|group|userAgent|owner|geckoMac|xsize|ysize|matches|all|addRule|after|fac|isExpanded|minY|minHeight|currentStyle|restoreCursor|cloneNode|over|preloadTheseImages|above|on|domCh|offY|marginBottom|writeExtendedContent|cancelLoading|getPosition|tId|maincontent|wrapperKey|kdeBugCorr|showHideElements|onLoadStarted|ximgPad|yimgPad|complete|isHsAnchor|maxWidth|Dimension|oDiv|allowWidthReduction|allowHeightReduction|afterExpand|hsKey|lt|keyHandler|setSize|dragHandler|dir|expandDuration||offX|destroyOverlays|imgs|marker||getSrc|onReady|overlayWidth|getTime|Date|element|self|gotoEnd|curAnim|hideOnMouseOut|fullExpandLabel|add|langDefaults|preloadFullImage|rel|DIV|cachedGets|regBody|split|expOnly|previousOrNext|adj|pre|topmostKey|preloadTheseAjax|doFullExpand|disabled|getAnchorIndex|init|object|Ajax|mouse|clientX|pointer|url|mousemove|compatMode|panel|getPageSize|below|childNodes|clientY|expandCursor|os|thumbsUserSetId|fitOverlayBox|htmlGetSize|clones|defaultView|padding|load|topZ|cacheAjax|getElementById|getCacheBinding|preloadAjaxElement|offsetTop|location|types|calcBorders|Slideshow|updateAnchors|calcExpanded|thumbnailId|mousedown|dimmingDuration|replaceLang|hasMovedMin|swfOptions|mouseClickHandler|Text|current|skin|maxsize|clientWidth|moveText|props|dec|startOff|closeTitle|xp2|closeText|endOff|from|moveTitle|css|correctIframeSize|border|previousTitle|previousText|nextText|sel|nextTitle|yp2|scrollDown|activeLeft|mY|mX|activeRight|getIframePageHeight|Click|names|scrollBy|markerPos|easeOutQuad|arrow|floatMode|scrollUp|transit|parseFloat|BackCompat|setObjContainerSize|other|getAdjacentAnchor|oPos|onError|restoreDuration|mouseIsOver|marginRight|openerTagNames|sizeDiff|undim|run|htmlExpand|update|garbageBin|parOff||ie6|numberOfImagesToPreload|keypress|keydown|changeSize|isReady|doWrapper|removeChild|state|fullExpandTitle|show|initSlideshow|cssDirection|string|maxHeight|ucrb|align|direction|done|allowMultipleInstances|startTime|hasAlphaImageLoader|osize|swfobject|error|margin|resizeTo|moveTo|continuePreloading|middle|restoreTitle|loadingPos|loadingPosXfade|caption|connectOutline|Create|background|dragByHeading|blur|contentDocument|getSelfRendered|getWrapperKey|origProp|contentId|hasFocused|evt|setPos|distance|wrapperClassName|form|relatedTarget|calcThumb|srcElement|genOverlayBox|abs|overrides|getInline|getElementContent|playText|JS|Next|preloadGraphic|Highslide|pauseTitle|_default|Move|Previous|call|spacebar|vis|and|onGraphicLoad|getImageMapAreaCorrection|Play|Close|200|appendTo|Pause|switch|hide||playTitle|png|rv|clear|newHeight|hasExtendedContent|attributes|both|thumb|isUnobtrusiveAnchor|loadingTitle|ltr|detachEvent|wrapperMouseHandler|flashvars|enableKeyListener|fixedControls|hasHtmlExpanders|focusTopmost|clickX|clickY|wmode|dimmingGeckoFix|pow|loadingText|hsHasSetClick|KDE|vendor|targetX|targetY|resizeTitle|timerId|fullExpandText|rb|toUpperCase|headingOverlay|captionOverlay|htmlSizeOperations|contentWrapper|easeInQuad|loadingOpacity|offsetParent|alpha|tag|nopad|orig|pauseText|indexOf|hand|sls|arguments|sleep|reOrder|focusTitle|returnValue|hitSpace|fullExpandPosition|Thumbstrip|fullExpandOpacity|wait|detail|ActiveXObject|repeat|readyState|getControls|getAttribute|getComputedStyle||hideIframes|clearsX|clearsY|Microsoft|styleSheets|XMLHTTP|checkFirstAndLast|preloadAjax|javascript|createFullExpand|leftpanel|rightpanel|offsetY|offsetX|relativeTo|Height|writeCredits|getNumber|showCredits|horizontal|getOverlays|stripItemFormatter|Width|gotOverlays|Top|wheelDelta|htmlPrepareClose|ie6SSL|Left|destroyObject|Right|reuseOverlay|doPanels|showOverlays|Bottom|awake|hideSelects|getPropertyValue||prepareNextOutline|preloadNext|mouseup|setClickEvents|preloadImages|overlayOptions|script|creditsTarget|creditsHref|onHideLoading|setRequestHeader|newImg|oldImg|easingClose|cachedGet|correctRatio|tmpMin|fadeInOut|Safari|yimgSize|ximgSize|transitionDuration|525|creditsText|toString|Eval|open|nextSibling|addOverlay|Overlay|gi|_|XMLHttpRequest|creditsPosition|clientHeight|creditsTitle|onKeyDown|sqrt|responseText|pageYOffset|01|mgnRight|blank|dragSensitivity|useControls|about|float|onSetClickEvent|useMap|inner|ig|onImageClick|htmlE|link|xpand|geckodimmer|dynamicallyUpdateAnchors|button|write|addSlideshow|white|clearTimeout|onDrop|dimming|onDimmerClick|registerOverlay|keyCode|maincontentEval|graphics|zoomin|zoomout|important|keys|drag|Use|1001|outlineStartOffset|drop|shadow|ignoreMe|_self|http|com|click|of|Expand|actual|front|bring|Loading|cancel|Powered|Go|fixed|Image|Resize|esc|the|homepage|expression|createTextNode|Macintosh|DOMMouseScroll|Gecko|ra|it|120|Trident|mousewheel|||onmousewheel|innerHeight|pageXOffset|innerWidth|firstChild|removeAttribute|pI|maincontentText|maincontentId|callee|doScroll|DOMContentLoaded|text|HEAD|header|HsExpander|footer|headingText|headingEval|headingId|captionEval|captionId||captionText|down|Requested|AlphaImageLoader|transparent|DXImageTransform|progid|embedSWF|sizingMethod|scale|eval|200px|onDrag|onBeforeGetHeading|onAfterGetCaption|onAfterGetHeading|expressInstallSwfurl|borderCollapse|cellSpacing|onBeforeGetCaption|500|collapse|lineHeight|outlines|outlinesDir|fontSize|version|onCreateOverlay|flash|onBeforeGetContent|onShowLoading|onFocus|onAfterGetContent|onmouseout|htmlCreate|onBlur|oncontextmenu|blockRightClick|imageCreate|flushImgSize|onmouseover|static|newWidth|default|StopPlay|frameborder|removeSWF|onBeforeClose|onInit|IFRAME|SELECT|fit|allowSimultaneousLoading|useOnHtml|interval|onBeforeExpand|shape|forceAjaxReload|dummy|coords|onMouseOver|nodeName|insertBefore|rect|clip|GET|reflow|floor|circle|With|Content|attachEvent|protocol||onMouseOut|application|https|Type|www|300|clearInterval|onDoFullExpand|splice|onCreateFullExpand|urlencoded|mouseover|send|fromElement|toElement|setInterval|onAfterClose|1px|paddingTop|boolean|linearTween|onActivate|Msxml2|onAfterExpand|onreadystatechange|reuse'.split('|'),0,{}))
hs.showCredits=false;
/*
  Easing Equations v1.5
  May 1, 2003
  (c) 2003 Robert Penner, all rights reserved. 
  This work is subject to the terms in http://www.robertpenner.com/easing_terms_of_use.html.  
  
  These tweening functions provide different flavors of 
  math-based motion under a consistent API. 
  
  Types of easing:
  
	  Linear
	  Quadratic
	  Cubic
	  Quartic
	  Quintic
	  Sinusoidal
	  Exponential
	  Circular
	  Elastic
	  Back
	  Bounce

  Changes:
  1.5 - added bounce easing
  1.4 - added elastic and back easing
  1.3 - tweaked the exponential easing functions to make endpoints exact
  1.2 - inline optimizations (changing t and multiplying in one step)--thanks to Tatsuo Kato for the idea
  
  Discussed in Chapter 7 of 
  Robert Penner's Programming Macromedia Flash MX
  (including graphs of the easing equations)
  
  http://www.robertpenner.com/profmx
  http://www.amazon.com/exec/obidos/ASIN/0072223561/robertpennerc-20
*/


// simple linear tweening - no easing
// t: current time, b: beginning value, c: change in value, d: duration
Math.linearTween = function (t, b, c, d) {
	return c*t/d + b;
};


 ///////////// QUADRATIC EASING: t^2 ///////////////////

// quadratic easing in - accelerating from zero velocity
// t: current time, b: beginning value, c: change in value, d: duration
// t and d can be in frames or seconds/milliseconds
Math.easeInQuad = function (t, b, c, d) {
	return c*(t/=d)*t + b;
};

// quadratic easing out - decelerating to zero velocity
Math.easeOutQuad = function (t, b, c, d) {
	return -c *(t/=d)*(t-2) + b;
};

// quadratic easing in/out - acceleration until halfway, then deceleration
Math.easeInOutQuad = function (t, b, c, d) {
	if ((t/=d/2) < 1) return c/2*t*t + b;
	return -c/2 * ((--t)*(t-2) - 1) + b;
};


 ///////////// CUBIC EASING: t^3 ///////////////////////

// cubic easing in - accelerating from zero velocity
// t: current time, b: beginning value, c: change in value, d: duration
// t and d can be frames or seconds/milliseconds
Math.easeInCubic = function (t, b, c, d) {
	return c*(t/=d)*t*t + b;
};

// cubic easing out - decelerating to zero velocity
Math.easeOutCubic = function (t, b, c, d) {
	return c*((t=t/d-1)*t*t + 1) + b;
};

// cubic easing in/out - acceleration until halfway, then deceleration
Math.easeInOutCubic = function (t, b, c, d) {
	if ((t/=d/2) < 1) return c/2*t*t*t + b;
	return c/2*((t-=2)*t*t + 2) + b;
};


 ///////////// QUARTIC EASING: t^4 /////////////////////

// quartic easing in - accelerating from zero velocity
// t: current time, b: beginning value, c: change in value, d: duration
// t and d can be frames or seconds/milliseconds
Math.easeInQuart = function (t, b, c, d) {
	return c*(t/=d)*t*t*t + b;
};

// quartic easing out - decelerating to zero velocity
Math.easeOutQuart = function (t, b, c, d) {
	return -c * ((t=t/d-1)*t*t*t - 1) + b;
};

// quartic easing in/out - acceleration until halfway, then deceleration
Math.easeInOutQuart = function (t, b, c, d) {
	if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
	return -c/2 * ((t-=2)*t*t*t - 2) + b;
};


 ///////////// QUINTIC EASING: t^5  ////////////////////

// quintic easing in - accelerating from zero velocity
// t: current time, b: beginning value, c: change in value, d: duration
// t and d can be frames or seconds/milliseconds
Math.easeInQuint = function (t, b, c, d) {
	return c*(t/=d)*t*t*t*t + b;
};

// quintic easing out - decelerating to zero velocity
Math.easeOutQuint = function (t, b, c, d) {
	return c*((t=t/d-1)*t*t*t*t + 1) + b;
};

// quintic easing in/out - acceleration until halfway, then deceleration
Math.easeInOutQuint = function (t, b, c, d) {
	if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
	return c/2*((t-=2)*t*t*t*t + 2) + b;
};



 ///////////// SINUSOIDAL EASING: sin(t) ///////////////

// sinusoidal easing in - accelerating from zero velocity
// t: current time, b: beginning value, c: change in position, d: duration
Math.easeInSine = function (t, b, c, d) {
	return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
};

// sinusoidal easing out - decelerating to zero velocity
Math.easeOutSine = function (t, b, c, d) {
	return c * Math.sin(t/d * (Math.PI/2)) + b;
};

// sinusoidal easing in/out - accelerating until halfway, then decelerating
Math.easeInOutSine = function (t, b, c, d) {
	return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
};


 ///////////// EXPONENTIAL EASING: 2^t /////////////////

// exponential easing in - accelerating from zero velocity
// t: current time, b: beginning value, c: change in position, d: duration
Math.easeInExpo = function (t, b, c, d) {
	return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
};

// exponential easing out - decelerating to zero velocity
Math.easeOutExpo = function (t, b, c, d) {
	return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
};

// exponential easing in/out - accelerating until halfway, then decelerating
Math.easeInOutExpo = function (t, b, c, d) {
	if (t==0) return b;
	if (t==d) return b+c;
	if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
	return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
};


 /////////// CIRCULAR EASING: sqrt(1-t^2) //////////////

// circular easing in - accelerating from zero velocity
// t: current time, b: beginning value, c: change in position, d: duration
Math.easeInCirc = function (t, b, c, d) {
	return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
};

// circular easing out - decelerating to zero velocity
Math.easeOutCirc = function (t, b, c, d) {
	return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
};

// circular easing in/out - acceleration until halfway, then deceleration
Math.easeInOutCirc = function (t, b, c, d) {
	if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
	return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
};


 /////////// ELASTIC EASING: exponentially decaying sine wave  //////////////

// t: current time, b: beginning value, c: change in value, d: duration, a: amplitude (optional), p: period (optional)
// t and d can be in frames or seconds/milliseconds

Math.easeInElastic = function (t, b, c, d, a, p) {
	if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
	if (a < Math.abs(c)) { a=c; var s=p/4; }
	else var s = p/(2*Math.PI) * Math.asin (c/a);
	return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
};

Math.easeOutElastic = function (t, b, c, d, a, p) {
	if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
	if (a < Math.abs(c)) { a=c; var s=p/4; }
	else var s = p/(2*Math.PI) * Math.asin (c/a);
	return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
};

Math.easeInOutElastic = function (t, b, c, d, a, p) {
	if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) p=d*(.3*1.5);
	if (a < Math.abs(c)) { a=c; var s=p/4; }
	else var s = p/(2*Math.PI) * Math.asin (c/a);
	if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
	return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
};


 /////////// BACK EASING: overshooting cubic easing: (s+1)*t^3 - s*t^2  //////////////

// back easing in - backtracking slightly, then reversing direction and moving to target
// t: current time, b: beginning value, c: change in value, d: duration, s: overshoot amount (optional)
// t and d can be in frames or seconds/milliseconds
// s controls the amount of overshoot: higher s means greater overshoot
// s has a default value of 1.70158, which produces an overshoot of 10 percent
// s==0 produces cubic easing with no overshoot
Math.easeInBack = function (t, b, c, d, s) {
	if (s == undefined) s = 1.70158;
	return c*(t/=d)*t*((s+1)*t - s) + b;
};

// back easing out - moving towards target, overshooting it slightly, then reversing and coming back to target
Math.easeOutBack = function (t, b, c, d, s) {
	if (s == undefined) s = 1.70158;
	return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
};

// back easing in/out - backtracking slightly, then reversing direction and moving to target,
// then overshooting target, reversing, and finally coming back to target
Math.easeInOutBack = function (t, b, c, d, s) {
	if (s == undefined) s = 1.70158; 
	if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
	return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
};


 /////////// BOUNCE EASING: exponentially decaying parabolic bounce  //////////////

// bounce easing in
// t: current time, b: beginning value, c: change in position, d: duration
Math.easeInBounce = function (t, b, c, d) {
	return c - Math.easeOutBounce (d-t, 0, c, d) + b;
};

// bounce easing out
Math.easeOutBounce = function (t, b, c, d) {
	if ((t/=d) < (1/2.75)) {
		return c*(7.5625*t*t) + b;
	} else if (t < (2/2.75)) {
		return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
	} else if (t < (2.5/2.75)) {
		return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
	} else {
		return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
	}
};

// bounce easing in/out
Math.easeInOutBounce = function (t, b, c, d) {
	if (t < d/2) return Math.easeInBounce (t*2, 0, c, d) * .5 + b;
	return Math.easeOutBounce (t*2-d, 0, c, d) * .5 + c*.5 + b;
};


//trace (">> Penner easing equations loaded");






/*!
 * jQuery JavaScript Library v1.4.2
 * http://jquery.com/
 *
 * Copyright 2010, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2010, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Sat Feb 13 22:33:48 2010 -0500
 */
(function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,j){var i=a.length;if(typeof b==="object"){for(var o in b)X(a,o,b[o],f,e,d);return a}if(d!==w){f=!j&&f&&c.isFunction(d);for(o=0;o<i;o++)e(a[o],b,f?d.call(a[o],o,e(a[o],b)):d,j);return a}return i?
e(a[0],b):w}function J(){return(new Date).getTime()}function Y(){return false}function Z(){return true}function na(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function oa(a){var b,d=[],f=[],e=arguments,j,i,o,k,n,r;i=c.data(this,"events");if(!(a.liveFired===this||!i||!i.live||a.button&&a.type==="click")){a.liveFired=this;var u=i.live.slice(0);for(k=0;k<u.length;k++){i=u[k];i.origType.replace(O,"")===a.type?f.push(i.selector):u.splice(k--,1)}j=c(a.target).closest(f,a.currentTarget);n=0;for(r=
j.length;n<r;n++)for(k=0;k<u.length;k++){i=u[k];if(j[n].selector===i.selector){o=j[n].elem;f=null;if(i.preType==="mouseenter"||i.preType==="mouseleave")f=c(a.relatedTarget).closest(i.selector)[0];if(!f||f!==o)d.push({elem:o,handleObj:i})}}n=0;for(r=d.length;n<r;n++){j=d[n];a.currentTarget=j.elem;a.data=j.handleObj.data;a.handleObj=j.handleObj;if(j.handleObj.origHandler.apply(j.elem,e)===false){b=false;break}}return b}}function pa(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g,
"&")}function qa(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function ra(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),e=c.data(this,f);if(f=f&&f.events){delete e.handle;e.events={};for(var j in f)for(var i in f[j])c.event.add(this,j,f[j][i],f[j][i].data)}}})}function sa(a,b,d){var f,e,j;b=b&&b[0]?b[0].ownerDocument||b[0]:s;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===s&&!ta.test(a[0])&&(c.support.checkClone||!ua.test(a[0]))){e=
true;if(j=c.fragments[a[0]])if(j!==1)f=j}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=j?f:1;return{fragment:f,cacheable:e}}function K(a,b){var d={};c.each(va.concat.apply([],va.slice(0,b)),function(){d[this]=a});return d}function wa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},Ra=A.jQuery,Sa=A.$,s=A.document,T,Ta=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Ua=/^.[^:#\[\.,]*$/,Va=/\S/,
Wa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Xa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,P=navigator.userAgent,xa=false,Q=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,R=Array.prototype.slice,ya=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=s;this[0]=s.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=Ta.exec(a))&&
(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:s;if(a=Xa.exec(a))if(c.isPlainObject(b)){a=[s.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=sa([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=s.getElementById(d[2])){if(b.id!==d[2])return T.find(a);this.length=1;this[0]=b}this.context=s;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=s;a=s.getElementsByTagName(a);return c.merge(this,
a)}else return!b||b.jquery?(b||T).find(a):c(b).find(a);else if(c.isFunction(a))return T.ready(a);if(a.selector!==w){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return R.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var f=c();c.isArray(a)?ba.apply(f,a):c.merge(f,a);f.prevObject=this;f.context=this.context;if(b===
"find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(R.apply(this,arguments),"slice",R.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,
function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,j,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((e=arguments[b])!=null)for(j in e){i=a[j];o=e[j];if(a!==o)if(f&&o&&(c.isPlainObject(o)||c.isArray(o))){i=i&&(c.isPlainObject(i)||
c.isArray(i))?i:c.isArray(o)?[]:{};a[j]=c.extend(f,i,o)}else if(o!==w)a[j]=o}return a};c.extend({noConflict:function(a){A.$=Sa;if(a)A.jQuery=Ra;return c},isReady:false,ready:function(){if(!c.isReady){if(!s.body)return setTimeout(c.ready,13);c.isReady=true;if(Q){for(var a,b=0;a=Q[b++];)a.call(s,c);Q=null}c.fn.triggerHandler&&c(s).triggerHandler("ready")}},bindReady:function(){if(!xa){xa=true;if(s.readyState==="complete")return c.ready();if(s.addEventListener){s.addEventListener("DOMContentLoaded",
L,false);A.addEventListener("load",c.ready,false)}else if(s.attachEvent){s.attachEvent("onreadystatechange",L);A.attachEvent("onload",c.ready);var a=false;try{a=A.frameElement==null}catch(b){}s.documentElement.doScroll&&a&&ma()}}},isFunction:function(a){return $.call(a)==="[object Function]"},isArray:function(a){return $.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||$.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!aa.call(a,"constructor")&&!aa.call(a.constructor.prototype,
"isPrototypeOf"))return false;var b;for(b in a);return b===w||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return A.JSON&&A.JSON.parse?A.JSON.parse(a):(new Function("return "+
a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&Va.test(a)){var b=s.getElementsByTagName("head")[0]||s.documentElement,d=s.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(s.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var f,e=0,j=a.length,i=j===w||c.isFunction(a);if(d)if(i)for(f in a){if(b.apply(a[f],
d)===false)break}else for(;e<j;){if(b.apply(a[e++],d)===false)break}else if(i)for(f in a){if(b.call(a[f],f,a[f])===false)break}else for(d=a[0];e<j&&b.call(d,e,d)!==false;d=a[++e]);return a},trim:function(a){return(a||"").replace(Wa,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?ba.call(b,a):c.merge(b,a);return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,f=b.length;d<f;d++)if(b[d]===
a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var e=b.length;f<e;f++)a[d++]=b[f];else for(;b[f]!==w;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],e=0,j=a.length;e<j;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:function(a,b,d){for(var f=[],e,j=0,i=a.length;j<i;j++){e=b(a[j],j,d);if(e!=null)f[f.length]=e}return f.concat.apply([],f)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b==="string"){d=a;a=d[b];b=w}else if(b&&
!c.isFunction(b)){d=b;b=w}if(!b&&a)b=function(){return a.apply(d||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});P=c.uaMatch(P);if(P.browser){c.browser[P.browser]=true;c.browser.version=P.version}if(c.browser.webkit)c.browser.safari=
true;if(ya)c.inArray=function(a,b){return ya.call(b,a)};T=c(s);if(s.addEventListener)L=function(){s.removeEventListener("DOMContentLoaded",L,false);c.ready()};else if(s.attachEvent)L=function(){if(s.readyState==="complete"){s.detachEvent("onreadystatechange",L);c.ready()}};(function(){c.support={};var a=s.documentElement,b=s.createElement("script"),d=s.createElement("div"),f="script"+J();d.style.display="none";d.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
var e=d.getElementsByTagName("*"),j=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!j)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:/^0.55$/.test(j.style.opacity),cssFloat:!!j.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:s.createElement("select").appendChild(s.createElement("option")).selected,
parentNode:d.removeChild(d.appendChild(s.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(s.createTextNode("window."+f+"=1;"))}catch(i){}a.insertBefore(b,a.firstChild);if(A[f]){c.support.scriptEval=true;delete A[f]}try{delete b.test}catch(o){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function k(){c.support.noCloneEvent=
false;d.detachEvent("onclick",k)});d.cloneNode(true).fireEvent("onclick")}d=s.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=s.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var k=s.createElement("div");k.style.width=k.style.paddingLeft="1px";s.body.appendChild(k);c.boxModel=c.support.boxModel=k.offsetWidth===2;s.body.removeChild(k).style.display="none"});a=function(k){var n=
s.createElement("div");k="on"+k;var r=k in n;if(!r){n.setAttribute(k,"return;");r=typeof n[k]==="function"}return r};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=j=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var G="jQuery"+J(),Ya=0,za={};c.extend({cache:{},expando:G,noData:{embed:true,object:true,
applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var f=a[G],e=c.cache;if(!f&&typeof b==="string"&&d===w)return null;f||(f=++Ya);if(typeof b==="object"){a[G]=f;e[f]=c.extend(true,{},b)}else if(!e[f]){a[G]=f;e[f]={}}a=e[f];if(d!==w)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var d=a[G],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando];
else a.removeAttribute&&a.removeAttribute(c.expando);delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===w){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===w&&this.length)f=c.data(this[0],a);return f===w&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this,
a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===
w)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var Aa=/[\n\t]/g,ca=/\s+/,Za=/\r/g,$a=/href|src|style/,ab=/(button|input)/i,bb=/(button|input|object|select|textarea)/i,
cb=/^(a|area)$/i,Ba=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(n){var r=c(this);r.addClass(a.call(this,n,r.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ca),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1)if(e.className){for(var j=" "+e.className+" ",
i=e.className,o=0,k=b.length;o<k;o++)if(j.indexOf(" "+b[o]+" ")<0)i+=" "+b[o];e.className=c.trim(i)}else e.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(k){var n=c(this);n.removeClass(a.call(this,k,n.attr("class")))});if(a&&typeof a==="string"||a===w)for(var b=(a||"").split(ca),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1&&e.className)if(a){for(var j=(" "+e.className+" ").replace(Aa," "),i=0,o=b.length;i<o;i++)j=j.replace(" "+b[i]+" ",
" ");e.className=c.trim(j)}else e.className=""}return this},toggleClass:function(a,b){var d=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(e){var j=c(this);j.toggleClass(a.call(this,e,j.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var e,j=0,i=c(this),o=b,k=a.split(ca);e=k[j++];){o=f?o:!i.hasClass(e);i[o?"addClass":"removeClass"](e)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className=
this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(Aa," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===w){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var j=b?d:0;for(d=b?d+1:e.length;j<d;j++){var i=
e[j];if(i.selected){a=c(i).val();if(b)return a;f.push(a)}}return f}if(Ba.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Za,"")}return w}var o=c.isFunction(a);return this.each(function(k){var n=c(this),r=a;if(this.nodeType===1){if(o)r=a.call(this,k,n.val());if(typeof r==="number")r+="";if(c.isArray(r)&&Ba.test(this.type))this.checked=c.inArray(n.val(),r)>=0;else if(c.nodeName(this,"select")){var u=c.makeArray(r);c("option",this).each(function(){this.selected=
c.inArray(c(this).val(),u)>=0});if(!u.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return w;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==w;b=f&&c.props[b]||b;if(a.nodeType===1){var j=$a.test(b);if(b in a&&f&&!j){if(e){b==="type"&&ab.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");
a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:bb.test(a.nodeName)||cb.test(a.nodeName)&&a.href?0:w;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText=""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&j?a.getAttribute(b,2):a.getAttribute(b);return a===null?w:a}return c.style(a,b,d)}});var O=/\.(.*)$/,db=function(a){return a.replace(/[^\w\s\.\|`]/g,
function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==A&&!a.frameElement)a=A;var e,j;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(j=c.data(a)){var i=j.events=j.events||{},o=j.handle;if(!o)j.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem,arguments):w};o.elem=a;b=b.split(" ");for(var k,n=0,r;k=b[n++];){j=e?c.extend({},e):{handler:d,data:f};if(k.indexOf(".")>-1){r=k.split(".");
k=r.shift();j.namespace=r.slice(0).sort().join(".")}else{r=[];j.namespace=""}j.type=k;j.guid=d.guid;var u=i[k],z=c.event.special[k]||{};if(!u){u=i[k]=[];if(!z.setup||z.setup.call(a,f,r,o)===false)if(a.addEventListener)a.addEventListener(k,o,false);else a.attachEvent&&a.attachEvent("on"+k,o)}if(z.add){z.add.call(a,j);if(!j.handler.guid)j.handler.guid=d.guid}u.push(j);c.event.global[k]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){var e,j=0,i,o,k,n,r,u,z=c.data(a),
C=z&&z.events;if(z&&C){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in C)c.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[j++];){n=e;i=e.indexOf(".")<0;o=[];if(!i){o=e.split(".");e=o.shift();k=new RegExp("(^|\\.)"+c.map(o.slice(0).sort(),db).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(r=C[e])if(d){n=c.event.special[e]||{};for(B=f||0;B<r.length;B++){u=r[B];if(d.guid===u.guid){if(i||k.test(u.namespace)){f==null&&r.splice(B--,1);n.remove&&n.remove.call(a,u)}if(f!=
null)break}}if(r.length===0||f!=null&&r.length===1){if(!n.teardown||n.teardown.call(a,o)===false)Ca(a,e,z.handle);delete C[e]}}else for(var B=0;B<r.length;B++){u=r[B];if(i||k.test(u.namespace)){c.event.remove(a,n,u.handler,B);r.splice(B--,1)}}}if(c.isEmptyObject(C)){if(b=z.handle)b.elem=null;delete z.events;delete z.handle;c.isEmptyObject(z)&&c.removeData(a)}}}}},trigger:function(a,b,d,f){var e=a.type||a;if(!f){a=typeof a==="object"?a[G]?a:c.extend(c.Event(e),a):c.Event(e);if(e.indexOf("!")>=0){a.type=
e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return w;a.result=w;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(j){}if(!a.isPropagationStopped()&&
f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var i,o=c.nodeName(f,"a")&&e==="click",k=c.event.special[e]||{};if((!k._default||k._default.call(d,a)===false)&&!o&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[e]){if(i=f["on"+e])f["on"+e]=null;c.event.triggered=true;f[e]()}}catch(n){}if(i)f["on"+e]=i;c.event.triggered=false}}},handle:function(a){var b,d,f,e;a=arguments[0]=c.event.fix(a||A.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;
if(!b){d=a.type.split(".");a.type=d.shift();f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}e=c.data(this,"events");d=e[a.type];if(e&&d){d=d.slice(0);e=0;for(var j=d.length;e<j;e++){var i=d[e];if(b||f.test(i.namespace)){a.handler=i.handler;a.data=i.data;a.handleObj=i;i=i.handler.apply(this,arguments);if(i!==w){a.result=i;if(i===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[G])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||s;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=s.documentElement;d=s.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||
d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==w)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,a.origType,c.extend({},a,{handler:oa}))},remove:function(a){var b=true,d=a.origType.replace(O,"");c.each(c.data(this,
"events").live||[],function(){if(d===this.origType.replace(O,""))return b=false});b&&c.event.remove(this,a.origType,oa)}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var Ca=s.removeEventListener?function(a,b,d){a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=
a;this.type=a.type}else this.type=a;this.timeStamp=J();this[G]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Z;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=Z;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Z;this.stopPropagation()},isDefaultPrevented:Y,isPropagationStopped:Y,
isImmediatePropagationStopped:Y};var Da=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},Ea=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?Ea:Da,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Ea:Da)}}});if(!c.support.submitBubbles)c.event.special.submit=
{setup:function(){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length)return na("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13)return na("submit",this,arguments)})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};
if(!c.support.changeBubbles){var da=/textarea|input|select/i,ea,Fa=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},fa=function(a,b){var d=a.target,f,e;if(!(!da.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=Fa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",
e);if(!(f===w||e===f))if(f!=null||e){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:fa,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return fa.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return fa.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,
"_change_data",Fa(a))}},setup:function(){if(this.type==="file")return false;for(var a in ea)c.event.add(this,a+".specialChange",ea[a]);return da.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return da.test(this.nodeName)}};ea=c.event.special.change.filters}s.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}c.event.special[b]={setup:function(){this.addEventListener(a,
d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var j in d)this[b](j,f,d[j],e);return this}if(c.isFunction(f)){e=f;f=w}var i=b==="one"?c.proxy(e,function(k){c(this).unbind(k,i);return e.apply(this,arguments)}):e;if(d==="unload"&&b!=="one")this.one(d,f,e);else{j=0;for(var o=this.length;j<o;j++)c.event.add(this[j],d,i,f)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&
!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=0;for(var f=this.length;d<f;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,f){return this.live(b,d,f,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},
toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var e=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Ga={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,f,e,j){var i,o=0,k,n,r=j||this.selector,
u=j?this:c(this.context);if(c.isFunction(f)){e=f;f=w}for(d=(d||"").split(" ");(i=d[o++])!=null;){j=O.exec(i);k="";if(j){k=j[0];i=i.replace(O,"")}if(i==="hover")d.push("mouseenter"+k,"mouseleave"+k);else{n=i;if(i==="focus"||i==="blur"){d.push(Ga[i]+k);i+=k}else i=(Ga[i]||i)+k;b==="live"?u.each(function(){c.event.add(this,pa(i,r),{data:f,selector:r,handler:e,origType:i,origHandler:e,preType:n})}):u.unbind(pa(i,r),e)}}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0;g[m];m++){l=g[m];if(l.nodeType===3||l.nodeType===4)h+=l.nodeValue;else if(l.nodeType!==8)h+=a(l.childNodes)}return h}function b(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];
if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1&&!p){t.sizcache=l;t.sizset=q}if(t.nodeName.toLowerCase()===h){y=t;break}t=t[g]}m[q]=y}}}function d(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1){if(!p){t.sizcache=l;t.sizset=q}if(typeof h!=="string"){if(t===h){y=true;break}}else if(k.filter(h,[t]).length>0){y=t;break}}t=t[g]}m[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3];break}}if(p.length>1&&r.exec(g))if(p.length===2&&n.relative[p[0]])t=ga(p[0]+p[1],h);else for(t=n.relative[p[0]]?[h]:k(p.shift(),h);p.length;){g=p.shift();if(n.relative[g])g+=p.shift();
t=ga(g,t)}else{if(!m&&p.length>1&&h.nodeType===9&&!M&&n.match.ID.test(p[0])&&!n.match.ID.test(p[p.length-1])){v=k.find(p.shift(),h,M);h=v.expr?k.filter(v.expr,v.set)[0]:v.set[0]}if(h){v=m?{expr:p.pop(),set:z(m)}:k.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&h.parentNode?h.parentNode:h,M);t=v.expr?k.filter(v.expr,v.set):v.set;if(p.length>0)y=z(t);else H=false;for(;p.length;){var D=p.pop();v=D;if(n.relative[D])v=p.pop();else D="";if(v==null)v=h;n.relative[D](y,v,M)}}else y=[]}y||(y=t);y||k.error(D||
g);if(j.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))l.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&l.push(t[g]);else l.push.apply(l,y);else z(y,l);if(S){k(S,q,l,m);k.uniqueSort(l)}return l};k.uniqueSort=function(g){if(B){i=o;g.sort(B);if(i)for(var h=1;h<g.length;h++)g[h]===g[h-1]&&g.splice(h--,1)}return g};k.matches=function(g,h){return k(g,null,null,h)};k.find=function(g,h,l){var m,q;if(!g)return[];
for(var p=0,v=n.order.length;p<v;p++){var t=n.order[p];if(q=n.leftMatch[t].exec(g)){var y=q[1];q.splice(1,1);if(y.substr(y.length-1)!=="\\"){q[1]=(q[1]||"").replace(/\\/g,"");m=n.find[t](q,h,l);if(m!=null){g=g.replace(n.match[t],"");break}}}}m||(m=h.getElementsByTagName("*"));return{set:m,expr:g}};k.filter=function(g,h,l,m){for(var q=g,p=[],v=h,t,y,S=h&&h[0]&&x(h[0]);g&&h.length;){for(var H in n.filter)if((t=n.leftMatch[H].exec(g))!=null&&t[2]){var M=n.filter[H],I,D;D=t[1];y=false;t.splice(1,1);if(D.substr(D.length-
1)!=="\\"){if(v===p)p=[];if(n.preFilter[H])if(t=n.preFilter[H](t,v,l,p,m,S)){if(t===true)continue}else y=I=true;if(t)for(var U=0;(D=v[U])!=null;U++)if(D){I=M(D,t,U,v);var Ha=m^!!I;if(l&&I!=null)if(Ha)y=true;else v[U]=false;else if(Ha){p.push(D);y=true}}if(I!==w){l||(v=p);g=g.replace(n.match[H],"");if(!y)return[];break}}}if(g===q)if(y==null)k.error(g);else break;q=g}return v};k.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var n=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,
CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}},
relative:{"+":function(g,h){var l=typeof h==="string",m=l&&!/\W/.test(h);l=l&&!m;if(m)h=h.toLowerCase();m=0;for(var q=g.length,p;m<q;m++)if(p=g[m]){for(;(p=p.previousSibling)&&p.nodeType!==1;);g[m]=l||p&&p.nodeName.toLowerCase()===h?p||false:p===h}l&&k.filter(h,g,true)},">":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m<q;m++){var p=g[m];if(p){l=p.parentNode;g[m]=l.nodeName.toLowerCase()===h?l:false}}}else{m=0;for(q=g.length;m<q;m++)if(p=g[m])g[m]=
l?p.parentNode:p.parentNode===h;l&&k.filter(h,g,true)}},"":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("parentNode",h,m,g,p,l)},"~":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("previousSibling",h,m,g,p,l)}},find:{ID:function(g,h,l){if(typeof h.getElementById!=="undefined"&&!l)return(g=h.getElementById(g[1]))?[g]:[]},NAME:function(g,h){if(typeof h.getElementsByName!=="undefined"){var l=[];
h=h.getElementsByName(g[1]);for(var m=0,q=h.length;m<q;m++)h[m].getAttribute("name")===g[1]&&l.push(h[m]);return l.length===0?null:l}},TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,l,m,q,p){g=" "+g[1].replace(/\\/g,"")+" ";if(p)return g;p=0;for(var v;(v=h[p])!=null;p++)if(v)if(q^(v.className&&(" "+v.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))l||m.push(v);else if(l)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},
CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,l,m,q,p){h=g[1].replace(/\\/g,"");if(!p&&n.attrMap[h])g[1]=n.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,l,m,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,h);else{g=k.filter(g[3],h,l,true^q);l||m.push.apply(m,
g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,l){return!!k(l[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},
text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},
setFilters:{first:function(g,h){return h===0},last:function(g,h,l,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,l){return h<l[3]-0},gt:function(g,h,l){return h>l[3]-0},nth:function(g,h,l){return l[3]-0===h},eq:function(g,h,l){return l[3]-0===h}},filter:{PSEUDO:function(g,h,l,m){var q=h[1],p=n.filters[q];if(p)return p(g,l,h,m);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h=
h[3];l=0;for(m=h.length;l<m;l++)if(h[l]===g)return false;return true}else k.error("Syntax error, unrecognized expression: "+q)},CHILD:function(g,h){var l=h[1],m=g;switch(l){case "only":case "first":for(;m=m.previousSibling;)if(m.nodeType===1)return false;if(l==="first")return true;m=g;case "last":for(;m=m.nextSibling;)if(m.nodeType===1)return false;return true;case "nth":l=h[2];var q=h[3];if(l===1&&q===0)return true;h=h[0];var p=g.parentNode;if(p&&(p.sizcache!==h||!g.nodeIndex)){var v=0;for(m=p.firstChild;m;m=
m.nextSibling)if(m.nodeType===1)m.nodeIndex=++v;p.sizcache=h}g=g.nodeIndex-q;return l===0?g===0:g%l===0&&g/l>=0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var l=h[1];g=n.attrHandle[l]?n.attrHandle[l](g):g[l]!=null?g[l]:g.getAttribute(l);l=g+"";var m=h[2];h=h[4];return g==null?m==="!=":m===
"="?l===h:m==="*="?l.indexOf(h)>=0:m==="~="?(" "+l+" ").indexOf(h)>=0:!h?l&&g!==false:m==="!="?l!==h:m==="^="?l.indexOf(h)===0:m==="$="?l.substr(l.length-h.length)===h:m==="|="?l===h||l.substr(0,h.length+1)===h+"-":false},POS:function(g,h,l,m){var q=n.setFilters[h[2]];if(q)return q(g,l,h,m)}}},r=n.match.POS;for(var u in n.match){n.match[u]=new RegExp(n.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[u]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[u].source.replace(/\\(\d+)/g,function(g,
h){return"\\"+(h-0+1)}))}var z=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(C){z=function(g,h){h=h||[];if(j.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var l=0,m=g.length;l<m;l++)h.push(g[l]);else for(l=0;g[l];l++)h.push(g[l]);return h}}var B;if(s.documentElement.compareDocumentPosition)B=function(g,h){if(!g.compareDocumentPosition||
!h.compareDocumentPosition){if(g==h)i=true;return g.compareDocumentPosition?-1:1}g=g.compareDocumentPosition(h)&4?-1:g===h?0:1;if(g===0)i=true;return g};else if("sourceIndex"in s.documentElement)B=function(g,h){if(!g.sourceIndex||!h.sourceIndex){if(g==h)i=true;return g.sourceIndex?-1:1}g=g.sourceIndex-h.sourceIndex;if(g===0)i=true;return g};else if(s.createRange)B=function(g,h){if(!g.ownerDocument||!h.ownerDocument){if(g==h)i=true;return g.ownerDocument?-1:1}var l=g.ownerDocument.createRange(),m=
h.ownerDocument.createRange();l.setStart(g,0);l.setEnd(g,0);m.setStart(h,0);m.setEnd(h,0);g=l.compareBoundaryPoints(Range.START_TO_END,m);if(g===0)i=true;return g};(function(){var g=s.createElement("div"),h="script"+(new Date).getTime();g.innerHTML="<a name='"+h+"'/>";var l=s.documentElement;l.insertBefore(g,l.firstChild);if(s.getElementById(h)){n.find.ID=function(m,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(m[1]))?q.id===m[1]||typeof q.getAttributeNode!=="undefined"&&
q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML="<a href='#'></a>";
if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}();
(function(){var g=s.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}:
function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.length;q<p;q++)k(g,h[q],l);return k.filter(m,l)};c.find=k;c.expr=k.selectors;c.expr[":"]=c.expr.filters;c.unique=k.uniqueSort;c.text=a;c.isXMLDoc=x;c.contains=E})();var eb=/Until$/,fb=/^(?:parents|prevUntil|prevAll)/,
gb=/,/;R=Array.prototype.slice;var Ia=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,j){return!!b.call(e,j,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Ua.test(b))return c.filter(b,f,!d);else b=c.filter(b,f)}return c.grep(a,function(e){return c.inArray(e,b)>=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f<e;f++){d=b.length;
c.find(a,this[f],b);if(f>0)for(var j=d;j<b.length;j++)for(var i=0;i<d;i++)if(b[i]===b[j]){b.splice(j--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ia(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ia(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,j=
{},i;if(f&&a.length){e=0;for(var o=a.length;e<o;e++){i=a[e];j[i]||(j[i]=c.expr.match.POS.test(i)?c(i,b||this.context):i)}for(;f&&f.ownerDocument&&f!==b;){for(i in j){e=j[i];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]}}f=f.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(n,r){for(;r&&r.ownerDocument&&r!==b;){if(k?k.index(r)>-1:c(r).is(a))return r;r=r.parentNode}return null})},index:function(a){if(!a||typeof a===
"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",
d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?
a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))&&fb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===w||a.nodeType!==1||!c(a).is(d));){a.nodeType===
1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ja=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ka=/(<([\w:]+)[^>]*?)\/>/g,hb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,La=/<([\w:]+)/,ib=/<tbody/i,jb=/<|&#?\w+;/,ta=/<script|<object|<embed|<option|<style/i,ua=/checked\s*(?:[^=]|=\s*.checked.)/i,Ma=function(a,b,d){return hb.test(d)?
a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=
c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},
wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},
prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,
this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);
return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}else return this.cloneNode(true)});if(a===true){ra(this,b);ra(this.find("*"),b.find("*"))}return b},html:function(a){if(a===w)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Ja,
""):null;else if(typeof a==="string"&&!ta.test(a)&&(c.support.leadingWhitespace||!V.test(a))&&!F[(La.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ka,Ma);try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}}else c.isFunction(a)?this.each(function(e){var j=c(this),i=j.html();j.empty().append(function(){return a.call(this,e,i)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&
this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),f=d.html();d.replaceWith(a.call(this,b,f))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){function f(u){return c.nodeName(u,"table")?u.getElementsByTagName("tbody")[0]||
u.appendChild(u.ownerDocument.createElement("tbody")):u}var e,j,i=a[0],o=[],k;if(!c.support.checkClone&&arguments.length===3&&typeof i==="string"&&ua.test(i))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(i))return this.each(function(u){var z=c(this);a[0]=i.call(this,u,b?z.html():w);z.domManip(a,b,d)});if(this[0]){e=i&&i.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:sa(a,this,o);k=e.fragment;if(j=k.childNodes.length===
1?(k=k.firstChild):k.firstChild){b=b&&c.nodeName(j,"tr");for(var n=0,r=this.length;n<r;n++)d.call(b?f(this[n],j):this[n],n>0||e.cacheable||this.length>1?k.cloneNode(true):k)}o.length&&c.each(o,Qa)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var e=this.length===1&&this[0].parentNode;if(e&&e.nodeType===11&&e.childNodes.length===1&&d.length===1){d[b](this[0]);
return this}else{e=0;for(var j=d.length;e<j;e++){var i=(e>0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),i);f=f.concat(i)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||s;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||s;for(var e=[],j=0,i;(i=a[j])!=null;j++){if(typeof i==="number")i+="";if(i){if(typeof i==="string"&&!jb.test(i))i=b.createTextNode(i);else if(typeof i==="string"){i=i.replace(Ka,Ma);var o=(La.exec(i)||["",
""])[1].toLowerCase(),k=F[o]||F._default,n=k[0],r=b.createElement("div");for(r.innerHTML=k[1]+i+k[2];n--;)r=r.lastChild;if(!c.support.tbody){n=ib.test(i);o=o==="table"&&!n?r.firstChild&&r.firstChild.childNodes:k[1]==="<table>"&&!n?r.childNodes:[];for(k=o.length-1;k>=0;--k)c.nodeName(o[k],"tbody")&&!o[k].childNodes.length&&o[k].parentNode.removeChild(o[k])}!c.support.leadingWhitespace&&V.test(i)&&r.insertBefore(b.createTextNode(V.exec(i)[0]),r.firstChild);i=r.childNodes}if(i.nodeType)e.push(i);else e=
c.merge(e,i)}}if(d)for(j=0;e[j];j++)if(f&&c.nodeName(e[j],"script")&&(!e[j].type||e[j].type.toLowerCase()==="text/javascript"))f.push(e[j].parentNode?e[j].parentNode.removeChild(e[j]):e[j]);else{e[j].nodeType===1&&e.splice.apply(e,[j+1,0].concat(c.makeArray(e[j].getElementsByTagName("script"))));d.appendChild(e[j])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,j=c.support.deleteExpando,i=0,o;(o=a[i])!=null;i++)if(d=o[c.expando]){b=f[d];if(b.events)for(var k in b.events)e[k]?
c.event.remove(o,k):Ca(o,k,b.handle);if(j)delete o[c.expando];else o.removeAttribute&&o.removeAttribute(c.expando);delete f[d]}}});var kb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Na=/alpha\([^)]*\)/,Oa=/opacity=([^)]*)/,ha=/float/i,ia=/-([a-z])/ig,lb=/([A-Z])/g,mb=/^-?\d+(?:px)?$/i,nb=/^-?\d/,ob={position:"absolute",visibility:"hidden",display:"block"},pb=["Left","Right"],qb=["Top","Bottom"],rb=s.defaultView&&s.defaultView.getComputedStyle,Pa=c.support.cssFloat?"cssFloat":"styleFloat",ja=
function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return X(this,a,b,true,function(d,f,e){if(e===w)return c.curCSS(d,f);if(typeof e==="number"&&!kb.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d=w;var f=a.style||a,e=d!==w;if(!c.support.opacity&&b==="opacity"){if(e){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter=
Na.test(a)?a.replace(Na,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(Oa.exec(f.filter)[1])/100+"":""}if(ha.test(b))b=Pa;b=b.replace(ia,ja);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,j=b==="width"?pb:qb;function i(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(j,function(){f||(e-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")e+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(c.curCSS(a,
"border"+this+"Width",true))||0})}a.offsetWidth!==0?i():c.swap(a,ob,i);return Math.max(0,Math.round(e))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,e=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=Oa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(ha.test(b))b=Pa;if(!d&&e&&e[b])f=e[b];else if(rb){if(ha.test(b))b="float";b=b.replace(lb,"-$1").toLowerCase();e=a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f=
a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ia,ja);f=a.currentStyle[b]||a.currentStyle[d];if(!mb.test(f)&&nb.test(f)){b=e.left;var j=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=j}}return f},swap:function(a,b,d){var f={};for(var e in b){f[e]=a.style[e];a.style[e]=b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=
a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var sb=J(),tb=/<script(.|\s)*?\/script>/gi,ub=/select|textarea/i,vb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,N=/=\?(&|$)/,ka=/\?/,wb=/(\?|&)_=.*?(&|$)/,xb=/^(\w+:)?\/\/([^\/?#]+)/,yb=/%20/g,zb=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!==
"string")return zb.call(this,a);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var e=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var j=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(i,o){if(o==="success"||o==="notmodified")j.html(e?c("<div />").append(i.responseText.replace(tb,"")).find(e):i.responseText);d&&j.each(d,[i.responseText,o,i])}});return this},
serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ub.test(this.nodeName)||vb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),
function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,
global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:A.XMLHttpRequest&&(A.location.protocol!=="file:"||!A.ActiveXObject)?function(){return new A.XMLHttpRequest}:function(){try{return new A.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){e.success&&
e.success.call(k,o,i,x);e.global&&f("ajaxSuccess",[x,e])}function d(){e.complete&&e.complete.call(k,x,i);e.global&&f("ajaxComplete",[x,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}function f(q,p){(e.context?c(e.context):c.event).trigger(q,p)}var e=c.extend(true,{},c.ajaxSettings,a),j,i,o,k=a&&a.context||e,n=e.type.toUpperCase();if(e.data&&e.processData&&typeof e.data!=="string")e.data=c.param(e.data,e.traditional);if(e.dataType==="jsonp"){if(n==="GET")N.test(e.url)||(e.url+=(ka.test(e.url)?
"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!N.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&N.test(e.data)||N.test(e.url))){j=e.jsonpCallback||"jsonp"+sb++;if(e.data)e.data=(e.data+"").replace(N,"="+j+"$1");e.url=e.url.replace(N,"="+j+"$1");e.dataType="script";A[j]=A[j]||function(q){o=q;b();d();A[j]=w;try{delete A[j]}catch(p){}z&&z.removeChild(C)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache===
false&&n==="GET"){var r=J(),u=e.url.replace(wb,"$1_="+r+"$2");e.url=u+(u===e.url?(ka.test(e.url)?"&":"?")+"_="+r:"")}if(e.data&&n==="GET")e.url+=(ka.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&c.event.trigger("ajaxStart");r=(r=xb.exec(e.url))&&(r[1]&&r[1]!==location.protocol||r[2]!==location.host);if(e.dataType==="script"&&n==="GET"&&r){var z=s.getElementsByTagName("head")[0]||s.documentElement,C=s.createElement("script");C.src=e.url;if(e.scriptCharset)C.charset=e.scriptCharset;if(!j){var B=
false;C.onload=C.onreadystatechange=function(){if(!B&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){B=true;b();d();C.onload=C.onreadystatechange=null;z&&C.parentNode&&z.removeChild(C)}}}z.insertBefore(C,z.firstChild);return w}var E=false,x=e.xhr();if(x){e.username?x.open(n,e.url,e.async,e.username,e.password):x.open(n,e.url,e.async);try{if(e.data||a&&a.contentType)x.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&x.setRequestHeader("If-Modified-Since",
c.lastModified[e.url]);c.etag[e.url]&&x.setRequestHeader("If-None-Match",c.etag[e.url])}r||x.setRequestHeader("X-Requested-With","XMLHttpRequest");x.setRequestHeader("Accept",e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(ga){}if(e.beforeSend&&e.beforeSend.call(k,x,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");x.abort();return false}e.global&&f("ajaxSend",[x,e]);var g=x.onreadystatechange=function(q){if(!x||x.readyState===0||q==="abort"){E||
d();E=true;if(x)x.onreadystatechange=c.noop}else if(!E&&x&&(x.readyState===4||q==="timeout")){E=true;x.onreadystatechange=c.noop;i=q==="timeout"?"timeout":!c.httpSuccess(x)?"error":e.ifModified&&c.httpNotModified(x,e.url)?"notmodified":"success";var p;if(i==="success")try{o=c.httpData(x,e.dataType,e)}catch(v){i="parsererror";p=v}if(i==="success"||i==="notmodified")j||b();else c.handleError(e,x,i,p);d();q==="timeout"&&x.abort();if(e.async)x=null}};try{var h=x.abort;x.abort=function(){x&&h.call(x);
g("abort")}}catch(l){}e.async&&e.timeout>0&&setTimeout(function(){x&&!E&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===
1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.indexOf("xml")>=0;a=e?a.responseXML:a.responseText;e&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b===
"json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(i,o){if(c.isArray(o))c.each(o,function(k,n){b||/\[\]$/.test(i)?f(i,n):d(i+"["+(typeof n==="object"||c.isArray(n)?k:"")+"]",n)});else!b&&o!=null&&typeof o==="object"?c.each(o,function(k,n){d(i+"["+k+"]",n)}):f(i,o)}function f(i,o){o=c.isFunction(o)?o():o;e[e.length]=encodeURIComponent(i)+"="+encodeURIComponent(o)}var e=[];if(b===w)b=c.ajaxSettings.traditional;
if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var j in a)d(j,a[j]);return e.join("&").replace(yb,"+")}});var la={},Ab=/toggle|show|hide/,Bb=/^([+-]=)?([\d+-.]+)(.*)$/,W,va=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(K("show",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");
this[a].style.display=d||"";if(c.css(this[a],"display")==="none"){d=this[a].nodeName;var f;if(la[d])f=la[d];else{var e=c("<"+d+" />").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();la[d]=f}c.data(this[a],"olddisplay",f)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=c.data(this[a],"olddisplay")||"";return this}},hide:function(a,b){if(a||a===0)return this.animate(K("hide",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");!d&&d!=="none"&&c.data(this[a],
"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(K("toggle",3),a,b);return this},fadeTo:function(a,b,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)},
animate:function(a,b,d,f){var e=c.speed(b,d,f);if(c.isEmptyObject(a))return this.each(e.complete);return this[e.queue===false?"each":"queue"](function(){var j=c.extend({},e),i,o=this.nodeType===1&&c(this).is(":hidden"),k=this;for(i in a){var n=i.replace(ia,ja);if(i!==n){a[n]=a[i];delete a[i];i=n}if(a[i]==="hide"&&o||a[i]==="show"&&!o)return j.complete.call(this);if((i==="height"||i==="width")&&this.style){j.display=c.css(this,"display");j.overflow=this.style.overflow}if(c.isArray(a[i])){(j.specialEasing=
j.specialEasing||{})[i]=a[i][1];a[i]=a[i][0]}}if(j.overflow!=null)this.style.overflow="hidden";j.curAnim=c.extend({},a);c.each(a,function(r,u){var z=new c.fx(k,j,r);if(Ab.test(u))z[u==="toggle"?o?"show":"hide":u](a);else{var C=Bb.exec(u),B=z.cur(true)||0;if(C){u=parseFloat(C[2]);var E=C[3]||"px";if(E!=="px"){k.style[r]=(u||1)+E;B=(u||1)/z.cur(true)*B;k.style[r]=B+E}if(C[1])u=(C[1]==="-="?-1:1)*u+B;z.custom(B,u,E)}else z.custom(B,u,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);
this.each(function(){for(var f=d.length-1;f>=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration===
"number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||
c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(j){return e.step(j)}this.startTime=J();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;
this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=J(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=
this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var e in this.options.curAnim)c.style(this.elem,
e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||
c.fx.stop()},stop:function(){clearInterval(W);W=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};c.fn.offset="getBoundingClientRect"in s.documentElement?
function(a){var b=this[0];if(a)return this.each(function(e){c.offset.setOffset(this,a,e)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),f=b.ownerDocument;b=f.body;f=f.documentElement;return{top:d.top+(self.pageYOffset||c.support.boxModel&&f.scrollTop||b.scrollTop)-(f.clientTop||b.clientTop||0),left:d.left+(self.pageXOffset||c.support.boxModel&&f.scrollLeft||b.scrollLeft)-(f.clientLeft||b.clientLeft||0)}}:function(a){var b=
this[0];if(a)return this.each(function(r){c.offset.setOffset(this,a,r)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,f=b,e=b.ownerDocument,j,i=e.documentElement,o=e.body;f=(e=e.defaultView)?e.getComputedStyle(b,null):b.currentStyle;for(var k=b.offsetTop,n=b.offsetLeft;(b=b.parentNode)&&b!==o&&b!==i;){if(c.offset.supportsFixedPosition&&f.position==="fixed")break;j=e?e.getComputedStyle(b,null):b.currentStyle;
k-=b.scrollTop;n-=b.scrollLeft;if(b===d){k+=b.offsetTop;n+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){k+=parseFloat(j.borderTopWidth)||0;n+=parseFloat(j.borderLeftWidth)||0}f=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&j.overflow!=="visible"){k+=parseFloat(j.borderTopWidth)||0;n+=parseFloat(j.borderLeftWidth)||0}f=j}if(f.position==="relative"||f.position==="static"){k+=o.offsetTop;n+=o.offsetLeft}if(c.offset.supportsFixedPosition&&
f.position==="fixed"){k+=Math.max(i.scrollTop,o.scrollTop);n+=Math.max(i.scrollLeft,o.scrollLeft)}return{top:k,left:n}};c.offset={initialize:function(){var a=s.body,b=s.createElement("div"),d,f,e,j=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
a.insertBefore(b,a.firstChild);d=b.firstChild;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==j;a.removeChild(b);
c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var f=c(a),e=f.offset(),j=parseInt(c.curCSS(a,"top",true),10)||0,i=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,
d,e);d={top:b.top-e.top+j,left:b.left-e.left+i};"using"in b?b.using.call(a,d):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top-
f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||s.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var e=this[0],j;if(!e)return null;if(f!==w)return this.each(function(){if(j=wa(this))j.scrollTo(!a?f:c(j).scrollLeft(),a?f:c(j).scrollTop());else this[d]=f});else return(j=wa(e))?"pageXOffset"in j?j[a?"pageYOffset":
"pageXOffset"]:c.support.boxModel&&j.document.documentElement[d]||j.document.body[d]:e[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(c.isFunction(f))return this.each(function(j){var i=c(this);i[d](f.call(this,j,i[d]()))});return"scrollTo"in
e&&e.document?e.document.compatMode==="CSS1Compat"&&e.document.documentElement["client"+b]||e.document.body["client"+b]:e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]):f===w?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});A.jQuery=A.$=c})(window);
/*
	parseUri 1.2.1
	(c) 2007 Steven Levithan <stevenlevithan.com>
	MIT License
*/

function parseUri (str) {
	var	o   = parseUri.options,
		m   = o.parser[o.strictMode ? "strict" : "loose"].exec(str),
		uri = {},
		i   = 14;

	while (i--) uri[o.key[i]] = m[i] || "";

	uri[o.q.name] = {};
	uri[o.key[12]].replace(o.q.parser, function ($0, $1, $2) {
		if ($1) uri[o.q.name][$1] = $2;
	});

	return uri;
};

parseUri.options = {
	strictMode: false,
	key: ["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],
	q:   {
		name:   "queryKey",
		parser: /(?:^|&)([^&=]*)=?([^&]*)/g
	},
	parser: {
		strict: /^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,
		loose:  /^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/
	}
};/*******************************************************************************

   ImagePlayer class
   -----------------
   
   baseid                ID using which player HTML elements are named
   player_name           The name of the object that is being created
   image_width           Width of each image to be played (must all be same)
   image_height          Height of each image to be played (must all be same)
   num_images            How many images are in the player sequence
   player_image_path     Where to find the six small images used for the
                         player controls
   period                How often to update the player (in milliseconds) 
   set_option            FUNCTION that sets a dropdown option given its
                         sequence number
   image_url             FUNCTION that specifies a URL for the main image
                         given its sequence number

   There are no specific naming conventions for the various images and SELECT
   dropdown -- if called via the PHP interface all these are automatically
   generated given an ID, as is the variable name
   
   The set_option and image_url callback functions must obviously be defined by
   the calling page prior to creating the ImagePlayer object! They are necessary
   in case determination of the text or image URL to be used needs some kind of
   complicated calculation (or indeed if the player is used for an arbitrary
   set of images with no consistent naming pattern)
   
   Call as e.g.
   
   var player1 = new ImagePlayer('foo', 'player1', 738, 550, 36,
                                 '/images/player', 1000,
                                 fillSelect, rotateImages);
   
*******************************************************************************/

function ImagePlayer(baseid, player_name, image_width, image_height, num_images,
                     player_image_path, period, set_option, image_url, footer_html, large_image_url)
{
   // set up object attributes
   
   this.player_name       = player_name;
   
   this.current_image     = 1;
   this.last_image        = num_images;

   this.player_image_path = player_image_path;
   this.period            = period;

   this.playing           = false;
   this.interval          = null;

   this.set_option        = set_option;
   this.image_url         = image_url;
   if (large_image_url !== undefined) {
   	this.large_image_url = large_image_url;
   }
   if(footer_html == undefined) footer_html = '';

   var img = new Image();
   img.src = player_image_path + '/back.gif';
   var select_class = img.height > 12 ? 'image-player-large' : 'image-player-small'; 

   

   // write actual HTML to page

   document.writeln('<div id="sat-image-player" class="image-player" style="width:' + image_width + 'px;">');
   document.writeln('<select name="IPsel_' + baseid + '" id="IPsel_' + baseid +
                    '" onChange="' + player_name + '.goto(this.selectedIndex + 1);" ' +
                    'class="' + select_class + '">');

   for (var i=1; i<=this.last_image; i++)
   {
      document.writeln('   <option value="' + i + '">' + set_option(i) + '</option>');
   }
   
   document.writeln('</select>');

   document.writeln('<img src="' + player_image_path + '/back.gif" alt="Back" ' +
                    'name="IPback_' + baseid + '" id="IPback_' + baseid +
                    '" onClick="' + player_name + '.back();">');
   document.writeln('<img src="' + player_image_path + '/start-off.gif" alt="Start" ' +
                    'name="IPstart_' + baseid + '" id="IPstart_' + baseid +
                    '" onClick="' + player_name + '.start();">');
   document.writeln('<img src="' + player_image_path + '/stop-on.gif" alt="Stop" ' +
                    'name="IPstop_' + baseid + '" id="IPstop_' + baseid +
                    '" onClick="' + player_name + '.stop();">');
   document.writeln('<img src="' + player_image_path + '/forward.gif" alt="Forward" ' +
                    'name="IPforward_' + baseid + '" id="IPforward_' + baseid +
                    '" onClick="' + player_name + '.forward();">');

   document.writeln('\n<br />\n');
   if (large_image_url !== undefined) {
   	document.writeln('<img class="satellite_zoom" src="' + image_url(1) + '" alt="' + large_image_url(1) + '" id="IPimg_' + baseid +
   	'" width=' +
   	image_width +
   	'" height="' +
   	image_height +
   	'">');
   }
   else {
   	document.writeln('<img class="satellite_zoom" src="' + image_url(1) + '" alt="' + image_url(1) + '" id="IPimg_' + baseid +
   	'" width=' +
   	image_width +
   	'" height="' +
   	image_height +
   	'">');
   }

   if(footer_html != '') document.writeln('<div class="image-player-footer">' + footer_html + '</div>');

   document.writeln('</div>');

   
   // note the elements we've just created and set it going
  
   this.select_element    = document.getElementById('IPsel_'     + baseid);
   this.image_element     = document.getElementById('IPimg_'     + baseid);
   this.start_element     = document.getElementById('IPstart_'   + baseid);
   this.stop_element      = document.getElementById('IPstop_'    + baseid);
   this.back_element      = document.getElementById('IPback_'    + baseid);
   this.forward_element   = document.getElementById('IPforward_' + baseid);
   
   this.start();
}


/******************************************************************************/

ImagePlayer.prototype.start = function()
{
   with(this)
   {
      if (playing) return;
      
      start_element.src = player_image_path + '/' + 'start-off.gif';
      stop_element.src  = player_image_path + '/' + 'stop-on.gif';
      
      interval = setInterval(player_name + ".step(1)", period);
      playing = true;
   }
}

/******************************************************************************/

ImagePlayer.prototype.stop = function()
{
   with(this)
   {
      if (! playing) return;
      
      clearInterval(interval);

      start_element.src = player_image_path + '/' + 'start-on.gif';
      stop_element.src  = player_image_path + '/' + 'stop-off.gif';
      
      playing = false;
   }
}

/******************************************************************************/

ImagePlayer.prototype.back = function()
{
   with(this)
   {
      if (playing) clearInterval(interval);

      step(-1);

      if (playing) interval = setInterval(player_name + ".step(1)", period);
   }
}

/******************************************************************************/

ImagePlayer.prototype.forward = function()
{
   with(this)
   {
      if (playing) clearInterval(interval);

      step(1);

      if (playing) interval = setInterval(player_name + ".step(1)", period);
   }
}

/******************************************************************************/

ImagePlayer.prototype.step = function(increment)
{
   with(this)
   {
      current_image += increment;
      if (current_image > last_image) current_image = 1;
      if (current_image < 1) current_image = last_image;

      select_element.options[current_image - 1].selected = true;
      image_element.src = image_url(current_image);
	  if (this.large_image_url !== undefined) {
	  	image_element.alt = large_image_url(current_image);
	  }
	  var magnifier = document.getElementById("sat-image-playerMagnifier");
      if (magnifier !== undefined && magnifier != null) {
	  	magnifier.style.backgroundImage = "url(" + $("img.satellite_zoom").attr("alt") + ")";
	  }
   }
}

/******************************************************************************/

ImagePlayer.prototype.goto = function(option_num)
{
   with(this)
   {
      if (playing) clearInterval(interval);

      current_image = option_num;
      select_element.options[current_image - 1].selected = true;
      image_element.src = image_url(current_image);
	  if (this.large_image_url !== undefined) {
	  	image_element.alt = large_image_url(current_image);
	  }
	  var magnifier = document.getElementById("sat-image-playerMagnifier");
	  if (magnifier !== undefined && magnifier != null) {
	  	magnifier.style.backgroundImage = "url(" + $("img.satellite_zoom").attr("alt") + ")";
	  }
      if (playing) interval = setInterval(player_name + ".step(1)", period);
   }
}
/**
 * Constructor Arguments: 
 *   imageId:   the id of the <img> tag which will be animated
 *   fps:       the number of frames to display per second
 *   frameURLs: an array of URLs, one for each frame of the animation
 *
 * Public Methods: 
 *   start():   start the animation (but wait for all frames to load first)
 *   stop():    stop the animation
 * 
 * Public Properties:
 *   loaded:    true if all frames of the animation have loaded,
 *              false otherwise
 */
function ImageLoop(imageId, imageHrefId, imageDtgsId, map_startstopId, fps, frameURLs, largeFrameURLs) {
    // Remember the image id. Don't look it up yet since this constructor
    // may be called before the document is loaded.
    this.imageId = imageId;
	this.imageHrefId = imageHrefId;
	this.imageDtgsId = imageDtgsId;
	this.map_startstopId = map_startstopId;
    // Compute the time to wait between frames of the animation
    this.frameInterval = 1000/fps;
    // An array for holding Image objects for each frame
    this.frames = new Array(frameURLs.length);
    // An array for holding Large Image objects for each frame
    this.large_frames = new Array(largeFrameURLs.length);

    this.image = null;             // The <img> element, looked up by id
    this.image_ahref = null;       // The <a> <img>-parent element, looked up by id
	this.image_dtgs = null;        // The <select> dtgs element, looked up by id
	this.map_startstop = null;	   // The element used for the start stop onclick
    this.loaded = false;           // Whether all frames have loaded
    this.loadedFrames = 0;         // How many frames have loaded
    this.startOnLoad = false;      // Start animating when done loading?
    this.frameNumber = -1;         // What frame is currently displayed
    this.timer = null;             // The return value of setInterval()
    var loop = this;

    // Initialize the frames[] array and preload the images
    for(var i = 0; i < frameURLs.length; i++) {
        this.frames[i] = new Image();      // Create Image object
        this.large_frames[i] = new Image();      // Create Image object
        // Register an event handler so we know when the frame is loaded
        this.frames[i].onload = countLoadedFrames; // defined later
        this.frames[i].src = frameURLs[i]; // Preload the frame's image
        this.large_frames[i].src = largeFrameURLs[i]; // Preload the frame's image
    }

    // This nested function is an event handler that counts how many 
    // frames have finished loading.  When all are loaded, it sets a flag,
    // and starts the animation if it has been requested to do so.
    function countLoadedFrames() {
        loop.loadedFrames++;
        if (loop.loadedFrames == loop.frames.length) {
            loop.loaded = true;
            if (loop.startOnLoad) loop.start();
        }
    }

    // Here we define a function that displays the next frame of the
    // animation.  This function can't be an ordinary instance method because
    // setInterval() can only invoke functions, not methods.  So we make
    // it a closure that includes a reference to the ImageLoop object
    this._displayNextFrame = function() {
        // First, increment the frame number. The modulo operator (%) means
        // that we loop from the last to the first frame
        loop.frameNumber = (loop.frameNumber+1)%loop.frames.length;
        // Update the src property of the image to the URL of the new frame
        loop.image.src = loop.frames[loop.frameNumber].src;
		// Update any highslide imgs with loop
		$('img.highslide-image').attr('src',loop.large_frames[loop.frameNumber].src);
		loop.image_ahref.href = loop.large_frames[loop.frameNumber].src;
		loop.image_dtgs.options.selectedIndex = loop.frameNumber
		if(loop.frameNumber == 0) {
		  	$('#map_previous_text').addClass('disabled');
		}
		else {
		 	$('#map_previous_text').removeClass('disabled');
		}
		if(loop.frameNumber+1 == loop.loadedFrames) {
		  	$('#map_next_text').addClass('disabled');
		}
		else {
		 	$('#map_next_text').removeClass('disabled');
		}
    };
}

/**
 * This method starts an ImageLoop animation.  If the frame images have not
 * finished loading, it instead sets a flag so that the animation will 
 * automatically be started when loading completes
 */
ImageLoop.prototype.start = function() {
    if (this.timer != null) return;   // Already started
    // If loading is not complete, set a flag to start when it is
    if (!this.loaded) this.startOnLoad = true;
    else {
        // If we haven't looked up the image by id yet, do so now
        if (!this.image) this.image = document.getElementById(this.imageId);
		// If we haven't looked up the image a href parent by id yet, do so now
        if (!this.image_ahref) this.image_ahref = document.getElementById(this.imageHrefId);
		// If we haven't looked up the dtg combo box by id yet, do so now
        if (!this.image_dtgs) this.image_dtgs = document.getElementById(this.imageDtgsId);
		// If we haven't looked up the map start stop element by id yet, do so now
        if (!this.map_startstop) this.map_startstop = document.getElementById(this.map_startstopId);
		this.map_startstop.onclick=function(){animation.stop()};
		// Some jQuery to set the button text
		$('#map_startstop_text').html('Stop');
        // Display the first frame immediately
        this._displayNextFrame();
        // And set a timer to display subsequent frames
        this.timer = setInterval(this._displayNextFrame, this.frameInterval);
    }
};

/** Stop an ImageLoop animation */
ImageLoop.prototype.stop = function() {
	if (this.map_startstop) this.map_startstop.onclick=function(){animation.start()};
	$('#map_startstop_text').html('Start');
    if (this.timer) clearInterval(this.timer);
    this.timer = null;
};

ImageLoop.prototype.gotoprevious = function(i) {
	if (!this.image_dtgs) this.image_dtgs = document.getElementById(this.imageDtgsId);
	if(this.image_dtgs.options.selectedIndex > 0) {
		this.image_dtgs.options.selectedIndex--;
		this.gotodtgframe();
	}
}

ImageLoop.prototype.gotonext = function(i) {
	if (!this.image_dtgs) this.image_dtgs = document.getElementById(this.imageDtgsId);
	if(this.image_dtgs.options.selectedIndex < this.image_dtgs.options.length-1) {
		this.image_dtgs.options.selectedIndex++;
		this.gotodtgframe();
	}
}

ImageLoop.prototype.gotodtgframe = function() {
		// If we haven't looked up the image by id yet, do so now
        if (!this.image) this.image = document.getElementById(this.imageId);
		// If we haven't looked up the image a href parent by id yet, do so now
        if (!this.image_ahref) this.image_ahref = document.getElementById(this.imageHrefId);
		// If we haven't looked up the dtg combo box by id yet, do so now
        if (!this.image_dtgs) this.image_dtgs = document.getElementById(this.imageDtgsId);
		// If we haven't looked up the map start stop element by id yet, do so now
        if (!this.map_startstop) this.map_startstop = document.getElementById(this.map_startstopId);
        this.frameNumber = this.image_dtgs.options.selectedIndex;
        // Update the src property of the image to the URL of the new frame
        this.image.src = this.frames[this.frameNumber].src;
		this.image_ahref.href = this.large_frames[this.frameNumber].src;
		this.image_dtgs.options.selectedIndex = this.frameNumber
		if(this.frameNumber == 0) {
		  	$('#map_previous_text').addClass('disabled');
		}
		else {
		 	$('#map_previous_text').removeClass('disabled');
		}
		if(this.frameNumber+1 == this.loadedFrames) {
		  	$('#map_next_text').addClass('disabled');
		}
		else {
		 	$('#map_next_text').removeClass('disabled');
		}
};/*
 * jQuery Cycle Lite Plugin
 * http://malsup.com/jquery/cycle/lite/
 * Copyright (c) 2008 M. Alsup
 * Version: 1.0 (06/08/2008)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 * Requires: jQuery v1.2.3 or later
 */
;(function($) {

var ver = 'Lite-1.0';

$.fn.cycle = function(options) {
    return this.each(function() {
        options = options || {};
        
        if (this.cycleTimeout) clearTimeout(this.cycleTimeout);
        this.cycleTimeout = 0;
        this.cyclePause = 0;
        
        var $cont = $(this);
        var $slides = options.slideExpr ? $(options.slideExpr, this) : $cont.children();
        var els = $slides.get();
        if (els.length < 2) {
            if (window.console && window.console.log)
                window.console.log('terminating; too few slides: ' + els.length);
            return; // don't bother
        }

        // support metadata plugin (v1.0 and v2.0)
        var opts = $.extend({}, $.fn.cycle.defaults, options || {}, $.metadata ? $cont.metadata() : $.meta ? $cont.data() : {});
            
        opts.before = opts.before ? [opts.before] : [];
        opts.after = opts.after ? [opts.after] : [];
        opts.after.unshift(function(){ opts.busy=0; });
            
        // allow shorthand overrides of width, height and timeout
        var cls = this.className;
        opts.width = parseInt((cls.match(/w:(\d+)/)||[])[1]) || opts.width;
        opts.height = parseInt((cls.match(/h:(\d+)/)||[])[1]) || opts.height;
        opts.timeout = parseInt((cls.match(/t:(\d+)/)||[])[1]) || opts.timeout;

        if ($cont.css('position') == 'static') 
            $cont.css('position', 'relative');
        if (opts.width) 
            $cont.width(opts.width);
        if (opts.height && opts.height != 'auto') 
            $cont.height(opts.height);

        var first = 0;
        $slides.css({position: 'absolute', top:0, left:0}).hide().each(function(i) { 
            $(this).css('z-index', els.length-i) 
        });
        
        $(els[first]).css('opacity',1).show(); // opacity bit needed to handle reinit case
        if ($.browser.msie) els[first].style.removeAttribute('filter');

        if (opts.fit && opts.width) 
            $slides.width(opts.width);
        if (opts.fit && opts.height && opts.height != 'auto') 
            $slides.height(opts.height);
        if (opts.pause) 
            $cont.hover(function(){this.cyclePause=1;}, function(){this.cyclePause=0;});

        $.fn.cycle.transitions.fade($cont, $slides, opts);
        
        $slides.each(function() {
            var $el = $(this);
            this.cycleH = (opts.fit && opts.height) ? opts.height : $el.height();
            this.cycleW = (opts.fit && opts.width) ? opts.width : $el.width();
        });

        $slides.not(':eq('+first+')').css({opacity:0});
        if (opts.cssFirst)
            $($slides[first]).css(opts.cssFirst);

        if (opts.timeout) {
            // ensure that timeout and speed settings are sane
            if (opts.speed.constructor == String)
                opts.speed = {slow: 600, fast: 200}[opts.speed] || 400;
            if (!opts.sync)
                opts.speed = opts.speed / 2;
            while((opts.timeout - opts.speed) < 250)
                opts.timeout += opts.speed;
        }
        opts.speedIn = opts.speed;
        opts.speedOut = opts.speed;

 		opts.slideCount = els.length;
        opts.currSlide = first;
        opts.nextSlide = 1;

        // fire artificial events
        var e0 = $slides[first];
        if (opts.before.length)
            opts.before[0].apply(e0, [e0, e0, opts, true]);
        if (opts.after.length > 1)
            opts.after[1].apply(e0, [e0, e0, opts, true]);
        
        if (opts.click && !opts.next)
            opts.next = opts.click;
        if (opts.next)
            $(opts.next).bind('click', function(){return advance(els,opts,opts.rev?-1:1)});
        if (opts.prev)
            $(opts.prev).bind('click', function(){return advance(els,opts,opts.rev?1:-1)});

        if (opts.timeout)
            this.cycleTimeout = setTimeout(function() {
                go(els,opts,0,!opts.rev)
            }, opts.timeout + (opts.delay||0));
    });
};

function go(els, opts, manual, fwd) {
    if (opts.busy) return;
    var p = els[0].parentNode, curr = els[opts.currSlide], next = els[opts.nextSlide];
    if (p.cycleTimeout === 0 && !manual) 
        return;

    if (manual || !p.cyclePause) {
        if (opts.before.length)
            $.each(opts.before, function(i,o) { o.apply(next, [curr, next, opts, fwd]); });
        var after = function() {
            if ($.browser.msie)
                this.style.removeAttribute('filter');
            $.each(opts.after, function(i,o) { o.apply(next, [curr, next, opts, fwd]); });
        };

        if (opts.nextSlide != opts.currSlide) {
            opts.busy = 1;
            $.fn.cycle.custom(curr, next, opts, after);
        }
        var roll = (opts.nextSlide + 1) == els.length;
        opts.nextSlide = roll ? 0 : opts.nextSlide+1;
        opts.currSlide = roll ? els.length-1 : opts.nextSlide-1;
    }
    if (opts.timeout)
        p.cycleTimeout = setTimeout(function() { go(els,opts,0,!opts.rev) }, opts.timeout);
};

// advance slide forward or back
function advance(els, opts, val) {
    var p = els[0].parentNode, timeout = p.cycleTimeout;
    if (timeout) {
        clearTimeout(timeout);
        p.cycleTimeout = 0;
    }
    opts.nextSlide = opts.currSlide + val;
    if (opts.nextSlide < 0) {
        opts.nextSlide = els.length - 1;
    }
    else if (opts.nextSlide >= els.length) {
        opts.nextSlide = 0;
    }
    go(els, opts, 1, val>=0);
    return false;
};

$.fn.cycle.custom = function(curr, next, opts, cb) {
    var $l = $(curr), $n = $(next);
    $n.css({opacity:0});
    var fn = function() {$n.animate({opacity:1}, opts.speedIn, opts.easeIn, cb)};
    $l.animate({opacity:0}, opts.speedOut, opts.easeOut, function() {
        $l.css({display:'none'});
        if (!opts.sync) fn();
    });
    if (opts.sync) fn();
};

$.fn.cycle.transitions = {
    fade: function($cont, $slides, opts) {
        $slides.not(':eq(0)').css('opacity',0);
        opts.before.push(function() { $(this).show() });
    }
};

$.fn.cycle.ver = function() { return ver; };

// @see: http://malsup.com/jquery/cycle/lite/
$.fn.cycle.defaults = {
    timeout:       4000, 
    speed:         1000, 
    next:          null, 
    prev:          null, 
    before:        null, 
    after:         null, 
    height:       'auto',
    sync:          1,    
    fit:           0,    
    pause:         0,    
    delay:         0,    
    slideExpr:     null  
};

})(jQuery);
/*
 * jQuery validation plug-in 1.5.1
 *
 * http://bassistance.de/jquery-plugins/jquery-plugin-validation/
 * http://docs.jquery.com/Plugins/Validation
 *
 * Copyright (c) 2006 - 2008 Jörn Zaefferer
 *
 * $Id: jquery.validate.js 6096 2009-01-12 14:12:04Z joern.zaefferer $
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */
(function($){$.extend($.fn,{validate:function(options){if(!this.length){options&&options.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing");return;}var validator=$.data(this[0],'validator');if(validator){return validator;}validator=new $.validator(options,this[0]);$.data(this[0],'validator',validator);if(validator.settings.onsubmit){this.find("input, button").filter(".cancel").click(function(){validator.cancelSubmit=true;});this.submit(function(event){if(validator.settings.debug)event.preventDefault();function handle(){if(validator.settings.submitHandler){validator.settings.submitHandler.call(validator,validator.currentForm);return false;}return true;}if(validator.cancelSubmit){validator.cancelSubmit=false;return handle();}if(validator.form()){if(validator.pendingRequest){validator.formSubmitted=true;return false;}return handle();}else{validator.focusInvalid();return false;}});}return validator;},valid:function(){if($(this[0]).is('form')){return this.validate().form();}else{var valid=false;var validator=$(this[0].form).validate();this.each(function(){valid|=validator.element(this);});return valid;}},removeAttrs:function(attributes){var result={},$element=this;$.each(attributes.split(/\s/),function(index,value){result[value]=$element.attr(value);$element.removeAttr(value);});return result;},rules:function(command,argument){var element=this[0];if(command){var settings=$.data(element.form,'validator').settings;var staticRules=settings.rules;var existingRules=$.validator.staticRules(element);switch(command){case"add":$.extend(existingRules,$.validator.normalizeRule(argument));staticRules[element.name]=existingRules;if(argument.messages)settings.messages[element.name]=$.extend(settings.messages[element.name],argument.messages);break;case"remove":if(!argument){delete staticRules[element.name];return existingRules;}var filtered={};$.each(argument.split(/\s/),function(index,method){filtered[method]=existingRules[method];delete existingRules[method];});return filtered;}}var data=$.validator.normalizeRules($.extend({},$.validator.metadataRules(element),$.validator.classRules(element),$.validator.attributeRules(element),$.validator.staticRules(element)),element);if(data.required){var param=data.required;delete data.required;data=$.extend({required:param},data);}return data;}});$.extend($.expr[":"],{blank:function(a){return!$.trim(a.value);},filled:function(a){return!!$.trim(a.value);},unchecked:function(a){return!a.checked;}});$.format=function(source,params){if(arguments.length==1)return function(){var args=$.makeArray(arguments);args.unshift(source);return $.format.apply(this,args);};if(arguments.length>2&&params.constructor!=Array){params=$.makeArray(arguments).slice(1);}if(params.constructor!=Array){params=[params];}$.each(params,function(i,n){source=source.replace(new RegExp("\\{"+i+"\\}","g"),n);});return source;};$.validator=function(options,form){this.settings=$.extend({},$.validator.defaults,options);this.currentForm=form;this.init();};$.extend($.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",errorElement:"label",focusInvalid:true,errorContainer:$([]),errorLabelContainer:$([]),onsubmit:true,ignore:[],ignoreTitle:false,onfocusin:function(element){this.lastActive=element;if(this.settings.focusCleanup&&!this.blockFocusCleanup){this.settings.unhighlight&&this.settings.unhighlight.call(this,element,this.settings.errorClass);this.errorsFor(element).hide();}},onfocusout:function(element){if(!this.checkable(element)&&(element.name in this.submitted||!this.optional(element))){this.element(element);}},onkeyup:function(element){if(element.name in this.submitted||element==this.lastElement){this.element(element);}},onclick:function(element){if(element.name in this.submitted)this.element(element);},highlight:function(element,errorClass){$(element).addClass(errorClass);},unhighlight:function(element,errorClass){$(element).removeClass(errorClass);}},setDefaults:function(settings){$.extend($.validator.defaults,settings);},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",dateDE:"Bitte geben Sie ein gültiges Datum ein.",number:"Please enter a valid number.",numberDE:"Bitte geben Sie eine Nummer ein.",digits:"Please enter only digits",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",accept:"Please enter a value with a valid extension.",maxlength:$.format("Please enter no more than {0} characters."),minlength:$.format("Please enter at least {0} characters."),rangelength:$.format("Please enter a value between {0} and {1} characters long."),range:$.format("Please enter a value between {0} and {1}."),max:$.format("Please enter a value less than or equal to {0}."),min:$.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:false,prototype:{init:function(){this.labelContainer=$(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||$(this.currentForm);this.containers=$(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var groups=(this.groups={});$.each(this.settings.groups,function(key,value){$.each(value.split(/\s/),function(index,name){groups[name]=key;});});var rules=this.settings.rules;$.each(rules,function(key,value){rules[key]=$.validator.normalizeRule(value);});function delegate(event){var validator=$.data(this[0].form,"validator");validator.settings["on"+event.type]&&validator.settings["on"+event.type].call(validator,this[0]);}$(this.currentForm).delegate("focusin focusout keyup",":text, :password, :file, select, textarea",delegate).delegate("click",":radio, :checkbox",delegate);if(this.settings.invalidHandler)$(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler);},form:function(){this.checkForm();$.extend(this.submitted,this.errorMap);this.invalid=$.extend({},this.errorMap);if(!this.valid())$(this.currentForm).triggerHandler("invalid-form",[this]);this.showErrors();return this.valid();},checkForm:function(){this.prepareForm();for(var i=0,elements=(this.currentElements=this.elements());elements[i];i++){this.check(elements[i]);}return this.valid();},element:function(element){element=this.clean(element);this.lastElement=element;this.prepareElement(element);this.currentElements=$(element);var result=this.check(element);if(result){delete this.invalid[element.name];}else{this.invalid[element.name]=true;}if(!this.numberOfInvalids()){this.toHide=this.toHide.add(this.containers);}this.showErrors();return result;},showErrors:function(errors){if(errors){$.extend(this.errorMap,errors);this.errorList=[];for(var name in errors){this.errorList.push({message:errors[name],element:this.findByName(name)[0]});}this.successList=$.grep(this.successList,function(element){return!(element.name in errors);});}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors();},resetForm:function(){if($.fn.resetForm)$(this.currentForm).resetForm();this.submitted={};this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass);},numberOfInvalids:function(){return this.objectLength(this.invalid);},objectLength:function(obj){var count=0;for(var i in obj)count++;return count;},hideErrors:function(){this.addWrapper(this.toHide).hide();},valid:function(){return this.size()==0;},size:function(){return this.errorList.length;},focusInvalid:function(){if(this.settings.focusInvalid){try{$(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus();}catch(e){}}},findLastActive:function(){var lastActive=this.lastActive;return lastActive&&$.grep(this.errorList,function(n){return n.element.name==lastActive.name;}).length==1&&lastActive;},elements:function(){var validator=this,rulesCache={};return $([]).add(this.currentForm.elements).filter(":input").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){!this.name&&validator.settings.debug&&window.console&&console.error("%o has no name assigned",this);if(this.name in rulesCache||!validator.objectLength($(this).rules()))return false;rulesCache[this.name]=true;return true;});},clean:function(selector){return $(selector)[0];},errors:function(){return $(this.settings.errorElement+"."+this.settings.errorClass,this.errorContext);},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=$([]);this.toHide=$([]);this.formSubmitted=false;this.currentElements=$([]);},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers);},prepareElement:function(element){this.reset();this.toHide=this.errorsFor(element);},check:function(element){element=this.clean(element);if(this.checkable(element)){element=this.findByName(element.name)[0];}var rules=$(element).rules();var dependencyMismatch=false;for(method in rules){var rule={method:method,parameters:rules[method]};try{var result=$.validator.methods[method].call(this,element.value,element,rule.parameters);if(result=="dependency-mismatch"){dependencyMismatch=true;continue;}dependencyMismatch=false;if(result=="pending"){this.toHide=this.toHide.not(this.errorsFor(element));return;}if(!result){this.formatAndAdd(element,rule);return false;}}catch(e){this.settings.debug&&window.console&&console.log("exception occured when checking element "+element.id
+", check the '"+rule.method+"' method");throw e;}}if(dependencyMismatch)return;if(this.objectLength(rules))this.successList.push(element);return true;},customMetaMessage:function(element,method){if(!$.metadata)return;var meta=this.settings.meta?$(element).metadata()[this.settings.meta]:$(element).metadata();return meta&&meta.messages&&meta.messages[method];},customMessage:function(name,method){var m=this.settings.messages[name];return m&&(m.constructor==String?m:m[method]);},findDefined:function(){for(var i=0;i<arguments.length;i++){if(arguments[i]!==undefined)return arguments[i];}return undefined;},defaultMessage:function(element,method){return this.findDefined(this.customMessage(element.name,method),this.customMetaMessage(element,method),!this.settings.ignoreTitle&&element.title||undefined,$.validator.messages[method],"<strong>Warning: No message defined for "+element.name+"</strong>");},formatAndAdd:function(element,rule){var message=this.defaultMessage(element,rule.method);if(typeof message=="function")message=message.call(this,rule.parameters,element);this.errorList.push({message:message,element:element});this.errorMap[element.name]=message;this.submitted[element.name]=message;},addWrapper:function(toToggle){if(this.settings.wrapper)toToggle=toToggle.add(toToggle.parents(this.settings.wrapper));return toToggle;},defaultShowErrors:function(){for(var i=0;this.errorList[i];i++){var error=this.errorList[i];this.settings.highlight&&this.settings.highlight.call(this,error.element,this.settings.errorClass);this.showLabel(error.element,error.message);}if(this.errorList.length){this.toShow=this.toShow.add(this.containers);}if(this.settings.success){for(var i=0;this.successList[i];i++){this.showLabel(this.successList[i]);}}if(this.settings.unhighlight){for(var i=0,elements=this.validElements();elements[i];i++){this.settings.unhighlight.call(this,elements[i],this.settings.errorClass);}}this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show();},validElements:function(){return this.currentElements.not(this.invalidElements());},invalidElements:function(){return $(this.errorList).map(function(){return this.element;});},showLabel:function(element,message){var label=this.errorsFor(element);if(label.length){label.removeClass().addClass(this.settings.errorClass);label.attr("generated")&&label.html(message);}else{label=$("<"+this.settings.errorElement+"/>").attr({"for":this.idOrName(element),generated:true}).addClass(this.settings.errorClass).html(message||"");if(this.settings.wrapper){label=label.hide().show().wrap("<"+this.settings.wrapper+"/>").parent();}if(!this.labelContainer.append(label).length)this.settings.errorPlacement?this.settings.errorPlacement(label,$(element)):label.insertAfter(element);}if(!message&&this.settings.success){label.text("");typeof this.settings.success=="string"?label.addClass(this.settings.success):this.settings.success(label);}this.toShow=this.toShow.add(label);},errorsFor:function(element){return this.errors().filter("[for='"+this.idOrName(element)+"']");},idOrName:function(element){return this.groups[element.name]||(this.checkable(element)?element.name:element.id||element.name);},checkable:function(element){return/radio|checkbox/i.test(element.type);},findByName:function(name){var form=this.currentForm;return $(document.getElementsByName(name)).map(function(index,element){return element.form==form&&element.name==name&&element||null;});},getLength:function(value,element){switch(element.nodeName.toLowerCase()){case'select':return $("option:selected",element).length;case'input':if(this.checkable(element))return this.findByName(element.name).filter(':checked').length;}return value.length;},depend:function(param,element){return this.dependTypes[typeof param]?this.dependTypes[typeof param](param,element):true;},dependTypes:{"boolean":function(param,element){return param;},"string":function(param,element){return!!$(param,element.form).length;},"function":function(param,element){return param(element);}},optional:function(element){return!$.validator.methods.required.call(this,$.trim(element.value),element)&&"dependency-mismatch";},startRequest:function(element){if(!this.pending[element.name]){this.pendingRequest++;this.pending[element.name]=true;}},stopRequest:function(element,valid){this.pendingRequest--;if(this.pendingRequest<0)this.pendingRequest=0;delete this.pending[element.name];if(valid&&this.pendingRequest==0&&this.formSubmitted&&this.form()){$(this.currentForm).submit();}else if(!valid&&this.pendingRequest==0&&this.formSubmitted){$(this.currentForm).triggerHandler("invalid-form",[this]);}},previousValue:function(element){return $.data(element,"previousValue")||$.data(element,"previousValue",previous={old:null,valid:true,message:this.defaultMessage(element,"remote")});}},classRuleSettings:{required:{required:true},email:{email:true},url:{url:true},date:{date:true},dateISO:{dateISO:true},dateDE:{dateDE:true},number:{number:true},numberDE:{numberDE:true},digits:{digits:true},creditcard:{creditcard:true}},addClassRules:function(className,rules){className.constructor==String?this.classRuleSettings[className]=rules:$.extend(this.classRuleSettings,className);},classRules:function(element){var rules={};var classes=$(element).attr('class');classes&&$.each(classes.split(' '),function(){if(this in $.validator.classRuleSettings){$.extend(rules,$.validator.classRuleSettings[this]);}});return rules;},attributeRules:function(element){var rules={};var $element=$(element);for(method in $.validator.methods){var value=$element.attr(method);if(value){rules[method]=value;}}if(rules.maxlength&&/-1|2147483647|524288/.test(rules.maxlength)){delete rules.maxlength;}return rules;},metadataRules:function(element){if(!$.metadata)return{};var meta=$.data(element.form,'validator').settings.meta;return meta?$(element).metadata()[meta]:$(element).metadata();},staticRules:function(element){var rules={};var validator=$.data(element.form,'validator');if(validator.settings.rules){rules=$.validator.normalizeRule(validator.settings.rules[element.name])||{};}return rules;},normalizeRules:function(rules,element){$.each(rules,function(prop,val){if(val===false){delete rules[prop];return;}if(val.param||val.depends){var keepRule=true;switch(typeof val.depends){case"string":keepRule=!!$(val.depends,element.form).length;break;case"function":keepRule=val.depends.call(element,element);break;}if(keepRule){rules[prop]=val.param!==undefined?val.param:true;}else{delete rules[prop];}}});$.each(rules,function(rule,parameter){rules[rule]=$.isFunction(parameter)?parameter(element):parameter;});$.each(['minlength','maxlength','min','max'],function(){if(rules[this]){rules[this]=Number(rules[this]);}});$.each(['rangelength','range'],function(){if(rules[this]){rules[this]=[Number(rules[this][0]),Number(rules[this][1])];}});if($.validator.autoCreateRanges){if(rules.min&&rules.max){rules.range=[rules.min,rules.max];delete rules.min;delete rules.max;}if(rules.minlength&&rules.maxlength){rules.rangelength=[rules.minlength,rules.maxlength];delete rules.minlength;delete rules.maxlength;}}if(rules.messages){delete rules.messages}return rules;},normalizeRule:function(data){if(typeof data=="string"){var transformed={};$.each(data.split(/\s/),function(){transformed[this]=true;});data=transformed;}return data;},addMethod:function(name,method,message){$.validator.methods[name]=method;$.validator.messages[name]=message;if(method.length<3){$.validator.addClassRules(name,$.validator.normalizeRule(name));}},methods:{required:function(value,element,param){if(!this.depend(param,element))return"dependency-mismatch";switch(element.nodeName.toLowerCase()){case'select':var options=$("option:selected",element);return options.length>0&&(element.type=="select-multiple"||($.browser.msie&&!(options[0].attributes['value'].specified)?options[0].text:options[0].value).length>0);case'input':if(this.checkable(element))return this.getLength(value,element)>0;default:return $.trim(value).length>0;}},remote:function(value,element,param){if(this.optional(element))return"dependency-mismatch";var previous=this.previousValue(element);if(!this.settings.messages[element.name])this.settings.messages[element.name]={};this.settings.messages[element.name].remote=typeof previous.message=="function"?previous.message(value):previous.message;param=typeof param=="string"&&{url:param}||param;if(previous.old!==value){previous.old=value;var validator=this;this.startRequest(element);var data={};data[element.name]=value;$.ajax($.extend(true,{url:param,mode:"abort",port:"validate"+element.name,dataType:"json",data:data,success:function(response){if(response){var submitted=validator.formSubmitted;validator.prepareElement(element);validator.formSubmitted=submitted;validator.successList.push(element);validator.showErrors();}else{var errors={};errors[element.name]=response||validator.defaultMessage(element,"remote");validator.showErrors(errors);}previous.valid=response;validator.stopRequest(element,response);}},param));return"pending";}else if(this.pending[element.name]){return"pending";}return previous.valid;},minlength:function(value,element,param){return this.optional(element)||this.getLength($.trim(value),element)>=param;},maxlength:function(value,element,param){return this.optional(element)||this.getLength($.trim(value),element)<=param;},rangelength:function(value,element,param){var length=this.getLength($.trim(value),element);return this.optional(element)||(length>=param[0]&&length<=param[1]);},min:function(value,element,param){return this.optional(element)||value>=param;},max:function(value,element,param){return this.optional(element)||value<=param;},range:function(value,element,param){return this.optional(element)||(value>=param[0]&&value<=param[1]);},email:function(value,element){return this.optional(element)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(value);},url:function(value,element){return this.optional(element)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(value);},date:function(value,element){return this.optional(element)||!/Invalid|NaN/.test(new Date(value));},dateISO:function(value,element){return this.optional(element)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(value);},dateDE:function(value,element){return this.optional(element)||/^\d\d?\.\d\d?\.\d\d\d?\d?$/.test(value);},number:function(value,element){return this.optional(element)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(value);},numberDE:function(value,element){return this.optional(element)||/^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test(value);},digits:function(value,element){return this.optional(element)||/^\d+$/.test(value);},creditcard:function(value,element){if(this.optional(element))return"dependency-mismatch";if(/[^0-9-]+/.test(value))return false;var nCheck=0,nDigit=0,bEven=false;value=value.replace(/\D/g,"");for(n=value.length-1;n>=0;n--){var cDigit=value.charAt(n);var nDigit=parseInt(cDigit,10);if(bEven){if((nDigit*=2)>9)nDigit-=9;}nCheck+=nDigit;bEven=!bEven;}return(nCheck%10)==0;},accept:function(value,element,param){param=typeof param=="string"?param:"png|jpe?g|gif";return this.optional(element)||value.match(new RegExp(".("+param+")$","i"));},equalTo:function(value,element,param){return value==$(param).val();}}});})(jQuery);;(function($){var ajax=$.ajax;var pendingRequests={};$.ajax=function(settings){settings=$.extend(settings,$.extend({},$.ajaxSettings,settings));var port=settings.port;if(settings.mode=="abort"){if(pendingRequests[port]){pendingRequests[port].abort();}return(pendingRequests[port]=ajax.apply(this,arguments));}return ajax.apply(this,arguments);};})(jQuery);;(function($){$.each({focus:'focusin',blur:'focusout'},function(original,fix){$.event.special[fix]={setup:function(){if($.browser.msie)return false;this.addEventListener(original,$.event.special[fix].handler,true);},teardown:function(){if($.browser.msie)return false;this.removeEventListener(original,$.event.special[fix].handler,true);},handler:function(e){arguments[0]=$.event.fix(e);arguments[0].type=fix;return $.event.handle.apply(this,arguments);}};});$.extend($.fn,{delegate:function(type,delegate,handler){return this.bind(type,function(event){var target=$(event.target);if(target.is(delegate)){return handler.apply(target,arguments);}});},triggerEvent:function(type,target){return this.triggerHandler(type,[$.event.fix({type:type,target:target})]);}})})(jQuery);/*
 *
 *	jQuery Timer plugin v0.1
 *		Matt Schmidt [http://www.mattptr.net]
 *
 *	Licensed under the BSD License:
 *		http://mattptr.net/license/license.txt
 *
 */
 
 jQuery.timer = function (interval, callback)
 {
 /**
  *
  * timer() provides a cleaner way to handle intervals  
  *
  *	@usage
  * $.timer(interval, callback);
  *
  *
  * @example
  * $.timer(1000, function (timer) {
  * 	alert("hello");
  * 	timer.stop();
  * });
  * @desc Show an alert box after 1 second and stop
  * 
  * @example
  * var second = false;
  *	$.timer(1000, function (timer) {
  *		if (!second) {
  *			alert('First time!');
  *			second = true;
  *			timer.reset(3000);
  *		}
  *		else {
  *			alert('Second time');
  *			timer.stop();
  *		}
  *	});
  * @desc Show an alert box after 1 second and show another after 3 seconds
  *
  * 
  */

	var interval = interval || 100;

	if (!callback)
		return false;
	
	_timer = function (interval, callback) {
		this.stop = function () {
			clearInterval(self.id);
		};
		
		this.internalCallback = function () {
			callback(self);
		};
		
		this.reset = function (val) {
			if (self.id)
				clearInterval(self.id);
			
			var val = val || 100;
			this.id = setInterval(this.internalCallback, val);
		};
		
		this.interval = interval;
		this.id = setInterval(this.internalCallback, this.interval);
		
		var self = this;
	};
	
	return new _timer(interval, callback);
 };/**
 * Cookie plugin
 *
 * Copyright (c) 2006 Klaus Hartl (stilbuero.de)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 */

/**
 * Create a cookie with the given name and value and other optional parameters.
 *
 * @example $.cookie('the_cookie', 'the_value');
 * @desc Set the value of a cookie.
 * @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });
 * @desc Create a cookie with all available options.
 * @example $.cookie('the_cookie', 'the_value');
 * @desc Create a session cookie.
 * @example $.cookie('the_cookie', null);
 * @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain
 *       used when the cookie was set.
 *
 * @param String name The name of the cookie.
 * @param String value The value of the cookie.
 * @param Object options An object literal containing key/value pairs to provide optional cookie attributes.
 * @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object.
 *                             If a negative value is specified (e.g. a date in the past), the cookie will be deleted.
 *                             If set to null or omitted, the cookie will be a session cookie and will not be retained
 *                             when the the browser exits.
 * @option String path The value of the path atribute of the cookie (default: path of page that created the cookie).
 * @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie).
 * @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will
 *                        require a secure protocol (like HTTPS).
 * @type undefined
 *
 * @name $.cookie
 * @cat Plugins/Cookie
 * @author Klaus Hartl/klaus.hartl@stilbuero.de
 */

/**
 * Get the value of a cookie with the given name.
 *
 * @example $.cookie('the_cookie');
 * @desc Get the value of a cookie.
 *
 * @param String name The name of the cookie.
 * @return The value of the cookie.
 * @type String
 *
 * @name $.cookie
 * @cat Plugins/Cookie
 * @author Klaus Hartl/klaus.hartl@stilbuero.de
 */
jQuery.cookie = function(name, value, options) {
    if (typeof value != 'undefined') { // name and value given, set cookie
        options = options || {};
        if (value === null) {
            value = '';
            options.expires = -1;
        }
        var expires = '';
        if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
            var date;
            if (typeof options.expires == 'number') {
                date = new Date();
                date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
            } else {
                date = options.expires;
            }
            expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
        }
        // CAUTION: Needed to parenthesize options.path and options.domain
        // in the following expressions, otherwise they evaluate to undefined
        // in the packed version for some reason...
        var path = options.path ? '; path=' + (options.path) : '';
        var domain = options.domain ? '; domain=' + (options.domain) : '';
        var secure = options.secure ? '; secure' : '';
        document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
    } else { // only name given, get cookie
        var cookieValue = null;
        if (document.cookie && document.cookie != '') {
            var cookies = document.cookie.split(';');
            for (var i = 0; i < cookies.length; i++) {
                var cookie = jQuery.trim(cookies[i]);
                // Does this cookie string begin with the name we want?
                if (cookie.substring(0, name.length + 1) == (name + '=')) {
                    cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
                    break;
                }
            }
        }
        return cookieValue;
    }
};/*
 *
 * Copyright (c) 2006-2009 Sam Collett (http://www.texotela.co.uk)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 *
 * Version 2.2.4
 * Demo: http://www.texotela.co.uk/code/jquery/select/
 *
 * $LastChangedDate$
 * $Rev$
 *
 */
 
;(function($) {
 
/**
 * Adds (single/multiple) options to a select box (or series of select boxes)
 *
 * @name     addOption
 * @author   Sam Collett (http://www.texotela.co.uk)
 * @type     jQuery
 * @example  $("#myselect").addOption("Value", "Text"); // add single value (will be selected)
 * @example  $("#myselect").addOption("Value 2", "Text 2", false); // add single value (won't be selected)
 * @example  $("#myselect").addOption({"foo":"bar","bar":"baz"}, false); // add multiple values, but don't select
 *
 */
$.fn.addOption = function()
{
	var add = function(el, v, t, sO)
	{
		var option = document.createElement("option");
		option.value = v, option.text = t;
		// get options
		var o = el.options;
		// get number of options
		var oL = o.length;
		if(!el.cache)
		{
			el.cache = {};
			// loop through existing options, adding to cache
			for(var i = 0; i < oL; i++)
			{
				el.cache[o[i].value] = i;
			}
		}
		// add to cache if it isn't already
		if(typeof el.cache[v] == "undefined") el.cache[v] = oL;
		el.options[el.cache[v]] = option;
		if(sO)
		{
			option.selected = true;
		}
	};
	
	var a = arguments;
	if(a.length == 0) return this;
	// select option when added? default is true
	var sO = true;
	// multiple items
	var m = false;
	// other variables
	var items, v, t;
	if(typeof(a[0]) == "object")
	{
		m = true;
		items = a[0];
	}
	if(a.length >= 2)
	{
		if(typeof(a[1]) == "boolean") sO = a[1];
		else if(typeof(a[2]) == "boolean") sO = a[2];
		if(!m)
		{
			v = a[0];
			t = a[1];
		}
	}
	this.each(
		function()
		{
			if(this.nodeName.toLowerCase() != "select") return;
			if(m)
			{
				for(var item in items)
				{
					add(this, item, items[item], sO);
				}
			}
			else
			{
				add(this, v, t, sO);
			}
		}
	);
	return this;
};

/**
 * Add options via ajax
 *
 * @name     ajaxAddOption
 * @author   Sam Collett (http://www.texotela.co.uk)
 * @type     jQuery
 * @param    String url      Page to get options from (must be valid JSON)
 * @param    Object params   (optional) Any parameters to send with the request
 * @param    Boolean select  (optional) Select the added options, default true
 * @param    Function fn     (optional) Call this function with the select object as param after completion
 * @param    Array args      (optional) Array with params to pass to the function afterwards
 * @example  $("#myselect").ajaxAddOption("myoptions.php");
 * @example  $("#myselect").ajaxAddOption("myoptions.php", {"code" : "007"});
 * @example  $("#myselect").ajaxAddOption("myoptions.php", {"code" : "007"}, false, sortoptions, [{"dir": "desc"}]);
 *
 */
$.fn.ajaxAddOption = function(url, params, select, fn, args)
{
	if(typeof(url) != "string") return this;
	if(typeof(params) != "object") params = {};
	if(typeof(select) != "boolean") select = true;
	this.each(
		function()
		{
			var el = this;
			$.getJSON(url,
				params,
				function(r)
				{
					$(el).addOption(r, select);
					if(typeof fn == "function")
					{
						if(typeof args == "object")
						{
							fn.apply(el, args);
						} 
						else
						{
							fn.call(el);
						}
					}
				}
			);
		}
	);
	return this;
};

/**
 * Removes an option (by value or index) from a select box (or series of select boxes)
 *
 * @name     removeOption
 * @author   Sam Collett (http://www.texotela.co.uk)
 * @type     jQuery
 * @param    String|RegExp|Number what  Option to remove
 * @param    Boolean selectedOnly       (optional) Remove only if it has been selected (default false)   
 * @example  $("#myselect").removeOption("Value"); // remove by value
 * @example  $("#myselect").removeOption(/^val/i); // remove options with a value starting with 'val'
 * @example  $("#myselect").removeOption(/./); // remove all options
 * @example  $("#myselect").removeOption(/./, true); // remove all options that have been selected
 * @example  $("#myselect").removeOption(0); // remove by index
 * @example  $("#myselect").removeOption(["myselect_1","myselect_2"]); // values contained in passed array
 *
 */
$.fn.removeOption = function()
{
	var a = arguments;
	if(a.length == 0) return this;
	var ta = typeof(a[0]);
	var v, index;
	// has to be a string or regular expression (object in IE, function in Firefox)
	if(ta == "string" || ta == "object" || ta == "function" )
	{
		v = a[0];
		// if an array, remove items
		if(v.constructor == Array)
		{
			var l = v.length;
			for(var i = 0; i<l; i++)
			{
				this.removeOption(v[i], a[1]); 
			}
			return this;
		}
	}
	else if(ta == "number") index = a[0];
	else return this;
	this.each(
		function()
		{
			if(this.nodeName.toLowerCase() != "select") return;
			// clear cache
			if(this.cache) this.cache = null;
			// does the option need to be removed?
			var remove = false;
			// get options
			var o = this.options;
			if(!!v)
			{
				// get number of options
				var oL = o.length;
				for(var i=oL-1; i>=0; i--)
				{
					if(v.constructor == RegExp)
					{
						if(o[i].value.match(v))
						{
							remove = true;
						}
					}
					else if(o[i].value == v)
					{
						remove = true;
					}
					// if the option is only to be removed if selected
					if(remove && a[1] === true) remove = o[i].selected;
					if(remove)
					{
						o[i] = null;
					}
					remove = false;
				}
			}
			else
			{
				// only remove if selected?
				if(a[1] === true)
				{
					remove = o[index].selected;
				}
				else
				{
					remove = true;
				}
				if(remove)
				{
					this.remove(index);
				}
			}
		}
	);
	return this;
};

/**
 * Sort options (ascending or descending) in a select box (or series of select boxes)
 *
 * @name     sortOptions
 * @author   Sam Collett (http://www.texotela.co.uk)
 * @type     jQuery
 * @param    Boolean ascending   (optional) Sort ascending (true/undefined), or descending (false)
 * @example  // ascending
 * $("#myselect").sortOptions(); // or $("#myselect").sortOptions(true);
 * @example  // descending
 * $("#myselect").sortOptions(false);
 *
 */
$.fn.sortOptions = function(ascending)
{
	// get selected values first
	var sel = $(this).selectedValues();
	var a = typeof(ascending) == "undefined" ? true : !!ascending;
	this.each(
		function()
		{
			if(this.nodeName.toLowerCase() != "select") return;
			// get options
			var o = this.options;
			// get number of options
			var oL = o.length;
			// create an array for sorting
			var sA = [];
			// loop through options, adding to sort array
			for(var i = 0; i<oL; i++)
			{
				sA[i] = {
					v: o[i].value,
					t: o[i].text
				}
			}
			// sort items in array
			sA.sort(
				function(o1, o2)
				{
					// option text is made lowercase for case insensitive sorting
					o1t = o1.t.toLowerCase(), o2t = o2.t.toLowerCase();
					// if options are the same, no sorting is needed
					if(o1t == o2t) return 0;
					if(a)
					{
						return o1t < o2t ? -1 : 1;
					}
					else
					{
						return o1t > o2t ? -1 : 1;
					}
				}
			);
			// change the options to match the sort array
			for(var i = 0; i<oL; i++)
			{
				o[i].text = sA[i].t;
				o[i].value = sA[i].v;
			}
		}
	).selectOptions(sel, true); // select values, clearing existing ones
	return this;
};
/**
 * Selects an option by value
 *
 * @name     selectOptions
 * @author   Mathias Bank (http://www.mathias-bank.de), original function
 * @author   Sam Collett (http://www.texotela.co.uk), addition of regular expression matching
 * @type     jQuery
 * @param    String|RegExp|Array value  Which options should be selected
 * can be a string or regular expression, or an array of strings / regular expressions
 * @param    Boolean clear  Clear existing selected options, default false
 * @example  $("#myselect").selectOptions("val1"); // with the value 'val1'
 * @example  $("#myselect").selectOptions(["val1","val2","val3"]); // with the values 'val1' 'val2' 'val3'
 * @example  $("#myselect").selectOptions(/^val/i); // with the value starting with 'val', case insensitive
 *
 */
$.fn.selectOptions = function(value, clear)
{
	var v = value;
	var vT = typeof(value);
	// handle arrays
	if(vT == "object" && v.constructor == Array)
	{
		var $this = this;
		$.each(v, function()
			{
      				$this.selectOptions(this, clear);
    			}
		);
	};
	var c = clear || false;
	// has to be a string or regular expression (object in IE, function in Firefox)
	if(vT != "string" && vT != "function" && vT != "object") return this;
	this.each(
		function()
		{
			if(this.nodeName.toLowerCase() != "select") return this;
			// get options
			var o = this.options;
			// get number of options
			var oL = o.length;
			for(var i = 0; i<oL; i++)
			{
				if(v.constructor == RegExp)
				{
					if(o[i].value.match(v))
					{
						o[i].selected = true;
					}
					else if(c)
					{
						o[i].selected = false;
					}
				}
				else
				{
					if(o[i].value == v)
					{
						o[i].selected = true;
					}
					else if(c)
					{
						o[i].selected = false;
					}
				}
			}
		}
	);
	return this;
};

/**
 * Copy options to another select
 *
 * @name     copyOptions
 * @author   Sam Collett (http://www.texotela.co.uk)
 * @type     jQuery
 * @param    String to  Element to copy to
 * @param    String which  (optional) Specifies which options should be copied - 'all' or 'selected'. Default is 'selected'
 * @example  $("#myselect").copyOptions("#myselect2"); // copy selected options from 'myselect' to 'myselect2'
 * @example  $("#myselect").copyOptions("#myselect2","selected"); // same as above
 * @example  $("#myselect").copyOptions("#myselect2","all"); // copy all options from 'myselect' to 'myselect2'
 *
 */
$.fn.copyOptions = function(to, which)
{
	var w = which || "selected";
	if($(to).size() == 0) return this;
	this.each(
		function()
		{
			if(this.nodeName.toLowerCase() != "select") return this;
			// get options
			var o = this.options;
			// get number of options
			var oL = o.length;
			for(var i = 0; i<oL; i++)
			{
				if(w == "all" || (w == "selected" && o[i].selected))
				{
					$(to).addOption(o[i].value, o[i].text);
				}
			}
		}
	);
	return this;
};

/**
 * Checks if a select box has an option with the supplied value
 *
 * @name     containsOption
 * @author   Sam Collett (http://www.texotela.co.uk)
 * @type     Boolean|jQuery
 * @param    String|RegExp value  Which value to check for. Can be a string or regular expression
 * @param    Function fn          (optional) Function to apply if an option with the given value is found.
 * Use this if you don't want to break the chaining
 * @example  if($("#myselect").containsOption("val1")) alert("Has an option with the value 'val1'");
 * @example  if($("#myselect").containsOption(/^val/i)) alert("Has an option with the value starting with 'val'");
 * @example  $("#myselect").containsOption("val1", copyoption).doSomethingElseWithSelect(); // calls copyoption (user defined function) for any options found, chain is continued
 *
 */
$.fn.containsOption = function(value, fn)
{
	var found = false;
	var v = value;
	var vT = typeof(v);
	var fT = typeof(fn);
	// has to be a string or regular expression (object in IE, function in Firefox)
	if(vT != "string" && vT != "function" && vT != "object") return fT == "function" ? this: found;
	this.each(
		function()
		{
			if(this.nodeName.toLowerCase() != "select") return this;
			// option already found
			if(found && fT != "function") return false;
			// get options
			var o = this.options;
			// get number of options
			var oL = o.length;
			for(var i = 0; i<oL; i++)
			{
				if(v.constructor == RegExp)
				{
					if (o[i].value.match(v))
					{
						found = true;
						if(fT == "function") fn.call(o[i], i);
					}
				}
				else
				{
					if (o[i].value == v)
					{
						found = true;
						if(fT == "function") fn.call(o[i], i);
					}
				}
			}
		}
	);
	return fT == "function" ? this : found;
};

/**
 * Returns values which have been selected
 *
 * @name     selectedValues
 * @author   Sam Collett (http://www.texotela.co.uk)
 * @type     Array
 * @example  $("#myselect").selectedValues();
 *
 */
$.fn.selectedValues = function()
{
	var v = [];
	this.selectedOptions().each(
		function()
		{
			v[v.length] = this.value;
		}
	);
	return v;
};

/**
 * Returns text which has been selected
 *
 * @name     selectedTexts
 * @author   Sam Collett (http://www.texotela.co.uk)
 * @type     Array
 * @example  $("#myselect").selectedTexts();
 *
 */
$.fn.selectedTexts = function()
{
	var t = [];
	this.selectedOptions().each(
		function()
		{
			t[t.length] = this.text;
		}
	);
	return t;
};

/**
 * Returns options which have been selected
 *
 * @name     selectedOptions
 * @author   Sam Collett (http://www.texotela.co.uk)
 * @type     jQuery
 * @example  $("#myselect").selectedOptions();
 *
 */
$.fn.selectedOptions = function()
{
	return this.find("option:selected");
};

})(jQuery);(function($){
		$.fn.jqueryzoomsatellite = function(options){
			var settings = {
					xzoom: 200,		//zoomed width default width
					yzoom: 200,		//zoomed div default width
					offset: 10,		//zoomed div default offset
					position: "right"  //zoomed div default position,offset position is to the right of the image
				};
	
				if(options) {
					$.extend(settings, options);
				}
	
	            var noalt ='';
	
			$(this).hover(function(){
			    var imageLeft = $(this).get(0).offsetLeft;
			    var imageRight = $(this).get(0).offsetRight;
			    var imageTop =  $(this).get(0).offsetTop;
			    var imageWidth = $(this).get(0).offsetWidth;
			    var imageHeight = $(this).get(0).offsetHeight;
			    var bigimage = $(this).attr("alt");
	            noalt = $(this).attr("alt");
	            $(this).attr("alt",'');
	                
			    if($("div.zoomdiv").get().length == 0){
				    $(this).after("<div class='zoomdiv'><img class='bigimg' src='"+bigimage+"'/></div>");
			    }
			    if(settings.position == "right"){
				    leftpos = imageLeft + imageWidth + settings.offset;
			    }else{
				    leftpos = imageLeft - settings.xzoom - settings.offset;
			    }
			    $("div.zoomdiv").css({ top: imageTop,left: leftpos });
			    $("div.zoomdiv").width(settings.xzoom);
			    $("div.zoomdiv").height(settings.yzoom);
			    $("div.zoomdiv").show();
						$(document.body).mousemove(function(e){
						    var bigwidth = $(".bigimg").get(0).offsetWidth;
						    var bigheight = $(".bigimg").get(0).offsetHeight;
						    var scaley ='x';
						    var scalex= 'y';
						    if(isNaN(scalex)|isNaN(scaley)){
						    	var scalex = Math.round(bigwidth/imageWidth) ;
						    	var scaley = Math.round(bigheight/imageHeight);
						    }
							mouse = new MouseEvent(e);
							scrolly = mouse.y - imageTop - ($("div.zoomdiv").height()*1/scaley)/2 ;
							scrolly = scrolly - 180;
							$("div.zoomdiv").get(0).scrollTop = scrolly * scaley  ;
						    scrollx = mouse.x - imageLeft - ($("div.zoomdiv").width()*1/scalex)/2 ;
							$("div.zoomdiv").get(0).scrollLeft = (scrollx) * scalex ;
					    });
			    },function(){
	                $(this).attr("alt",noalt);
			       	$("div.zoomdiv").hide();
			       	$(document.body).unbind("mousemove");
			       	$(".lenszoom").remove();
			       	$("div.zoomdiv").remove();
			});
		}
})(jQuery);

function MouseEvent(e) {
this.x = e.pageX
this.y = e.pageY
}
var MONTH_NAMES=new Array('January','February','March','April','May','June','July','August','September','October','November','December','Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');var DAY_NAMES=new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sun','Mon','Tue','Wed','Thu','Fri','Sat');
function LZ(x){return(x<0||x>9?"":"0")+x}
function isDate(val,format){var date=getDateFromFormat(val,format);if(date==0){return false;}return true;}
function compareDates(date1,dateformat1,date2,dateformat2){var d1=getDateFromFormat(date1,dateformat1);var d2=getDateFromFormat(date2,dateformat2);if(d1==0 || d2==0){return -1;}else if(d1 > d2){return 1;}return 0;}
function formatDate(date,format){format=format+"";var result="";var i_format=0;var c="";var token="";var y=date.getYear()+"";var M=date.getMonth()+1;var d=date.getDate();var E=date.getDay();var H=date.getHours();var m=date.getMinutes();var s=date.getSeconds();var yyyy,yy,MMM,MM,dd,hh,h,mm,ss,ampm,HH,H,KK,K,kk,k;var value=new Object();if(y.length < 4){y=""+(y-0+1900);}value["y"]=""+y;value["yyyy"]=y;value["yy"]=y.substring(2,4);value["M"]=M;value["MM"]=LZ(M);value["MMM"]=MONTH_NAMES[M-1];value["NNN"]=MONTH_NAMES[M+11];value["d"]=d;value["dd"]=LZ(d);value["E"]=DAY_NAMES[E+7];value["EE"]=DAY_NAMES[E];value["H"]=H;value["HH"]=LZ(H);if(H==0){value["h"]=12;}else if(H>12){value["h"]=H-12;}else{value["h"]=H;}value["hh"]=LZ(value["h"]);if(H>11){value["K"]=H-12;}else{value["K"]=H;}value["k"]=H+1;value["KK"]=LZ(value["K"]);value["kk"]=LZ(value["k"]);if(H > 11){value["a"]="PM";}else{value["a"]="AM";}value["m"]=m;value["mm"]=LZ(m);value["s"]=s;value["ss"]=LZ(s);while(i_format < format.length){c=format.charAt(i_format);token="";while((format.charAt(i_format)==c) &&(i_format < format.length)){token += format.charAt(i_format++);}if(value[token] != null){result=result + value[token];}else{result=result + token;}}return result;}
function _isInteger(val){var digits="1234567890";for(var i=0;i < val.length;i++){if(digits.indexOf(val.charAt(i))==-1){return false;}}return true;}
function _getInt(str,i,minlength,maxlength){for(var x=maxlength;x>=minlength;x--){var token=str.substring(i,i+x);if(token.length < minlength){return null;}if(_isInteger(token)){return token;}}return null;}
function getDateFromFormat(val,format){val=val+"";format=format+"";var i_val=0;var i_format=0;var c="";var token="";var token2="";var x,y;var now=new Date();var year=now.getYear();var month=now.getMonth()+1;var date=1;var hh=now.getHours();var mm=now.getMinutes();var ss=now.getSeconds();var ampm="";while(i_format < format.length){c=format.charAt(i_format);token="";while((format.charAt(i_format)==c) &&(i_format < format.length)){token += format.charAt(i_format++);}if(token=="yyyy" || token=="yy" || token=="y"){if(token=="yyyy"){x=4;y=4;}if(token=="yy"){x=2;y=2;}if(token=="y"){x=2;y=4;}year=_getInt(val,i_val,x,y);if(year==null){return 0;}i_val += year.length;if(year.length==2){if(year > 70){year=1900+(year-0);}else{year=2000+(year-0);}}}else if(token=="MMM"||token=="NNN"){month=0;for(var i=0;i<MONTH_NAMES.length;i++){var month_name=MONTH_NAMES[i];if(val.substring(i_val,i_val+month_name.length).toLowerCase()==month_name.toLowerCase()){if(token=="MMM"||(token=="NNN"&&i>11)){month=i+1;if(month>12){month -= 12;}i_val += month_name.length;break;}}}if((month < 1)||(month>12)){return 0;}}else if(token=="EE"||token=="E"){for(var i=0;i<DAY_NAMES.length;i++){var day_name=DAY_NAMES[i];if(val.substring(i_val,i_val+day_name.length).toLowerCase()==day_name.toLowerCase()){i_val += day_name.length;break;}}}else if(token=="MM"||token=="M"){month=_getInt(val,i_val,token.length,2);if(month==null||(month<1)||(month>12)){return 0;}i_val+=month.length;}else if(token=="dd"||token=="d"){date=_getInt(val,i_val,token.length,2);if(date==null||(date<1)||(date>31)){return 0;}i_val+=date.length;}else if(token=="hh"||token=="h"){hh=_getInt(val,i_val,token.length,2);if(hh==null||(hh<1)||(hh>12)){return 0;}i_val+=hh.length;}else if(token=="HH"||token=="H"){hh=_getInt(val,i_val,token.length,2);if(hh==null||(hh<0)||(hh>23)){return 0;}i_val+=hh.length;}else if(token=="KK"||token=="K"){hh=_getInt(val,i_val,token.length,2);if(hh==null||(hh<0)||(hh>11)){return 0;}i_val+=hh.length;}else if(token=="kk"||token=="k"){hh=_getInt(val,i_val,token.length,2);if(hh==null||(hh<1)||(hh>24)){return 0;}i_val+=hh.length;hh--;}else if(token=="mm"||token=="m"){mm=_getInt(val,i_val,token.length,2);if(mm==null||(mm<0)||(mm>59)){return 0;}i_val+=mm.length;}else if(token=="ss"||token=="s"){ss=_getInt(val,i_val,token.length,2);if(ss==null||(ss<0)||(ss>59)){return 0;}i_val+=ss.length;}else if(token=="a"){if(val.substring(i_val,i_val+2).toLowerCase()=="am"){ampm="AM";}else if(val.substring(i_val,i_val+2).toLowerCase()=="pm"){ampm="PM";}else{return 0;}i_val+=2;}else{if(val.substring(i_val,i_val+token.length)!=token){return 0;}else{i_val+=token.length;}}}if(i_val != val.length){return 0;}if(month==2){if( ((year%4==0)&&(year%100 != 0) ) ||(year%400==0) ){if(date > 29){return 0;}}else{if(date > 28){return 0;}}}if((month==4)||(month==6)||(month==9)||(month==11)){if(date > 30){return 0;}}if(hh<12 && ampm=="PM"){hh=hh-0+12;}else if(hh>11 && ampm=="AM"){hh-=12;}var newdate=new Date(year,month-1,date,hh,mm,ss);return newdate.getTime();}
function parseDate(val){var preferEuro=(arguments.length==2)?arguments[1]:false;generalFormats=new Array('y-M-d','MMM d, y','MMM d,y','y-MMM-d','d-MMM-y','MMM d');monthFirst=new Array('M/d/y','M-d-y','M.d.y','MMM-d','M/d','M-d');dateFirst =new Array('d/M/y','d-M-y','d.M.y','d-MMM','d/M','d-M');var checkList=new Array('generalFormats',preferEuro?'dateFirst':'monthFirst',preferEuro?'monthFirst':'dateFirst');var d=null;for(var i=0;i<checkList.length;i++){var l=window[checkList[i]];for(var j=0;j<l.length;j++){d=getDateFromFormat(val,l[j]);if(d!=0){return new Date(d);}}}return null;}
jQuery.fn.ajaxLoader = function (conf) {
	var config = jQuery.extend({
		className:	'jquery-ajax-loader'
	}, conf);

	return this.each(function () {
		var t = jQuery(this);

		if (!this.ajaxLoader) {
			var offset = t.offset();
			var dim = {
				left:	offset.left, 
				top:	offset.top, 
				width:	t.outerWidth(), 
				height:	t.outerHeight()
			};

			this.ajaxLoader = jQuery('<div class="' + config.className + '"></div>').css({
				position:	'absolute', 
				left:		dim.left + 'px', 
				top:		dim.top + 'px',
				width:		dim.width + 'px',
				height:		'100%'
			}).appendTo(document.body).hide();
		}

		this.ajaxLoader.fadeIn(500);
	});
};

jQuery.fn.ajaxLoaderRemove = function () {
	return this.each(function () {
		if (this.ajaxLoader) {
			this.ajaxLoader.fadeOut(500);
		}
	});
};