

function formatText(index, panel) {
	return index + "";
}

$(document).ready(function(){
	
	$(".anythingSlider ul").show();
	$('.anythingSlider').anythingSlider({
        easing: "easeInOutExpo",        // Anything other than "linear" or "swing" requires the easing plugin
        autoPlay: true,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not.
        delay: 5000,                    // How long between slide transitions in AutoPlay mode
        startStopped: false,            // If autoPlay is on, this can force it to start stopped
        animationTime: 600,             // How long the slide transition takes
        hashTags: true,                 // Should links change the hashtag in the URL?
        buildNavigation: true,          // If true, builds and list of anchor links to link to each slide
        pauseOnHover: true,             // If true, and autoPlay is enabled, the show will pause on hover
        startText: "",             	// Start text
		stopText: "",               // Stop text
		
		// Allows you to format the contents of the links to each panel (advanced use)
		navigationFormatter: function(index, panel){
			if (index == 1){
				return "Web Sites";
			}
			else if (index == 2){
				return "Ecommerce Solutions"; 
			}
			else if (index == 3){
				return "Programming &amp; Database"; 
			}
			else if (index == 4){
				return "Online Marketing"; 
			}
			else {
				return index + "Panel"; // This would have each tab with the text 'X Panel' where X = index
			}
		}
    });
            
    $("#slide-jump").click(function(){
        $('.anythingSlider').anythingSlider(2);
    });
	/*$('.anythingSlider .wrapper ul ul li').css('display','none')
	$('.anythingSlider .wrapper ul ul li').animate({'opacity' : 0}, 1);*/
	
	//$('.anythingSlider').anythingSlider(2);
	


	
});


    





