<!--// Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/
gSlideshowInterval = 5; // Number of Seconds between rotation
gNumberOfImages = 30;  // Number of Images to be rotated

// Image names and locations
gImages = new Array(gNumberOfImages);
gImages[0] = "photos/moving_dirt.jpg";
gImages[1] = "photos/moving_dirt2.jpg";
gImages[2] = "photos/footers.jpg";
gImages[3] = "photos/footers2.jpg";
gImages[4] = "photos/footers3.jpg";
gImages[5] = "photos/plumbing.jpg";
gImages[6] = "photos/footers4.jpg";
gImages[7] = "photos/concrete.jpg";
gImages[8] = "photos/concrete2.jpg";
gImages[9] = "photos/concrete3.jpg";
gImages[10] = "photos/frame.jpg";
gImages[11] = "photos/frame2.jpg";
gImages[12] = "photos/frame3.jpg";
gImages[13] = "photos/block.jpg";
gImages[14] = "photos/siding.jpg";
gImages[15] = "photos/siding2.jpg";
gImages[16] = "photos/brick.jpg";
gImages[17] = "photos/brick2.jpg";
gImages[18] = "photos/drive_thru.jpg";
gImages[19] = "photos/entry.jpg";
gImages[20] = "photos/inframe.jpg";
gImages[21] = "photos/inframe2.jpg";
gImages[22] = "photos/inframe3.jpg";
gImages[23] = "photos/inframe4.jpg";
gImages[24] = "photos/upframe.jpg";
gImages[25] = "photos/upframe2.jpg";
gImages[26] = "photos/upframe3.jpg";
gImages[27] = "photos/sheetrock.jpg";
gImages[28] = "photos/sheetrock2.jpg";
gImages[29] = "photos/sheetrock3.jpg";


function canManipulateImages() {
	if (document.images)
		return true;
	else
		return false;
}
function loadSlide(imageURL) {
	if (gImageCapableBrowser) {
		document.slide.src = imageURL;
		return false;
	}
	else {
		return true;
	}
}
function nextSlide() {
	gCurrentImage = (gCurrentImage + 1) % gNumberOfImages;
	loadSlide(gImages[gCurrentImage]);
}
gImageCapableBrowser = canManipulateImages();
gCurrentImage = 0;
setInterval("nextSlide()",gSlideshowInterval * 1000);
// -->