sErrColor = '#f4d7e2';
sValidColor = '#ffffff';

// Fonction de validation

function WizValidation(aParam) {
	var oElement1 = document.getElementById(aParam[0]);
	var oElement2 = document.getElementById(aParam[1]);

	if ((oElement1.value.length == 0)&&(oElement2.options[oElement2.selectedIndex].value == 'null')) {
		alert(aParam[2]);
		oElement1.style.backgroundColor = sErrColor;
		oElement2.style.backgroundColor = sErrColor;
		oElement1.focus();
		return false;
	}
	else {
		return true;
	}
}
