function fadeEngine(x) {

var total_divs=2; //set your own number of divs

		var y=x;

		if(x==total_divs) y=1; else y++;

		$("#fade"+x).css("display","none");

		$("#fade"+y).fadeIn("slow");

		setTimeout('fadeEngine('+y+')',10000); //modify 3000 to set the time in miliseconds for a div to be shown

	}

	fadeEngine(0); //initialisation of the script