
// JavaScript Document


	function ConsultaNoticias(s) {
         new Ajax.Updater('Not', 'php/QueryNoticias.php', {method: 'post', postBody: 'action=ConNoticias&s='+s+''});
	}

	function ConsultaNoticiasP() {
         new Ajax.Updater('NotP', 'php/QueryNoticias.php', {method: 'post', postBody: 'action=ConNoticiasPrincipal'});
	}

function ConsultaAnuncios() {
         new Ajax.Updater('Anuncios', 'php/QueryNoticias.php', {method: 'post', postBody: 'action=ConAnuncios'});
	}	
	
	function ConsultaNoticiasDest() {
         new Ajax.Updater('NotDestacados', 'php/QueryNoticias.php', {method: 'post', postBody: 'action=ConNoticiasDest'});
	}	

	function ConsultaEventosDest(valor) {
         new Ajax.Updater('eventDestacados', 'php/QueryNoticias.php', {method: 'post', postBody: 'action=ConEventosDest&valor='+valor+''});
	}

	function ConsultaVideo() {
         new Ajax.Updater('Video', 'php/QueryNoticias.php', {method: 'post', postBody: 'action=ConVideo'});
	}
	
	function ConsultaEnlaces() {
         new Ajax.Updater('Enlaces', 'php/QueryNoticias.php', {method: 'post', postBody: 'action=ConEnlaces'});
	}
	
	function ConsultaAsociaciones() {
         new Ajax.Updater('Asoc', 'php/QueryNoticias.php', {method: 'post', postBody: 'action=ConAsociaciones'});
	}
	
	
	function ConEventPrincipal() {
         new Ajax.Updater('EventP', 'php/QueryNoticias.php', {method: 'post', postBody: 'action=ConEventoPrincipal'});
	}


