function image() {
};

image = new image();
number = 0;

image[number++] = "<img src='images/random-home/1.jpg' border='0' alt='Photograph of Forest Field Cottage'>"
image[number++] = "<img src='images/random-home/2.jpg' border='0' alt='Photograph of Forest Field Cottage'>"
image[number++] = "<img src='images/random-home/3.jpg' border='0' alt='Photograph of Forest Field Cottage'>"
image[number++] = "<img src='images/random-home/4.jpg' border='0' alt='Photograph of Forest Field Cottage'>"
image[number++] = "<img src='images/random-home/5.jpg' border='0' alt='Photograph of Forest Field Cottage'>"
image[number++] = "<img src='images/random-home/6.jpg' border='0' alt='Photograph of Forest Field Cottage'>"


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

document.write(image[increment]);