// JavaScript Document
function rotateheader(){
<!--
// ==============================================
// 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!

//Spring
//theImages[0] = 'images/pics/header/spring/annual hanger 2_crop.jpg'
//theImages[1] = 'images/pics/header/spring/blossoms-crop.jpg'
//theImages[2] = 'images/pics/header/spring/blossoms2-crop.jpg'
//theImages[3] = 'images/pics/header/spring/blossoms3-crop.jpg'
//theImages[4] = 'images/pics/header/spring/buds-crop.jpg'
//theImages[5] = 'images/pics/header/spring/Cosmos_crop.jpg'
//theImages[5] = 'images/pics/header/spring/spring flowers-crop.jpg'

//Summer
theImages[0] = 'images/pics/header/summer/Butteryflybush_crop.jpg'
theImages[1] = 'images/pics/header/summer/gerber daisy_crop.jpg'
theImages[2] = 'images/pics/header/summer/IMG_8000_crop.jpg'
theImages[3] = 'images/pics/header/summer/IMG_8005_crop.jpg'
theImages[4] = 'images/pics/header/summer/IMG_8017_crop.jpg'
theImages[5] = 'images/pics/header/summer/IMG_8065_crop.jpg'

//Fall
//theImages[0] = 'images/pics/header/fall/Faulkners_fallbanner1.jpg'
//theImages[1] = 'images/pics/header/fall/Faulkners_fallbanner2.jpg'
//theImages[2] = 'images/pics/header/fall/Faulkners_fallbanner4.jpg'
//theImages[3] = 'images/pics/header/fall/Faulkners_fallbanner5.jpg'
//theImages[4] = 'images/pics/header/fall/Faulkners_fallbanner6.jpg'

//Winter
//theImages[0] = 'images/pics/header/winter/frost-branch-crop_bannar.jpg'
//theImages[1] = 'images/pics/header/winter/pointsetta-close-up-crop_bannar.jpg'
//theImages[2] = 'images/pics/header/winter/snow-covered-pots-crop-bannar.jpg'
//theImages[3] = 'images/pics/header/winter/hollyberries_banner.jpg'






//theImages[1] = '<img src="../graphics/topimage_aerial.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));

document.write('<img src="'+theImages[whichImage]+'">');
}

//-->