// ***********************************************
// AUTHOR: WWW.CGISCRIPT.NET, LLC
// URL: http://www.cgiscript.net
// Use the script, just leave this message intact.
// Download your FREE CGI/Perl Scripts today!
// ( http://www.cgiscript.net/scripts.htm )
// ***********************************************

function image() {
};

image = new image();
number = 0;

// imageArray
image[number++] = "<img src='images/homeimg1.jpg' border='0' width='292' height='288' class='bla'>"
image[number++] = "<img src='images/homeimg2.jpg' border='0' width='292' height='288' class='bla'>"
image[number++] = "<img src='images/homeimg3.jpg' border='0' width='292' height='288' class='bla'>"
image[number++] = "<img src='images/homeimg4.jpg' border='0' width='292' height='288' class='bla'>"
image[number++] = "<img src='images/homeimg5.jpg' border='0' width='292' height='288' class='bla'>"
image[number++] = "<img src='images/homeimg6.jpg' border='0' width='292' height='288' class='bla'>"
// keep adding items here...

increment = Math.floor(Math.random() * number);

document.write(image[increment]);