/*
 *	loopedSlider 0.5.4 - jQuery plugin
 *	written by Nathan Searles
 *	http://nathansearles.com/loopedslider/
 *
 *  extended by Juwi Mac Millan Group
 *
 *	Copyright (c) 2009 Nathan Searles (http://nathansearles.com/)
 *	Dual licensed under the MIT (MIT-LICENSE.txt)
 *	and GPL (GPL-LICENSE.txt) licenses.
 *
 *	Built for jQuery library
 *	http://jquery.com
 *
 */
$(function(){
	var idx = Math.floor(Math.random()*($('.slides').children().length-2));
	var dynamicSliderScrollSpeed = dynamicSliderScrollSpeed ? dynamicSliderScrollSpeed : 3000;
	var options = {			
		container: '.teaser-rotation',
		slides: '.slides',
		pagination: '.bullets',
		containerClick: false,
		autoStart: dynamicSliderScrollSpeed,
		restart: 3000, // Set to positive number for restart and restart time
		slidespeed: 800, // Speed of slide animation
		fadespeed: 500, // Speed of fade animation
		autoHeight: false, // Set to positive number for auto height and animation speed
		startIndex: idx // 1 based
	};
	$('#loopedSlider').loopedSlider(options);
});

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}('(6($){$.1l.1m=6(k){v l={Q:\'.Q\',5:\'.5\',X:\'.X\',14:G,y:0,D:0,R:15,U:15,A:x,16:1,17:x};H.Y(6(){v d=$(H);v o=$.1n(l,k);v f=$(o.X+\' 1o a\',d);v m=0;v t=o.16;v s=$(o.5,d).8().1p();v w=$(o.5,d).8().1q();v p=0;v u=x;v n=0;v g=0;v h=0;$(".I-J-M",d).S(18);$(".I-J-Q, .I-J-M",d).19(6(){$(".I-J-M",d).V("1a")}).1b(6(){$(".I-J-M",d).Z("1a")});v j=6(a,b){1r(v i=s-1;i>=0;i--){v r=1c.1s(1c.1t()*(s+1));a.1u(b[r])}};j($(o.5,d),$(o.5,d).8());$(o.5,d).9({1v:(s*w),7:(-(t*w-w))});$(o.5,d).8().Y(6(){$(H).9({B:\'C\',7:p,1w:\'1x\'});p=p+w});$(f,d).Y(6(){n=n+1;$(H).10(\'11\',n);$(f.q(t),d).N().V(\'O\')});$(o.5,d).8(\':q(\'+(s-1)+\')\').9({B:\'C\',7:-w});4(s>3){$(o.5,d).8(\':1y(\'+(s-1)+\')\').9({B:\'C\',7:-w})}4(o.A){A(t)}$(\'.K\',d).S(6(){4(u===x){z(\'K\',G);4(o.y){4(o.D){y()}L{E(F)}}}P x});$(\'.1z\',d).S(6(){4(u===x){z(\'1d\',G);4(o.y){4(o.D){y()}L{E(F)}}}P x});4(o.14){$(o.Q,d).S(6(){4(u===x){z(\'K\',G);4(o.y){4(o.D){y()}L{E(F)}}}P x})}$(f,d).S(6(){4($(H).N().1A(\'O\')){P x}L{t=$(H).10(\'11\');$(f,d).N().1e().Z(\'O\');$(H).N().V(\'O\');z(\'1f\',t);4(o.y){4(o.D){y()}L{E(F)}}}P x});$(d).19(6(e){4(o.D||o.1B){E(F);E(g);1g(h)}e.1h()}).1b(6(e){4(u===x){4(o.y){4(o.D){y()}L{E(F)}}}e.1h()});4(o.y){F=12(6(){4(u===x){z(\'K\',G)}},o.y);6 y(){4(o.D){E(F);E(g);1g(h);h=1i(6(){g=12(6(){z(\'K\',G)},o.y)},o.D)}L{F=12(6(){4(u===x){z(\'K\',G)}},o.y)}}}6 T(t){4(t===s+1){t=1}4(t===0){t=s}$(f,d).N().1e().Z(\'O\');$(f+\'[11="\'+(t)+\'"]\',d).N().V(\'O\')}6 A(t){4(t===s+1){t=1}4(t===0){t=s}v a=$(o.5,d).8(\':q(\'+(t-1)+\')\',d).1C();$(o.Q,d).z({1D:a},o.A)};6 18(){1E.1F=$("1G:1H-1I("+t+") a",$(o.5,d)).10("1J")};6 z(a,b){v c=6(s){4(!o.17)P;$(".I-J-M",d).1j(1K,6(){1i(6(){$(".I-J-M",d).1k(s)},s)})};u=G;1L(a){13\'K\':t=t+1;m=(-(t*w-w));T(t);4(o.A){A(t)}4(s<3){4(t===3){$(o.5,d).8(\':q(0)\').9({7:(s*w)})}4(t===2){$(o.5,d).8(\':q(\'+(s-1)+\')\').9({B:\'C\',7:(w)})}}$(o.5,d).z({7:m},o.R,6(){4(t===s+1){t=1;$(o.5,d).9({7:0},6(){$(o.5,d).z({7:m})});$(o.5,d).8(\':q(0)\').9({7:0});$(o.5,d).8(\':q(\'+(s-1)+\')\').9({B:\'C\',7:-w})}4(t===s)$(o.5,d).8(\':q(0)\').9({7:(s*w)});4(t===s-1)$(o.5,d).8(\':q(\'+(s-1)+\')\').9({7:s*w-w});u=x});c(o.R);W;13\'1d\':t=t-1;m=(-(t*w-w));T(t);4(o.A){A(t)}4(s<3){4(t===0){$(o.5,d).8(\':q(\'+(s-1)+\')\').9({B:\'C\',7:(-w)})}4(t===1){$(o.5,d).8(\':q(0)\').9({B:\'C\',7:0})}}$(o.5,d).z({7:m},o.R,6(){4(t===0){t=s;$(o.5,d).8(\':q(\'+(s-1)+\')\').9({B:\'C\',7:(s*w-w)});$(o.5,d).9({7:-(s*w-w)});$(o.5,d).8(\':q(0)\').9({7:(s*w)})}4(t===2)$(o.5,d).8(\':q(0)\').9({B:\'C\',7:0});4(t===1)$(o.5,d).8(\':q(\'+(s-1)+\')\').9({B:\'C\',7:-w});u=x});c(o.R);W;13\'1f\':t=[t]*1;m=(-(t*w-w));T(t);4(o.A){A(t)}$(o.5,d).8().1j(o.U,6(){$(o.5,d).9({7:m});$(o.5,d).8(\':q(\'+(s-1)+\')\').9({7:s*w-w});$(o.5,d).8(\':q(0)\').9({7:0});4(t===s){$(o.5,d).8(\':q(0)\').9({7:(s*w)})}4(t===1){$(o.5,d).8(\':q(\'+(s-1)+\')\').9({B:\'C\',7:-w})}$(o.5,d).8().1k(o.U);u=x});c(o.U);W;1M:W}};T(t)})}})(1N);',62,112,'||||if|slides|function|left|children|css|||||||||||||||||eq|||||var||false|autoStart|animate|autoHeight|position|absolute|restart|clearInterval|sliderIntervalID|true|this|teaser|rotation|next|else|more|parent|teaserActive|return|container|slidespeed|click|current|fadespeed|addClass|break|pagination|each|removeClass|attr|rel|setInterval|case|containerClick|300|startIndex|fadeMore|clickMore|mouseover|hover|mouseout|Math|prev|siblings|fade|clearTimeout|stopPropagation|setTimeout|fadeOut|fadeIn|fn|loopedSlider|extend|li|size|outerWidth|for|round|random|prepend|width|display|block|gt|previous|hasClass|autostart|outerHeight|height|window|location|div|nth|child|href|80|switch|default|jQuery'.split('|'),0,{}))