// JavaScript Document

// (C) 2003 by CodeLifter.com
// Free for all users, but leave in this header.

// ==============================
// Set the following variables...
// ==============================

// Set the slideshow speed (in milliseconds)
//var SlideShowSpeed = 3000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 1;

var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this
var showHot = false;       // don't change this

// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines
// starting at the end of the Picture array.
// Caution: The number of Pictures *must*
// equal the number of Captions!




Picture[1]  = 'http://www.uaf.edu/news/featured/07/augustine/images/slideshow/03-AugustinePlume.jpg';
Picture[2]  = 'http://www.uaf.edu/news/featured/07/augustine/images/slideshow/04-Augustine-01-12-06.jpg';
Picture[3]  = 'http://www.uaf.edu/news/featured/07/augustine/images/slideshow/05-SatelliteimageryAugustine.jpg';
Picture[4]  = 'http://www.uaf.edu/news/featured/07/augustine/images/slideshow/07-AugustineAtSunset.jpg';
Picture[5]  = 'http://www.uaf.edu/news/featured/07/augustine/images/slideshow/08-AshParticle.jpg';
Picture[6]  = 'http://www.uaf.edu/news/featured/07/augustine/images/slideshow/01-Volcano_pano.jpg';

// Specify the Captions...
// To add more captions, just continue
// the pattern, adding to the array below.
// To use fewer captions, remove lines
// starting at the end of the Caption array.
// Caution: The number of Captions *must*
// equal the number of Pictures!



Caption[1]  = "A plume from Augustine volcano extended for about 50 miles (75 km) toward the southeast in a Dec. 12, 2005 satellite image. This image was created from the GINA web site.";
Caption[2]  = "Augustine volcano viewed from the west Jan. 12, 2006 spews a large plume of smoke and ash into the atmosphere. Photo by Game McGimsey, courtesy of U.S. Geological Survey";
Caption[3]  = "The Augustine volcano eruption shows up clearly on a Geographic Information Network of Alaska (GINA) remote sensing satellite image.";
Caption[4]  = "Augustine volcano was visible from Homer, Alaska, just after sunset Jan. 5, 2006. Photo by Dennis Anderson, courtesy of Alaska Volcano Observatory/U.S. Geological Survey";
Caption[5]  = "A scanning electron microscope image of an ash particle erupted by Augustine reveals its abrasive qualities. The ash sample was collected during the ash fall in Homer, Alaska Jan. 13, 2006, by John Paskievitch, AVO. Image by Pavel Izbekov, courtesy of AVO/UAF/USGS";
Caption[6]  = "In this Feb. 24, 2006 photo, ash covers the upper flanks of the Augustine volcano summit as white steam rises from the cone. Photo by Jennifer Adleman, courtesy of Alaska Volcano Observatory/U.S. Geological Survey";

// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;
var jss = 0;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function control(how){
if (showHot){
if (how=="H") jss = 1;
if (how=="F") jss = jss + 1;
if (how=="B") jss = jss - 1;
if (jss > (pss)) jss=1;
if (jss < 1) jss = pss;
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
return false;
}}