var photos2 = new Array() // do not change this
photos2[0] = 'images/1.jpg'
photos2[1] = 'images/2.jpg'
photos2[2] = 'images/3.jpg'
photos2[3] = 'images/4.jpg'
photos2[4] = 'images/5.jpg'
photos2[5] = 'images/6.jpg'

var j = 0
var p = photos2.length;
var preBuffer = new Array()
for (i = 0; i < p; i++) {
   preBuffer[i] = new Image()
   preBuffer[i].src = photos2[i]
}
var whichImage = Math.round(Math.random()*(p-1));
var theImage = photos2[whichImage];

document.write('<img src="'+theImage+'" border="0" width="481" height="117" alt="Texas Louisiana Swamp and River Tours">');
