function valid_qte(id, val, strFormId) {
	
	//strFormId correspond à l'id du formulaire et non à son nom
	quantite = document.forms[strFormId][id].value;
	if (quantite == "") { quantite = 1; }
	quantite = 	parseInt(quantite) + parseInt(val);
	
	if (quantite < 1) { quantite = 1; }
	if (quantite > 9999) { quantite = 9999; }
	document.forms[strFormId][id].value = quantite;
}
