var act = 0;
var aux;
function cambiar(i){	
	if(i!=act){
		$('.numero:eq('+i+')').addClass('selec');
		$('.noticia:eq('+act+')').hide('slow',function(){
			$('.noticia:eq('+i+')').show('slow');
		});		
		$('.numero:eq('+act+')').removeClass('selec');
	act = i;
	}
}
function tempo(){
	
	if(aux==2)
		aux = 0;
	else	aux = act + 1;
	//alert(aux);
	cambiar(aux);
	t = setTimeout("tempo()",6000);
}
$(document).ready(function(){
		setTimeout("tempo()",3000);
		$('.numero').each(function(i){
			$(this).click(function(){
				clearTimeout(t);
				cambiar(i);	
			});
		});
	});
