// JavaScript Document

	var photoCount = 11; <!-- This is the total number of photos. Change this number accordingly. -->

	photocaption = new Array;
	// The captions below may be altered to match the corresonding images.
	// You may add or remove captions, but don't change the format.
	
// begin photos
	photocaption[1] = "Colorado State University College of Agricultural Sciences Dean Marc Johnson talks with Agricultural Business student Brandon McEndaffer at the Agricultural Adventure for Youth at ARDEC program September 22, 2004 at the Colorado State University Agricultural Research, Development and Educational Center."
	photocaption[2] = "Sunset in the Rockies"
	photocaption[3] = "DR. Dawn Thilmany, associate professor of agriculture business management at Colorado State University, researches labor-market dynamics and the impacts of immigration and immigration policy on agriculture."
	photocaption[4] = "David James and Dr. Louis Bjostad collect termite samples from a trap on a ranch near Nunn."
	photocaption[5] = "Soil and crop sciences senior and Boettcher Scholar Todd Gaines takes a sample from a Canada thistle for his research on the species' genetic diversity, November 13, 2003."
	photocaption[6] = "Varieties of flowers are tested in Colorado's climate at the trial gardens at the Horticulture Field Research Center at the East Campus, High School Park, Colorado State University."
	photocaption[7] = "The Colorado State University Weed Laboratory Greenhouse, October 8, 2002"
	photocaption[8] = "Kyle Beauchamp research in our Department of Soil and Crop SCiences"
	photocaption[9] = "Dr. Jorge Vivanco and Harsh Bais discuss their research,Centaurea maculosa, spotted knapweed, that he has been researching to create a herbicide"
	photocaption[10] = "Everyone enjoys Ag Day!"
	photocaption[11] = "Dr. Stephen Koontz, Department of Agricultural and Resource Economics."

	/////////////////////////////////////
	
	var tPath = "images/banner/";
	var randomPick = (Math.round(Math.random() * (photoCount - 1)) + 1);
	//  You shouldn't need to alter these numbers, but FYI, the second number
	//  is the lowest acceptable integer in the range of random integers.
	// 'photoCount' is the highest integer in the range, and the total number of photos.

	var tPhoto = tPath + "photo_" + randomPick + ".jpg";
	//var tCaption = tPath + "caption_" + randomPick + ".gif";
	
	
	function getAltText(whichNum) {
		return(photocaption[whichNum]);
	}

// Thanks to Craig Spooner for letting me alter his code.