<!-- Hiding                                   
                                    /*
                           
                                    */
//clear the form if the back button clicked
function clearForms()
{
  var i;
  for (i = 0; (i < document.forms.length); i++) {
    document.forms[i].reset();
  }
}

function checkform()
{

if (document.mailform.fname.value.length == 0) 
	{
	alert("Saisissez votre nom\nPlease enter first name");
	document.mailform.fname.className = "inputwrong";
	document.mailform.fname.focus();
	return false;
 	}
if (document.mailform.lname.value.length == 0) 
	{
	alert("Saisissez votre prénom\nPlease enter last name");
	document.mailform.lname.className = "inputwrong";
	document.mailform.lname.focus();
	return false;	
 	} 	 	
if (document.mailform.tel.value.length == 0) 
	{
	alert("Saisissez votre numéro de téléphone\nPlease enter telephone number");
	document.mailform.tel.className = "inputwrong";
	document.mailform.tel.focus();
	return false;	
 	} 	
if (document.mailform.comments.value.length > 1000) 
	{
	alert("Texte trop longtemps\nText too long");
	document.mailform.comments.className = "inputwrong";
	document.mailform.comments.focus();
	return false;	
 	} 	
  return true;
}
                                    
// done hiding -->