// JavaScript Document
<!-- Activate cloaking device
var randnum = Math.random();
var inum = 5;
// Change this number to the number of images you are using.
var rand1 = Math.round(randnum * (inum-1)) + 1;
images = new Array
images[1] = "/images/layout/bgpic06.jpg"
images[2] = "/images/layout/bgpic02.jpg"
images[3] = "/images/layout/bgpic03.jpg"
images[4] = "/images/layout/bgpic04.jpg"
images[5] = "/images/layout/bgpic05.jpg"
// Ensure you have an array item for every image you are using.
var image = images[rand1]
// Deactivate cloaking device -->