  var max      = 10;
  var nrImages = 24;
  function makeImages() {
    this[0]     = "depoimentos/01.jpg";
    this[1]     = "depoimentos/02.jpg";
    this[2]     = "depoimentos/03.jpg";
	this[3]     = "depoimentos/04.jpg";
	this[4]     = "depoimentos/05.jpg";
	this[5]     = "depoimentos/06.jpg";
	this[6]     = "depoimentos/07.jpg";
	this[7]     = "depoimentos/08.jpg";
	this[8]     = "depoimentos/09.jpg";
	this[9]     = "depoimentos/10.jpg";
	this[10]     = "depoimentos/11.jpg";
	this[11]     = "depoimentos/12.jpg";
	this[12]     = "depoimentos/13.jpg";
	this[13]     = "depoimentos/14.jpg";
	this[14]     = "depoimentos/15.jpg";
	this[15]     = "depoimentos/16.jpg";
	this[16]     = "depoimentos/17.jpg";
	this[17]     = "depoimentos/18.jpg";
	this[18]     = "depoimentos/19.jpg"
	this[19]     = "depoimentos/20.jpg";
	this[20]     = "depoimentos/21.jpg";
	this[21]     = "depoimentos/22.jpg";
	this[22]     = "depoimentos/23.jpg";
	this[23]     = "depoimentos/24.jpg";
	this[24]     = "depoimentos/25.jpg";
    this.length = nrImages;
  }


  var vetImages = new makeImages();
  var x = Math.round(Math.random()*max);
  var y = max / nrImages;
  for(var cont = 1;cont*y <= max;cont++) {
    if (x <= (cont*y)) {
      document.write("<img  src="+vetImages[cont-1]+" border=0>");
      break;
    }
  }



