var VF = new Array ();VF['www'] = "http://www.kode5-latino.com/";function nuevoAjax(){var xmlhttp=false; try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) { xmlhttp = false; } }if (!xmlhttp && typeof XMLHttpRequest!='undefined') { xmlhttp = new XMLHttpRequest();}return xmlhttp;}

var novedadespovar;
var novedadespoauto;
var novedadactual;
function notipo(base1,nuevo){
if(document.getElementById("notl1")){
document.getElementById("notl1").style.display = "none";
document.getElementById("anotil1").className = "";
}
if(document.getElementById("notl2")){
document.getElementById("notl2").style.display = "none";
document.getElementById("anotil2").className = "";
}
if(document.getElementById("notl3")){
document.getElementById("notl3").style.display = "none";
document.getElementById("anotil3").className = "";
}
if(document.getElementById("notl3")){
document.getElementById("notl3").style.display = "none";
document.getElementById("anotil3").className = "";
}
if(document.getElementById("notl4")){
document.getElementById("notl4").style.display = "none";
document.getElementById("anotil4").className = "";
}
if(document.getElementById("notl5")){
document.getElementById("notl5").style.display = "none";
document.getElementById("anotil5").className = "";
}
if(document.getElementById("notl"+nuevo)){
	window.clearInterval(novedadespoauto);
	document.getElementById("notl"+nuevo).style.display = "block";
	document.getElementById("anotil"+nuevo).className = "acto";
	novedadactual = nuevo;
	if(novedadactual == 5){
		novedadsiguiente = 1;
	}else{
		novedadsiguiente = novedadactual+1;
	}
	novedadespoauto = window.setTimeout('notipo("",'+novedadsiguiente+')', 5000);
}
}
function nuevanop(){
	
}
window.onload=function(){

if(document.getElementById("anotil1").className == "acto"){novedadactual = 1;}
if(document.getElementById("anotil2").className == "acto"){novedadactual = 2;}
if(document.getElementById("anotil3").className == "acto"){novedadactual = 3;}
if(document.getElementById("anotil4").className == "acto"){novedadactual = 4;}
if(document.getElementById("anotil5").className == "acto"){novedadactual = 5;}
if(novedadactual == 5){novedadsiguiente = 1;}else{novedadsiguiente = novedadactual+1;}
novedadespoauto = window.setTimeout('notipo("",'+novedadsiguiente+')', 5000);}
