//--------------------------------------------------------
// javascript slide show "clicker"
// v 4.2 April 2004
// created by alan levine, maricopa community colleges
// alan.levine@domail.maricopa.edu                                  
// http://www.mcli.dist.maricopa.edu/proj/jclicker/
// 
/* GNU General Public License 
Copyright (C) 2004 Alan Levine
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details
http://www.gnu.org/licenses/gpl.html
*/

//--------------------------------------------------------
// This external .js file contains all of the editable 
// configuration data for a jClicker slide show. It is 
// the only file you should edit. Line 17 of your 
// clicker.html file should link to this file as a linked 
// Javascript source file

// Be careful of all items in single quotes; single quotes
// or apostrophes intended for display must be entered as:
//                \'
// All JavaScript command lines must end in a semi-colon


// These are data holders for your slide show; do not touch
var slides = new Array();
var menus = new Array();
var cap = new Array();    
var ic = 0;



//  Below are the 7 sections that are needed to customize
//  the slide show.

//--------------------------------------------------------
// START OF CONFIGURATION AREA
//--------------------------------------------------------

//--------------------------------------------------------
//  (1) SET UP THE SLIDES
//  The slides are set up in order with data stored in
//  arrays. The variable 'ic' is a counter that keeps
//  track of your data. You will need to enter the
//  data for your slide show in sets of 4 lines as
//  explained below. All data must be enclosed in
//  single quotes and end with a semi-colon; if you
//  need a single quote in your menu or caption, use:
//     \'

//  (a) First increase the slide counter:
//      ic++;

//  (b) Each slide needs an associated slide image
//  that is inside the "images" folder, e.g.
//      slides[ic] = 'coolphoto.jpg';
//
//  (c) The menus array holds the text  that will appear in 
//  the lower pop-up menu to identify each slide (these 
//  should be kept to a short length so the menu does not 
//  grow overly wide), e.g.
//      menus[ic] = 'My Cool Menu Name';
//
//  (d) Finally, the cap array holds the text for the image
//  caption (if the slide source is HTML, this string
//  is ignored, so assign blank values of "" to save space):
//      cap[ic] = 'This is the caption for my cool photo.';

//  This a single slide is set up by this group of code:
//      ic++;
//      slides[ic] = 'coolphoto.jpg';
//      menus[ic] = 'My Cool Menu Name';
//      cap[ic] = 'This is the caption for my cool photo.';

//  The order of the slide show is the order in which the 4
//  line data is written below; so you can re-order your slides
//  simply by cutting and pasting the 4 lines of code.

  
// --------- start the slide data ------------------------//

ic++;
slides[ic] = 'Douglas Island smoke.jpg';
menus[ic] = 'Douglas Island';
cap[ic] = 'Douglas Island as viewed through wildfire smoke';

ic++;
slides[ic] = 'Harbor Ships.jpg';
menus[ic] = 'Cruise Ships in Harbor';
cap[ic] = 'Cruise Ships in the Juneau Harbor';

ic++;
slides[ic] = 'Mt Bradley.jpg';
menus[ic] = 'Mt. Bradley on Douglas Island';
cap[ic] = 'Mount Bradley - 3337 ft. also known as Mt. Jumbo, on Douglas Island';

ic++;
slides[ic] = 'Marie in copter.jpg';
menus[ic] = 'In the Helicopter';
cap[ic] = 'Marie Kent in the Era Helicopter Eurocopter (formerly Aerospatiale) AStar 350B-2 Helicopter';

ic++;
slides[ic] = 'Lead Copter.jpg';
menus[ic] = 'Lead Helicopter';
cap[ic] = 'Helicopter in the lead, it landed at a different spot on Norris Glacier';

ic++;
slides[ic] = 'DSC00128.jpg';
menus[ic] = 'A Mountain Peak';
cap[ic] = 'A mountain peak after passing over Power Line Ridge - Sheep Creek area';

ic++;
slides[ic] = 'Annex Lake.jpg';
menus[ic] = 'Annex Lake';
cap[ic] = 'Annex Lake on the northwest side of Taku Inlet';

ic++;
slides[ic] = 'Glory Lake.jpg';
menus[ic] = 'Glory Lake';
cap[ic] = 'Glory Lake with Norris Glacier in the background';

ic++;
slides[ic] = '1st Glacier View.jpg';
menus[ic] = 'Glacier';
cap[ic] = 'First close view of a glacier';

ic++;
slides[ic] = 'Before Landing.jpg';
menus[ic] = 'Before Landing on the Glacier';
cap[ic] = 'View of mountains and glacier before landing on Norris Glacier';

ic++;
slides[ic] = 'sinkhole 1.jpg';
menus[ic] = 'Meltwater Sinkhole 1';
cap[ic] = 'A recently developed meltwater sinkhole 50 ft. to 75 ft. in diameter in Norris Glacier';

ic++;
slides[ic] = 'sinkhole 2.jpg';
menus[ic] = 'Meltwater Sinkhole 2';
cap[ic] = 'A recently developed meltwater sinkhole 50 ft. to 75 ft. in diameter in Norris Glacier';

ic++;
slides[ic] = 'copter Norris Glacier.jpg';
menus[ic] = 'Helicopter on Norris Glacier';
cap[ic] = 'The Era AStar Helicopter on Norris Glacier';

ic++;
slides[ic] = 'pilot.jpg';
menus[ic] = 'Pilot on Glacier';
cap[ic] = 'The pilot straddling a meltwater stream on Norris Glacier';

ic++;
slides[ic] = 'Marie Dick Glacier.jpg';
menus[ic] = 'The Kents on Norris Glacier';
cap[ic] = 'Marie and Dick Kent on Norris Glacier by the helicopter';

ic++;
slides[ic] = 'sinkhole from copter.jpg';
menus[ic] = 'Sinkhole from the air';
cap[ic] = 'Meltwater Sinkhole from the air after taking off from Norris Glacier';

ic++;
slides[ic] = 'Taku Glacier 1.jpg';
menus[ic] = 'Taku Glacier 1';
cap[ic] = 'Taku Glacier';

ic++;
slides[ic] = 'Taku Glacier 2.jpg';
menus[ic] = 'Taku Glacier 2';
cap[ic] = 'Taku Glacier';

ic++;
slides[ic] = 'Taku Glacier 3.jpg';
menus[ic] = 'Taku Glacier 3';
cap[ic] = 'Taku Glacier';

ic++;
slides[ic] = 'Taku Glacier Surface.jpg';
menus[ic] = 'Surface of Taku Glacier';
cap[ic] = 'The surface of Taku Glacier';

ic++;
slides[ic] = 'Glacier Surface 1.jpg';
menus[ic] = 'Glacier Surface 1';
cap[ic] = 'Surface of a Glacier';

ic++;
slides[ic] = 'Hole in Wall Glacier.jpg';
menus[ic] = 'Hole in the Wall Glacier';
cap[ic] = 'Hole in the Wall Glacier';

ic++;
slides[ic] = 'Glacier Surface 2.jpg';
menus[ic] = 'Surface of Hole in the Wall';
cap[ic] = 'The surface of Hole in the Wall Glacier';

ic++;
slides[ic] = 'Juneau Icefield 1.jpg';
menus[ic] = 'The Juneau Icefield Glaciers 1';
cap[ic] = 'Glaciers of the Juneau Icefield';

ic++;
slides[ic] = 'Juneau Icefield 2.jpg';
menus[ic] = 'The Juneau Icefield Glaciers 2';
cap[ic] = 'Glaciers of the Juneau Icefield';

ic++;
slides[ic] = 'Juneau Icefield 3.jpg';
menus[ic] = 'The Juneau Icefield Glaciers 3';
cap[ic] = 'A Glacier of the Juneau Icefield';

ic++;
slides[ic] = 'Dead Branch.jpg';
menus[ic] = 'The Dead Branch of Norris Glacier';
cap[ic] = 'The Dead Branch of Norris Glacier';

ic++;
slides[ic] = 'Split Thumb 1.jpg';
menus[ic] = 'Split Thumb 1';
cap[ic] = 'Split Thumb - 5523 ft. at the edge of the Juneau Icefield';

ic++;
slides[ic] = 'Split Thumb 2.jpg';
menus[ic] = 'Split Thumb 2';
cap[ic] = 'Split Thumb - 5523 ft. at the edge of the Juneau Icefield';

ic++;
slides[ic] = 'DSC00202.jpg';
menus[ic] = 'Mountain Peak';
cap[ic] = 'A mountain peak near Split Thumb';

ic++;
slides[ic] = 'Split Thumb 3.jpg';
menus[ic] = 'Split Thumb 3';
cap[ic] = 'Split Thumb - 5523 ft. at the edge of the Juneau Icefield';

ic++;
slides[ic] = 'Salmon Creek Valley.jpg';
menus[ic] = 'Salmon Creek Valley';
cap[ic] = 'Salmon Creek Valley with Salmon Creek Reservoir';

ic++;
slides[ic] = 'Mountain Goats.jpg';
menus[ic] = 'Two Mountain Goats';
cap[ic] = 'Two Mountain Goats';

ic++;
slides[ic] = 'Salmon Reservoir.jpg';
menus[ic] = 'Salmon Creek Reservoir';
cap[ic] = 'Salmon Creek Reservoir and Dam';

ic++;
slides[ic] = 'Era Heliport.jpg';
menus[ic] = 'Era Helicopter Heliport';
cap[ic] = 'The Era Helicopter Heliport - North Douglas';


// --------- end the slide data --------------------------//


//--------------------------------------------------------
//  (2) SET UP THE TITLE PAGE
//  Enter a name for the slide show and a line for the
//  credits. Avoid funky HTML here, they go in h1, h2 tags
//  and are formatted in style sheets

var showTitle = 'Juneau, Alaska Four Glacier Helicopter Trip';
var showCredits = 'The day was smoky from wildfires in Interior Alaska and the western Yukon Territory. Best viewed Full Screen in Internet Explorer (F11 key). Pictures by O. Richard (Dick) Kent,  September 1, 2004. Copyright 2004';

//--------------------------------------------------------
//  (3) SET THE AUTOSHOW DELAY TIME    


// To set the default that a slide show automatically starts
// in auto show mode, set auto_start = true

var auto_start = false;

//  This is the minimum 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 = 8000;


//--------------------------------------------------------
//  (4) 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;

//--------------------------------------------------------
//  (5) 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;

//--------------------------------------------------------
//  (6) SET THE STARTING SLIDE 
//  This variable can indicate which is the first slide
//  to show. the default is 0 which starts with the title
//  page

var show_start = 0;

//--------------------------------------------------------
//  (7) OPTIONAL BUTTONS
//  Set the following variables to control the display
//  of the buttons in the clicker control bar. Values of
//  "true" will display the button; 'false' will hide

//  CLOSE button is for allowing closing of the browser
//  window- use only if the link to the slide show opens
//  in a new window
var close_button = true;

// HELP button displays a pop-up help window that explains
// the jCLicker buttons
var help_button = true;

// RESIZE buttons allow users to enlarge or reduce the size
// of a displayed image
var resize_button = true;

// AUTOSHOW button allows user to set the slide show to
// automatically advance
var auto_button = true;

//--------------------------------------------------------
//  (8) SHOW IMAGE FILE NAME
//  Use while reviewing images to display the file name
//  appended to the captions. A value of
//  "true" will display the filename; 'false' will hide
//  (for normal show mode, use false)

var show_file = false;

//--------------------------------------------------------
// END OF CONFIGURATION AREA
//--------------------------------------------------------
