//autoclear
(function(e){function g(d){return d===undefined||d===""}jQuery.fn.autoclear=function(d){var b={defaultClass:"default",otherClass:"other",defaultValue:"",useDefaultOnReset:true,clearDefaultOnSubmit:true};if(arguments.length)switch(typeof d){case "string":b.defaultClass=d;break;case "object":b=jQuery.extend(b,d);break}this.filter("input:text,textarea").each(function(){var a=e(this),c=a.attr("title"),f=a.val(),h=a.closest("form");if(g(c))c=f===""?b.defaultValue:f;a.data("default.autoclear",c);h.bind("reset",function(){b.useDefaultOnReset?a.trigger("default"):a.val(a.attr("defaultValue")).trigger("blur")});if(b.useDefaultOnReset||g(jQuery.trim(a.attr("defaultValue"))))a.attr("defaultValue",c).val(f);b.clearDefaultOnSubmit&&h.bind("submit",function(){a.trigger("focus")})}).bind({"focus.autoclear":function(){var a=e(this);a.val()==a.data("default.autoclear")&&a.val("").trigger("other")},"blur.autoclear":function(){var a=e(this),c=jQuery.trim(a.val());c===a.data("default.autoclear")||c===""?a.trigger("default"):a.trigger("other")},"default.autoclear":function(){var a=e(this);a.val(a.data("default.autoclear")).removeClass(b.otherClass).addClass(b.defaultClass)},"other.autoclear":function(){e(this).removeClass(b.defaultClass).addClass(b.otherClass)}}).trigger("blur");return this}})(jQuery);
//galleryview
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('T 2x=1K;(V($){$.2y.2z=V(g){T h=$.3s($.2y.2z.2T,g);T j;T k=0;T l=0;T m;T n;T o=1K;T q;T r;T t;T u;T v;T w;T z;T A;T B;T C=20;T D;T E;T F;T G={};T H={};T I={};T J={};T K=1O;T L=1K;T M;T N;T O;T P;T Q;T R;V 2a(i){$(\'.W-16-12\',M).2b(\'11\');$(\'.W-17-12\',M).2b(\'11\');$(\'.W-16\',M).2b(\'11\');$(\'.W-17\',M).2b(\'11\');O.2b(\'11\');9(h.1q){O.2A(\'1P\').1l(\'19\').1W().1L({\'1r\':h.1X},h.1G);O.1d(i).1h(\'1P\').1l(\'19\').1W().1L({\'1r\':1.0},h.1G)}9(h.1e&&h.1Y){Q.1Z(h.1G).1d(i%l).2c(h.1G,V(){9(!h.1q){$(\'.W-17-12\',M).11(1m);$(\'.W-16-12\',M).11(1a);$(\'.W-17\',M).11(1m);$(\'.W-16\',M).11(1a)}})}9(h.1q){9(m==\'1H\'){N.1W();T b;T c;9(F==\'1s\'){b=1I(O[i]).X-(1I(R[0]).X+(u/2)-(A/2));c=(b>=0?\'-=\':\'+=\')+Y.2U(b)+\'4\';N.1L({\'X\':c},h.1G,h.2d,V(){T a=i;9(i>l){i=i%l;k=i;N.S(\'X\',\'-\'+((A+h.Z)*i)+\'4\')}15 9(i<=(l-1t)){i=(i%l)+l;k=i;N.S(\'X\',\'-\'+((A+h.Z)*i)+\'4\')}9(a!=i){O.1d(a).2A(\'1P\').1l(\'19\').S({\'1r\':h.1X});O.1d(i).1h(\'1P\').1l(\'19\').S({\'1r\':1.0})}9(!h.1Y){Q.2k().1d(i%l).2l()}$(\'.W-17-12\',M).11(1m);$(\'.W-16-12\',M).11(1a);$(\'.W-17\',M).11(1m);$(\'.W-16\',M).11(1a);21()})}15{b=1I(O[i]).U-(1I(R[0]).U+(t)-(B/2));c=(b>=0?\'-=\':\'+=\')+Y.2U(b)+\'4\';N.1L({\'U\':c},h.1G,h.2d,V(){T a=i;9(i>l){i=i%l;k=i;N.S(\'U\',\'-\'+((B+h.Z)*i)+\'4\')}15 9(i<=(l-1t)){i=(i%l)+l;k=i;N.S(\'U\',\'-\'+((B+h.Z)*i)+\'4\')}9(a!=i){O.1d(a).2A(\'1P\').1l(\'19\').S({\'1r\':h.1X});O.1d(i).1h(\'1P\').1l(\'19\').S({\'1r\':1.0})}9(!h.1Y){Q.2k().1d(i%l).2l()}$(\'.W-17-12\',M).11(1m);$(\'.W-16-12\',M).11(1a);$(\'.W-17\',M).11(1m);$(\'.W-16\',M).11(1a);21()})}}15 9(m==\'1u\'){R.1W();T d=1I(O[i]);9(F==\'1s\'){R.1L({\'X\':(d.X+(A/2)-(u/2)+\'4\')},h.1G,h.2d,V(){9(!h.1Y){Q.2k().1d(i%l).2l()}$(\'.W-17-12\',M).11(1m);$(\'.W-16-12\',M).11(1a);$(\'.W-17\',M).11(1m);$(\'.W-16\',M).11(1a);21()})}15{R.1L({\'U\':(d.U+(B/2)-(t)+\'4\')},h.1G,h.2d,V(){9(!h.1Y){Q.2k().1d(i%l).2l()}$(\'.W-17-12\',M).11(1m);$(\'.W-16-12\',M).11(1a);$(\'.W-17\',M).11(1m);$(\'.W-16\',M).11(1a);21()})}}}};V 2m(a){9(!a){1y 0}9(a.1z==0){1y 0}a=a.1d(0);T b=0;b+=1A(a.S(\'3t\'));b+=1A(a.S(\'3u\'));b+=1A(a.S(\'2V\'));b+=1A(a.S(\'2W\'));1y b};V 2B(a){9(!a){1y 0}9(a.1z==0){1y 0}a=a.1d(0);T b=0;b+=1A(a.S(\'2X\'));b+=1A(a.S(\'3v\'));b+=1A(a.S(\'2Y\'));b+=1A(a.S(\'2Z\'));1y b};V 1a(){$(1n).1Q("1D");9(++k==O.1z){k=0}2a(k);9(!o){$(1n).2e(h.23,"1D",V(){1a()})}};V 1m(){$(1n).1Q("1D");9(--k<0){k=l-1}2a(k);9(!o){$(1n).2e(h.23,"1D",V(){1a()})}};V 1I(a){T b=0,U=0;T c=a.2f;9(a.30){3w{b+=a.3x;U+=a.3y}3z(a=a.30)}9(c==j){1y{\'X\':b,\'U\':U}}15{T d=1I(M[0]);T e=d.X;T f=d.U;1y{\'X\':b-e,\'U\':U-f}}};V 21(){O.1B(V(i){9($(\'a\',14).1z==0){$(14).11(V(){9(k!=i){$(1n).1Q("1D");2a(i);k=i;9(!o){$(1n).2e(h.23,"1D",V(){1a()})}}})}})};V 31(){Q.1B(V(i){9($(\'.1f-12\',14).1z>0){$(14).32(\'<1i 2g="12-2n"></1i>\')}});9(!h.1q){$(\'<19 />\').1h(\'W-16\').1j(\'1w\',n+h.1R+\'/16.24\').1x(M).S({\'1b\':\'1o\',\'1E\':\'33\',\'1S\':\'1u\',\'U\':((h.1c-22)/2)+D+\'4\',\'25\':\'34\',\'2h\':\'26\'}).11(1a);$(\'<19 />\').1h(\'W-17\').1j(\'1w\',n+h.1R+\'/17.24\').1x(M).S({\'1b\':\'1o\',\'1E\':\'33\',\'1S\':\'1u\',\'U\':((h.1c-22)/2)+D+\'4\',\'X\':\'34\',\'2h\':\'26\'}).11(1m);$(\'<19 />\').1h(\'W-16-12\').1j(\'1w\',n+h.1R+\'/1f-W-16.24\').1x(M).S({\'1b\':\'1o\',\'1E\':\'35\',\'U\':((h.1c-22)/2)+D-10+\'4\',\'25\':\'0\',\'2h\':\'26\',\'1S\':\'1u\',\'1r\':0.36}).11(1a);$(\'<19 />\').1h(\'W-17-12\').1j(\'1w\',n+h.1R+\'/1f-W-17.24\').1x(M).S({\'1b\':\'1o\',\'1E\':\'35\',\'U\':((h.1c-22)/2)+D-10+\'4\',\'X\':\'0\',\'2h\':\'26\',\'1S\':\'1u\',\'1r\':0.36}).11(1m)}Q.1B(V(i){$(14).S({\'1k\':(h.1g-2m(Q))+\'4\',\'1v\':(h.1c-2B(Q))+\'4\',\'1b\':\'1o\',\'2o\':\'27\',\'2h\':\'26\'});2C(h.1p){1F\'U\':$(14).S({\'U\':w+Y.18(D,E)+\'4\',\'X\':D+\'4\'});1C;1F\'X\':$(14).S({\'U\':D+\'4\',\'X\':v+Y.18(D,E)+\'4\'});1C;3A:$(14).S({\'U\':D+\'4\',\'X\':D+\'4\'});1C}});$(\'.1f-12\',Q).S({\'1b\':\'1o\',\'1E\':\'3B\',\'1k\':(h.1g-2m($(\'.1f-12\',Q)))+\'4\',\'X\':\'0\'});$(\'.12-2n\',Q).S({\'1b\':\'1o\',\'1E\':\'3C\',\'1k\':h.1g+\'4\',\'X\':\'0\',\'1r\':h.37});9(h.38==\'U\'){$(\'.1f-12\',Q).S(\'U\',0);$(\'.12-2n\',Q).S(\'U\',0)}15{$(\'.1f-12\',Q).S(\'1J\',0);$(\'.12-2n\',Q).S(\'1J\',0)}$(\'.1f 3D\',Q).S({\'1k\':h.1g+\'4\',\'1v\':h.1c+\'4\',\'3E\':\'0\'});9(K){$(\'19\',Q).1B(V(i){$(14).S({\'1v\':H[i%l]*I[i%l],\'1k\':H[i%l]*J[i%l],\'1b\':\'2i\',\'U\':(h.1c-(H[i%l]*I[i%l]))/2+\'4\',\'X\':(h.1g-(H[i%l]*J[i%l]))/2+\'4\'})})}};V 39(){N.2p(\'<1i 2g="2q"></1i>\');9(m==\'1H\'){O.3a().1x(N);O.3a().1x(N);O=$(\'3b\',N)}9(h.1T){O.32(\'<1i 2g="2D"></1i>\').1B(V(i){$(14).1l(\'.2D\').3F($(14).1l(\'19\').1j(\'3G\'))})}N.S({\'3H\':\'26\',\'2E\':\'0\',\'2r\':\'0\',\'1k\':v+\'4\',\'1b\':\'1o\',\'1E\':\'3I\',\'U\':(F==\'28\'&&m==\'1H\'?-((B+h.Z)*k):0)+\'4\',\'X\':(F==\'1s\'&&m==\'1H\'?-((A+h.Z)*k):0)+\'4\',\'1v\':w+\'4\'});O.S({\'3J\':\'X\',\'1b\':\'2i\',\'1v\':B+(h.1T?C:0)+\'4\',\'1k\':A+\'4\',\'1E\':\'3K\',\'2r\':\'0\',\'1S\':\'1u\'});2C(h.1p){1F\'U\':O.S({\'2F\':E+\'4\',\'2G\':h.Z+\'4\'});1C;1F\'1J\':O.S({\'3c\':E+\'4\',\'2G\':h.Z+\'4\'});1C;1F\'X\':O.S({\'2G\':E+\'4\',\'2F\':h.Z+\'4\'});1C;1F\'25\':O.S({\'3L\':E+\'4\',\'2F\':h.Z+\'4\'});1C}$(\'.2s\',O).1B(V(i){$(14).S({\'1v\':Y.1M(h.1U,I[i%l]*G[i%l])+\'4\',\'1k\':Y.1M(h.1V,J[i%l]*G[i%l])+\'4\',\'1b\':\'2i\',\'U\':(h.1T&&h.1p==\'U\'?C:0)+Y.18(0,(h.1U-(G[i%l]*I[i%l]))/2)+\'4\',\'X\':Y.18(0,(h.1V-(G[i%l]*J[i%l]))/2)+\'4\',\'2o\':\'27\'})});$(\'19\',O).1B(V(i){$(14).S({\'1r\':h.1X,\'1v\':I[i%l]*G[i%l]+\'4\',\'1k\':J[i%l]*G[i%l]+\'4\',\'1b\':\'2i\',\'U\':Y.1M(0,(h.1U-(G[i%l]*I[i%l]))/2)+\'4\',\'X\':Y.1M(0,(h.1V-(G[i%l]*J[i%l]))/2)+\'4\'}).3M(V(){$(14).1W().1L({\'1r\':1.0},3d)}).3N(V(){9(!$(14).2H().2H().3O(\'1P\')){$(14).1W().1L({\'1r\':h.1X},3d)}})});$(\'.2q\',M).S({\'1b\':\'1o\',\'2o\':\'27\'});9(F==\'1s\'){$(\'.2q\',M).S({\'U\':(h.1p==\'U\'?Y.18(D,E)+\'4\':h.1c+D+\'4\'),\'X\':((q-z)/2)+D+\'4\',\'1k\':z+\'4\',\'1v\':w+\'4\'})}15{$(\'.2q\',M).S({\'X\':(h.1p==\'X\'?Y.18(D,E)+\'4\':h.1g+D+\'4\'),\'U\':Y.18(D,h.Z)+\'4\',\'1k\':v+\'4\',\'1v\':2t+\'4\'})}$(\'.2D\',M).S({\'1b\':\'1o\',\'U\':(h.1p==\'1J\'?B:0)+\'4\',\'X\':\'0\',\'2E\':\'0\',\'1k\':A+\'4\',\'2r\':\'0\',\'1v\':C+\'4\',\'2o\':\'27\',\'3e\':C+\'4\'});T a=$(\'<1i></1i>\');a.1h(\'1u\').1x(M).S({\'1b\':\'1o\',\'1E\':\'3f\',\'1k\':\'29\',\'3P\':\'29\',\'3e\':\'0%\',\'2Y\':t+\'4\',\'2W\':(u/2)+\'4\',\'2Z\':t+\'4\',\'2V\':(u/2)+\'4\',\'3Q\':\'3R\'});T b=$.3g.3S&&$.3g.3T.3U(0,1)==\'6\'?\'3V\':\'3W\';9(!h.1e){a.S(\'3X\',b)}2C(h.1p){1F\'U\':a.S({\'1J\':(h.1c-(t*2)+D+E)+\'4\',\'X\':((q-z)/2)+(m==\'1H\'?0:((A+h.Z)*k))+((A/2)-(u/2))+D+\'4\',\'2I\':b,\'2J\':b,\'2K\':b});1C;1F\'1J\':a.S({\'U\':(h.1c-(t*2)+D+E)+\'4\',\'X\':((q-z)/2)+(m==\'1H\'?0:((A+h.Z)*k))+((A/2)-(u/2))+D+\'4\',\'2L\':b,\'2J\':b,\'2K\':b});1C;1F\'X\':a.S({\'25\':(h.1g-u+D+E)+\'4\',\'U\':(B/2)-(t)+(m==\'1H\'?0:((B+h.Z)*k))+D+\'4\',\'2I\':b,\'2J\':b,\'2L\':b});1C;1F\'25\':a.S({\'X\':(h.1g-u+D+E)+\'4\',\'U\':(B/2)-(t)+(m==\'1H\'?0:((B+h.Z)*k))+D+\'4\',\'2I\':b,\'2K\':b,\'2L\':b});1C}R=$(\'.1u\',M);T c=$(\'<19 />\');c.1h(\'W-16\').1j(\'1w\',n+h.1R+\'/16.24\').1x(M).S({\'1b\':\'1o\',\'1S\':\'1u\'}).11(1a);T d=$(\'<19 />\');d.1h(\'W-17\').1j(\'1w\',n+h.1R+\'/17.24\').1x(M).S({\'1b\':\'1o\',\'1S\':\'1u\'}).11(1m);9(F==\'1s\'){c.S({\'U\':(h.1p==\'U\'?Y.18(D,E):h.1c+E+D)+((B-22)/2)+\'4\',\'25\':((q+(D*2))/2)-(z/2)-h.Z-22+\'4\'});d.S({\'U\':(h.1p==\'U\'?Y.18(D,E):h.1c+E+D)+((B-22)/2)+\'4\',\'X\':((q+(D*2))/2)-(z/2)-h.Z-22+\'4\'})}15{c.S({\'X\':(h.1p==\'X\'?Y.18(D,E):h.1g+E+D)+((A-22)/2)+13+\'4\',\'U\':2t+(Y.18(D,h.Z)*2)+\'4\'});d.S({\'X\':(h.1p==\'X\'?Y.18(D,E):h.1g+E+D)+((A-22)/2)-13+\'4\',\'U\':2t+(Y.18(D,h.Z)*2)+\'4\'})}};V 3h(x,y){T a=1I(M[0]);T b=a.U;T c=a.X;1y x>c&&x<c+q+(F==\'1s\'?(D*2):D+Y.18(D,E))&&y>b&&y<b+r+(F==\'28\'?(D*2):D+Y.18(D,E))};V 1A(i){i=3Y(i,10);9(3Z(i)){i=0}1y i};V 2M(){T a=h.1q?$(\'19\',O):$(\'19\',Q);a.1B(V(i){I[i]=14.1v;J[i]=14.1k;9(h.3i==\'2N\'){G[i]=Y.1M(h.1U/I[i],h.1V/J[i])}15{G[i]=Y.18(h.1U/I[i],h.1V/J[i])}9(h.3j==\'2N\'){H[i]=Y.1M(h.1c/I[i],h.1g/J[i])}15{H[i]=Y.18(h.1c/I[i],h.1g/J[i])}});M.S({\'1b\':\'2i\',\'1k\':q+(F==\'1s\'?(D*2):D+Y.18(D,E))+\'4\',\'1v\':r+(F==\'28\'?(D*2):D+Y.18(D,E))+\'4\'});9(h.1q){39();21()}9(h.1e){31()}9(h.2u||(h.1e&&!h.1q)){$(1n).41(V(e){9(3h(e.42,e.43)){9(h.2u){9(!o){$(1n).45(46,"2O",V(){$(1n).1Q("1D");o=1O})}}9(h.1e&&!h.1q&&!L){$(\'.W-16-12\').2c(\'1N\');$(\'.W-17-12\').2c(\'1N\');$(\'.W-16\',M).2c(\'1N\');$(\'.W-17\',M).2c(\'1N\');L=1O}}15{9(h.2u){$(1n).1Q("2O");9(o){$(1n).2e(h.23,"1D",V(){1a()});o=1K}}9(h.1e&&!h.1q&&L){$(\'.W-16-12\').1Z(\'1N\');$(\'.W-17-12\').1Z(\'1N\');$(\'.W-16\',M).1Z(\'1N\');$(\'.W-17\',M).1Z(\'1N\');L=1K}}})}N.S(\'2v\',\'3k\');M.S(\'2v\',\'3k\');$(\'.3l\',M).1Z(\'3f\',V(){2a(k);9(l>1){$(1n).2e(h.23,"1D",V(){1a()})}})};1y 14.1B(V(){$(14).S(\'2v\',\'27\');$(14).2p("<1i></1i>");M=$(14).2H();M.S(\'2v\',\'27\').1j(\'2f\',$(14).1j(\'2f\')).1h(\'47\');$(14).48(\'2f\').1h(\'3m\');$(1n).1Q("1D");$(1n).1Q("2O");j=M.1j(\'2f\');K=$(\'.1f-2w\',M).1z==0;t=h.2P;u=h.2P*2;F=(h.1p==\'U\'||h.1p==\'1J\'?\'1s\':\'28\');9(F==\'28\'){h.1T=1K}$(\'49\').1B(V(i){T s=$(14);9(s.1j(\'1w\')&&s.1j(\'1w\').4a(/2Q\\.2R/)){4b=s.1j(\'1w\').3n(\'2Q.2R\')[0];n=s.1j(\'1w\').3n(\'2Q.2R\')[0]+\'4c/\'}});N=$(\'.3m\',M);O=$(\'3b\',N);O.1h(\'4d\');9(h.1e){4e(i=O.1z-1;i>=0;i--){9(O.1d(i).1l(\'.1f-2w\').1z>0){O.1d(i).1l(\'.1f-2w\').2j().3o(M).1h(\'1f\')}15{p=$(\'<1i>\');p.1h(\'1f\');3p=$(\'<19 />\');3p.1j(\'1w\',O.1d(i).1l(\'19\').1d(0).1j(\'1w\')).1x(p);p.3o(M);O.1d(i).1l(\'.1f-12\').2j().1x(p)}}}15{$(\'.1f-12\',O).2j();$(\'.1f-2w\',O).2j()}9(!h.1q){N.2j()}15{O.1B(V(i){9($(14).1l(\'a\').1z>0){$(14).1l(\'a\').2p(\'<1i 2g="2s"></1i>\')}15{$(14).1l(\'19\').2p(\'<1i 2g="2s"></1i>\')}});P=$(\'.2s\',O)}Q=$(\'.1f\',M);9(!h.1e){h.1c=0;h.1g=0}A=h.1V+2m(P);B=h.1U+2B(P);l=h.1e?Q.1z:O.1z;9(F==\'1s\'){1t=h.1e?Y.3q((h.1g-((h.Z+22)*2))/(A+h.Z)):Y.1M(l,h.2S)}15{1t=h.1e?Y.3q((h.1c-(h.Z+22))/(B+h.Z)):Y.1M(l,h.2S)}9(1t>=l){m=\'1u\';1t=l}15{m=\'1H\'}k=(1t<l?l:0)+h.3r-1;E=(h.1e?1A(N.S(\'3c\')):0);N.S(\'2E\',\'29\');9(F==\'1s\'){q=h.1e?h.1g:(1t*(A+h.Z))+44+h.Z;r=(h.1e?h.1c:0)+(h.1q?B+E+(h.1T?C:0):0)}15{r=h.1e?h.1c:(1t*(B+h.Z))+22;q=(h.1e?h.1g:0)+(h.1q?A+E:0)}9(F==\'1s\'){9(m==\'1u\'){v=(A*l)+(h.Z*(l))}15{v=(A*l*3)+(h.Z*(l*3))}}15{v=(A+E)}9(F==\'1s\'){w=(B+E+(h.1T?C:0))}15{9(m==\'1u\'){w=(B*l+h.Z*(l))}15{w=(B*l*3)+(h.Z*(l*3))}}z=((1t*A)+((1t-1)*h.Z));2t=((1t*B)+((1t-1)*h.Z));D=1A(M.S(\'2X\'));M.S(\'2r\',\'29\');4f=1I(M[0]);$(\'<1i>\').1h(\'3l\').S({\'1b\':\'1o\',\'1E\':\'4g\',\'1r\':1,\'U\':\'29\',\'X\':\'29\',\'1k\':q+(F==\'1s\'?(D*2):D+Y.18(D,E))+\'4\',\'1v\':r+(F==\'28\'?(D*2):D+Y.18(D,E))+\'4\'}).1x(M);9(!2x){$(4h).4i(V(){2x=1O;2M()})}15{2M()}})};$.2y.2z.2T={1e:1O,1q:1O,1g:4j,1c:4k,1V:4l,1U:40,3r:1,2S:3,1G:4m,23:4n,37:0.7,1X:0.3,2P:8,1R:\'4o\',2d:\'4p\',1p:\'1J\',38:\'1J\',3j:\'2N\',3i:\'4q\',Z:5,1T:1K,1Y:1O,2u:1K}})(4r);',62,276,'||||px|||||if|||||||||||||||||||||||||||||||||||||||||||||css|var|top|function|nav|left|Math|frame_gap||click|overlay||this|else|next|prev|max|img|showNextItem|position|panel_height|eq|show_panels|panel|panel_width|addClass|div|attr|width|find|showPrevItem|document|absolute|filmstrip_position|show_filmstrip|opacity|horizontal|strip_size|pointer|height|src|appendTo|return|length|getInt|each|break|transition|zIndex|case|transition_speed|strip|getPos|bottom|false|animate|min|fast|true|current|stopTime|nav_theme|cursor|show_captions|frame_height|frame_width|stop|frame_opacity|fade_panels|fadeOut||enableFrameClicking||transition_interval|gif|right|none|hidden|vertical|0px|showItem|unbind|fadeIn|easing|everyTime|id|class|display|relative|remove|hide|show|extraWidth|background|overflow|wrap|strip_wrapper|padding|img_wrap|wrapper_height|pause_on_hover|visibility|content|window_loaded|fn|galleryView|removeClass|extraHeight|switch|caption|margin|marginBottom|marginRight|parent|borderBottomColor|borderRightColor|borderLeftColor|borderTopColor|buildGallery|nocrop|animation_pause|pointer_size|jquery|galleryview|filmstrip_size|defaults|abs|borderLeftWidth|borderRightWidth|paddingTop|borderTopWidth|borderBottomWidth|offsetParent|buildPanels|append|1100|10px|1099|75|overlay_opacity|overlay_position|buildFilmstrip|clone|li|marginTop|300|lineHeight|1000|browser|mouseIsOverGallery|frame_scale|panel_scale|visible|loader|filmstrip|split|prependTo|im|floor|start_frame|extend|paddingLeft|paddingRight|paddingBottom|do|offsetLeft|offsetTop|while|default|999|998|iframe|border|html|title|listStyle|900|float|901|marginLeft|mouseover|mouseout|hasClass|fontSize|borderStyle|solid|msie|version|substr|pink|transparent|borderColor|parseInt|isNaN||mousemove|pageX|pageY||oneTime|500|gallery|removeAttr|script|match|loader_path|themes|frame|for|galleryPos|32666|window|load|600|400|60|800|4000|dark|swing|crop|jQuery'.split('|'),0,{}))
//timer
jQuery.fn.extend({
	everyTime: function(interval, label, fn, times) {
		return this.each(function() {
			jQuery.timer.add(this, interval, label, fn, times);
		});
	},
	oneTime: function(interval, label, fn) {
		return this.each(function() {
			jQuery.timer.add(this, interval, label, fn, 1);
		});
	},
	stopTime: function(label, fn) {
		return this.each(function() {
			jQuery.timer.remove(this, label, fn);
		});
	}
});

jQuery.extend({
	timer: {
		global: [],
		guid: 1,
		dataKey: "jQuery.timer",
		regex: /^([0-9]+(?:\.[0-9]*)?)\s*(.*s)?$/,
		powers: {
			// Yeah this is major overkill...
			'ms': 1,
			'cs': 10,
			'ds': 100,
			's': 1000,
			'das': 10000,
			'hs': 100000,
			'ks': 1000000
		},
		timeParse: function(value) {
			if (value == undefined || value == null)
				return null;
			var result = this.regex.exec(jQuery.trim(value.toString()));
			if (result[2]) {
				var num = parseFloat(result[1]);
				var mult = this.powers[result[2]] || 1;
				return num * mult;
			} else {
				return value;
			}
		},
		add: function(element, interval, label, fn, times) {
			var counter = 0;
			
			if (jQuery.isFunction(label)) {
				if (!times) 
					times = fn;
				fn = label;
				label = interval;
			}
			
			interval = jQuery.timer.timeParse(interval);

			if (typeof interval != 'number' || isNaN(interval) || interval < 0)
				return;

			if (typeof times != 'number' || isNaN(times) || times < 0) 
				times = 0;
			
			times = times || 0;
			
			var timers = jQuery.data(element, this.dataKey) || jQuery.data(element, this.dataKey, {});
			
			if (!timers[label])
				timers[label] = {};
			
			fn.timerID = fn.timerID || this.guid++;
			
			var handler = function() {
				if ((++counter > times && times !== 0) || fn.call(element, counter) === false)
					jQuery.timer.remove(element, label, fn);
			};
			
			handler.timerID = fn.timerID;
			
			if (!timers[label][fn.timerID])
				timers[label][fn.timerID] = window.setInterval(handler,interval);
			
			this.global.push( element );
			
		},
		remove: function(element, label, fn) {
			var timers = jQuery.data(element, this.dataKey), ret;
			
			if ( timers ) {
				
				if (!label) {
					for ( label in timers )
						this.remove(element, label, fn);
				} else if ( timers[label] ) {
					if ( fn ) {
						if ( fn.timerID ) {
							window.clearInterval(timers[label][fn.timerID]);
							delete timers[label][fn.timerID];
						}
					} else {
						for ( var fn in timers[label] ) {
							window.clearInterval(timers[label][fn]);
							delete timers[label][fn];
						}
					}
					
					for ( ret in timers[label] ) break;
					if ( !ret ) {
						ret = null;
						delete timers[label];
					}
				}
				
				for ( ret in timers ) break;
				if ( !ret ) 
					jQuery.removeData(element, this.dataKey);
			}
		}
	}
});

jQuery(window).bind("unload", function() {
	jQuery.each(jQuery.timer.global, function(index, item) {
		jQuery.timer.remove(item);
	});
});
//easing
jQuery.easing['jswing'] = jQuery.easing['swing'];

jQuery.extend( jQuery.easing,
{
	def: 'easeOutQuad',
	swing: function (x, t, b, c, d) {
		//alert(jQuery.easing.default);
		return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
	},
	easeInQuad: function (x, t, b, c, d) {
		return c*(t/=d)*t + b;
	},
	easeOutQuad: function (x, t, b, c, d) {
		return -c *(t/=d)*(t-2) + b;
	},
	easeInOutQuad: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t + b;
		return -c/2 * ((--t)*(t-2) - 1) + b;
	},
	easeInCubic: function (x, t, b, c, d) {
		return c*(t/=d)*t*t + b;
	},
	easeOutCubic: function (x, t, b, c, d) {
		return c*((t=t/d-1)*t*t + 1) + b;
	},
	easeInOutCubic: function (x, 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;
	},
	easeInQuart: function (x, t, b, c, d) {
		return c*(t/=d)*t*t*t + b;
	},
	easeOutQuart: function (x, t, b, c, d) {
		return -c * ((t=t/d-1)*t*t*t - 1) + b;
	},
	easeInOutQuart: function (x, 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;
	},
	easeInQuint: function (x, t, b, c, d) {
		return c*(t/=d)*t*t*t*t + b;
	},
	easeOutQuint: function (x, t, b, c, d) {
		return c*((t=t/d-1)*t*t*t*t + 1) + b;
	},
	easeInOutQuint: function (x, 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;
	},
	easeInSine: function (x, t, b, c, d) {
		return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
	},
	easeOutSine: function (x, t, b, c, d) {
		return c * Math.sin(t/d * (Math.PI/2)) + b;
	},
	easeInOutSine: function (x, t, b, c, d) {
		return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
	},
	easeInExpo: function (x, t, b, c, d) {
		return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
	},
	easeOutExpo: function (x, t, b, c, d) {
		return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
	},
	easeInOutExpo: function (x, 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;
	},
	easeInCirc: function (x, t, b, c, d) {
		return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
	},
	easeOutCirc: function (x, t, b, c, d) {
		return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
	},
	easeInOutCirc: function (x, 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;
	},
	easeInElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		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;
	},
	easeOutElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		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;
	},
	easeInOutElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		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;
	},
	easeInBack: function (x, t, b, c, d, s) {
		if (s == undefined) s = 1.70158;
		return c*(t/=d)*t*((s+1)*t - s) + b;
	},
	easeOutBack: function (x, t, b, c, d, s) {
		if (s == undefined) s = 1.70158;
		return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
	},
	easeInOutBack: function (x, 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;
	},
	easeInBounce: function (x, t, b, c, d) {
		return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
	},
	easeOutBounce: function (x, 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;
		}
	},
	easeInOutBounce: function (x, t, b, c, d) {
		if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
		return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
	}
});


