function SendForm(){
	$('BTsubmit').disabled='disabled';
	$('BTsubmit').value='En cours ...';
	$('message').disabled='disabled';
	$('mail').disabled='disabled';
	$('nom').disabled='disabled';

	new Ajax.Request('./contact-ajax.php',{
		method: 'post',
		asynchronous: true,
		contentType: 'application/x-www-form-urlencoded',
		encoding: 'UTF-8',
		parameters: {nom : $F('nom'),mail : $F('mail'),message : $F('message')},
		onComplete: comPosted
	});

	function comPosted(xhr){
		if (xhr.status == 200)
			$('mailForm').innerHTML = xhr.responseText;
		else
			$('mailForm').innerHTML = xhr.status;
	}
}


function antiBot(){
	var url = './contact-ajax.php';
	var myAjax = new Ajax.Request(
	url,
	{
		method: 'get',
		parameters: 'action=contact',
		onComplete: affichage
	});
}
function affichage(xhr){
	if (xhr.status == 200)
		$('antiBot').innerHTML = xhr.responseText;
	else
		$('antiBot').innerHTML = xhr.status;
}
