// This file puts random images on to a page when it refreshes
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
// Set up the image files to be used.
var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = './images/sites/tn/ageconcernsite.jpg'
theImages[1] = './images/sites/tn/atozsite.jpg'
theImages[2] = './images/sites/tn/bbsite.jpg'
theImages[3] = './images/sites/tn/buzzsite.jpg'
theImages[4] = './images/sites/tn/holisticsite.jpg'
theImages[5] = './images/sites/tn/horsfieldsite.jpg'
theImages[6] = './images/sites/tn/kbbsite.jpg'
theImages[7] = './images/sites/tn/pfbsite.jpg'
theImages[8] = './images/sites/tn/hortonssite.jpg'
theImages[9] = './images/sites/tn/moonlightingsite.jpg'
theImages[10] = './images/sites/tn/sdfsite.jpg'
theImages[11] = './images/sites/tn/tanglessite2.jpg'
theImages[12] = './images/sites/tn/tetlowsite.jpg'
theImages[13] = './images/sites/tn/sodukusite.jpg'
// do not edit anything below this line

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]+'">');
}

//  End -->

