// JavaScript Document
//<script language="JavaScript">
<!--
// ==============================================
// Copyright 2003 by jsCode.com
// Source: jsCode.com
// Author: etLux
// Free for all; but please leave in the header.
// ==============================================

// 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. Rememeber
// to increment the theImages[x] index!

theImages[0] = 'images/photoalbum/1/Bale_Rolling_NM_07.jpg'
theImages[1] = 'images/photoalbum/1/Balloon_2_NM07.jpg'
theImages[2] = 'images/photoalbum/1/Sheep_2_NM_07.jpg'
theImages[3] = 'images/photoalbum/1/UTC_2_NM_07.jpg'
theImages[4] = 'images/photoalbum/1/Vintage_1_NM07.jpg'
theImages[5] = 'images/photoalbum/2/WF_NM_08_010.jpg'
theImages[6] = 'images/photoalbum/2/WF_NM_08_013.jpg'
theImages[7] = 'images/photoalbum/2/home_produce.jpg'
theImages[8] = 'images/photoalbum/2/WF_NM_08_008.jpg'
theImages[9] = 'images/photoalbum/2/WF_NM_08_006.jpg'
theImages[10] = 'images/photoalbum/3/NM_09_023.jpg'
theImages[11] = 'images/photoalbum/3/NM_09_039.jpg'
theImages[12] = 'images/photoalbum/3/NM_09_001.jpg'
theImages[13] = 'images/photoalbum/3/NM_09_016.jpg'

// ======================================
// do not change 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 align="top" src="'+theImages[whichImage]+'">');
}

//-->
//</script>

