

	// uso: ajax(nomeForm, urlDestino, divRetorno, textoCarregando, callback)
	// uso: ajax("form_name", "pagDestino.asp?id=30&fk_cliente=90", "div_recebeEditar", "Carregando Pax", "funcaoRetorno")
	function ajax(nomeForm, urlDestino, divRetorno, textoCarregando, callback) {
		
		// texto padrão do carregando
		if (textoCarregando == "") { textoCarregando = "Carregando..."; }

		if (callback != '') {
			ajaxGo({
				form: nomeForm,
				url: urlDestino,
				loading: "<div style='width:400px;'><img src='../../LIB/imagens/icones/loading.gif'style='vertical-align:middle;'/> "+textoCarregando+"</div>",
				elem_return: divRetorno,
				callback: callback
			})
		} else {
			ajaxGo({
				form: nomeForm,
				url: urlDestino,
				loading: "<div style='width:400px;'><img src='../../LIB/imagens/icones/loading.gif'style='vertical-align:middle;'/> "+textoCarregando+"</div>",
				elem_return: divRetorno
			})
		}

	}

	function projeto(id_projeto){
		ajax("", "projeto.php?id="+id_projeto, "content", "carregando projeto...", "");
	}
	
	
	function contato(){
		ajax("", "contato.php", "content", "carregando contato...", "");
	}
	
	function curriculo(){
		ajax("", "curriculo.php", "content", "carregando curriculo...", "");
	}
