
<!--

var num = 8;     // Number of alternative images
var imageA = new Array(num);  // Array to hold filenames
        
imageA[0] = "/images/gallery_t1.jpg";
imageA[1] = "/images/gallery_t2.jpg";
imageA[2] = "/images/gallery_t3.jpg";
imageA[3] = "/images/gallery_t4.jpg";
imageA[4] = "/images/gallery_t5.jpg";
imageA[5] = "/images/gallery_t6.jpg";
imageA[6] = "/images/gallery_t7.jpg";
imageA[7] = "/images/gallery_t8.jpg";

function pickRandom(range) {
	if (Math.random)
		return Math.round(Math.random() * (range-1));
	else {
		var now = new Date();
		return (now.getTime() / 1000) % range;
	}
}

var choice = pickRandom(num);
// -->

