// 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/d2_faca_koons.jpg','FACA Training Conference','Commissioner Koons gave the welcome address at the FACA&rsquo;s 29th annual training conference on May 13.'],
	['/newsroom/0509/_images/d2_faca_proclamation.jpg','FACA Training Conference','Commissioner Koons presented a proclamation to FACA Board Chair William Holt at the event.'],
	['/newsroom/0509/_images/d2_faca_crowd.jpg','FACA Training Conference','Several hundred people from various local community action agencies attended the event that was hosted by the county&rsquo;s Community Services Department.']
]

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);
}

