	$(document).ready(function () {
		$('#slider1').anythingSlider({
			buildArrows: true,
			toggleArrows: true,
			toggleControls: true,
			delay: 7000,
			animationTime: 800,
			enableNavigation	: false
		})
		.anythingSliderFx({
			'.caption-bottom' : [ 'caption-Bottom', '50px' ]
		})
		/* add a close button (x) to the caption */
		.find('div[class*=caption]')
		.css({ position: 'absolute' })
		//.prepend('<span class="close">x</span>')
		.find('.close').click(function(){
			var cap = $(this).parent(),
			ani = { bottom : -50 }; // bottom
			cap.animate(ani, 400, function(){ cap.hide(); } );
		});		
	});	
	$(document).ready(function(){
		$('#feature').click(function(){
			$('#slider1').data('AnythingSlider').startStop(); // this stops the slideshow
		});
	});

