function clients() {
	//Set the opacity of all images to 0
	$('#clients div').hide();
	$("#clients div:last").addClass('last');
	
	//Get the first image and display it (set it to full opacity)
	$('#clients div:first').fadeIn("slow");
	
	//Call the gallery function to run the slideshow, 6000 = change to next image after 6 seconds
	setInterval('animate()',5000);
}

function animate() {
	//if no IMGs have the show class, grab the first image
	var now = ($('#clients div').is('.show')?  $('#clients div.show') : $('#clients div:first'));	
	
	//Get next image, if it reached the end of the slideshow, rotate it back to the first image
	var goTo = (now.is('.last')? $('#clients div:first') : now.next());
	
	// Animate
	now
	.removeClass("show")
	.fadeOut("fast")
	;
	
	goTo
	.addClass("show")
	.fadeIn(1000)
	;	
}