// JavaScript Document

	function cargarNoticia(cod)
	{
		$.ajax ({
			type: "GET",
			url: "detallenoticia.php",
			data: "ajax=true&codigo="+ cod,
			async: true,
			dataType: "HTML",
			success: function(datos){
				$('#div' + cod).html(datos);
				$('#div' + cod).slideToggle();
			},
			error: function(data, errortxt, objerror){
				alert("error");
			},
			timeout: 0
		});
	}