// JavaScript Document
function create() 
  {
  this.width = this.height = this.src = this.border = '';
  }

function random(min, max)
  {
  return Math.round(((max - min) * Math.random()) + 1);
  }

var lower = 1, upper = 6;
pict = new Array()
for(var i = lower; i <= upper; i++) 
  { 
  pict[i] = new create() 
  }
  
 
pict[1].width = "250"
pict[1].height = "275"
pict[1].src = "/images/pict_1.jpg"
pict[1].border = "0"

pict[2].width = "250"
pict[2].height = "275"
pict[2].src = "/images/pict_2.jpg"
pict[2].border = "0"

pict[3].width = "250"
pict[3].height = "275"
pict[3].src = "/images/pict_3.jpg"
pict[3].border = "0"

pict[4].width = "250"
pict[4].height = "275"
pict[4].src = "/images/pict_4.jpg"
pict[4].border = "0"

pict[5].width = "250"
pict[5].height = "275"
pict[5].src = "/images/pict_5.jpg"
pict[5].border = "0"

pict[6].width = "250"
pict[6].height = "275"
pict[6].src = "/images/pict_6.jpg"
pict[6].border = "0"

var pict1 = ""

n = random(lower, upper)

pict1 += '<img src="' + pict[n].src + '" width=' + pict[n].width
pict1 += '\n height=' + pict[n].height + ' border=' + pict[n].border
