// 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/0210/_images/lw_boat_tour/1sign-boat-bird.jpg', 'Boat','The morning event began on the new West Palm Beach docks located east of Clematis Street.'],
	['/newsroom/0210/_images/lw_boat_tour/4officials-on-dock.jpg', 'Boat','Pictured above (l to r):  Rep. Carl Domino, Rep. Mark Pafford, Rep. Mary Brandenburg, Commissioner Shelley Vana, West Palm Beach Mayor Lois Frankel, Rep. Mac Bernard.'],
	['/newsroom/0210/_images/lw_boat_tour/5bird-release.jpg', 'Boat','Before the boat tour, Christen Mason form the Busch Wildlife Sanctuary released a rehabilitated heron.'],
	['/newsroom/0210/_images/lw_boat_tour/8presentation.jpg', 'Boat','There were presentations given on nine projects that guests could view from the boat'],
	['/newsroom/0310/_images/d3_5speakers-sitting.jpg', 'Boat','Pictured above (l to r):  Commissioner Karen Marcus, Commissioner Jeff Koons, Commissioner Shelley Vana, Rep. Mary Brandenburg, County Engineer George Webb, Town of Ocean Ridge Commissioner Terry Brown.'],
	['/newsroom/0210/_images/lw_boat_tour/9look-at-view3.jpg', 'Boat','Despite rainy weather, guests enjoyed close-up views of the project areas.'],
	['/newsroom/0210/_images/lw_boat_tour/10top-deck2.jpg', 'Boat','Guests could hear the presentations through speakers placed on all decks of the boat.'],
	['/newsroom/0210/_images/lw_boat_tour/11lower-deck1.jpg', 'Boat','In between presentations, guests had time to relax and enjoy the tour.']
]

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);
}

