function validationInscription()
{
	nobug=true
	msg=""
	
	leForm=eval("document.inscription_form")
	
	if (leForm.nom)
	{
		nom=leForm.nom.value=strip_tags(trim(leForm.nom.value))
		
		if (nom=="")
		{
			msg+="Veuillez entrer votre nom d'usager\n"
			bug("nom")
		}
	}
	
	if (leForm.sexe)
	{
		sexe=leForm.sexe.value
		
		if (sexe=="select")
		{
			msg+="Veuillez sélectionner votre sexe\n"
			bug("sexe")
		}
	}
	
	if (leForm.email)
	{
		email=leForm.email.value=strip_tags(trim(leForm.email.value))
		
		if (email=="")
		{
			msg+="Veuillez entrer votre courriel\n"
			bug("email")
		}
		else
		{
			if (!validEmail(email))
			{
				msg+="Votre courriel n'est pas valide\n"
				bug("email")
			}
		}
	}
	
	if (leForm.oldPwd)
	{
		oldPwd=leForm.oldPwd.value=strip_tags(trim(leForm.oldPwd.value))
		
		if (oldPwd=="")
		{
			msg+="Veuillez entrer votre ancien mot de passe\n"
			bug("oldPwd")
		}
	}
	
	if (leForm.pwd)
	{
		pwd=leForm.pwd.value=strip_tags(trim(leForm.pwd.value))
		pwd2=leForm.pwd2.value=strip_tags(trim(leForm.pwd2.value))
		
		if (pwd=="")
		{
			msg+="Veuillez entrer un mot de passe\n"
			bug("pwd")
		}
		else if (pwd2=="")
		{
			msg+="Veuillez confirmer votre mot de passe\n"
			bug("pwd2")
		}
		else
		{
			if (pwd!=pwd2)
			{
				msg+="Votre mot de passe de confirmation doit être identique a votre mot de passe\n"
				bug("pwd2")
			}
		}
	}
	
	if (leForm.cell)
	{
		cell=leForm.cell.value=trim(leForm.cell.value)
		provider=leForm.providers.value
		
		if (cell!="" || provider!="select")
		{
			if(cell=="")
			{
				msg+="Veuillez entrer votre numéro de cellulaire\n";
				bug("cell")
			}
			else if(cell.length!=10)
			{
				msg+="Vous avez mal entrer votre numéro de cellulaire\n";
				bug("cell")
			}
			
			if (provider=="select")
			{
				msg+="Veuillez sélectionnez le fournisseur de votre cellulaire\n";
				bug("providers")
			}
		}
	}
	
	if (leForm.contrat)
	{
		contrat=leForm.contrat.checked
		
		if(!contrat)
		{
			msg+="Vous devez accepter les termes du contrat\n";
			bug("email")
		}
	}
	
	if (!nobug)
	alert(msg)
	
	return nobug;
}