
function geral_quem_somos() {
	AjaxRequest();
	if(!Ajax) {
		alert('Não foi possível iniciar o AJAX');
		return;
	}
	Ajax.onreadystatechange = geral_quem_somos_retorno;
	
	ocultar_div('div_detalhe');
	div_texto('div_corpo', '&nbsp;');
	mostrar_div('div_corpo');
	trocar_swf('fachada.swf');
	
	Ajax.open('GET', 'quem_somos.php', true);
    Ajax.send(null);
}

function geral_quem_somos_retorno() {
	if (Ajax.readyState == 4) {
    	if (Ajax.status == 200) {
			div_texto('div_corpo', Ajax.responseText);
        } else {
			alert('Erro no Retorno do Servidor ' + Ajax.statusText);
        }
    }
}

function geral_contato() {
	AjaxRequest();
	if(!Ajax) {
		alert('Não foi possível iniciar o AJAX');
		return;
	}
	Ajax.onreadystatechange = geral_contato_retorno;

	ocultar_div('div_detalhe');
	div_texto('div_corpo', '&nbsp;');
	mostrar_div('div_corpo');
	trocar_swf('fachada.swf');
	
	Ajax.open('GET', 'contato.php', true);
    Ajax.send(null);
}

function geral_contato_retorno() {
	if (Ajax.readyState == 4) {
    	if (Ajax.status == 200) {
			div_texto('div_corpo', Ajax.responseText);
        } else {
			alert('Erro no Retorno do Servidor ' + Ajax.statusText);
        }
    }
}


