function verifInscription(f) {
	var champs = new Array(f.prenom, f.nom, f.mail, f.tel, f.adresse1, f.cp, f.ville, f.newlogin, f.newpwd, f.newpwd2);
	if(!verif_remplissage(champs))
		return false;
	
	if(!verif_mail(f.mail))
		return false;
		
	if(!verif_tel(f.tel, "téléphone"))
		return false;
	
	if(!verif_pwd2(f.newpwd, f.newpwd2))
		return false;
		
	majFirst(f.prenom);
	majuscules(f.nom);
	majFirst(f.adresse1);
	majFirst(f.adresse2);
	majuscules(f.cp);
	majuscules(f.ville);
	
	return true;
}

function verifAdresse(f) {
	var champs = new Array(f.adresse1, f.cp, f.ville);
	if(!verif_remplissage(champs))
		return false;

	majFirst(f.adresse1);
	majFirst(f.adresse2);
	majuscules(f.cp);
	majuscules(f.ville);
	
	return true;
}

function verifPerte(f) {
	var champs = new Array(f.mail);
	if(!verif_remplissage(champs))
		return false;

	if(!verif_mail(f.mail))
		return false;
	
	return true;
}

function verifCompteMdp(f) {
	var champs = new Array(f.newpwd, f.newpwd2);
	if(!verif_remplissage(champs))
		return false;
	
	if(!verif_pwd2(f.newpwd, f.newpwd2))
		return false;
	
	return true;
}

function verifContact(f) {
	var champs = new Array(f.nom, f.mail);
	if(!verif_remplissage(champs))
		return false;
	
	if(!verif_mail(f.mail))
		return false;

	majFirst(f.nom);
	majuscules(f.societe);
	
	return true;
}
