
// Set up the image files to be used.
var theImages = new Array( ) // do not change this
theImages[0] = "./images/headers/puc_hdr_img1.jpg";
theImages[1] = "./images/headers/puc_hdr_img2.jpg";
theImages[2] = "./images/headers/puc_hdr_img3.jpg";
theImages[3] = "./images/headers/puc_hdr_img4.jpg";
theImages[4] = "./images/headers/puc_hdr_img5.jpg";
theImages[5] = "./images/headers/puc_hdr_img7.jpg";
theImages[6] = "./images/headers/puc_hdr_img8.jpg";

// To add more image files, continue with the
// pattern below, adding to the array.
/*
theImages[0][0] = "./images/swap/rotary_homepic_1.jpg";
theImages[0][1] = "./images/swap/rotary_homequote_1.gif";

theImages[1] = new Array();
theImages[1][0] = "./images/swap/rotary_homepic_2.jpg";
theImages[1][1] = "./images/swap/rotary_homequote_2.gif";

theImages[2] = new Array();
theImages[2][0] = "./images/swap/rotary_homepic_3.jpg";
theImages[2][1] = "./images/swap/rotary_homequote_3.gif";

theImages[3] = new Array();
theImages[3][0] = "./images/swap/rotary_homepic_4.jpg";
theImages[3][1] = "./images/swap/rotary_homequote_4.gif";
*/

// do not edit anything below this line

var j = 0
var p = theImages.length;
/*var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Array();
   preBuffer[i][0] = new Image()
   preBuffer[i][1] = new Image()
   preBuffer[i][0].src = theImages[i][0]
   preBuffer[i][1].src = theImages[i][1]
}
*/
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
	//var img = document.createElement("img");
	//img.src =theImages[whichImage];
	//document.getElementById("hdrImgHolder").appendChild(img);
	document.write('<img   src="'+theImages[whichImage]+'">');
	//document.getElementById("hdr").filters.  
	  //style="filter:progid:DXImageTransform.Microsoft.Fade(Duration=3)"
}

//  End -->

	

