// 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/d6-0429_f_Santamaria-speaking.jpg','District 6 Forum','Commissioner Santamaria urged the residents of the Tri-Cities to work together as one regional entity. &rlquo;The success of one should be considered the success of all,&rdquo; he said.'],
	['/newsroom/0409/_images/d6-0429_f_guest-speakers.jpg','District 6 Forum','Guest speakers included (l-r) Leondrae Camel, Belle Glade youth violence prevention coordinator, Belle Glade Mayor Steve Wilson, PBSO Major Tony Araujo, Audrey Wolf, director of PBC Facilities Development and Operations, Assistant County Administrator Shannon LaRocque-Baas, community activist Jermaine Webb, South Bay Mayor Shirley Walker-Turner, Pahokee Mayor Wayne Whitaker, and Jan Cook and Denny Abbott of the Workforce Alliance.'],
	['/newsroom/0409/_images/d6_0429_f-audience.jpg','District 6 Forum','About 75 west-area residents attended the 2&frac12;-hour open forum.'],
	['/newsroom/0409/_images/d6_0429_f_Audrey-speaking.jpg','District 6 Forum','Commissioner Santamaria and Western Communities Liaison Michael E. Jackson listen as Audrey Wolf outlines a series of new county facilities planned for the Lake Region.']
]

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);
}
