//Description: Javascript function that will dynamically change the quoted text...
//Author: Craig A Mcninch
//Date Created: 05/05/2006
//variables for the function...

var rand1 = Math.floor(Math.random() * 8 );
//two dimensional array that holds both the images, and the caption.
quotes = new Array(9);
quotes[0] = new Array(2);
quotes[0][0] = "<a href='images/slideshow/dinings_wells.jpg'><img src='images/slideshow/dinings_wells.jpg' alt='Hotel Dining Room'></a>";
quotes[0][1] = "The Dining Room of the Well&acute;s Hotel";

quotes[1] = new Array(2);
quotes[1][0] = "<a href='images/slideshow/headstone.jpg'><img src='images/slideshow/headstone.jpg' alt='Head Stone at Sand Park Cemetery'></a>";
quotes[1][1] = "Head Stone at Sand Park Cemetery";

quotes[2] = new Array(2);
quotes[2][0] = "<a href='images/slideshow/kellys_saloon.jpg'><img src='images/slideshow/kellys_saloon.jpg' alt='Kelly&acute;s Saloon'></a>";
quotes[2][1] = "Kelly&acute;s Saloon";

quotes[3] = new Array(2);
quotes[3][0] = "<a href='images/slideshow/main1890s.jpg'><img src='images/slideshow/main1890s.jpg' alt='Garnet&acute;s Main Street in the 1890&acute;s, looking uptown.'></a>";
quotes[3][1] = "Garnet&acute;s Main Street in the 1890&acute;s, looking uptown.";

quotes[4] = new Array(2);
quotes[4][0] = "<a href='images/slideshow/nancyhank.jpg'><img src='images/slideshow/nancyhank.jpg' alt='The Nancy Hanks mine, early 1900&acute;s.'></a>";
quotes[4][1] = "The Nancy Hanks mine, early 1900&acute;s.";

quotes[5] = new Array(2);
quotes[5][0] = "<a href='images/slideshow/miners.jpg'><img src='images/slideshow/miners.jpg' alt='Miners of the Nancy Hanks mine, circa 1900.'></a>";
quotes[5][1] = "Miners at the Nancy Hanks mine, circa 1900.";

quotes[6] = new Array(2);
quotes[6][0] = "<a href='images/slideshow/mariondahl.jpg'><img src='images/slideshow/mariondahl.jpg' alt='Marion Dahl in front of her family saloon, called Ole's Tavern. Circa 1940's -1950's.'></a>";
quotes[6][1] = "Marion Dahl in front of her family saloon, called Ole&acute;s Tavern. Circa 1940&acute;s &ndash; 1950's.";

quotes[7] = new Array(2);
quotes[7][0] = "<a href='images/slideshow/stage.jpg'><img src='images/slideshow/stage.jpg' alt='The Garnet Stage. Driven by Frank Davey.'></a>";
quotes[7][1] = "The Garnet Stage. Driven by Frank Davey.";




//grabs the quote and author to be displayed on the HTMl page...
dyntext = quotes[rand1][0];
quotetext = quotes[rand1][1];

