<!--
// ==============================================
// Copyright 2003 by jsCode.com
// Source: jsCode.com
// Author: etLux
// Free for all; but please leave in the header.
// ==============================================
//-->

var theImages = new Array() 

theImages[0] = 'images/random/rnd1.png'
theImages[1] = 'images/random/rnd2.png'
theImages[2] = 'images/random/rnd3.png'
theImages[3] = 'images/random/rnd4.png'
theImages[4] = 'images/random/rnd5.png'
theImages[5] = 'images/random/rnd6.png'
theImages[6] = 'images/random/rnd7.png'
theImages[7] = 'images/random/rnd8.png'
theImages[8] = 'images/random/rnd9.png'
theImages[9] = 'images/random/rnd10.png'
theImages[10] = 'images/random/rnd11.png'
theImages[11] = 'images/random/rnd12.png'
theImages[12] = 'images/random/rnd13.png'
theImages[13] = 'images/random/rnd14.png'
theImages[14] = 'images/random/rnd15.png'
theImages[15] = 'images/random/rnd16.png'

var j = 0
var p = theImages.length;

var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}

var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'" alt="randomly generated image featuring objects with a helical shape">');
}