// 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/0408/_images/Harvey-Verdenia.jpg','Knott Award','Deputy County Administrator Verdenia Baker accepts the Judge James R. Knott Award from Historical Society Chairman of the Board Harvey Oyer.'],
  ['/newsroom/0408/_images/Verdenia-podium.jpg','Knott Award','On behalf of the Palm Beach County Board of County Commissioners, Deputy County Administrator Verdenia Baker expresses her gratitude for the recognition received from the Historical Society.']
]

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);
}

