	function checkValues(oType, oForm) {
		if (Trim(oForm.nomDoc.value) == "") {
			alert("Veuillez renseigner votre nom ");return false;
		}
		if (Trim(oForm.entrepriseDoc.value) == "") {
			alert("Veuillez renseigner le nom de votre entreprise");return false;
		}
		if (Trim(oForm.adresseDoc.value) == "") {
			alert("Veuillez renseigner votre adresse postale");return false;
		}
		if (Trim(oForm.emailDoc.value) == ""){
			alert("Veuillez renseigner votre adresse email");return false;
		}else{
			if (!IsEmail(Trim(oForm.emailDoc.value))) {
					alert("email non valide ! ");return false;
			}
		}
		return true;
	}
	
	function submitForm(oType, oForm){
		if (checkValues(oType, oForm)){
			oForm.action = 'http://www.bike-in-the-city.com/send.php3?';
			oForm.submit();
		}
	}

