// JavaScript Document
function swapPic()
     {
     if(document.getElementById)
                 {
                 var thePicture=document.getElementById("entete-photo");
				 // modifier le chiffre "n" dans "+rnd(n)+" en fonction du nb d'images (ici 5)
				 var picPath="images/entete/entete-photo"+rnd(5)+".jpg";
                 thePicture.style.background="url("+picPath+")";
                 }
     }
     
function rnd(n)
     {
     return Math.floor(Math.random() * n) + 1;
     }