function checkForm(theform) {
	var t1 = 0;
	var errors = '';
	var numErrors = 0;
	if (!isname(theform.bdpnom.value)) {
		errors += '- Veuillez saisir votre nom, svp.\n';
		numErrors++;
	}
	if (!isname(theform.bdpprenom.value)) {
		errors += '- Veuillez saisir votre prénom, svp.\n';
		numErrors++;
	}
	if (!isValidEmail(theform.email.value)) {
		errors += '- Veuillez saisir votre adresse e-mail, svp.\n';
		numErrors++;
	}
	if (!isadresse(theform.bdpadresse.value)) {
		errors += '- Veuillez saisir votre adresse postale, svp.\n';
		numErrors++;
	}
	if (!isname(theform.bdpcodepostal.value)) {
		errors += '- Veuillez saisir votre code postal, svp.\n';
		numErrors++;
	}
	if (!isville(theform.bdpville.value)) {
		errors += '- Veuillez saisir votre ville, svp.\n';
		numErrors++;
	}
	if (!isname(theform.bdppays.value)) {
		errors += '- Veuillez saisir votre pays, svp.\n';
		numErrors++;
	}

/*					if (!isNumeric(form.DayPhone.value)) {
					errors += '- Veuillez saisir votre N° de teléphone, svp.\n';
					numErrors++;
				}
				if (!isadresse(form.DayPhone.value)) {
					errors += '- Veuillez saisir votre N° de teléphone, svp.\n';
					numErrors++;
				}
*/
	if (numErrors) {
		errors = 'Formulaire incorrect à cause de' + ((numErrors > 1) ? 's' : '') + ((numErrors < 2) ? ' l\'' : '')+ ' omission'+ ((numErrors > 1) ? 's' : '') + ' ci-dessous ' + ':\n' + errors + 'Veuillez, svp, corriger ' + ((numErrors > 1) ? 'ces' : 'cette') + ' omission' + ((numErrors > 1) ? 's' : '') + ' et reprendre le questionnaire... merci.';
	alert(errors);
	return false;
	}
	return true;
}
