/*
 * jQuery Cycle Plugin
 * Examples and documentation at: http://malsup.com/jquery/cycle/
 * Copyright (c) 2007 M. Alsup
 * Version 2.14
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 */
jQuery(document).ready(function($) {
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}('(4($){7 m=\'2.14\';7 n=$.2f.29&&/37 6.0/.2y(2s.2n);4 15(){3(1H.1C&&1H.1C.15)1H.1C.15(\'[E] \'+33.2Y.2S.2M(2F,\'\'))};$.F.E=4(l){x 8.P(4(){l=l||{};3(l.1N==2g){3d(l){1I\'3b\':3(8.C)18(8.C);8.C=0;x;1I\'1s\':8.M=1;x;1I\'35\':8.M=0;x;32:l={W:l}}}3(8.C)18(8.C);8.C=0;8.M=0;7 c=$(8);7 d=l.1w?$(l.1w,8):c.2P();7 e=d.2H();3(e.r<2){15(\'2B; 2x 2v 2u: \'+e.r);x}7 f=$.2r({},$.F.E.1T,l||{},$.1R?c.1R():$.2o?c.2m():{});3(f.1r)f.1q=f.1p||e.r;f.L=f.L?[f.L]:[];f.K=f.K?[f.K]:[];f.K.3c(4(){f.1K=0});3(f.X)f.K.13(4(){Q(e,f,0,!f.R)});3(n&&f.17&&!f.2b)1E(d);7 g=8.39;f.y=1k((g.1j(/w:(\\d+)/)||[])[1])||f.y;f.q=1k((g.1j(/h:(\\d+)/)||[])[1])||f.q;f.A=1k((g.1j(/t:(\\d+)/)||[])[1])||f.A;3(c.B(\'1e\')==\'2Z\')c.B(\'1e\',\'2X\');3(f.y)c.y(f.y);3(f.q&&f.q!=\'1b\')c.q(f.q);3(f.S){f.V=[];1Z(7 i=0;i<e.r;i++)f.V.13(i);f.V.2O(4(a,b){x 2J.S()-0.5});f.O=0;f.J=f.V[0]}N 3(f.J>=e.r)f.J=0;7 h=f.J||0;d.B(\'1e\',\'2e\').2z().P(4(i){7 z=h?i>=h?e.r-(i-h):h-i:e.r-i;$(8).B(\'z-2w\',z)});$(e[h]).B(\'19\',1).1W();3(f.H&&f.y)d.y(f.y);3(f.H&&f.q&&f.q!=\'1b\')d.q(f.q);3(f.1s)c.2t(4(){8.M=1},4(){8.M=0});7 j=$.F.E.1V[f.W];3($.1U(j))j(c,d,f);N 15(\'2q 2p: \'+f.W);d.P(4(){7 a=$(8);8.1S=(f.H&&f.q)?f.q:a.q();8.1Q=(f.H&&f.y)?f.y:a.y()});f.U=f.U||{};f.Y=f.Y||{};f.11=f.11||{};d.1P(\':1f(\'+h+\')\').B(f.U);3(f.1O)$(d[h]).B(f.1O);3(f.A){3(f.G.1N==2g)f.G={2l:2k,2j:2i}[f.G]||3g;3(!f.1o)f.G=f.G/2;3f((f.A-f.G)<3e)f.A+=f.G}3(f.1M)f.1L=f.1J=f.1M;3(!f.1m)f.1m=f.G;3(!f.1n)f.1n=f.G;f.2d=e.r;f.I=h;3(f.S){f.9=f.I;3(++f.O==e.r)f.O=0;f.9=f.V[f.O]}N f.9=f.J>=(e.r-1)?0:f.J+1;7 k=d[h];3(f.L.r)f.L[0].1l(k,[k,k,f,2c]);3(f.K.r>1)f.K[1].1l(k,[k,k,f,2c]);3(f.12&&!f.D)f.D=f.12;3(f.D)$(f.D).1G(\'12\',4(){x 1F(e,f,f.R?-1:1)});3(f.1B)$(f.1B).1G(\'12\',4(){x 1F(e,f,f.R?1:-1)});3(f.Z)2a(e,f);3(f.A||f.X)8.C=1D(4(){Q(e,f,0,!f.R)},f.X?10:f.A+(f.28||0));f.38=4(a){7 b=$(a),s=b[0];3(!f.1p)f.1q++;e.13(s);3(f.27)f.27.13(s);f.2d=e.r;b.B(\'1e\',\'2e\').B(f.U).26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18(A);p.C=0}3(1x c.1v==\'4\')c.1v(c.9,b[c.9]);Q(b,c,1,!c.R);x 1i})});d.22(\'a\').1z(\'a:1f(\'+c.J+\')\').21(\'1t\')};4 1E(b){4 1c(s){7 s=1k(s).2T(16);x s.r<2?\'0\'+s:s};4 1X(e){1Z(;e&&e.2R.2Q()!=\'30\';e=e.1a){7 v=$.B(e,\'23-20\');3(v.2N(\'2L\')>=0){7 a=v.1j(/\\d+/g);x\'#\'+1c(a[0])+1c(a[1])+1c(a[2])}3(v&&v!=\'2K\')x v}x\'#2I\'};b.P(4(){$(8).B(\'23-20\',1X(8))})};$.F.E.24=4(a,b,c,d){7 e=$(a),$n=$(b);$n.B(c.U);7 f=4(){$n.25(c.Y,c.1m,c.1L,d)};e.25(c.11,c.1n,c.1J,4(){3(c.1g)e.B(c.1g);3(!c.1o)f()});3(c.1o)f()};$.F.E.1V={2h:4(a,b,c){b.1P(\':1f(\'+c.J+\')\').B(\'19\',0);c.L.13(4(){$(8).1W()});c.Y={19:1};c.11={19:0};c.1g={2G:\'3a\'}}};$.F.E.2E=4(){x m};$.F.E.1T={W:\'2h\',A:2D,X:0,G:2C,1m:u,1n:u,D:u,1B:u,1d:u,Z:u,1v:u,1Y:\'12\',1u:u,L:u,K:u,1A:u,1M:u,1L:u,1J:u,2A:u,Y:u,11:u,U:u,1g:u,1y:u,q:\'1b\',J:0,1o:1,S:0,H:0,1s:0,1r:0,1p:0,28:0,1w:u,17:0,1h:0}})(3h);',62,204,'|||if|function|||var|this|nextSlide|||||||||||||||||height|length|||null|||return|width||timeout|css|cycleTimeout|next|cycle|fn|speed|fit|currSlide|startingSlide|after|before|cyclePause|else|randomIndex|each|go|rev|random|curr|cssBefore|randomMap|fx|continuous|animIn|pager||animOut|click|push||log||cleartype|clearTimeout|opacity|parentNode|auto|hex|prevNextClick|position|eq|cssAfter|nowrap|false|match|parseInt|apply|speedIn|speedOut|sync|autostopCount|countdown|autostop|pause|activeSlide|pagerAnchorBuilder|pagerClick|slideExpr|typeof|fxFn|filter|end|prev|console|setTimeout|clearTypeFix|advance|bind|window|case|easeOut|busy|easeIn|easing|constructor|cssFirst|not|cycleW|metadata|cycleH|defaults|isFunction|transitions|show|getBg|pagerEvent|for|color|addClass|find|background|custom|animate|appendTo|els|delay|msie|buildPager|cleartypeNoBg|true|slideCount|absolute|browser|String|fade|200|fast|600|slow|data|userAgent|meta|transition|unknown|extend|navigator|hover|slides|few|index|too|test|hide|shuffle|terminating|1000|4000|ver|arguments|display|get|ffffff|Math|transparent|rgb|call|indexOf|sort|children|toLowerCase|nodeName|join|toString|body|parents|href|relative|prototype|static|html|removeClass|default|Array|removeAttribute|resume|style|MSIE|addSlide|className|none|stop|unshift|switch|250|while|400|jQuery'.split('|'),0,{}));

function stopAutoCycle() {
    $("#hero>div.cycle").cycle('pause');
}

$('#hero>div.cycle').cycle({
        pager: '#cycleNav',
        pagerClick: stopAutoCycle
    }
);
});