// 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_light_ribboncutting.jpg','Light Harbor Park','Commissioner Marcus and Commissioner Koons assist with the ribbon  cutting of the new Light Harbor Park.'],
	['/newsroom/0509/_images/d1_d2_marcuskoonsmayor.jpg','Light Harbor Park','Commissioner Karen Marcus and Commissioner Jeff Koons pose with Riviera  Beach Council Chairwoman Dawn Pardo'],
	['/newsroom/0509/_images/d1_d2_lightharborcrowd.jpg','Light Harbor Park','Several county officials, area boaters, partnering agencies, boating industry representatives and other members of the community attended the event.'],
	['/newsroom/0509/_images/d2_Koons_LightHarbor.jpg','Light Harbor Park','Commissioner Jeff Koons poses with Capt John Carroll, PBSO Parks Enforcement Unit'],
	['/newsroom/0509/_images/d1_d2_boaterramps.jpg','Light Harbor Park','Boaters enjoy the convenience of three new ramps.']
]

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);
}

