<!-- Begin
	var theImages = new Array() // do not change this
	// To add more image files, continue with the
	// pattern below, adding to the array.
	
	theImages[0] = 'images/billboards/0.jpg'
	theImages[1] = 'images/billboards/1.jpg'
	theImages[2] = 'images/billboards/2.jpg'
	theImages[3] = 'images/billboards/3.jpg'
	theImages[4] = 'images/billboards/4.jpg'
	theImages[5] = 'images/billboards/5.jpg'
	theImages[6] = 'images/billboards/6.jpg'
	theImages[7] = 'images/billboards/7.jpg'
	theImages[8] = 'images/billboards/8.jpg'
	theImages[9] = 'images/billboards/9.jpg'



	var theLinks = new Array()
	theLinks[0] = 'http://alleganfoundation.org/artsalive/'
	theLinks[1] = 'http://www.otsegolibrary.org/summer2010.pdf'
	theLinks[2] = 'http://alleganfoundation.org/artsalive/'
	theLinks[3] = 'http://www.otsegolibrary.org/summer2010.pdf'
	theLinks[4] = 'http://alleganfoundation.org/artsalive/'
	theLinks[5] = 'http://www.worldbookonline.com/?subacct=M0784'
	theLinks[6] = 'http://alleganfoundation.org/artsalive/'		
	theLinks[7] = 'http://www.wowbrary.org/'
	theLinks[8] = 'http://alleganfoundation.org/artsalive/'
	theLinks[9] = 'http://www.otsegolibrary.org/summer2010.pdf'
	
	var theAlts = new Array()
	
	theAlts[0] = ''
	theAlts[1] = ''
	theAlts[2] = ''
	theAlts[3] = ''
	theAlts[4] = ''
	theAlts[5] = ''
	theAlts[6] = ''
	theAlts[7] = ''
	theAlts[8] = ''
	theAlts[9] = ''


	
	
	// delay in milliseconds between image swaps 1000 = 1 second
	var delay = 5000;
	var counter = 0;
	
	function preloadImgs(){
	  for(var i=0;i<theImages.length;i++){
		MM_preloadImages(theImages[i]);
	  }
	}
	
	function randomImages(){
	  if(counter == (theImages.length)){
		counter = 0;
	  }
	  MM_swapImage('rotator', '', theImages[counter]);
	  var link = document.getElementById("thelink");
	  link.href = theLinks[counter];
	  var image = document.getElementById('rotator');
	  image.setAttribute('alt', theAlts[counter]);
	  counter++;
	  setTimeout('randomImages()', delay);
	}
//  End -->
