after<\/i> it had been rescued from a ditch'; cap[26] = 'Just what does this sign mean?'; cap[27] = 'Trail to the Mangapohue Bridge'; cap[28] = 'This is not the Mangapohue Bridge! just a swinging bridge that is part of the trail'; cap[29] = 'But this is the natural bridge, actually just the lower smaller one'; cap[30] = 'A platform under the high upper bridge'; cap[31] = 'Difficult to see are both of the Mangapohue Natural bridges'; cap[32] = 'Not a distant relative of "Maricopa", but this place has a scenic water fall'; cap[33] = 'The sign points the way to "Marokopa" for this "Maricopan"'; cap[34] = 'The water makes a loud rushing noise long before you see the falls'; cap[35] = 'A few steps closer to the giant water fall'; cap[36] = '"Brrrr it is cold!" so Alan buys a New Zealand wool sweater'; cap[37] = 'Is this the train pulling into downtown Rotorua?'; cap[38] = 'No, this is Roger\'s immense model railroad layout'; cap[39] = 'And the engine comes around the bend...'; cap[40] = 'Steaming crater at Wai-O-Tapu, "thermal wonderland"'; cap[41] = 'The colors of the Artist\'s Palette'; cap[42] = 'Watch out for the deep, hot holes'; cap[43] = 'Lower Wai-O-Tapu Valley with Frying Plan Flat and Lake Ngakoro beyond'; cap[44] = 'The white walls of the Alum cliffs'; cap[45] = 'Mineralized colors'; cap[46] = 'Frying Plan Flat is an older crater filled with sediment'; cap[47] = 'Green waters (color is from arsenic) of Lake Ngakoro ("The Grandfather")'; cap[48] = 'Distant peaks are reflected in the green hot waters'; cap[49] = '"This should not be a no smoking zone!"'; cap[50] = 'The largest and most colorful pool is Champagne Pool'; cap[51] = 'Iron oxide colors the edges of Champagne Pool'; cap[52] = 'With some imagination, this might look like an aerial view of a technicolor Grand Canyon?'; cap[53] = 'Steam billowing from Champagne Pool'; cap[54] = 'And Alan emerges from a swim across the hot pool (just kidding)'; cap[55] = 'The active are of boiling mud'; cap[56] = 'Bubbling mud looks like a cartoon face?'; cap[57] = 'A hot chunk of mud flies at me!'; cap[58] = 'Roger insisted that I accept one of his $16 bills'; // ------------- end of captions -----------------------// //-------------------------------------------------------- // (4) SET THE AUTOSHOW DELAY TIME // This is the amount of time between changing of slides // when we are in automatic mode. Values are in // milliseconds, multiple the number of seconds desired // by 1000. If you are unsure, try a value of 8000. var delay_time = 12000; //-------------------------------------------------------- // (5) SET THE BACKGROUND MODE // This variable indicates whether to use a light background // for the slide screen (light_mode = true;) or a dark // background (light_mode = false;) var light_mode = true; //-------------------------------------------------------- // (6) SET THE CAPTION LOCATION // This variable controls the placement of the caption // relative to the picture. Valid values are // 1 above the picture // 2 left of the picture // 3 right of the picture // 4 below the picture var cap_align = 3; //-------------------------------------------------------- // END OF CONFIGURATION AREA // The rest of the code should not be edited! //-------------------------------------------------------- //-------------------------------------------------------- // SET READY FLAG // Called when both images have been loaded on main display // and sets the graphic to indicate state (loaded=1) function ready_state (s_flag) { if (s_flag == 0) { imgLoaded = 0; } else { imgLoaded+=s_flag; } if (document.images) { if (imgLoaded > 1) { document.images.lstat.src = ready_y.src; } else { document.images.lstat.src = ready_n.src; } } } //-------------------------------------------------------- // SLIDE ADVANCER // Called from a click on one of the slide buttons // wDirection is either 1 or -1 function slideClick (wDirection) { slide_count = slide_count + wDirection; if (slide_count < 0 ) { slide_count = 0; } else { playSlide(); } } //-------------------------------------------------------- // SLIDE MENU JUMPER // Go to arbitrary slide from menu selection function goSlide () { // Update the slide counter based upon the menu item selected slide_count = document.control.gomenu.selectedIndex; if (slide_count == 0) { // First menu item resets the show setUp() } else { // Play the selected slide playSlide(); } } //-------------------------------------------------------- // SLIDE PLAYER // Called from several functions to set up the requested // slide. Finds the appropriate image file, caption file function playSlide () { // Check if we tried to go before the first slide if (slide_count == 0) { slide_count = 1; alert ('This is the very first slide!'); } else { // Check if we went past the last slide if (slide_count == slides.length) { slide_count = slides.length - 1; alert ('This is the very last slide!'); } else { // Set state of "loading..." ready_state(0); // Set left button image if (slide_count == 1) { if (document.images) { document.images.leftb.src = leftb_off.src; } } else { if (document.images) { document.images.leftb.src = leftb_on.src; } } // Set right button image if (slide_count == slides.length - 1) { if (document.images) { document.images.rightb.src = rightb_off.src; } } else { if (document.images) { document.images.rightb.src = rightb_on.src; } } // Re-write screen new content parent.frames[0].document.clear(); // Use appropriate background colors if (light_mode) { parent.frames[0].document.write(''); } else { parent.frames[0].document.write(''); } // store the caption in a var my_cap = '' + cap[slide_count] + ''; parent.frames[0].document.write('
'); if (cap_align == 1) { parent.frames[0].document.write( ''); } else if (cap_align == 2) { parent.frames[0].document.write( ''); } // insert the current image here parent.frames[0].document.write(''); } if (cap_align == 4) { parent.frames[0].document.write( ''); } else { parent.frames[0].document.write( ''); } parent.frames[0].document.write( '
' + my_cap + '
' + my_cap + ''); if (cap_align == 3) { parent.frames[0].document.write( '' + my_cap + '
' + my_cap + '
'); // pre-load the next image, if there is one, by inserting it as a 1x1 image if (slide_count != slides.length - 1) { parent.frames[0].document.write(''); } else { parent.frames[1].ready_state(1); } parent.frames[0].document.write('

'); parent.frames[0].document.close(); // update the clicker menu document.control.gomenu.options[slide_count].selected = true; } } } //-------------------------------------------------------- // AUTOMATIC SLIDE SHOW // Turns on or off the automatic advance of slides by // activation of the checkbox on the jClicker function autoShow() { if (document.control.auto.checked) { changeImage(); } else { timerID = clearTimeout(timerID); } } //-------------------------------------------------------- // AUTOMATIC SLIDE SHOW // Controls autoadvance of slides by using Javascript timer // functions function changeImage() { if (imgLoaded > 1) { // all images are loaded // increment the counter, check for loop at last slide slide_count++; if (slide_count == slides.length) { slide_count = 1; } playSlide(); timerID=setTimeout('changeImage()',delay_time); } else { // images still loading, reset timer timerID=setTimeout('changeImage()',1500); } } //-------------------------------------------------------- // SETUP // initializes variables for loading and reloading function setUp() { imgLoaded = 0; // set the left button to the "off" graphic if (document.images) { document.images.leftb.src = leftb_off.src; } // reset the slide counter & menu selection slide_count = 0; document.control.gomenu.options[0].selected = true; // rebuild the title page parent.frames[0].document.clear(); // use appropriate background colors if (light_mode) { parent.frames[0].document.write(''); parent.frames[0].document.write('
slide tray

'); } else { parent.frames[0].document.write(''); parent.frames[0].document.write('

slide tray

'); } parent.frames[0].document.write('' + showTitle + '

'); parent.frames[0].document.write(''); parent.frames[0].document.write(showCredits); parent.frames[0].document.write('
' + (slides.length - 1) + ' images to see!'); parent.frames[0].document.write('

'); parent.frames[0].document.close(); } // End Hiding -->