var start = 1;

function fadeOut() {
	Effect.Fade('dia', { duration: 1.0, from: 1, to: 0.00001 });
	setTimeout("change()", 1000);
}
function change() {
	var dia = document.getElementById("dia");
	var image = image_url[start];
	dia.src = image;		
	if(start == image_url.length - 1) {
		start = 0;
	}
	else {
		start++;
	}

	Effect.Fade('dia', { duration: 1.0, from: 0.00001, to: 1 });
	
	setTimeout("fadeOut()", 5000);
}
setTimeout("fadeOut()", 4000);
