//--------------------------------------------------------
// 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] = 'WineApples.jpg';
menus[ic] = 'Wine and fruit';
cap[ic] = 'Wine on the Capulet veranda';
ic++;
slides[ic] = 'PoolFullLength.jpg';
menus[ic] = 'Full pool view';
cap[ic] = 'Full length view of the romanesque pool';
ic++;
slides[ic] = 'BergeracAlfresco.jpg';
menus[ic] = 'Bergerac alfresco';
cap[ic] = 'Alfresco in Bergerac';
ic++;
slides[ic] = 'BergeracCenter.jpg';
menus[ic] = 'Bergerac fountain';
cap[ic] = 'Day out to Bergerac';
ic++;
slides[ic] = 'BrianAndDeniseInEymet.jpg';
menus[ic] = 'Hosts picture';
cap[ic] = 'Your hosts Brian and Denise in Eymet';
ic++;
slides[ic] = 'TypicalStallInEymet.jpg';
menus[ic] = 'Eymet market typical stall';
cap[ic] = 'Traditional stall in Eymet market';
ic++;
slides[ic] = 'ChrysanthemumsInEymetMarket.jpg';
menus[ic] = 'Market flowers';
cap[ic] = 'Chrysanthemums flowers in Eymet market';
ic++;
slides[ic] = 'CapuletRoses.jpg';
menus[ic] = 'Capulet roses';
cap[ic] = 'Gite de Capulet in bloom';
ic++;
slides[ic] = 'GatewayToPool.jpg';
menus[ic] = 'Gateway to walled garden and pool';
cap[ic] = 'Carpark entrance to poolside and walled garden';
ic++;
slides[ic] = 'CapuletOpenViews.jpg';
menus[ic] = 'Capulet open views';
cap[ic] = 'Capulet open views across Domaine de Juliette';
ic++;
slides[ic] = 'capuletLounge.jpg';
menus[ic] = 'Capulet lounge';
cap[ic] = 'Gite de Capulet furnished lounge';
ic++;
slides[ic] = 'CapuletSpecialTimes.jpg';
menus[ic] = 'Capulet special times';
cap[ic] = 'Romantic setting in Gite de Capulet';
ic++;
slides[ic] = 'capuletTableOnVeranda.jpg';
menus[ic] = 'Capulet table on veranda';
cap[ic] = 'Table for dining on Capulet veranda';
ic++;
slides[ic] = 'CapuletVeranda2.jpg';
menus[ic] = 'Capulet veranda again';
cap[ic] = 'Another view of the Capulet veranda';
ic++;
slides[ic] = 'CapuletView.jpg';
menus[ic] = 'Capulet view';
cap[ic] = 'View along the Capulet front veranda';
ic++;
slides[ic] = 'CapuletWindowBox.jpg';
menus[ic] = 'Capulet window box';
cap[ic] = 'Plenty of flowers around Domaine de Juliette';
ic++;
slides[ic] = 'DroptAtAlmans.jpg';
menus[ic] = 'Alamans de Dropt';
cap[ic] = 'Fishing spots all along the river Dropt';
ic++;
slides[ic] = 'EymetChateau.jpg';
menus[ic] = 'Eymet Chateau';
cap[ic] = 'Chateau in the center of Eymet';
ic++;
slides[ic] = 'EymetArchway.jpg';
menus[ic] = 'Eymet Archway';
cap[ic] = 'View of Eymet through the ancient archway';
ic++;
slides[ic] = 'EymetSquare.jpg';
menus[ic] = 'Eymet Square';
cap[ic] = 'Square in the Eymet Bastide center';
ic++;
slides[ic] = 'EymetRiverDropt.jpg';
menus[ic] = 'Eymet Dropt';
cap[ic] = 'The Dropt as it goes through Eymet';
ic++;
/*
slides[ic] = 'MontagueFullVeranda.jpg';
menus[ic] = 'Montague Full Veranda';
cap[ic] = 'View along the vast Maison de Montague veranda';
ic++;
slides[ic] = 'MontagueAlfrescoDining.jpg';
slides[ic] = 'MontagueTableOnVeranda.jpg';
menus[ic] = 'Montague Alfresco';
cap[ic] = 'Alfresco outside the Maison de Montague';
ic++;
slides[ic] = 'MontagueLounge.jpg';
menus[ic] = 'Montague Lounge';
cap[ic] = 'Furnished living room in Maison de Montague';
ic++;
slides[ic] = 'MontagueVeranda.jpg';
menus[ic] = 'Montague Veranda';
cap[ic] = 'View of the Montague veranda';
ic++;
*/

slides[ic] = 'PumpkinFate.jpg';
menus[ic] = 'Pumpkin Fate';
cap[ic] = 'Annual Autumn Pumpkin fate competition entries';
ic++;
slides[ic] = 'Sunrise.jpg';
menus[ic] = 'Sunrise at Domaine de Juliette';
cap[ic] = 'Beautiful sunrises at Domaine de Juliette';
ic++;
slides[ic] = 'GoKartingFun.jpg';
menus[ic] = 'Go Karting fun in Bergerac';
cap[ic] = 'Great go-karting for all ages in Bergerac';
ic++;
slides[ic] = 'GoKartingFinish.jpg';
menus[ic] = 'GoKarting finish';
cap[ic] = 'After go-karting, try skittles or the aqua park nearby';
ic++;
slides[ic] = 'WineByThePool.jpg';
menus[ic] = 'Wine by the pool';
cap[ic] = 'Wine and shine on the veranda';
ic++;
slides[ic] = 'PoolsideInAutumn2.jpg';
menus[ic] = 'Autumn swimming';
cap[ic] = 'Sunshine in the pool in Autumn';
ic++;
slides[ic] = 'ViewFromHammock.jpg';
menus[ic] = 'Arbour View';
cap[ic] = 'Open views from the hammock across our 6 acres';
ic++;
slides[ic] = 'ViewProlificPomegranates.jpg';
menus[ic] = 'Prolific Pomegranattes';
cap[ic] = 'View of prolific pomegranates';
ic++;
slides[ic] = 'ViewUninterrupted.jpg';
menus[ic] = 'Uninterrupted views';
cap[ic] = 'Uninterrupted views from all around Domaine de Juliette';
ic++;
slides[ic] = 'tandem.jpg';
menus[ic] = 'Tandem cycling';
cap[ic] = 'Taking the tandem and kids out for a ride';
ic++;
slides[ic] = 'CanoeingOnTheDordogne.jpg';
menus[ic] = 'Canoeing on the Dordogne';
cap[ic] = 'Taking the family out to the river';
ic++;
slides[ic] = 'LocalGrapePicking.jpg';
menus[ic] = 'Grape picking at Domaine Chater';
cap[ic] = 'Domaine Chater wine tasting and grape picking';
ic++;
slides[ic] = 'LocalHorseRiding';
menus[ic] = 'Horse riding at Cavale stables';
cap[ic] = 'Plenty of local stables for family hacks';
ic++;
slides[ic] = 'OrganisedBalloonTripFromYourDoorstep.jpg';
menus[ic] = 'Local balloon trips';
cap[ic] = 'Take a dawn or dusk balloon trip over the vineyards';
ic++;
slides[ic] = 'VineyardWalks.jpg';
menus[ic] = 'Vineyard walks';
cap[ic] = 'Vineyard walks in the Dordogne';
ic++;
slides[ic] = 'LocalItalian.jpg';
menus[ic] = 'Local Italian';
cap[ic] = 'Our favourite local restaurant';


// --------- 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 = 'Domaine De Juliette Slide Show';
var showCredits = 'Discover the Dordogne beauty from a holiday gite at Domaine de Juliette - tranquility, open views and close to  all activities!';


//--------------------------------------------------------
//  (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 = true;

//  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 = 4000;


//--------------------------------------------------------
//  (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 = false;

//--------------------------------------------------------
//  (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 = 4;

//--------------------------------------------------------
//  (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
//--------------------------------------------------------






