/*images = new Array(7);			
images[0] = "<img src='images-random/random00.jpg' alt='' border='0' />";			
images[1] = "<img src='images-random/random01.jpg'alt='' border='0' />";	
images[2] = "<img src='images-random/random02.jpg' alt='' border='0' />";			
images[3] = "<img src='images-random/random03.jpg'alt='' border='0' />";	
images[4] = "<img src='images-random/random04.jpg' alt='' border='0' />";			
images[5] = "<img src='images-random/random05.jpg'alt='' border='0' />";	
images[6] = "<img src='images-random/random06.jpg'alt='' border='0' />";	
index = Math.floor(Math.random() * images.length);			
document.write(images[index]); */

window.onload = function() {
 
  var image=new Array()
  image[0] = new Object();
  image[0]["File"] = "images-random/random00.jpg";  
  image[1] = new Object();
  image[1]["File"] = "images-random/random01.jpg";  
  image[2] = new Object();
  image[2]["File"] = "images-random/random02.jpg";  
  image[3] = new Object();
  image[3]["File"] = "images-random/random03.jpg";  
  image[4] = new Object();
  image[4]["File"] = "images-random/random04.jpg";  
  image[5] = new Object();
  image[5]["File"] = "images-random/random05.jpg";  
  image[6] = new Object();
  image[6]["File"] = "images-random/random06.jpg";
  
  // get a random number for selecting an image of the array
  var index=Math.floor(Math.random()*image.length)
 
  // set the image in the random tag. Have a div with id=random around script
  document.getElementById("random").innerHTML = '<img src="' + image[index]["File"] + '" alt="" + border=0 />';
}