var velocidad = 3000;
var espera = 2000;

$(function() {
	$("#content > .header > div:not(:first)").fadeOut(0);
	setTimeout(function() {
		reproducir_siguiente($("#content > .header > :first"));
	}, espera);
	
});

function reproducir_siguiente($elemento){
	setTimeout(function(){
		$elemento.fadeOut(velocidad);
		if($elemento.next().size() == 0){
			$elemento.parent().children(":first").fadeIn(velocidad, function() {
				reproducir_siguiente($elemento.parent().children(":first"));
			});
		} else {
			$elemento.next().fadeIn(velocidad, function() {
				reproducir_siguiente($elemento.next());
			});
		}
		
	}, espera);
}
