// <!-- Hide from old browsers


// <!-- Preload images

        Image1= new Image(800,136)
        Image1.src = "images/banner_bg.gif"

        Image2 = new Image(155,27)
        Image2.src = "images/bg_nav_on.gif"

        Image3 = new Image(155,27)
        Image3.src = "images/bg_nav_classes.gif"
		
		Image4 = new Image(645,18)
        Image4.src = "images/banner_bot.gif"
		
// End Preload images -->





	function MM_openBrWindow(theURL,winName,features,myWidth,myHeight) { 
// v2.0

    var myLeft = (screen.width-myWidth)/2;
    var myTop = (screen.height-myHeight)/2;
    features+=(features!='')?',':'';
    features+=',left='+myLeft+',top='+myTop;
	window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);

}

// Stop hiding -->




// 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.

theImages[0] = 'photos/img/featured_bill_dawson_tiara.jpg'
theImages[1] = 'photos/img/featured_arts_and_crafts2.jpg'
theImages[2] = 'photos/img/featured_anticlastic_03.jpg'

var numberOfImages = theImages.length;

// preload all images:

var preBuffer = new Array()
for (i = 0; i < numberOfImages; i++) {
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}


var currentImageIndex = 0

function showImage() {
	currentImageIndex = Math.round(Math.random()*(numberOfImages-1));
    document.write('<img border="0" src="'+theImages[currentImageIndex]+'" alt="Works by Bill Dawson" title="Works by Bill Dawson" width="444" height="146" border="0" usemap="#map'+currentImageIndex+'" style="margin-bottom: 1px;">')
    currentImageIndex = (currentImageIndex + 1) % numberOfImages
}

//  End -->