/*
    anythingSlider v1.3
    
    By Chris Coyier: http://css-tricks.com
    with major improvements by Doug Neiner: http://pixelgraphics.us/
    based on work by Remy Sharp: http://jqueryfordesigners.com/


	To use the navigationFormatter function, you must have a function that
	accepts two paramaters, and returns a string of HTML text.
	
	index = integer index (1 based);
	panel = jQuery wrapped LI item this tab references
	@return = Must return a string of HTML/Text
	
	navigationFormatter: function(index, panel){
		return index + " Panel"; // This would have each tab with the text 'X Panel' where X = index
	}
*/
function formatText(index, panel) {
    		  return index + "";
    	  };
    
        $(function () {
        
            $('.anythingSlider').anythingSlider({
                easing: "easeInOutExpo",       
                autoPlay: true,                
                delay: 5000,                   
                startStopped: false,           
                animationTime: 600,            
                hashTags: true,                
                buildNavigation: true,         
            		pauseOnHover: true,          
            		startText: "Go",              
    		        stopText: "Stop",              
    		        navigationFormatter: formatText
            });
            
            $("#slide-jump").click(function(){
            $('.anythingSlider').anythingSlider(6);
            });
            
        });

