$(document).ready(function(){



	$('#slider1')
	.anythingSlider({
		width          : 440,
		height         : 278,
		startStopped   : true,
		toggleControls : false,
		theme          : 'minimalist-square',
		  autoPlay            : true,      // This turns off the entire slideshow FUNCTIONALY, not just if it starts running or not
		  startStopped        : false,     // If autoPlay is on, this can force it to start stopped
		  pauseOnHover        : true,      // If true & the slideshow is active, the slideshow will pause on hover
		  resumeOnVideoEnd    : true,      // If true & the slideshow is active & a youtube video is playing, it will pause the autoplay until the video has completed
		  stopAtEnd           : false,     // If true & the slideshow is active, the slideshow will stop on the last page
		  playRtl             : false,     // If true, the slideshow will move right-to-left
		  startText           : "Start",   // Start button text
		  stopText            : "Stop",    // Stop button text
		  delay               : 15000,      // How long between slideshow transitions in AutoPlay mode (in milliseconds)
		  animationTime       : 800,       // How long the slideshow transition takes (in milliseconds)
		  easing              : "swing",  // Anything other than "linear" or "swing" requires the easing plugin
		  buildArrows         : false,      // If true, builds the forwards and backwards buttons
		  buildNavigation     : true,      // If true, buildsa list of anchor links to link to each panel
	
				resizeContents      : true,
				addWmodeToObject    : 'transparent',
				navigationFormatter : function(index, panel){ // Format navigation labels with text
					return ['Vimeo-iframe', 'Vimeo-embed', 'YouTube-iframe', 'YouTube-embed', 'HTML5 Video'][index - 1];
				}

	})
	
});
