var SPEED = 1000;
var DELAY = 4000;

var currentIndex = 0;
var totalElements = 0;

$(document).ready(function() {
	totalElements = $('#clientBox .clientRow').length;

	setTimeout(showNext, DELAY);
});

function showNext()
{
	$('#clientBox .clientRow:eq(' + currentIndex + ')').fadeOut(SPEED);

	currentIndex++;
	if (currentIndex == totalElements) {
		currentIndex = 0;
	}

	$('#clientBox .clientRow:eq(' + currentIndex + ')').fadeIn(SPEED);

	setTimeout(showNext, DELAY);
}