// ORIGINALLY EMBEDDED IN HTML PAGE 
//var slider2 = ['Recipe', 'Quote', 'Image', 'Quote #2', 'Image #2'];
		var slider2 = ['Slide Title 1', 'Slide Title 2', 'Slide Title 3'];
		function formatText(index, panel){
			return slider2[index - 1];
		}

		$(function () {


			$('#slider2').anythingSlider({
				width               : 940,        // if resizeContent is false, this is the default width if panel size is not defined
				height              : 350,        // if resizeContent is false, this is the default height if panel size is not defined
				resizeContents      : false,      // 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
				navigationFormatter : formatText,  // Format navigation labels with text
				animationTime       : 1200,
				delay               : 7000          // 7 seconds
			});

			$("#slide-jump").click(function(){
				$('#slider2').anythingSlider(4);
				return false;
			});

			// Report Events to console
			$('.anythingSlider').bind('slideshow_start slideshow_stop slideshow_paused slideshow_unpaused slide_init slide_begin slide_complete',function(e, slider){
				// show object ID + event (e.g. "slider1: slide_begin")
				var txt = slider.$el[0].id + ': ' + e.type + ', now on panel #' + slider.currentPage;
				$('#status').text(txt);
				if (window.console && window.console.firebug){ console.debug(txt); } // added window.console.firebug to make this work in Opera
			});

		});
