function image() {
};

image = new image();
number = 0;

image[number++] = "<img src='random-top/image1.jpg' border='0' alt='Photograph montage of fruit and veg with the Rural Regeneration Unit logo'>"
image[number++] = "<img src='random-top/image2.jpg' border='0' alt='Photograph montage of fruit and veg with the Rural Regeneration Unit logo'>"
image[number++] = "<img src='random-top/image3.jpg' border='0' alt='Photograph montage of fruit and veg with the Rural Regeneration Unit logo'>"
image[number++] = "<img src='random-top/image4.jpg' border='0' alt='Photograph montage of fruit and veg with the Rural Regeneration Unit logo'>"
image[number++] = "<img src='random-top/image5.jpg' border='0' alt='Photograph montage of fruit and veg with the Rural Regeneration Unit logo'>"
image[number++] = "<img src='random-top/image6.jpg' border='0' alt='Photograph montage of fruit and veg with the Rural Regeneration Unit logo'>"
image[number++] = "<img src='random-top/image7.jpg' border='0' alt='Photograph montage of fruit and veg with the Rural Regeneration Unit logo'>"
image[number++] = "<img src='random-top/image8.jpg' border='0' alt='Photograph montage of fruit and veg with the Rural Regeneration Unit logo'>"


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

document.write(image[increment]);