// JavaScript Document

function time()
{
Today = new Date()
document.write(Today.getDate(),".",Today.getMonth()+1,".",Today.getYear())
}

function CheckFormContactEN(){
	AlertM = "";
	if (document.formContact.company.value==""){
		AlertM+= "Your company is required\n";
	}
	if (document.formContact.prenom.value==""){
		AlertM+= "Your surname is required\n";
	}
	if (document.formContact.nom.value==""){
		AlertM+= "Your name is required\n";
	}
	if (document.formContact.tel.value==""){
		AlertM+= "Your telephone is required\n";
	}
	if (document.formContact.email.value==""){
		AlertM+= "Your e-mail is required\n";
	}else{
		re = /^[\w\.=-]+@[\w\.-]+\.[a-z]{2,4}$/i;
		if (!re.test(document.formContact.email.value)){
			AlertM+= "Your e-mail is not valid\n";
		}
	}
	if (document.formContact.demande.value==""){
		AlertM+= "Your message is required\n";
	}
	if (AlertM==""){
		return true;
	}else{
		alert(AlertM);
		return false;
	}
}

