// JavaScript Document Tomorrow\'s (referred to as storyText below) // 4. a link if you'd like one (referred to as storyLink below) // STORIES = [ ['slideshow/images4/0_strip.jpg', '', '', '1', '7'], ['slideshow/images4/1_strip.jpg', '', '', '2', '0'], ['slideshow/images4/2_strip.jpg', '', '', '3', '1'], ['slideshow/images4/3_strip.jpg', '', '', '4', '2'], ['slideshow/images4/4_strip.jpg', '', '', '5', '3'], ['slideshow/images4/5_strip.jpg', '', '', '6', '4'], ['slideshow/images4/6_strip.jpg', '', '', '7', '5'], ['slideshow/images4/7_strip.jpg', '', '', '0', '6'] ]; function switchStory(story) { document.getElementById("storyImage").src = STORIES[story][0]; document.getElementById("storyTitle").innerHTML = STORIES[story][1]; document.getElementById("storyText").innerHTML = STORIES[story][2]; //document.getElementById("storyQuote").innerHTML = STORIES[story][3]; document.getElementById("storyLink").innerHTML = "\"Next\""; document.getElementById("storyLinkb").innerHTML = "\"Back\""; return false; } // -->