// JavaScript Document

/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Jay M. Rumsey, OD | http://www.nova.edu/~rumsey */

var num=0;

imgArray = [
    ['/newsroom/0509/_images/d1_d2_Limestone_entranceway.jpg','Limestone Opening','The entrance to the 1,500-foot nature trail that winds through Limestone Creek'],
	['/newsroom/0509/_images/d1_d2_Limestone_fishingpier.jpg','Limestone Opening','The modular unit was donated by Palm Beach Day School.'],
	['/newsroom/0509/_images/d1_d2_Limestone_hovde.jpg','Limestone Opening','Environmental Programs Supervisor Brenda Hovde, who led the tour, spoke about land management efforts, including prescribed burns, removal of exotic vegetation and monitoring endangered species'],
	['/newsroom/0509/_images/d1_d2_Limestone_koons.jpg','Limestone Opening','Commissioner Koons talked about the significance of the site while Commissioner Marcus  listened'],
	['/newsroom/0509/_images/d1_d2_Limestone_Marcus.jpg','Limestone Opening','Commissioner Marcus said the park was a long-awaited project that involved community teamwork to complete the cleanup effort.'],
	['/newsroom/0509/_images/d1_d2_Limestone_TourPeople.jpg','Limestone Opening','Members of the tour learned about the variety of plants, trees, birds and animals that inhabit the site'],
	['/newsroom/0509/_images/d1_d2_Limestone_Trees.jpg','Limestone Opening','Cypress trees and laurel oaks tower over the nature trail'],
	['/newsroom/0509/_images/d1_d2_Limestone_waterway.jpg','Limestone Opening','The tidal swamp was created by scraping down spoil piles and cutting  oxbows into the shoreline. It is now home to West Indian manatees, great egret and fiddler crabs.']
]

function slideshow(slide_num) {
  document.getElementById('mypic').src=imgArray[slide_num][0];
  document.getElementById('mypic').alt=imgArray[slide_num][1];
  document.getElementById('burns').innerHTML=imgArray[slide_num][2];
}

function slideshowUp() {
  num++;
  num = num % imgArray.length;
  slideshow(num);
}

function slideshowBack() {
  num--;
  if (num < 0) {num=imgArray.length-1;}
  num = num % imgArray.length;
  slideshow(num);
}

