// 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/wave_group.jpg','District 2','Pictured above (l to r): Bill Moss, Commissioner Jeff Koons, Commissioner Shelley Vana, Commissioner Jess Santamaria, Molly Douglas, Assistant County Administrator Brad Merriman, County Administrator Robert Weisman, Deputy County Administrator Verdenia Baker, Artist Barbara Grygutis, County Art in Public Places Administator Elayna Toby Singer, Dave Anderson, Jorge Pesquera.'],
	['/newsroom/0109/_images/wave_Barbara-podium2.jpg','District 2','Artist Barbara Grygutis thanks staff and installers with yellow roses.'],
	['/newsroom/0109/_images/wave_Koons-podium1.jpg','District 2','Commissioner Koons welcomes guests to the ceremony and provides background information on the public art project'],
	['/newsroom/0109/_images/wave_looking-west1.jpg','District 2','At night, the blue light from &ldquo;Wave&rdquo; delights those passing by the Convention Center.'],
	['/newsroom/0109/_images/wave_crowd2.jpg','District 2','Ceremony guests gather on the second floor adjacent to the art installation.'],
	['/newsroom/0109/_images/wave_food1.jpg','District 2','Guests enjoy appetizers, dessert and champagne.']
]

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);
}

