// 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/0508/_images/d1_Marcus-speaking.jpg','Biscience and Technology Complex','Commissioner Karen Marcus, who chairs the Bioscience Land Protection Advisory Board, delivers opening remarks during the May 15 board meeting. Town of Jupiter Mayor Karen Golonka is seated next to her.'],
  ['/newsroom/0508/_images/d1_bioscience_classroom.jpg','Bioscience and Technology Complex','This is one of  the new bioscience classrooms in  the new 91,000-square-foot Bioscience and Technology Complex.'],
  ['/newsroom/0508/_images/d1_handel-tour.jpg','Bioscience and Technology Complex','PBCC Bioscience Director Dr. Libby Handel describes the state-of-the-art equipment inside the bioscience classroom.'],
  ['/newsroom/0508/_images/d1_Marcus_listening.jpg','Bioscience and Technology Complex','Commissioner Karen Marcus listens as PBCC&rsquo;s Bioscience Director Dr. Libby Handel describes the school&rsquo;s tissue culture room during the tour.']
]

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);
}

