function Muestra(pagina) {
	window.location.href = '/' + pagina + '.php';
	return false;
	ParseaAjax('post','/php/' + pagina + '.php','div_contenido_cambia','div_contenido_cambia','');
	return false;
}

function Contacto() {
	ParseaAjax('post','/php/validar.php','div_contenido_cambia','div_contenido_cambia','estoy_posteando nombre apellido email telefono localidad comentarios');
	return false;
}

function Prueba() {
	ParseaAjax('post','/php/validar.php','inicio','inicio','');
	return false;
}

function CambiarPagina (destino) {
	window.location.href = destino;
}

function SubmitirEnter(e) {
var keycode;
if (window.event)
	keycode = window.event.keyCode;
else if (e)
	keycode = e.which;
else
	return true;

	if (keycode == 13) {
		Logueo();
		return false;
	} else {
		return true;
	}
}

function MostrarMenu (opcion) {
	astronomia 	= document.getElementById('menu_astronomia');
	informacion	= document.getElementById('menu_informacion');
	sistemasolar	= document.getElementById('menu_sistemasolar');
	galaxias	= document.getElementById('menu_galaxias');
	cientificos	= document.getElementById('menu_cientificos');
	publicidad	= document.getElementById('menu_publicidad');

	astronomia.style.display = 'none';
	informacion.style.display = 'none';
	sistemasolar.style.display = 'none';
	galaxias.style.display = 'none';
	cientificos.style.display = 'none';
	publicidad.style.display = 'none';
	
	if (document.getElementById('menu_' + opcion)) {
		document.getElementById('menu_' + opcion).style.display = 'block';
	}
	
}
