// 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/1109/_images/gairport_1-complex.jpg', 'Glades Airport','Glades Airport features two new hangars, offices and a beautiful lobby/terminal.'],
	['/newsroom/1109/_images/gairport_2-crowd.jpg', 'Glades Airport','About 100 well-wishers attended the noon-time ceremony.'],
	['/newsroom/1109/_images/gairport_3-porch.jpg', 'Glades Airport','Visitors can kick back in rockers and watch the planes take off and land.'],
	['/newsroom/1109/_images/gairport_4-ribbon-cutting.jpg', 'Glades Airport','Cutting the ribbon (l-r) are Harold Gilmore of the Aviation and Airports Advisory Board, Pahokee Aviation Manager Johnny Stinson, Pahokee City Commissioner Keith Babb, former County Engineer Herb Kahlert, Pahokee City Manager Matt Brock, Director of Airports Bruce Pelly, Gerry Kelly of the Morganti Group, Belle Glade City Manager Lomax Harrelle and Stephen Sines of the Morganti Group.'],
	['/newsroom/1109/_images/gairport_5-Pelly.jpg', 'Glades Airport', 'Airports Director Bruce Pelly']
]

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);
}

