
<!--


// Set up the image files to be used.
var thePhotos = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array. Rememeber
// to increment the thePhotos[x] index!

thePhotos[0] = 'http://threesisters.d3corp.com/images/rotate/1.jpg'
thePhotos[1] = 'http://threesisters.d3corp.com/images/rotate/2.jpg'
thePhotos[2] = 'http://threesisters.d3corp.com/images/rotate/3.jpg'
thePhotos[3] = 'http://threesisters.d3corp.com/images/rotate/4.jpg'
thePhotos[4] = 'http://threesisters.d3corp.com/images/rotate/5.jpg'
thePhotos[5] = 'http://threesisters.d3corp.com/images/rotate/6.jpg'
thePhotos[6] = 'http://threesisters.d3corp.com/images/rotate/7.jpg'
 
// ======================================
// do not change anything below this line
// ======================================

var j = 0
var p = thePhotos.length;

var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = thePhotos[i]
}

var whichPhoto = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+thePhotos[whichPhoto]+'" alt="Bahamas Waterfront Real Estate">');
}

//-->
