
function affiche_image( nom, imgtop, imgleft, texte, textleft )
{
   
 texttop = imgtop - 14;
 textleft = textleft + imgleft;
  chaine = "<div style='font-size:7pt; font-family:verdana; position:absolute; top:" + texttop + "; left:" + textleft + "' >" + texte + "</div>";

//  chaine += "<img src='images/" + repertoire + "/" + nom + ".jpg' border='0' style='position:absolute; top:" + imgtop + "; left:" + imgleft + "; z-index:0' name='" + texte + "' onMouseOver=\"document.agrandissement.border=1; document.agrandissement.style.zIndex=1000; document.agrandissement.src='images/" + repertoire + "/" + nom + "_b.jpg'\" onMouseOut=\"document.agrandissement.border=0; document.agrandissement.style.zIndex=1; document.agrandissement.src='spacer.gif'\"  />";
  chaine += "<img src='images/" + repertoire + "/" + nom + ".jpg' border='0' style='position:absolute; top:" + imgtop + "; left:" + imgleft + "; z-index:0' name='" + texte + "' onMouseOver=\"affiche_agrandissement('" + nom + "'," + imgtop + "," + imgleft + ")\" onMouseOut=\"document.agrandissement.border=0; document.agrandissement.style.zIndex=1; document.agrandissement.src='spacer.gif'\"  />";
//  if( nom == "main" ) alert( chaine );
                                                                                                                                                                                                                            

  document.write( chaine );
}


function affiche_agrandissement( nom, top, left )
{
  document.agrandissement.border = 1;
  document.agrandissement.style.zIndex = 1000;
  document.agrandissement.src = "images/" + repertoire + "/" + nom + "_b.jpg";
  document.agrandissement.style.top = top - 20;
  document.agrandissement.style.left = left + 90;
}


function affiche_fleche( nom, ftop, fleft )
{
  chaine += "<img src='" + nom + ".gif' border='0' style='position:absolute;top:" +ftop + ";left:" + fleft + "; z-index:100' />";
  document.write( chaine );
}

function MM_preloadImages()
{ //v3.0
  var d=document;
  if(d.images)
  {
   if(!d.MM_p) d.MM_p=new Array();
   var i, j=d.MM_p.length, a=MM_preloadImages.arguments;
   for(i=0; i<a.length; i++)
   {
    if (a[i].indexOf("#") != 0)
    {
     d.MM_p[j] = new Image;
     d.MM_p[j++].src = a[i];
    }
   }
  }
}

