// JavaScript Document
/*
Random Image Link Script
By Website Abstraction (http://www.wsabstract.com)
and Java-scripts.net (http://www.java-scripts.net)
*/

function random_imglink(baseURL){
  var myimages=new Array()
  //specify random images below. You can have as many as you wish
  myimages[1]= baseURL + "img/bandeau/photo1.jpg"
  myimages[2]= baseURL + "img/bandeau/photo2.jpg"
  myimages[3]= baseURL + "img/bandeau/photo3.jpg"
  myimages[4]= baseURL + "img/bandeau/photo4.jpg"
  myimages[5]= baseURL + "img/bandeau/photo5.jpg"

  var ry=Math.floor(Math.random()*myimages.length)

  if (ry==0)
     ry=1
     document.write('<img src="'+myimages[ry]+'" alt="Photographie d\'un de nos projets" class="bandeau" />')
}


