function liste(cible) {

    alert("toto");
    cible=document.getElementById("menu1");
    cible.style.backgroundColor="red";
    cible.style.color="blue";
    texte=document.createTextNode("un premier texte !");
    texte2=document.createTextNode("un deuxième texte !");
    maDiv=document.getElementById("liste");
    monul=document.createElement("ul");
    monli=document.createElement("li");
    monli2=document.createElement("li");
    monli.appendChild(texte);
    monli2.appendChild(texte2);
    monul.appendChild(monli);
    monul.appendChild(monli2);
    maDiv.appendChild(monul);
}

function image(cible) {
    cible=document.getElementById("menu1");
    imag=document.createElement("img");
    imag.setAttribute("src", "pingoin1.gif");
    imag.setAttribute("alt", "pingoin1.gif");
    maDiv.appendChild(imag);
}

function zoom (source) {
  
    source=document.getElementById("this");
    fen=window.open("source", "images", height=100, width=100, screenX=0, screenY=0);
    fen.focus();
    maDiv.appendChild(fen);
}
 
function zoomer (objima) {
    //   alert("toto");
    image=document.createElement("img");
    image.setAttribute("src", objima.src);
    image.setAttribute("alt", objima.alt);
    br=document.createElement("br");
    legende=document.createTextNode(objima.alt);
    div=document.getElementById("zoom");
    div.appendChild(image);
    div.appendChild(br);
    div.appendChild(legende);
    div.style.visibility="visible";
}
 
function cache () {
div=document.getElementById("zoom");
div.style.visibility="hidden";
while(div.hasChildNodes())
    div.removeChild(div.firstChild);
}
