// JavaScript Document
// Set up the image files to be used.
var siteImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

siteImages[0] = 'gfx/randomPhotos/1.jpg'
siteImages[1] = 'gfx/randomPhotos/2.jpg'
siteImages[2] = 'gfx/randomPhotos/3.jpg'
siteImages[3] = 'gfx/randomPhotos/4.jpg'
siteImages[4] = 'gfx/randomPhotos/5.jpg'
siteImages[5] = 'gfx/randomPhotos/6.jpg'
siteImages[6] = 'gfx/randomPhotos/7.jpg'
siteImages[7] = 'gfx/randomPhotos/8.jpg'
siteImages[8] = 'gfx/randomPhotos/9.jpg'
siteImages[9] = 'gfx/randomPhotos/10.jpg'
siteImages[10] = 'gfx/randomPhotos/11.jpg'
siteImages[11] = 'gfx/randomPhotos/12.jpg'
siteImages[12] = 'gfx/randomPhotos/13.jpg'
siteImages[13] = 'gfx/randomPhotos/14.jpg'
siteImages[14] = 'gfx/randomPhotos/15.jpg'
siteImages[15] = 'gfx/randomPhotos/16.jpg'
siteImages[16] = 'gfx/randomPhotos/17.jpg'
siteImages[17] = 'gfx/randomPhotos/18.jpg'
siteImages[18] = 'gfx/randomPhotos/19.jpg'
siteImages[19] = 'gfx/randomPhotos/20.jpg'
siteImages[20] = 'gfx/randomPhotos/21.jpg'
siteImages[21] = 'gfx/randomPhotos/22.jpg'
siteImages[22] = 'gfx/randomPhotos/23.jpg'
siteImages[23] = 'gfx/randomPhotos/24.jpg'
siteImages[24] = 'gfx/randomPhotos/25.jpg'
siteImages[25] = 'gfx/randomPhotos/26.jpg'
siteImages[26] = 'gfx/randomPhotos/27.jpg'

// do not edit anything below this line

var j = 0
var p = siteImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = siteImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img name="SITEPHOTO" src="'+siteImages[whichImage]+'" width="461" height="223" border="0" id="SITEPHOTO" alt="solid surface professional fabrication, installation and repair">');
}

