// JavaScript Document

String.prototype.trim = function ()
	{
	var s = this;
	while (s.charAt (0) == " ")
	s = s.substr (1);
	while (s.charAt (s.length-1) == " ")
	s = s.substr (0,s.length-1);
	return s;
	}
function verifSaisie()
	{
	var email = document.mailingList.email.value;
	email = email.trim ();

	if (email == "")
		{
		alert ("complete the field with your email");
		onClick=document.mailingList.insereremail.value='submit';
		return false;
		}
	}	
