$(function() {
	$("#resposta p").ajaxStart(function(){ $(this).html("Mensagem sendo enviada, por favor aguarde..."); });
	$('#submit').click(function() {
		var nome     = $('#nome').val();
		var email    = $('#email').val();
		var mensagem = $('#mensagem').val();
		$.post('mail.php',	{ nome: nome, email: email, mensagem: mensagem, contato: true }, function(data, textStatus) {
			$('#resposta p').html(data);
		});
		return false;
	});
});
