/*** jquery.reel: ***/

/*
 Copyright (c) 2009-2012 Petr Vostrel (http://petr.vostrel.cz/)
 Dual licensed under the MIT (MIT-LICENSE.txt)
 and GPL (GPL-LICENSE.txt) licenses.

 jQuery Reel
 http://jquery.vostrel.cz/reel
 Version: 1.2
 Updated: 2012-07-15

 Requires jQuery 1.5 or higher
*/
jQuery.reel||function(k,Ya,Ca,p){function Wb(g){return r.instances.push(g[0])&&g}function Xb(g){return(r.instances=r.instances.not(Da(g.attr(ga))))&&g}function $(g){return r.instances.first().data(g)}function Yb(g){return"data:image/gif;base64,R0lGODlh"+g}function W(g){return"<"+g+"/>"}function s(g){return"."+(g||"")}function Za(g){return g.replace(na,r.cdn)}function Ea(g){return"url('"+$a(g)+"')"}function ub(g,i){return typeof i==ab?i[g]:i}function oa(g,i,q){return vb(g,bb(i,q))}function Zb(g){function i(){k.fn[this]||
(k.fn[this]=function(){return this})}k.each(g,i)}function cb(g,i){return P(g)*(i?-1:1)}function Fa(g){return Ga?g.touch||g.originalEvent.touches[0]:g}function B(g){return g===p?0:typeof g==wb?g:g+"px"}function Da(g){return"#"+g}function $b(g,i,q){for(;g.length<i;)g=q+g;return g}function $a(g){return encodeURI(decodeURI(g))}function xb(g){try{console.warn("Deprecation - Please consult https://github.com/pisi/Reel/wiki/Deprecations")}catch(i){}return g}if(+k().jquery.replace(s(),K).substr(0,2)<15)throw"Too old jQuery for Reel.";
var r=k.reel={version:"1.2",def:{frame:1,frames:36,loops:true,clickfree:false,draggable:true,scrollable:true,steppable:true,throwable:true,wheelable:true,cw:false,revolution:p,stitched:0,directional:false,row:1,rows:0,orbital:0,vertical:false,inversed:false,footage:6,spacing:0,horizontal:true,suffix:"-reel",image:p,images:"",path:"",preload:"fidelity",speed:0,delay:0,timeout:2,rebound:0.5,entry:p,opening:0,brake:0.23,velocity:0,tempo:36,laziness:6,cursor:p,hint:"",indicator:0,klass:"",preloader:2,
area:p,attr:{},annotations:p,graph:p,monitor:p,step:p,steps:p},fn:{reel:function(){var g=arguments,i=k(this),q=i.data(),v=g[0]||{},u=g[1];if(typeof v=="object"){var a=k.extend({},r.def,v);g=function(l){var e=[];l.filter(db).each(function(){var d=k(this),x=a.images.length&&a.images||a.sequence||a.image||a.attr.src||d.attr("src"),F=pa(a.attr.width||d.css(eb)),C=pa(a.attr.height||d.css(yb));x&&x!=K&&F&&C&&e.push(d)});l.filter(s(y)).each(function(){e.push(k(this).unreel())});return k(e)}(this);var Q=
[];a.step&&(a.frame=a.step);a.steps&&(a.frames=a.steps);g.each(function(){var l=k(this),e=function(c,b){return l.reel(c,b)&&b},d=function(c){return l.reel(c)},x={setup:function(){if(!l.hasClass(y)){e(Ha,a);var c=l.attr(a.attr).attr("src"),b=e(ga,l.attr(ga)||l.attr(ga,y+"-"+ +new Date).attr(ga)),f=l.attr(qa),h=k.extend({},l.data()),j=r.re.sequence.exec(a.images);j=e(aa,j?r.sequence(j,a,d):a.images||[]);var m=a.stitched,o=a.loops,n={x:pa(l.css(eb)||a.attr.width),y:pa(l.css(yb)||a.attr.height)},R=e(L,
a.orbital&&a.footage||a.rows<=1&&j.length||a.frames),M=a.rows>1||a.orbital,z=a.revolution;e(Ia,ub("x",z)||m/2||n.x*2);e(zb,!M?0:ub("y",z)||(a.rows>3?n.y:n.y/(5-a.rows)));M=m?1:ra(R/a.footage);b=Da(b+a.suffix);z=l[0].className||K;var G=k(W(sa),{id:b.substr(1),"class":z+D+ac+D+Ab+"0"});G=l.wrap(G.addClass(a.klass)).attr({"class":y});Q.push(Wb(G)[0]);G=G.parent().bind(x.instance);e(fb,j.length?K:a.image||c.replace(r.re.image,"$1"+a.suffix+".$2"));e(Bb,[]);e(Cb,a.spacing);e(gb,M);e(H,n);e(Ja,1/(R-(o&&
!m?0:1)));e(hb,m);e(Db,m-(o?0:n.x));e(ib,0);e(Eb,b);e(O,e(ta,a.speed)<0);e(ha,a.velocity||0);e(ia,a.vertical);e(S,0);e(ja,cb(1,!a.cw&&!m));e(Ka,{});e(ua,false);e(La,e(jb,0));e(Ma,e(Na,0));e(va,false);e(X,false);e(Fb,a.brake);e(kb,!!a.orbital);e(ba,a.tempo/(r.lazy?a.laziness:1));e(ka,-1);e(Oa,a.annotations||G.unbind(s(Oa))&&{});e(Gb,{src:c,classes:z,style:f||K,data:h});a.steppable||G.unbind("up.steppable");a.indicator||G.unbind(".indicator");E(K,{width:n.x,height:n.y,overflow:lb,position:"relative"});
E(ca+D+s(y),{display:Hb});T.bind(x.pool);l.trigger("setup")}},instance:{teardown:function(){var c=l.data(Gb);l.parent().unbind(x.instance);d(qa).remove();d(Pa).unbind(U).enableTextSelect();Xb(l.unbind(U).removeData().siblings().unbind(U).remove().end().attr({"class":c.classes,src:c.src,style:c.style}).data(c.data).unwrap());Qa();T.unbind(x.pool);V.unbind(Y)},setup:function(){function c(j){return function(m){if(m.button==bc)return m.preventDefault()||l.trigger("down",[Fa(m).clientX,Fa(m).clientY])&&
j}}var b=d(H);d(L);l.attr(ga);var f=l.parent();area=e(Pa,k(a.area||f));if(Ga){E(D+s(y),{WebkitUserSelect:Ra,WebkitBackgroundSize:d(aa).length?p:d(hb)&&B(d(hb))+D+B(b.y)||B(b.x*a.footage)+D+B(b.y*d(gb)*(a.rows||1)*(a.directional?2:1))});area.bind(cc,c())}else{b=a.cursor==Ib?dc:a.cursor||ec;var h=a.cursor==Ib?fc+D+"!important":p;E(K,{cursor:Za(b)});E(s(mb),{cursor:"wait"});E(s(Sa)+ca+s(Sa)+" *",{cursor:Za(h||b)},true);area.bind(a.wheelable?gc:K,function(j,m){return j.preventDefault()||!m||l.trigger("wheel",
[m])&&false}).bind(a.clickfree?hc:ic,c()).disableTextSelect()}a.hint&&area.attr("title",a.hint);a.indicator&&f.append(wa("x"));a.rows>1&&a.indicator&&f.append(wa("y"));a.monitor&&f.append(Jb=k(W(sa),{"class":Kb}))&&E(D+s(Kb),{position:Ta,left:0,top:0});E(D+s(Lb),{display:Ra})},preload:function(){function c(G,A){setTimeout(function(){A.parent().length&&A.attr({src:$a(G)})},(R-n.length)*2)}var b=d(H),f=l.parent(),h=d(aa),j=!h.length,m=d(L),o=r.preload[a.preload]||r.preload[r.def.preload],n=j?[d(fb)]:
o(h.slice(0),a,d),R=n.length;e(S,j?0.5:0);h=[];f.addClass(mb).append(la());e(qa,k("<"+qa+' type="text/css">'+E.rules.join("\n")+"</"+qa+">").prependTo(nb));for(l.trigger("stop");n.length;){o=a.path+n.shift();var M=b.x*(!j?1:a.footage),z=b.y*(!j?1:m/a.footage)*(!a.directional?1:2);M=k(W(db)).attr({"class":Lb,width:M,height:z}).appendTo(f);M.bind("load error abort",function(){return!!k(this).parent().length&&l.trigger("preloaded")&&false});c(o,M);h.push(o)}e(Bb,h)},preloaded:function(){var c=d(aa).length||
1,b=e(S,bb(d(S)+1,c));if(b===c){l.parent().removeClass(mb).unbind(S,x.instance.preloaded);l.trigger("loaded")}b===1&&l.trigger("frameChange",[p,d(Z)])},loaded:function(){d(aa).length>1||l.css({backgroundImage:Ea(a.path+d(fb))}).attr({src:Za(jc)})},opening:function(){if(!a.opening)return l.trigger("openingDone");e(X,true);e(ob,!d(ta));var c=a.entry||a.speed,b=d(w),f=a.opening;e(w,b-c*a.opening);e(ka,ra(f*$(ba)))},openingDone:function(){e(xa,false);e(X,false);var c=ma+s(X);T.unbind(c,x.pool[c]);if(a.delay>
0)Mb=setTimeout(function(){l.trigger("play")},a.delay*1E3);else l.trigger("play")},play:function(c,b){b=e(ta,b||d(ta));e(O,b<0);c=e(xa,!!b);e(ob,!c);da()},pause:function(){e(xa,false);I()},stop:function(){var c=e(ob,true);e(xa,!c)},down:function(c,b,f){function h(m){return function(o){o.preventDefault();l.trigger("pan",[Fa(o).clientX,Fa(o).clientY,o]);return m}}function j(m){return function(o){o.preventDefault();l.trigger("up",[o]);return m}}if(a.draggable){e(ua,d(Z));e(ha,0);c=!d(va)||a.rows<=1||
!a.orbital||a.scrollable;Ua=Va(d(Ia),b,f);I();Qa();t=false;k(Nb,V).addClass(Sa);Ga?V.bind(kc,h(!c)).bind(lc+D+mc,j()):(a.clickfree?d(Pa):V).bind(nc,h()).bind(a.clickfree?oc:pc,j())}},up:function(){if(a.draggable){e(ua,false);e(va,false);ea=e(ha,!a.throwable?0:P(ya[0]+ya[1])/60)?1:0;I();Qa();k(Nb,V).removeClass(Sa);(a.clickfree?d(Pa):V).unbind(Y)}},pan:function(c,b,f,h){if(a.draggable&&pb){pb=false;I();c=h&&!k(h.currentTarget).is(T)&&qc.offset()||{left:0,top:0};b-=c.left;f-=c.top;var j={x:b-Ua.x,y:f-
Ua.y};if(P(j.x)>0||P(j.y)>0){t=true;Ua={x:b,y:f};c=d(Ia);h=d(Ka);var m=d(ia),o=e(w,Ob(m?f-h.y:b-h.x,d(La),c,d(Ma),d(Na),d(ja),m?f-h.y:b-h.x));e(va,d(va)||d(Z)!=d(ua));(j=Pb(m?j.y:j.x||0))&&e(O,j<0);if(a.orbital&&d(kb)){e(ia,P(f-h.y)>P(b-h.x));h=Va(c,b,f)}if(a.rows>1){d(H);j=d(zb);m=d(jb);var n=-m*j;e(za,r.math.envelope(f-h.y,m,j,n,n+j,-1))}!(o%1)&&!a.loops&&Va(c,b,f)}}},wheel:function(c,b){if(b){J=true;c=ra(fa.sqrt(P(b))/2);c=cb(c,b>0);b=0.0833*d(Ia);Va(b);c&&e(O,c<0);e(ha,0);e(w,Ob(c,d(La),b,d(Ma),
d(Na),d(ja)));I();l.trigger("up");return false}},fractionChange:function(c,b,f){if(b!==p)return xb(e(w,b));c=1+Wa(f/d(Ja));b=a.rows>1;f=a.orbital;e(kb,!!f&&(c<=f||c>=a.footage-f+2));if(b)c+=(d(Aa)-1)*d(L);e(Z,c)},tierChange:function(c,b,f){if(b===p){c=e(Aa,N(Ba(f,1,a.rows)));b=d(L);f=d(Z)%b||b;e(Z,f+c*b-b)}},rowChange:function(c,b,f){if(b!==p)return e(Aa,b);e(za,1/(a.rows-1)*(f-1))},frameChange:function(c,b,f){if(b!==p)return xb(e(Z,b));this.className=this.className.replace(r.re.frame_klass,Ab+f);
b=d(L);var h=f%b||b;c=!!d(S);var j=((f-h)/b+1-1)/(a.rows-1),m=N(Ba(j,1,a.rows));c&&m===d(Aa)?d(za):e(za,j);j=bb((h-1)/(b-1),0.9999);h=d(Aa)*b-b;b=N(Ba(j,h+1,h+b));h=P((d(w)||0)-j)<1/(d(L)-1);c&&b===f&&h?d(w):e(w,j);var o=a.footage;if(a.orbital&&d(ia)){f=a.inversed?o+1-f:f;f+=o}b=a.horizontal;h=d(aa);var n=!h.length;m=d(H);if(n){if(a.stitched){f=e(ib,N(Ba(j,0,d(Db)))%a.stitched);f=[B(-f),B(0)]}else{c=f%o-1;c=c<0?o-1:c;j=Wa((f-0.1)/o);j+=a.rows>1?0:d(O)?0:d(gb);f=d(Cb);j=j*((b?m.y:m.x)+f);f=c*((b?m.x:
m.y)+f);f=h.length?[0,0]:b?[B(-f),B(-j)]:[B(-j),B(-f)]}l.css({backgroundPosition:f.join(D)})}else{f=h[f-1];c&&l.attr({src:$a(a.path+f)})}},"fractionChange.indicator":function(c,b,f){if(b===p&&a.indicator){c=d(H);c=a.orbital&&d(ia)?c.y:c.x;var h=a.orbital?a.footage:a.images.length||d(L);b=a.indicator;h=ra(c/h);c-=h;f=N(Ba(f,0,c));f=!a.cw||a.stitched?f:c-f;wa.$x.css(d(ia)?{left:0,top:B(f),bottom:Qb,width:b,height:h}:{bottom:0,left:B(f),top:Qb,width:h,height:b})}},"tierChange.indicator":function(c,b,
f){if(b===p&&a.rows>1&&a.indicator){var h=d(H).y;c=a.indicator;b=ra(h/a.rows);h-=b;f=N(f*h);wa.$y.css({left:0,top:f,width:c,height:b})}},"setup.annotations":function(){d(H);var c=l.parent();k.each(d(Oa),function(b,f){var h=typeof f.node==wb?k(f.node):f.node||{};h=h.jquery?h:k(W(sa),h);h=h.attr({id:b}).addClass(rc);var j=f.image?k(W(db),f.image):k(),m=f.link?k(W("a"),f.link).click(function(){return false}):k();E(Da(b),{display:Ra,position:Ta},true);f.image||f.link&&h.append(m);f.link||f.image&&h.append(j);
f.link&&f.image&&h.append(m.append(j));h.appendTo(c)})},"frameChange.annotations":function(c,b,f){var h=d(H),j=a.stitched,m=d(ib);d(S)&&b===p&&k.each(d(Oa),function(o,n){o=k(Da(o));var R=n.start||1,M=n.end,z=f-1,G=n.at?n.at[z]=="+":false;z=n.at?z:z-R+1;var A=typeof n.x!=ab?n.x:n.x[z],Rb=typeof n.y!=ab?n.y:n.y[z];n=A!==p&&Rb!==p&&(n.at?G:z>=0&&(!M||z<=M-R));if(j){R=A>j-h.x&&m>=0&&m<h.x;A=!(A<h.x&&m>j-h.x)?A:A+j;A=!R?A:A-j;A-=m}A={display:n?Hb:Ra,left:B(A),top:B(Rb)};o.css(A)})},"up.annotations":function(c,
b){if(!(t||J)){c=k(b.target);b=c.is("a")?c:c.parents("a");c=b.attr("href");b=b.attr("target")||"self";if(c)t=b=="_blank"?!!Ya.open(c):!!(Ya[b].location.href=c)}},"up.steppable":function(){t||J||l.trigger(d(Ka).x-l.offset().left>0.5*d(H).x?"stepRight":"stepLeft")},"stepLeft stepRight":function(){I()},stepLeft:function(){e(O,false);e(w,d(w)-d(Ja)*d(ja))},stepRight:function(){e(O,true);e(w,d(w)+d(Ja)*d(ja))},"setup.fu":function(){e(Z,a.frame+(a.row-1)*d(L));l.trigger("preload")},"wheel.fu":function(){J=
false},"clean.fu":function(){l.trigger("teardown")},"loaded.fu":function(){l.trigger("opening")}},pool:{"tick.reel.preload":function(){var c=d(H),b=pa(la.$.css(eb)),f=d(aa).length||1,h=N(1/f*d(S)*c.x);la.$.css({width:b+(h-b)/3+1});if(d(S)===f&&b>c.x-1){la.$.fadeOut(300,function(){la.$.remove()});T.unbind(ma+s(Sb),x.pool[ma+s(Sb)])}},"tick.reel":function(c){var b=d(ha),f=$(ba);if(ea){b=b-d(Fb)/f*ea;b=e(ha,b>0.1?b:(ea=C=0))}a.monitor&&Jb.text(d(a.monitor));b&&ea++;C&&C++;Pb(0);pb=true;if(C&&!b)return F(c);
if(d(ua))return F(c,I());if(!(d(ka)>0)){if(!a.loops&&a.rebound){!C&&!(d(w)%1)?qb++:(qb=0);qb>=a.rebound*1E3/f&&e(O,!d(O))}c=d(ja)*cb(1,d(O));b=(!d(xa)?b:P(d(ta))+b)/$(ba);e(w,d(w)-b*c)}},"tick.reel.opening":function(){if(d(X)){var c=(a.entry||a.speed)/$(ba)*(a.cw?-1:1),b=e(ka,d(ka)-1);e(w,d(w)+c);b||l.trigger("openingDone")}}}},F=function(c,b){return c.stopImmediatePropagation()||b},C,ea=0,da=function(){return C=0},I=function(){clearTimeout(Mb);T.unbind(ma+s(X),x.pool[ma+s(X)]);e(ka,0);return C=-a.timeout*
$(ba)},t=false,J=false,Mb,Jb=k(),la=function(){E(D+s(Tb),{position:Ta,left:0,top:d(H).y-a.preloader,height:a.preloader,overflow:lb,backgroundColor:"#000"});return la.$=k(W(sa),{"class":Tb})},wa=function(c){E(D+s(Ub)+s(c),{position:Ta,width:0,height:0,overflow:lb,backgroundColor:"#000"});return wa["$"+c]=k(W(sa),{"class":Ub+D+c})},E=function(c,b,f){function h(j){var m=[];k.each(j,function(o,n){m.push(o.replace(/([A-Z])/g,"-$1").toLowerCase()+":"+B(n)+";")});return"{"+m.join(K)+"}"}f=f?K:d(Eb);c=c.replace(/^/,
f).replace(ca,ca+f);return E.rules.push(c+h(b))&&b},qb=0,Ua={x:0,y:0},Pb=function(c){return ya.push(c)&&ya.shift()&&c},Qa=function(){return ya=[0,0]},ya=Qa(),Ob=a.graph||r.math[a.loops?"hatch":"envelope"],Va=function(c,b,f){var h=e(La,d(w));e(jb,d(za));e(Ma,a.loops?0:-h*c);e(Na,a.loops?c:c-h*c);return b&&e(Ka,{x:b,y:f})||p},pb=true,V;try{V=k.unique(T.add(Ya.top.document))}catch(uc){V=T}var qc=top===self?k():function(c){k("iframe",V.last()).each(function(){try{if(k(this).contents().find(nb).html()==
k(nb).html())return(c=k(this))&&false}catch(b){}});return c}();E.rules=[];x.setup()});Xa=Xa||function l(){var e=+new Date,d=$(ba);if(!d)return Xa=null;T.trigger(ma);r.cost=(+new Date+r.cost-e)/2;return Xa=setTimeout(l,vb(4,1E3/d-r.cost))}();return k(Q)}else if(typeof v=="string")if(g.length==1){u=q[v];i.trigger("recall",[v,u]);return u}else{if(u!==p){try{u=r.normal[v](u,q)}catch(rb){}if(q[v]!==u)i.trigger(v+"Change",[p,q[v]=u])}return i.trigger("store",[v,u])}},unreel:function(){return this.trigger("teardown")}},
re:{image:/^(.*)\.(jpg|jpeg|png|gif)\??.*$/,touchy_agent:/iphone|ipod|ipad|android|fennec|rim tablet/i,lazy_agent:/\(iphone|ipod|android|fennec|blackberry/i,frame_klass:/frame-\d+/,sequence:/(^[^#|]*([#]+)[^#|]*)($|[|]([0-9]+)\.\.([0-9]+))($|[|]([0-9]+)$)/},cdn:"http://code.vostrel.cz/",math:{envelope:function(g,i,q,v,u,a){return i+oa(v,u,-g*a)/q},hatch:function(g,i,q,v,u,a){g=(g<v?u:0)+g%u;g=i+-g*a/q;return g-Wa(g)},interpolate:function(g,i,q){return i+g*(q-i)}},preload:{fidelity:function(g,i,q){function v(l,
e,d){function x(J){for(;!(J>=1&&J<=da);)J+=J<1?+da:-da;return rb[d+J]||(rb[d+J]=!!F.push(J))}if(!l.length)return[];var F=[],C=4*e,ea=i.frame,da=l.length;e=true;for(var I=da/C,t=0;t<C;t++)x(ea+N(t*I));for(;I>1;){t=0;C=F.length;I/=2;for(e=!e;t<C;t++)x(F[t]+(e?1:-1)*N(I))}for(t=0;t<=da;t++)x(t);for(t=0;t<F.length;t++)F[t]=l[F[t]-1];return F}var u=i.orbital?2:i.rows||1,a=i.orbital?i.footage:q(L);q=(i.row-1)*a;var Q=[].concat(g),rb=new Array(g.length+1);g=u<2?[]:Q.slice(q,q+a);return v(g,1,q).concat(v(Q,
u,0))},linear:function(g){return g}},normal:{fraction:function(g,i){return i[Ha].loops?g-Wa(g):oa(0,1,g)},tier:function(g){return oa(0,1,g)},row:function(g,i){return N(oa(1,i[Ha].rows,g))},frame:function(g,i){var q=i[Ha];i=i[L]*(q.orbital?2:q.rows||1);g=N(q.loops?g%i||i:oa(1,i,g));return g<0?g+i:g}},sequence:function(g,i){if(g.length<=1)return i.images;var q=[],v=g[1],u=g[2],a=+g[4]||1,Q=i.orbital?2:i.rows||1;i=i.orbital?i.footage:i.frames;Q=+(g[5]||Q*i);g=+g[7]||1;for(i=0;i<Q;){q.push(v.replace(u,
$b(a+i+K,u.length,"0")));i+=g}return q},instances:k(),leader:$,cost:0},T=k(Ca);Ca=+k.browser.version.split(s()).slice(0,2).join(s());var sb=k.browser.msie,sc=!sb||sb&&Ca>6,Vb=navigator.userAgent,Xa,y="reel",ac=y+"-overlay",Ub=y+"-indicator",Tb=y+"-preloader",Lb=y+"-cached",Kb=y+"-monitor",rc=y+"-annotation",Sa=y+"-panning",mb=y+"-loading",Ab="frame-",fa=Math,N=fa.round,Wa=fa.floor,ra=fa.ceil,bb=fa.min,vb=fa.max,P=fa.abs,pa=parseInt,Ba=r.math.interpolate,Oa="annotations",Pa="area",Qb="auto",Gb="backup",
O="backwards",Ja="bit",Fb="brake",Bb="cached",kb="center",ua="clicked",Ka="clicked_location",La="clicked_on",jb="clicked_tier",ja="cwish",H="dimensions",w="fraction",Z="frame",L="frames",Na="hi",lb="hidden",fb="image",aa="images",X="opening",ka=X+"_ticks",Ma="lo",Ha="options",xa="playing",S="preloaded",va="reeling",Ia="revolution",zb="revolution_y",Aa="row",gb="rows",Cb="spacing",ta="speed",Eb="stage",hb="stitched",ib="stitched_shift",Db="stitched_travel",ob="stopped",qa="style",ba="tempo",za="tier",
ha="velocity",ia="vertical",U=s(y),Y=s("pan")+U,ic="mousedown"+U,hc="mouseenter"+U,oc="mouseleave"+Y,nc="mousemove"+Y,pc="mouseup"+Y,gc="mousewheel"+U,ma="tick"+U,mc="touchcancel"+Y,lc="touchend"+Y,cc="touchstart"+U,kc="touchmove"+Y,K="",D=" ",ca=",",Ta="absolute",Hb="block",na="@CDN@",sa="div",Ib="hand",nb="head",yb="height",Nb="html",ga="id",db="img",tb="jquery."+y,Ra="none",ab="object",Sb="preload",wb="string",eb="width",jc=sc?Yb("CAAIAIAAAAAAAAAAACH5BAEAAAAALAAAAAAIAAgAAAIHhI+py+1dAAA7"):na+"blank.gif",
ec=Ea(na+tb+".cur")+ca+"move",dc=Ea(na+tb+"-drag.cur")+ca+"move",fc=Ea(na+tb+"-drag-down.cur")+ca+"move",Ga=r.touchy=r.re.touchy_agent.test(Vb);r.lazy=r.re.lazy_agent.test(Vb);var bc=Ga?p:sb&&Ca<=8?1:0,tc=k.cleanData;k.cleanData=function(g){tc(k(g).each(function(){k(this).triggerHandler("clean")}))};Zb("disableTextSelect enableTextSelect".split(/ /));k.extend(k.fn,r.fn)}(jQuery,window,document);

/*** jquery.mousewheel: ***/

/* Copyright (c) 2011 Brandon Aaron (http://brandonaaron.net)
 * Licensed under the MIT License (LICENSE.txt).
 * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
 * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
 * Thanks to: Seamus Leahy for adding deltaX and deltaY
 *
 * Version: 3.0.6
 *
 * Requires: 1.2.2+
 */
(function(c){function g(a){var b=a||window.event,i=[].slice.call(arguments,1),e=0,h=0,f=0;a=c.event.fix(b);a.type="mousewheel";if(b.wheelDelta)e=b.wheelDelta/120;if(b.detail)e=-b.detail/3;f=e;if(b.axis!==undefined&&b.axis===b.HORIZONTAL_AXIS){f=0;h=-1*e}if(b.wheelDeltaY!==undefined)f=b.wheelDeltaY/120;if(b.wheelDeltaX!==undefined)h=-1*b.wheelDeltaX/120;i.unshift(a,e,h,f);return(c.event.dispatch||c.event.handle).apply(this,i)}var d=["DOMMouseScroll","mousewheel"];if(c.event.fixHooks)for(var j=d.length;j;)c.event.fixHooks[d[--j]]=
c.event.mouseHooks;c.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=d.length;a;)this.addEventListener(d[--a],g,false);else this.onmousewheel=g},teardown:function(){if(this.removeEventListener)for(var a=d.length;a;)this.removeEventListener(d[--a],g,false);else this.onmousewheel=null}};c.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);

/*** jquery.disabletextselect: ***/

/**
 * .disableTextSelect - Disable Text Select Plugin
 *
 * Version: 1.1
 * Updated: 2007-11-28
 *
 * Used to stop users from selecting text
 *
 * Copyright (c) 2007 James Dempster (letssurf@gmail.com, http://www.jdempster.com/category/jquery/disabletextselect/)
 *
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 **/
(function(a){if(a.browser.mozilla){a.fn.disableTextSelect=function(){return this.each(function(){a(this).css({MozUserSelect:"none"})})};a.fn.enableTextSelect=function(){return this.each(function(){a(this).css({MozUserSelect:""})})}}else if(a.browser.msie){a.fn.disableTextSelect=function(){return this.each(function(){a(this).bind("selectstart.disableTextSelect",function(){return false})})};a.fn.enableTextSelect=function(){return this.each(function(){a(this).unbind("selectstart.disableTextSelect")})}}else{a.fn.disableTextSelect=
function(){return this.each(function(){a(this).bind("mousedown.disableTextSelect",function(){return false})})};a.fn.enableTextSelect=function(){return this.each(function(){a(this).unbind("mousedown.disableTextSelect")})}}})(jQuery);