/* 

Random Center Graphic

Format:

where i is the id

image[i] = "images/front/name.jpg"		// image src
alt[i] = "Alternate text"				// alternate graphic text
caption[i] = "caption"					// bottom caption

*/

// Rotate Settings
var rotate = true;		// true - pic changes after interval; false - disabled
var interval = 10;		// interval in seconds


// Array definitions
var image = new Array()
var alt = new Array()
var caption = new Array()


// Begin Image arrays

// Image 0
image[0] = "images/front/center.jpg" 
alt[0] = "U of A Turfgrass Science"
caption[0] = "Arkansas sod producers contribute $38 million annually towards the $1 billion Arkansas Green Industry. With over 50 sod producers, Arkansas sod producers provide quality grasses in-state, across the country, and internationally."

// Image 1
image[1] = "images/front/center01.jpg"
alt[1] = "U of A Turfgrass Science"
caption[1] = "Research is ongoing to determine the best management practices for two new turf species, tetraploid perennial ryegrass and meadow fescue, used for overseeding."

// Image 2
image[2] = "images/front/center02.jpg"
alt[2] = "U of A Turfgrass Science"
caption[2] = "On-course research is currently in place to help determine the impact of cultivation practices and fungicide applications on large patch of zoysiagrass."

// Image 3
image[3] = "images/front/center03.jpg"
alt[3] = "U of A Turfgrass Science"
caption[3] = "Mike Richardson, professor of horticulture, welcomes the crowd at the University of Arkansas Division of Agriculture Turfgrass Research Field Day."

// Image 4
image[4] = "images/front/center04.jpg"
alt[4] = "U of A Turfgrass Science"
caption[4] = "Extension weed scientist Dr. John Boyd describes weed control in landscape turfgrasses during the University of Arkansas Division of Agriculture Turfgrass Research Field Day August 1, 2007."

// Image 5
image[5] = "images/front/center05.jpg"
alt[5] = "U of A Turfgrass Science"
caption[5] = "Researchers applying foliar nutrient treatments in trials to determine the optimum rates, timings, and products for creeping bentgrass putting green health."

// Image 6
image[6] = "images/front/center06.jpg"
alt[6] = "U of A Turfgrass Science"
caption[6] = "Tall fescue and bluegrass varieties are being screened for their ability to maintain green cover under extended periods of drought stress. The identification of grasses with superior root systems and drought tolerance will provide turfgrass managers with potential water savings."

// Image 7
image[7] = "images/front/center07.jpg"
alt[7] = "U of A Turfgrass Science"
caption[7] = "There are 243 golf courses in the state of Arkansas, which contribute $175 million towards the $1 billion Arkansas Green Industry."

// Image 8
image[8] = "images/front/center08.jpg"
alt[8] = "U of A Turfgrass Science"
caption[8] = "Students participating in the Turfgrass Basics seminar in Little Rock . This seminar is one of many turfgrass educational opportunities offered by the Cooperative Extension Service. Read more by selecting the Educational Programs tab on this website."

// Image 9
image[9] = "images/front/center09.jpg"
alt[9] = "U of A Turfgrass Science"
caption[9] = "Hunting billbug larvae can kill turfgrass plants by feeding around the base of the stem. A close inspection of the turf shows characteristic feeding patterns of billbug larva on ‘Meyer’ zoysiagrass stems. Read more about the Hunting billbug in the Turf Tips Archives in the November 1, 2007 posting."

// Image 10
image[10] = "images/front/center10.jpg"
alt[10] = "U of A Turfgrass Science"
caption[10] = "Extension weed scientist Dr. John Boyd describes weed control in during the Landscape and Turf Seminar in Little Rock on December 11, 2007. This seminar is one of many turfgrass educational opportunities offered by the Cooperative Extension Service. Read more by selecting the Educational Programs tab on this website."

// Image 11
image[11] = "images/front/center11.jpg"
alt[11] = "U of A Turfgrass Science"
caption[11] = "A close-up view of a dollar spot lesion. Read more about this disease of turf in extension publication FSA7541-Dollar Spot of Turfgrass in the Home Landscape."

// Image 12
image[12] = "images/front/center12.jpg"
alt[12] = "U of A Turfgrass Science"
caption[12] = "Jay Richards discusses an experiment at the Turfgrass Field Day. Field day provides individuals the opportunity to hear the latest up-to-date information about new products and research studies as well as providing an opportunity to network with others in the turf industry and visit with vendors at the trade show."

// Image 13
image[13] = "images/front/center13.jpg"
alt[13] = "U of A Turfgrass Science"
caption[13] = "Rhizoctonia Large Patch is the most significant disease of zoysiagrass in Arkansas. Read more about this disease in extension publication FSA7527 or by exploring the Turf Tips section in the October 15, 2007 posting."

// Image 14
image[14] = "images/front/center14.jpg"
alt[14] = "U of A Turfgrass Science"
caption[14] = "Moss continues to become one of the most problematic weeds in creeping bentgrass putting greens. Read more about controlling this weed on page 20 of the 2002 Research Report (Research series 506)."

// Image 15
image[15] = "images/front/center15.jpg"
alt[15] = "U of A Turfgrass Science"
caption[15] = "Identifying adapted cultivars for the region remains a central focus of the University of Arkansas turfgrass research program. Read more about selecting tall fescue cultivars for Arkansas in the turfgrass research report or by visiting the National Turfgrass Evaluation Program at www.ntep.org."

// Image 16
image[16] = "images/front/center16.jpg"
alt[16] = "U of A Turfgrass Science"
caption[16] = "Localized dry spot continues to be a management problem on sand-based golf course putting greens in Arkansas. Read more about managing soil moisture in the turfgrass research report."

// Image 17
image[17] = "images/front/center22.jpg"
alt[17] = "U of A Turfgrass Science"
caption[17] = "Many homeowners are always seeking to create the perfect lawn. Check out the extension publications titled Lawn Care Calenders (FSA6118-FSA6122) for simple steps and month by month instructions on the maintenance of lawns."

// Image 18
image[18] = "images/front/center18.jpg"
alt[18] = "U of A Turfgrass Science"
caption[18] = "John McCalla collects data on a cultivar evaluation trial using a digital image analysis light box. More information about digital image analysis is available by clicking on the research tab."

// Image 19
image[19] = "images/front/center19.jpg"
alt[19] = "U of A Turfgrass Science"
caption[19] = "Jay Richards applies a rolling treatment to his research study evaluating the effects of rolling frequency and mowing height on the quality and ball roll distance of creeping bentgrass putting greens."

// Image 20
image[20] = "images/front/center20.jpg"
alt[20] = "U of A Turfgrass Science"
caption[20] = "A newly installed fixed-roof rainout shelter allows University of Arkansas Turfgrass Scientists to evaluate drought tolerance differences among turfgrass cultivars."

// Image 21
image[21] = "images/front/center21.jpg"
alt[21] = "U of A Turfgrass Science"
caption[21] = "Dr. Mike Richardson discusses drought tolerance with Turfgrass Field Day attendees. Field day provides individuals the opportunity to hear the latest up-to-date information about new products and research studies as well as providing an opportunity to network with others in the turf industry and visit with vendors at the trade show."



// End Image Arrays

function centerDisplay()
{
	if(rotate)
	{
		changePic()
		window.setInterval("changePic()", interval*1000);
	}
	else
	{
		changePic()
	}
}

function changePic()
{
	
	i = Math.round( (image.length - 1) * Math.random() )
	
	if(document.center.src == image[i])
	{
		i++;
	}
	
	if(i == image.length)
	{
		i = 0;
	}
	
	document.center.src = image[i]
	document.center.alt = alt[i]

	x = document.getElementById("pictureCaption")
	x.innerHTML = caption[i]

}