// JavaScript Document
var flowersname = new Array;
var flowersdescription = new Array;
var flowersimage = new Array;
var flowerCount = 0;

//the images are in /images/rotating/
//all of the home and about-us rotating

//0
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "A path winds through the woodlands on an early March morning in the Arboretum.";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;

//1
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "The historical marker by the Founder's Oak was dedicated during the National Arbor Day celebration held in April 2005.";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;

//2
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "This red-tailed hawk is a new resident of the Arboretum. He has been spotted often resting in the branches near the pavilion.";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;

//3
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "The leaves of the Southern Red Oak, <em>Quercus falcata</em>, are framed by the clouds on a warm July day.";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;

//4
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "A misty morning shot across the pond on a cool day in April.";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;

//5
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "A view of the canopy on a foggy spring morning.";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;

//6
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "Cedar Waxwings caught during the spring migration gather to rest and get a desperately needed drink of water from the lower stream banks.";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;

//7
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = 
"The Florida Azalea, <em>Rhododendron austrinum</em, can be found in many shades of yellow. This one has dark red-orange buds that unfold to clusters of orange blooms."
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;

//8
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "The Florida Azalea, <em>Rhododendron austrinum</em>, can be found in many shades of yellow. This one has dark lemony-yellow buds that unfold to clusters of white blooms.";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;

/*
//
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "Blue Flag Iris flanks the pathway through the wetland. This bridge was constructed in the manner of the historical covered bridges once used in Alabama.";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;

//
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "A view of the Long Leaf Pine grove shows a blooming Florida Azalea, <em>Rhododendron austrinum</em>, growing in the understory.";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;
*/

//9
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "The Florida Azalea, <em>Rhododendron austrinum</em>, can be found in many shades of yellow. This one has orange buds that unfold to clusters of yellow-orange blooms.";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;

//10
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "Yellow flag irises grow along the banks of the pond near several species of turtles basking on a fallen log.";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;

//11
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "The mountain laurel, <em>Kalmia latifolia</em>, in full bloom just behind the pavilion. The blooms have spring-loaded anthers that fling pollen on the back of visiting bees.";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;

/*
//
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "The Black Belt Prarie bursts into bloom in early spring.";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;
*/

//12
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "The Arboretum has been voted to be the second most romantic spot on campus.";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;

//13
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "Many different native ferns grow in the wetlands near the pond.";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;

//14
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "The Eastern Red Cedar, <em>Juniperus caroliniana</em>, are covered with swollen pollen cones that release thick clouds of pollen to the wind in February. ";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;

/*
//
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "Cedar Waxwings caught during the spring migration gather to rest and get a desperately needed drink of water from the lower stream banks.";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;
*/

//15
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "A branch of the Sweet Bay Magnolia, <em>Magnolia virginiana</em>, hangs over a large patch of Jewel Weed, <em>Impatiens capensis</em>, near the lower stream.";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;

/*
//
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "Grasses and trees bend under the weight of ice during a winter storm.";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;
*/

//16
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "The Henry P. Orr Vinery is a place set aside for native vine species to grow and tangle among the rafters.";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;

/* Template for adding more pictures
flowersname[flowerCount] = "";
flowersdescription[flowerCount] = "";
flowersimage[flowerCount] = "home/"+flowerCount+".png";
flowerCount++;
*/
//this will get the random number
var num = getRandomNumber();
function getRandomNumber(){
	return Math.floor(Math.random() * flowerCount)
}