
  //-- Generate a random number between 0 and max.
  function randomNum(max) {
    var rNum=NaN
    while (isNaN(rNum)) {
      rNum=Math.floor(Math.random()*(max))
    }
    return rNum
  }
  var pic = new Array()
  pic[0]="/images/front1.jpg"
  pic[1]="/images/front2.jpg"
  pic[2]="/images/front3.jpg"
  pic[3]="/images/front4.jpg"
  pic[4]="/images/front5.jpg"
  pic[5]="/images/front6.jpg"
  pic[6]="/images/front7.jpg"

  


