<!--
	var ntime=3;
	var promoindex=0;
	
    function switchPromol(index)
    {
        var i = index;
        switchPromo(i);
        i = (parseInt(i) + 1)%eventos;
        var timeoutid = setTimeout("switchPromol(" + i + ")",15000);
        ntime = timeoutid;
    }

    function switchPromo(index)
    {
	    promoindex = index;
	    for(n=0;n<eventos;n++){
		    if(n==index){
			    document.getElementById("promo" + n).style.display = "block";
			    document.getElementById("promo_btn" + n).style.background="#FFFFFF";
			    document.getElementById("promo_btn" + n).style.borderColor="#CBCBCB";
			}else{
				document.getElementById("promo" + n).style.display = "none";
				document.getElementById("promo_btn" + n).style.background="#ececec";
				document.getElementById("promo_btn" + n).style.borderColor="#E3E3E3";
			}
    	}
	}

    function clear()
    {
        var timeoutid = ntime;
        clearTimeout(timeoutid);
    }
    
    function switchandstopPromo(index){
	    clear();
	    switchPromo(index);
	}

//-->