// 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/0109/_images/d2_state_county.jpg','State of the County','The address touched on a broad range of legislative and funding issues and topics.'],
	['/newsroom/0109/_images/state_county_shannon.jpg','State of the County','Assistant County Administrator Shannon LaRocque-Baas and Charles Rutherford'],
	['/newsroom/0109/_images/d5_state_county_Aaronson.jpg','State of the County','Commissioner Aaronson chats with Steve Ast of the Boca Raton Resort and Club'],
	['/newsroom/0109/_images/d2_state_county_koons.jpg','State of the County','Commissioner Koons said the business community needs to pressure state lawmakers to return our tax dollars.'],
	['/newsroom/0109/_images/state_county_weisman.jpg','State of the County','County Administrator Bob Weisman, BDB Past-Chair George Elmore and Deputy County Administrator Verdenia Baker'],
	['/newsroom/0109/_images/state_county_audience.jpg','State of the County','Several hundred business and community leaders attended.']
]

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);
}

