/*! http://responsiveslides.com v1.32 by @viljamis */
(function(c,F,y){c.fn.responsiveSlides=function(j){var b=c.extend({auto:!0,speed:1E3,timeout:4E3,pager:!1,nav:!1,random:!1,pause:!1,pauseControls:!1,prevText:"Previous",nextText:"Next",maxwidth:"",controls:"",namespace:"rslides",before:function(){},after:function(){}},j);return this.each(function(){y++;var e=c(this),q,r,k,m,n,p=0,f=e.children(),z=f.size(),s=parseFloat(b.speed),A=parseFloat(b.timeout),t=parseFloat(b.maxwidth),d=b.namespace,g=d+y,B=d+"_nav "+g+"_nav",u=d+"_here",l=g+"_on",v=g+"_s",
h=c("
"),C={"float":"left",position:"relative"},G={"float":"none",position:"absolute"},w=function(a){b.before();f.stop().fadeOut(s,function(){c(this).removeClass(l).css(G)}).eq(a).fadeIn(s,function(){c(this).addClass(l).css(C);b.after();p=a})};b.random&&(f.sort(function(){return Math.round(Math.random())-0.5}),e.empty().append(f));f.each(function(a){this.id=v+a});e.addClass(d+" "+g);j&&j.maxwidth&&e.css("max-width",t);f.hide().eq(0).addClass(l).css(C).show();if(1<
f.size()){if(A"+a+""});h.append(x);j.controls?c(b.controls).append(h):e.after(h)}else b.pager&&(h=c(b.pager),h.addClass(d+"_tabs "+g+"_tabs"),h.find("li").each(function(a){c(this).addClass(v+(a+1))}));b.pager&&(n=h.find("a"),q=function(a){n.closest("li").removeClass(u).eq(a).addClass(u)});b.auto&&(r=function(){m=setInterval(function(){f.stop(!0,!0);var a=p+1"+b.prevText+""+b.nextText+"";j.controls?c(b.controls).append(d):
e.after(d);var d=c("."+g+"_nav"),D=c("."+g+"_nav.prev");d.bind("click",function(a){a.preventDefault();if(!c("."+l).queue("fx").length){var d=f.index(c("."+l));a=d-1;d=d+1t&&e.css("width",t)};E();c(F).bind("resize",function(){E()})}})}})(jQuery,
this,0);