// 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/0409/_images/belleglademayor.jpg','District 6','Belle Glade Mayor Steve Wilson spoke during the Avenue A Kick-Off ceremony'],
	['/newsroom/0409/_images/outdoorsign.jpg','District 6','A sign outside Glades Gas & Electric Corporation announces the project'],
	['/newsroom/0409/_images/santamaria_pledge.jpg','District 6','Commissioner  Jess Santamaria led guests in the pledge of allegiance during the ceremony'],
	['/newsroom/0409/_images/kevinjohns.jpg','District 6','Kevin Johns spoke about the progress of the Avenue A project'],
	['/newsroom/0409/_images/santamaria-commissioners.jpg','District 6','Commissioner Santamaria poses with Pahokee Commissioner Diane Walker and Western Communities Liaison Michael E. Jackson.']
]

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);
}

