function zoomerIn(objIm) {
   
nvIm = document.createElement("img");
nvIm.src = objIm.src;    
nvIm.src = nvIm.src.replace("icones","web");
nvIm.alt = objIm.alt;
    //création d'une div dans le dom
divImg = document.getElementById("zoom");
divImg.appendChild(nvIm);
paragraphe = document.createElement("p");
divImg.appendChild(paragraphe);
texte = document.createTextNode(objIm.alt);
paragraphe.appendChild(texte);

divImg.style.visibility="visible";

}

function cache() {
    divZoom=document.getElementById("zoom");
    divZoom.style.visibility="hidden";
    while(divZoom.hasChildNodes())
       {
	divZoom.removeChild(divZoom.firstChild);
       } 
}
function zoomer(objIm) {
   
nvIm = document.createElement("img");
nvIm.src = objIm.src;    
nvIm.alt = objIm.alt;
    //création d'une div dans le dom
divImg = document.getElementById("zoom");
divImg.appendChild(nvIm);
divImg.style.visibility="visible";
}

