function fn_Bares (pos, total)
{
	if(pos >= total)
	{ pos = pos - total; }
	document.getElementById('bar_title').innerHTML = vBarTitles[pos];
	document.getElementById('bar_text').innerHTML = vBarText[pos];
	document.getElementById('bar_image').src = vBarImages[pos];
	document.getElementById('bar_image').cod = vBarCods[pos];
	setTimeout('fn_Bares(' + (pos + 1) +',' + total + ')', 10000);
}

function fn_Eventos (pos, total)
{
	if(pos >= total)
	{ pos = pos - total; }
	document.getElementById('evento_title').innerHTML = vEventoTitles[pos];
	document.getElementById('evento_text').innerHTML = vEventoText[pos];
	document.getElementById('evento_image').src = vEventoImages[pos];
	setTimeout('fn_Eventos(' + (pos + 1) +',' + total + ')', 10000);
}
