text: (function(d){d.fn.jCarouselLite=function(f){f=d.extend({btnPrev:null,btnNext:null,btnGo:null,mouseWheel:false,auto:null,speed:200,easing:null,vertical:false,circular:true,visible:4,start:0,scroll:1,beforeStart:null,afterEnd:null},f||{});var e=this.find("li").length;if(e<1){d("#prev-01").hide();d("#next-01").hide();d("#demo-01").css("height",50);return false}else{if(e>4){d("#prev-01").hide();d("#next-01").show()}}return this.each(function(){var o=false,m=f.vertical?"top":"left",h=f.vertical?"height":"width";var g=d(this),q=d("ul",g),j=d("li",q),u=j.size(),t=f.visible;if(f.circular){q.prepend(j.slice(u-t-1+1).clone()).append(j.slice(0,t).clone());f.start+=t}var s=d("li",q),p=s.size(),w=f.start;g.css("visibility","visible");s.css({overflow:"hidden","float":f.vertical?"none":"left"});q.css({margin:"0",padding:"0",position:"relative","list-style-type":"none","z-index":"1"});g.css({overflow:"hidden",position:"relative","z-index":"2",left:"0px"});var l=f.vertical?a(s):c(s);var r=l*p;var n=l*t;if(s.length>0){s.css({width:s.width(),height:s.height()})}q.css(h,r+"px").css(m,-(w*l));g.css(h,n+"px");if(f.btnPrev){d(f.btnPrev).unbind().click(function(){return k(w-f.scroll)})}if(f.btnNext){d(f.btnNext).unbind().click(function(){return k(w+f.scroll)})}if(f.btnGo){d.each(f.btnGo,function(v,x){d(x).unbind().click(function(){return k(f.circular?f.visible+v:v)})})}if(f.mouseWheel&&g.mousewheel){g.mousewheel(function(v,x){return x>0?k(w-f.scroll):k(w+f.scroll)})}if(f.auto){setInterval(function(){k(w+f.scroll)},f.auto+f.speed)}function i(){return s.slice(w).slice(0,t)}function k(v){if(!o){if(f.beforeStart){f.beforeStart.call(this,i())}if(f.circular){if(v<=f.start-t-1){q.css(m,-((p-(t*2))*l)+"px");w=v==f.start-t-1?p-(t*2)-1:p-(t*2)-f.scroll}else{if(v>=p-t+1){q.css(m,-((t)*l)+"px");w=v==p-t+1?t+1:t+f.scroll}else{w=v}}}else{if(v>w){d("#prev-01").show()}else{d("#next-01").show()}if(v+4>=p){d("#next-01").hide()}if(v<=0){d("#prev-01").hide()}if(v<0||p-v<=0){return}else{w=v}}o=true;q.animate(m=="left"?{left:-(w*l)}:{top:-(w*l)},f.speed,f.easing,function(){if(f.afterEnd){f.afterEnd.call(this,i())}o=false});if(!f.circular){d(f.btnPrev+","+f.btnNext).removeClass("disabled");d((w-f.scroll<0&&f.btnPrev)||(w+f.scroll>=p-0&&f.btnNext)||[]).addClass("disabled")}}return false}})};function b(e,f){return parseInt(d.css(e[0],f))||0}function c(e){return e[0].offsetWidth+b(e,"marginLeft")+b(e,"marginRight")}function a(e){return e[0].offsetHeight+b(e,"marginTop")+b(e,"marginBottom")}})(jQuery);