// Set up Three Panel Sliders:
		// **************
		$(function(){
			$('#panelSlider1').anythingSlider({
				startPanel          : 3,          // This sets the initial panel
				buildArrows         : false,	  // If true, builds the forwards and backwards buttons
				hashTags            : false,   	  // Should links change the hashtag in the URL?
				delay               : 9000,      // How long between slideshow transitions in AutoPlay mode (in milliseconds)
  				animationTime       : 600,        // How long the slideshow transition takes (in milliseconds)
  				easing              : "swing",    // Anything other than "linear" or "swing" requires the easing plugin
				playRtl             : true,		  // If true, the slideshow will move right-to-left
				startStopped        : false, 	  // If autoPlay is on, this can force it to start stopped
				autoPlayLocked      : true,       // If true, user changing slides will not stop the slideshow
				resumeDelay         : 4000,      // Resume slideshow after user interaction, only if autoplayLocked is true (in milliseconds).
				startText           : "",    	  // Start button text
  				stopText            : "",     	  // Stop button text
				pauseOnHover        : true,
			});
			
			$('#panelSlider2').anythingSlider({
				startPanel          : 5,          // This sets the initial panel
				buildArrows         : false,	  // If true, builds the forwards and backwards buttons
				hashTags            : false,   	  // Should links change the hashtag in the URL?
				delay               : 9000,       // How long between slideshow transitions in AutoPlay mode (in milliseconds)
  				animationTime       : 600,        // How long the slideshow transition takes (in milliseconds)
  				easing              : "swing",    // Anything other than "linear" or "swing" requires the easing plugin
				playRtl             : true,		  // If true, the slideshow will move right-to-left
				startStopped        : false, 	  // If autoPlay is on, this can force it to start stopped
				autoPlayLocked      : true,       // If true, user changing slides will not stop the slideshow
				resumeDelay         : 4000,      // Resume slideshow after user interaction, only if autoplayLocked is true (in milliseconds).
				startText           : "",    	  // Start button text
  				stopText            : "",     // Stop button text
				pauseOnHover        : true
			});
			
			$('#panelSlider3').anythingSlider({
				startPanel          : 4,          // This sets the initial panel
				buildArrows         : false,	  // If true, builds the forwards and backwards buttons
				hashTags            : false,   	  // Should links change the hashtag in the URL?
				delay               : 9000,       // How long between slideshow transitions in AutoPlay mode (in milliseconds)
  				animationTime       : 600,        // How long the slideshow transition takes (in milliseconds)
  				easing              : "swing",    // Anything other than "linear" or "swing" requires the easing plugin
				playRtl             : true,		  // If true, the slideshow will move right-to-left
				startStopped        : false, 	  // If autoPlay is on, this can force it to start stopped
				autoPlayLocked      : true,       // If true, user changing slides will not stop the slideshow
				resumeDelay         : 4000,      // Resume slideshow after user interaction, only if autoplayLocked is true (in milliseconds).
				startText           : "",    	  // Start button text
  				stopText            : "",     // Stop button text
				pauseOnHover        : true
			});
			
			
			/* var panelSlider1 = ['1', '2', '3'];
				function formatText(index, panel) {
					return panelSlider1[index - 1];
				} 
			$('#panelSlider1').anythingSlider({
				buildArrows         : false,	  // If true, builds the forwards and backwards buttons
				delay               : 8000,       // How long between slideshow transitions in AutoPlay mode (in milliseconds)
  				animationTime       : 600,        // How long the slideshow transition takes (in milliseconds)
  				easing              : "swing",    // Anything other than "linear" or "swing" requires the easing plugin
				resizeContents      : true, 	  // If true, solitary images/objects in the panel will expand to fit the viewport
				startStopped        : false, 	  // If autoPlay is on, this can force it to start stopped
				buildNavigation     : false,	  // If true, buildsa list of anchor links to link to each panel
				hashTags            : false,   	  // Should links change the hashtag in the URL?
				playRtl             : true,		  // If true, the slideshow will move right-to-left
				startText           : "Go",    // Start button text
  				stopText            : "Stop",     // Stop button text
				pauseOnHover        : false, 
				//navigationFormatter : formatText // Format navigation labels with text
					
			});
			

		});
		
		$(function(){
			var panelSlider2 = ['1', '2', '3'];
				function formatText(index, panel) {
					return panelSlider2[index - 1];
				}
			$('#panelSlider2').anythingSlider({
				buildArrows         : false,	// If true, builds the forwards and backwards buttons
				delay               : 8000,      // How long between slideshow transitions in AutoPlay mode (in milliseconds)
  				animationTime       : 600,       // How long the slideshow transition takes (in milliseconds)
  				easing              : "swing",    // Anything other than "linear" or "swing" requires the easing plugin
				resizeContents      : true, 	// If true, solitary images/objects in the panel will expand to fit the viewport
				startStopped        : false, 	 // If autoPlay is on, this can force it to start stopped
				buildNavigation     : false,		// If true, buildsa list of anchor links to link to each panel
				hashTags            : false,   	// Should links change the hashtag in the URL?
				playRtl             : true,	// If true, the slideshow will move right-to-left
				startText           : "",   	// Start button text
  				stopText            : "",    	// Stop button text
				pauseOnHover        : false, 
				navigationFormatter : formatText // Format navigation labels with text
					
			});

		});
		
		$(function(){
			var panelSlider3 = ['1', '2', '3', '4'];
				function formatText(index, panel) {
					return panelSlider3[index - 1];
				}
			$('#panelSlider3').anythingSlider({	
				buildArrows         : false,	// If true, builds the forwards and backwards buttons
				delay               : 8000,      // How long between slideshow transitions in AutoPlay mode (in milliseconds)
  				animationTime       : 600,       // How long the slideshow transition takes (in milliseconds)
  				easing              : "swing",    // Anything other than "linear" or "swing" requires the easing plugin
				resizeContents      : true, 	// If true, solitary images/objects in the panel will expand to fit the viewport
				startStopped        : false, 	 // If autoPlay is on, this can force it to start stopped
				buildNavigation     : false,		// If true, buildsa list of anchor links to link to each panel
				hashTags            : false,   	// Should links change the hashtag in the URL?
				playRtl             : true,	// If true, the slideshow will move right-to-left
				startText           : "",   	// Start button text
  				stopText            : "",    	// Stop button text
				pauseOnHover        : false, 
				navigationFormatter : formatText // Format navigation labels with text
					
			});
*/
		});
		
		function PanelOneLeft(){
			$('#panelSlider1').data('AnythingSlider').goForward();      // go forward one slide
			$('#panelSlider1').data('AnythingSlider').startStop(true);
			$('#panelSlider2').data('AnythingSlider').startStop(true);
			$('#panelSlider3').data('AnythingSlider').startStop(true);
		}
		function PanelOneRight(){
			$('#panelSlider1').data('AnythingSlider').goBack();      // go forward one slide
			$('#panelSlider1').data('AnythingSlider').startStop(true);
			$('#panelSlider2').data('AnythingSlider').startStop(true);
			$('#panelSlider3').data('AnythingSlider').startStop(true);
		}
		
		function PanelTwoLeft(){
			$('#panelSlider2').data('AnythingSlider').goForward();      // go forward one slide
			$('#panelSlider1').data('AnythingSlider').startStop(true);
			$('#panelSlider2').data('AnythingSlider').startStop(true);
			$('#panelSlider3').data('AnythingSlider').startStop(true);
		}
		function PanelTwoRight(){
			$('#panelSlider2').data('AnythingSlider').goBack();      // go forward one slide
			$('#panelSlider1').data('AnythingSlider').startStop(true);
			$('#panelSlider2').data('AnythingSlider').startStop(true);
			$('#panelSlider3').data('AnythingSlider').startStop(true);
		}
		
		function PanelThreeLeft(){
			$('#panelSlider3').data('AnythingSlider').goForward();      // go forward one slide
			$('#panelSlider1').data('AnythingSlider').startStop(true);
			$('#panelSlider2').data('AnythingSlider').startStop(true);
			$('#panelSlider3').data('AnythingSlider').startStop(true);
		}
		function PanelThreeRight(){
			$('#panelSlider3').data('AnythingSlider').goBack();      // go forward one slide
			$('#panelSlider1').data('AnythingSlider').startStop(true);
			$('#panelSlider2').data('AnythingSlider').startStop(true);
			$('#panelSlider3').data('AnythingSlider').startStop(true);
		}
