$(document).ready(function(){


});

function verNoticia(idNoticia) {

	$(".verMas").text(" ver +");
	$(".destacadosAct").attr("class","destacados");
	$.ajax({
		url: "index_programacion_act.php",
		type: 'POST',
		dataType: 'text',
		data: "idNoticia="+idNoticia,
		error: function(){
			alert("Ha ocurrido un error al ver la noticia");
			return false;
		},
		success: function(data){
			if (data!="") {
				$("#verMas_"+idNoticia).text(" ");
				$("#bloque_verNoticia").html(data);
				$("#elementoLista_"+idNoticia).attr("class","destacadosAct");
	$('#imagenes').cycle({ 
		fx:     'fade', 
		speed:   300, 
		timeout: 3000, 
		next:   '#imagenes', 
		pause:   1 
	});
			}
		}
	});
	return false;
}