// JavaScript Document
var max      = 10;
  var nrImages = 8;
  function makeImages() {
    this[0]     = "imgind1.jpg";
    this[1]     = "imgind2.jpg";
    this[2]     = "imgind3.jpg";
    this[3]     = "imgind4.jpg";
    this[4]     = "imgind5.jpg";
    this[5]     = "imgind6.jpg";
	this[6]     = "imgind7.jpg";
	this[7]     = "imgind8.jpg";
    this.length = nrImages;
  }
  function makeLinks() {
    this[0]     = "";
    this[1]     = "";
    this[2]     = "";
    this[3]     = "";
    this[4]     = "";
    this[5]     = "";
	this[6]     = "";
	this[7]     = "";
	this.length = nrImages;

  }
  var vetImages = new makeImages();
  var vetLinks  = new makeLinks();
  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("<xa href="+vetLinks[cont-1]+" target=_blank><img  src="+vetImages[cont-1]+" border=0></a>");
      break;
    }
  }

