// JavaScript Document

<!--

  var STORIES = new Array;
  
// 
// for each image you'd like to display:
// 1. image name and path (referred to as storyImage below)
// 2. a title if you like one (referred to as storyTitle below)
// 3. the text you'd like to display -- you need to put a \ in front of any single or double quotes like this -->  Tomorrow\'s (referred to as storyText below)
// 4. a link if you'd like one (referred to as storyLink below)
// 

  STORIES = [
    ['slideshow/images/0_monica_baby.jpg',  '1', '8'],
   
   ['slideshow/images/1_bour.jpg',  '2', '0'],
   
   ['slideshow/images/2_whales_harbor.jpg',  '3', '1'],
   
   ['slideshow/images/3_whale_boy.jpg',  '4', '2'],
   
   ['slideshow/images/4_forklift.jpg',  '5', '3'],
   
   ['slideshow/images/5_olavur.jpg', '6', '4'],
   
  ['slideshow/images/6_mykines_cliffs.jpg',  '7', '5'],
  
	['slideshow/images/7_boat_repair.jpg',  '8', '6'],
	
	['slideshow/images/8_3boats.jpg',  '0', '7']
    ];
	 
  

  function switchStory(story) {
    document.getElementById("storyImage").src = STORIES[story][0];
    
	document.getElementById("storyLink").innerHTML = "<a href=\"#\" onclick=\"switchStory(" + STORIES[story][1] + "); return false;\"><img src=\"images/next.gif\" border=\"0\" alt=\"Next\"></a>";
	document.getElementById("storyLinkb").innerHTML = "<a href=\"#\" onclick=\"switchStory(" + STORIES[story][2] + "); return false;\"><img src=\"images/back.gif\" border=\"0\" alt=\"Back\"></a>";


    return false;
  }

// -->