// JavaScript Document

	var photoCount = 21; <!-- 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] = "Beattie Elementary School third grade students learn about dairy cows at the Agricultural Adventure for Youth at ARDEC program at the Colorado State University Agricultural Research, Development and Educational Center. Credit: William A. Cotton"
	photocaption[2] = "Sunset in the Rockies Credit: William A. Cotton, © University Relations, Colorado State University"
	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. William A. Cotton, © University Relations, Colorado State University"
	photocaption[4] = "David James and Dr. Louis Bjostad collect termite samples from a trap on a ranch near Nunn. William A. Cotton, © University Relations, Colorado State University"
	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. William A. Cotton, © University Relations, Colorado State University"
	photocaption[6] = "Varieties of flowers are tested in Colorado's climate at the trial gardens at the Annual Flower Trial Garden at the East Campus, Colorado State University. William A. Cotton, © University Relations, Colorado State University"
	photocaption[7] = "The Colorado State University Weed Laboratory Greenhouse, William A. Cotton, © University Relations, Colorado State University"
	photocaption[8] = "Kyle Beauchamp research in our Department of Soil and Crop Sciences William A. Cotton, © University Relations, Colorado State University"
	photocaption[9] = "Painting the A before Homecoming.  An Annual tradition"
	photocaption[10] = "The administration building as seen through The Oval"
	photocaption[11] = "Dr. Stephen Koontz, Department of Agricultural and Resource Economics. William A. Cotton, © University Relations, Colorado State University"
	photocaption[12] = "Everyone enjoys Ag Day! William A. Cotton, © University Relations, Colorado State University"
	photocaption[13] = "Colorado State University C.P. Gillette Museum of Arthropod Diversity director Dr. Boris Kondratieff holds a drawer of longhorned beetles, a part of the more than three million insect specimens in the collection. Credit: William A. Cotton"
	photocaption[14] = "Animal Sciences students and scholarship recipient Marianna Brown checks calves at ARDEC, Colorado State University. Credit: William A. Cotton"
	photocaption[15] = "Dr. Phil Westra looks at weed growth in the Colorado State University Weed Laboratory Greenhouse. Credit: William A. Cotton"
	photocaption[16] = "Equine Sciences student Jessica Hernandez curries a horse at the Equine Center, Colorado State University. Credit: William A. Cotton"
	photocaption[17] = "Front range farming and pivot irrigation north of Fort Collins."
	photocaption[18] = "North view of the Shepardson Building with proposed renovation.  Contact our development office for gift opportunities - CAS_vip@mail.colostate.edu"	
	photocaption[19] = "Two traditional symbols in Fort Collins - Colorado Aggie symbol on the front range and Horsetooth Rock."
	photocaption[20] = "Local summer fun - hot air baloon and water skiing at Horsetooth Reservoir."
	photocaption[21] = "Organic spinach is irrigated at Grant Family Farms, Wellington Colo. William A. Cotton © University Relations, Colorado State University"

/////////////////////////////////////
	
	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]);
	}
