// JavaScript Document

function testForm(id, attList) {	
	for(var i in attList) {
		if (attList[i].value == "") {
			attList[i].focus();
			document.getElementById('error_'+id).innerHTML = 'Veuillez remplir ce champ svp';
			return false;
		}
	}
}

function testField(id, champ) {
	if (champ.value != "") document.getElementById('error_'+id).innerHTML = ' ';
}
