window.dan=0;
$(function() {
	$(".uno").fadeIn("slow");
	reloj();
	//alert(window.dan);
	//$(".imagecache-fondo_pantalla").attr("target","_blank");
});

function reloj(){
	if(window.dan==1){
		$(".uno").fadeOut("slow",function callback(){$(".title").html("&nbsp;");$(".dos").fadeIn("slow");});
	}
	if(window.dan==2){
		$(".dos").fadeOut("slow",function callback(){$(".tres").fadeIn("slow");});
	}
	if(window.dan==3){
		$(".tres").fadeOut("slow",function callback(){$(".cuatro").fadeIn("slow");});
	}
	if(window.dan==4){
		$(".cuatro").fadeOut("slow",function callback(){$(".cinco").fadeIn("slow");});
	}
	if(window.dan==5){
		$(".cinco").fadeOut("slow",function callback(){$(".seis").fadeIn("slow");});
	}
	if(window.dan==6){
		$(".seis").fadeOut("slow",function callback(){$(".siete").fadeIn("slow");});
	}
	if(window.dan==7){
		$(".siete").fadeOut("slow",function callback(){$(".ocho").fadeIn("slow");});
	}
	if(window.dan==8){
		$(".ocho").fadeOut("slow",function callback(){$(".nueve").fadeIn("slow");});
	}
	if(window.dan==9){
		$(".nueve").fadeOut("slow",function callback(){$(".diez").fadeIn("slow");});
	}
	if(window.dan==10){
		$(".diez").fadeOut("slow",function callback(){$(".uno").fadeIn("slow",function callback(){$(".title").html("El M&eacute;todo Ecoa");});});
	}
	window.dan++;
	if(window.dan==11){
		window.dan=1;
		//alert("4 veces");
	}
	setTimeout("reloj()",7000);
}

