$(document).ready(function() {

	var slidecount;
	
	slidecount = $("#slider").children().length;
	
	// when count gets to max, slam the animation back to the left
	
	$("#slider").click(function() {
		var position = $("#slider").position();
		$("#slider").animate({
			left:'-=960'
		},400);
	});

}); // end document ready
