<script language="JavaScript">
<!-- Hide from old browsers


var i = 1;
banner1= new Image();
banner1.src = "imagen/anime_1.jpg;
banner2 = new Image();
banner2.src = "imagen/anime_2.jpg;
banner3 = new Image();
banner3.src = "imagen/anime_3.jpg;
banner4 = new Image();
banner4.src = "imagen/anime_4.jpg;
banner5 = new Image();
banner5.src = "imagen/anime_5.jpg;

links = new Array
links[1] = "es/soluciones/motivacion.asp"
links[2] = "es/soluciones/mlm.asp"
links[3] = "es/soluciones/capacitacion.asp"
links[4] = "es/soluciones/colegios.asp"
links[5] = "es/soluciones.asp"

description = new Array
description[1] = "Motivacion  #1"
description[2] = "Mercadeo a multinivel #2"
description[3] = "Capacitacion empresarial #3"
description[4] = "Organizaciones educativas #4"
description[5] = "Soluciones para usted #5"

function startTime(){

        var time= new Date();
        hours= time.getHours();
        mins= time.getMinutes();
        secs= time.getSeconds();
        closeTime=hours*3600+mins*60+secs;
        closeTime+=5;	// How many seconds til the next rotation
        Timer();

}

function Timer(){
        var time= new Date();
        hours= time.getHours();
        mins= time.getMinutes();
        secs= time.getSeconds();
        curTime=hours*3600+mins*60+secs
        if (curTime>=closeTime){
		if (i < 5){	// The number 2 is the amount of banners that you have
			i++;
			document.banner.src = eval("banner" + i + ".src");
		}
		else{
			i = 1;
			document.banner.src = eval("banner" + i + ".src");
		}
		startTime();
	}
        else{
                window.setTimeout("Timer()",1000)}

}

function clickLink(){
	top.location = links[i]
}

function descript(){
	window.status = description[i]
}

// -->
</script>
