// Ben-J
function swap_m(img_name,to_what,nochange) {
		var swap, towhat;
		swap	= eval('document.images.'+img_name);
		towhat='_img/'+to_what+'.gif';
		swap.src	= towhat;
}


function checkEmail(valeur)
{
	if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(valeur))
	{
		return true;
	}
	if (valeur!="")
	{
		alert("Attention : l'adresse e-mail ne semble pas valide !")
		return false;
	}
}

function menuLineRollOver(li) {
	li.style.backgroundColor = '#8B7F7A';
}
function menuLineRollOut(li) {
	li.style.backgroundColor = '#958883';
}
function menuLineClickHandler(li) {
	document.forms['followLink'].action = document.getElementById('MITEM_'+li.id.substr(6)).href;
	document.forms['followLink'].submit();
}

