// indice di partenza
var index = 0;
// intervallo di tempo tra i vari messaggi
var delay = 8000;

function makeslideshow() {

	if ( fcontent.length <= 0 )
		return;
		
	if ( index >= fcontent.length )
		index = 0;
	
	var elementAnchor = document.getElementById("slide");
	elementAnchor.innerHTML = fcontent[index];
	elementAnchor.href = fanchor[index];
	if (ftarget[index] == 1)
		elementAnchor.target = '_blank';

	index++;

//	alert(fcontent[index]);
	setTimeout("makeslideshow()", delay);
}