

   //  sIMPLE sLIDE sHOW with Description sCRIPT by
   //  Chetan M Soni(csoni@email.com), 8/1999.
   //
   //  NOTICE: To my knowledge this script works with
   //  Netscape 3.0+ and Internet Explorer 4.0+.  By
   //  using this script you agree that I am not
   //  responsible for any type of damage it causes.
   //  To use this script freely, you must leave this
   //  comment intact.
   //
   //  If you need help using the script, email me at
   //  csoni@email.com, and I'll be happy to help.

   //  Browser checker

   Browser_Name = navigator.appName;
   Browser_Ver  = parseInt(navigator.appVersion);
   if((Browser_Name == "Netscape" && Browser_Ver >= 3) || (Browser_Name == "Microsoft Internet Explorer" && Browser_Ver >= 4)) Browser_Gen = ">=3rd";
   else Browser_Gen = "<3rd";

   if (Browser_Gen == '>=3rd') {


   num_of_slides = 7;    // Declare the number of slides in your show
   slide_num = 1;        // Which slide loads ups first

   // Description of each slide
   desc1 = "Families enjoy the Southwest Florida Water Management District display.";
   desc2 = "DOT #1 on display.";
   desc3 = "James L. Ely, Executive Director and CEO Florida's Turnpike Enterprise, Steve Diez, CAG Chairman Hernando County Planning Department, The Honorable Kathryn Starkey, Vice Chairman Pasco County School Board, The Honorable Ann Hildebrand Pasco Board of County Commission, Kevin Thibault, Assistant Secretary For Engineering and Operations Florida Department of Transportation, Ed Crawford, Hillsborough County Greenways Committee, The Honorable Diane Rowden Hernando Board of County Commission";
   desc4 = "Steve Diez, Chairman";
   desc5 = "A $500 donation to Canine Companions honored the dedication and support of the Lutz-Land O'Lakes Woman's Club throughout the 4-year designation effort.";
   desc6 = "Crowd enjoys the celebration.";
   desc7 = "SR 589/Suncoast Parkway Scenic Highway Sign.";
   }

   //  These functions alter the slide_num accordingly
   function firstslide(){
     slide_num = 1;
     changeslide();
   }
   function prevslide(){
     slide_num = slide_num - 1;
     if(slide_num < 1){
       slide_num = num_of_slides;
     }
     changeslide();
   }
   function nextslide(){
     slide_num = slide_num + 1;
     if(slide_num > num_of_slides){
       slide_num = 1
     }
     changeslide();
   }
   function lastslide(){
     slide_num = 7;
     changeslide();
   }

 //  This function changes the slide and the description box according to the slide_num
   function changeslide(){

     //  Changes the slide
     eval('document.picbox.src = "SuncoastScenic/Images/pic' + slide_num + '.jpg"');

     //  Changes the description box
     eval('document.descform.descbox.value = "Slide ' + slide_num + ': ' + eval('desc' + slide_num) + '"');
   }
 
