
/*======start js/jquery.sexyCycle.js start=======*/

(function(a){a.fn.sexyCycle=function(c){function l(){j("-");k=setTimeout(l,c.interval)}function q(){clearInterval(k)}function j(m){if(g==true){g=false;if(m=="-"){slideto="+=";d=f-1;h=a(".sexyCycle-content img:eq("+d+")",b).width()}else{slideto="-=";d=f+1;h=a(".sexyCycle-content img:eq("+(d-1)+")",b).width()}if(d-1<e-1&&d-1>=-1){i=a(".sexyCycle-content img:eq("+d+")",b).width();a(".sexyCycle-content",b).animate({left:slideto+h+"px"},{duration:c.speed,easing:c.easing});a(b).animate({width:i+"px"},{duration:c.speed,
easing:c.easing,complete:function(){g=true}});f=d}else if(c.cycle==true){if(m=="+"){d=f=0;a(".sexyCycleTempf",b).css("display","block");a(".sexyCycle-content",b).css("left","0px");a(".sexyCycle-content",b).animate({left:slideto+h+"px"},{duration:c.speed,easing:c.easing})}else{f=e-1;d=e-1;a(".sexyCycleTempe",b).css("display","block");a(".sexyCycle-content",b).css("left","-"+a(".sexyCycleTempe",b).position().left+"px");a(".sexyCycle-content",b).animate({left:slideto+n+"px"},{duration:c.speed,easing:c.easing})}i=
a(".sexyCycle-content img:eq("+f+")",b).width();a(b).animate({width:i+"px"},{duration:c.speed,easing:c.easing,complete:function(){g=true}})}else g=true}}c=a.extend({easing:"easeOutExpo",speed:400,next:null,prev:null,start:0,cycle:true,interval:false,stop:null},c);var g=true,b=a(".wrap",this),f=c.start,o=0,p=0,d=0;a(this).width();var e=a(".sexyCycle-content",b).children().size(),h=a(".sexyCycle-content img:eq("+c.start+")",b).width();a(".sexyCycle-content img:eq(0)",b);a(".sexyCycle-content img:eq("+
(e-1)+")",b);var r=a(".sexyCycle-content img:eq("+(e-1)+")",b).attr("src");o=a(".sexyCycle-content img:eq("+(e-1)+")",b).height();var n=a(".sexyCycle-content img:eq("+(e-1)+")",b).width(),s=a(".sexyCycle-content img:eq(0)",b).attr("src"),t=a(".sexyCycle-content img:eq(0)",b).height(),u=a(".sexyCycle-content img:eq(0)",b).width();for(_lc=0;_lc<c.start;_lc++)p+=a(".sexyCycle-content img:eq("+_lc+")",b).width();a('<span class="sexyCycleTempf" style="background: url(\''+r+"'); float: left; width: "+n+
"px; height: "+o+'px; display: block"></span>').insertBefore(a(".sexyCycle-content li:eq(0)",b));a(".sexyCycleTempf",b).css("display","none");a('<span class="sexyCycleTempe" style="background: url(\''+s+"'); float: left; width: "+u+"px; height: "+t+'px; display: block"></span>').insertAfter(a(".sexyCycle-content li:eq("+(e-1)+")",b));a(".sexyCycleTempe",b).css("display","none");var i=h;a("li",b).css("float","left");a(".sexyCycle-content",b).css("width","99999999");a(".sexyCycle-content",b).css("position",
"absolute");a(b).css("visibility","visible");a(b).css("position","relative");a(b).css("overflow","hidden");a(b).css("height",a(".sexyCycle-content img:eq(0)",b).height()+"px");a(b).css("width",i+"px");a(".sexyCycle-content",b).animate({left:"-="+p+"px"},{duration:0});a(this).css("height",a(b).height()+a(".controllers",this).height()+"px");a(c.next).click(function(){j("+")});a(c.prev).click(function(){j("-")});a(b).click(function(){j("+")});if(c.interval!=false){var k=c.stop;l(k)}a(c.stop).click(function(){q(k)})}})(jQuery);

/*======end js/jquery.sexyCycle.js end=======*/
