var imagenumber = 3;
var randomnumber = Math.random();
var randpic = Math.round((imagenumber-1) * randomnumber) + 1;
 images = new Array

//* this sets an image to the array as well as a link; the 'target' will either keep the link in the same browser window or place it in its own 
 images[1] = "/images/headers/header1.jpg"
 images[2] = "/images/headers/header2.jpg"
 images[3] = "/images/headers/header3.jpg"

//*sendds values of the arrays 
 var pics = images[randpic]