
$(document).ready(function(){$('.slideIndex li').click(slideInto);$('.monthlyGrowth').sparkline('html',{spotColor:false,chartRangeMin:0,minSpotColor:false,maxSpotColor:false,height:30,defaultPixelsPerValue:5});$('.reposUsers').sparkline('html',{type:'pie',height:30,width:30,sliceColors:['#60E146','#F3C446']});highlightSlide(0);setTimeout(autoMoveSlide,6000);});var autoMove=true;var curSlide=0;function autoMoveSlide()
{if(autoMove)
{curSlide++;if(curSlide>=$('.slideIndex li').length)
curSlide=0;highlightSlide(curSlide);setTimeout(autoMoveSlide,6000);}}
function slideInto()
{var i=$('.slideIndex li').index($(this));autoMove=false;highlightSlide(i);}
function highlightSlide(i)
{$('.slideIndex li').removeClass('indexEnabled');$('.slideIndex li').eq(i).addClass('indexEnabled');var iconTop=(i*24);$('.slideIndex').stop(true,true);$('.paneInfo').stop(true,true);$('.paneInfo').animate({marginLeft:'800px'},200);$('.slideIndex').animate({backgroundPosition:'(0px '+iconTop+'px)'},200);$('.slideCur').stop(true,true);$('.slideCur').animate({marginTop:-(i*362)},600,function(){$('.paneInfo').eq(i).animate({marginLeft:'0px'},200);});}