	function formatText(index, panel) {
	  return index + "";
	}
	
$(document).ready(function(){
		var itemCount = $('.anythingSlider .wrapper ul li').length;
		//alert(itemCount);
		if(itemCount > 1){
			$(function () {
				$('.anythingSlider').anythingSlider({
					easing: "easeInOutExpo",        // Anything other than "linear" or "swing" requires the easing plugin
					autoPlay: false,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not.
					delay: 3000,                    // 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: "Go",             		// Start text
							stopText: "Stop",               // Stop text
							navigationFormatter: formatText // Details at the top of the file on this use (advanced use)
				});
				
				$("#slide-jump").click(function(){
					$('.anythingSlider').anythingSlider(6);
				});
				
			});
		}else{
			//alert(testing);
			$('.anythingSlider').addClass('anythingSliderOne');
		}
	
	
	
	
		var testing = $('.anythingSlider-products .wrapper ul li').length;
		//alert(testing);
		if(testing > 1){
			$(function () {
			
				$('.anythingSlider-products').anythingSlider({
					easing: "easeInOutExpo",        // Anything other than "linear" or "swing" requires the easing plugin
					autoPlay: false,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not.
					delay: 3000,                    // 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: "Go",             		// Start text
							stopText: "Stop",               // Stop text
							navigationFormatter: formatText // Details at the top of the file on this use (advanced use)
				});
				
				$("#slide-jump").click(function(){
					$('.anythingSlider-products').anythingSlider(6);
				});
				
			});
		}else{
			//alert(testing);
			$('.anythingSlider-products').addClass('anythingSlider-productsOne');
		}




		var testing2 = $('.anythingslider-landscape .wrapper ul li').length;
		//alert(testing);
		if(testing2 > 1){
			$(function () {
			
				$('.anythingslider-landscape').anythingSlider({
					easing: "easeInOutExpo",        // Anything other than "linear" or "swing" requires the easing plugin
					autoPlay: false,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not.
					delay: 3000,                    // 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: "Go",             		// Start text
							stopText: "Stop",               // Stop text
							navigationFormatter: formatText // Details at the top of the file on this use (advanced use)
				});
				
				$("#slide-jump").click(function(){
					$('.anythingslider-landscape').anythingSlider(6);
				});
				
			});
		}else{
			//alert(testing);
			$('.anythingslider-landscape').addClass('anythingslider-landscapeOne');
		}




		var testing3 = $('.anythingslider-landscape2 .wrapper ul li').length;
		//alert(testing);
		if(testing3 > 1){
			$(function () {
			
				$('.anythingslider-landscape2').anythingSlider({
					easing: "easeInOutExpo",        // Anything other than "linear" or "swing" requires the easing plugin
					autoPlay: false,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not.
					delay: 3000,                    // 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: "Go",             		// Start text
							stopText: "Stop",               // Stop text
							navigationFormatter: formatText // Details at the top of the file on this use (advanced use)
				});
				
				$("#slide-jump").click(function(){
					$('.anythingslider-landscape2').anythingSlider(6);
				});
				
			});
		}else{
			//alert(testing);
			$('.anythingslider-landscape2').addClass('anythingslider-landscape2One');
		}
	});

