function affiche(id) {
  var idimg       = "img" + id;
  var imgpath_on  = "images/" + id + "-on.gif";

  /*
  alert("affiche(" + id + ")\n" +
        " idimg = " + idimg + "\n" +
        " imgpath = " + imgpath_on);
  */

  if (document.getElementById) {
    document.getElementById(id).style.display = "block";
    document.getElementById(idimg).src = imgpath_on;
    //    alert("getby id");
  }
  else if (document.all) {
    document.all[id].style.display = "block";
    document.all[idimg].src = imgpath_on;
    //    alert("getby id");
  }
  else if (document.layers) {
    document.layers[id].display = "block";
    document.layers[idimg].src = imgpath_on;
    //    alert("getby id");
  } 
}
function efface(id) {
  var idimg       = "img" + id;
  var imgpath_off = "images/" + id + "-off.gif";

  /*
  alert("efface(" + id + ")\n" +
        " idimg = " + idimg + "\n" +
        " imgpath = " + imgpath_off);
  */

  if (document.getElementById) {
    document.getElementById(id).style.display="none";
    document.getElementById(idimg).src = imgpath_off;
    //    alert("getby id");
  }
  else if (document.all) {
    document.all[id].style.display="none";
    document.all[idimg].src = imgpath_off;
    //    alert("document all");
  }
  else if (document.layers) {
    document.layers[id].display="none";
    document.layers[idimg].src = imgpath_off;
    //    alert("document latyer");
  }
}

var overflowNone=true;
function afficheTout(id, id2) {

//  alert(id2 + ".innerHTML = " + document.getElementById(id2).innerHTML);
  if (document.getElementById) {
    if(overflowNone == true) {
      document.getElementById(id).style.overflow="auto";
      overflowNone = false;
      document.getElementById(id2).innerHTML = "Masquer le texte";
    }
    else {
      document.getElementById(id).style.overflow="none";
      overflowNone = true;
      document.getElementById(id2).innerHTML = "Afficher tout le texte";
    }
  }
  else if (document.all) {
    if(overflowNone == true) {
      document.all[id].style.overflow="auto";
      overflowNone = false;
      document.getElementById(id2).innerHTML = "Masquer le texte";
    }
    else {
      document.all[id].style.overflow="none";
      overflowNone = true;
      document.getElementById(id2).innerHTML = "Afficher tout le texte";
    }
  }
  else if (document.layers) {
    if(overflowNone == true) {
      document.layers[id].overflow="auto";
      overflowNone = false;
      document.getElementById(id2).innerHTML = "Masquer le texte";
    }
    else {
      document.layers[id].overflow="none";
      overflowNone = true;
      document.getElementById(id2).innerHTML = "Afficher tout le texte";
    }
  }
}

