var images=new Array(); 
images[0]="pictures/uptop1.jpg"; 
images[1]="pictures/uptop2.jpg"; 
images[2]="pictures/uptop3.jpg"; 
images[3]="pictures/uptop4.jpg"; 

function randomimage() { 
var i=Math.floor(Math.random()*images.length); 
document.getElementById("random").src=images[i]; 

} 
onload=randomimage;

