// fonction renvoyant la valeur d'un composant
// paramètre : identifiant du composant
function valeur(id) {
   return document.getElementById(id).value;
}

function composant(id) {
   return document.getElementById(id);
}

function couleur(couleur,id) {
   composant(id).style.backgroundColor=couleur;
}

function focus(id) {
   composant(id).focus();
}

function confirmation(msg) {
   return (confirm(msg));
}

