// 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/1108/_images/d3_Salvation-Army.jpg','District 3','(l-r) Salvation Army Captains Carey and Patrick Richmond, Commissioner Vana, Mayor Jeff Clemens and Tom Ramiccio, president of the Greater Lake Worth Camber of Commerce.'],
	['/newsroom/1108/_images/d3_Vana-and-Matt.jpg','District 3','BFFs Commissioner Vana and Matt Lauer'],
	['/newsroom/1108/_images/d3_Lauer_award.jpg','District 3','Lauer accepts an award for his work with Hospice.'],
	['/newsroom/1108/_images/d3_Lauer.jpg','District 3','Lauer had fascinating inside stories of his many years in TV news.'],
	['/newsroom/1108/_images/d3_WIW_Lake-Worth-elec.jpg','District 3','Several hundred Lake Worth elected officials, chamber members and residents attended.'],
	['/newsroom/1108/_images/d3_WIW_Matt_Laue.jpg','District 3','&ldquo;Where in the World is Matt Lauer?&rdquo; is a popular segment on <em>The Today Show</em>.']
]

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);
}

