function inicializarRueda(baseName,maxValue,initValue)
{
	window.setTimeout("packMostrarImagen('" + baseName + "'," + initValue + "," + maxValue + ")",2000);	
}
function packMostrarImagen(baseName,curValue,maxValue)
{
	var curId = baseName + "_" + curValue;
	var oldID = baseName + "_" + (curValue-1);
	if (curValue==1)
		oldID = baseName + "_" + maxValue;
	document.getElementById(oldID).style.display = "none";
	document.getElementById(curId).style.display = "inline";
	var nextValue = curValue + 1;
	if (nextValue>maxValue)
		nextValue = 1;
	window.setTimeout("packMostrarImagen('" + baseName + "'," + nextValue + "," + maxValue + ")",2000);
}



