function swap_m(img_name,to_what){
var swap, towhat;
swap	= eval('document.images.'+img_name);
towhat='_img/'+to_what;
swap.src = towhat;
}

function affiche_popup(popUp){
	var popUp;
	document.getElementById(popUp).style.display = "block";
}

function ferme_popup(popUp){
	var popUp;
	document.getElementById(popUp).style.display = "none";
}

function verif_nombre(champ) {
var chiffres = new RegExp("[0-9]");
var verif;

for(x = 0; x < champ.value.length; x++)
	{
	verif = chiffres.test(champ.value.charAt(x));
	if(verif == false){champ.value = champ.value.substr(0,x) + champ.value.substr(x+1,champ.value.length-x+1); x--;}
	}
}