function verActividad(iActividadId){
	if (typeof(iActividadId) != 'undefined'){
		/*
		 * Genero un formulario dinamicamente, para el envio
		 * de un POST.
		 */
		var submitForm = document.createElement('form');
		var newElement = document.createElement('input');
		
		document.body.appendChild(submitForm);
		submitForm.method = 'post';
		
		newElement.setAttribute("type","hidden");
		newElement.setAttribute("name","actividad_id");
		
		submitForm.appendChild(newElement);
		newElement.value = iActividadId;
		submitForm.action= '/actividades/det_actividad.php';
		submitForm.submit();
		
		return true;
	}
	
	return false;
}
function verNoticia(iNoticiaId){
	if (typeof(iNoticiaId) != 'undefined'){
		/*
		 * Genero un formulario dinamicamente, para el envio
		 * de un POST.
		 */
		var submitForm = document.createElement('form');
		var newElement = document.createElement('input');
		
		document.body.appendChild(submitForm);
		submitForm.method = 'post';
		
		newElement.setAttribute("type","hidden");
		newElement.setAttribute("name","noticia");
		
		submitForm.appendChild(newElement);
		newElement.value = iNoticiaId;
		submitForm.action= '/prensa/det_not.php';
		submitForm.submit();
		
		return true;
	}
	
	return false;
}
