jQuery(document).ready(function(c){c(".paging").show();c(".paging a:first").addClass("active");var a=c(".window").width();var b=c(".image_reel img").size();var d=a*b;c(".image_reel").css({width:d});rotate=function(){var f=$active.attr("rel")-1;var e=f*a;c(".paging a").removeClass("active");$active.addClass("active");c(".values a").each(function(){c(this).css("display","none")});c(".values a[rel="+$active.attr("rel")+"]").css("display","inline").jTypeWriter();c(".image_reel").animate({left:-e},1000)};rotateSwitch=function(){play=setInterval(function(){$active=c(".paging a.active").next();if($active.length===0){$active=c(".paging a:first")}rotate()},5000)};rotateSwitch();c(".image_reel a").hover(function(){clearInterval(play)},function(){rotateSwitch()});c(".paging a").click(function(){$active=c(this);clearInterval(play);rotate();rotateSwitch();return false})});
