//--------------------------------------------------------
// javascript slide show "clicker"
// v 3.0 July 2002
// created by alan levine, maricopa community colleges
// alan.levine@domail.maricopa.edu                                  
// http://www.mcli.dist.maricopa.edu/proj/jclicker/
// use without with these credits is not very nice
//--------------------------------------------------------

// This external .js file contains the editable configuration
// data for a jClicker slide show.

//  Below are the 7 sections that are edited to customize
//  the slide show.

//--------------------------------------------------------
//  (1) SET UP THE SLIDES
//  One array holds preferred order that the slides will 
//  appear. For each one enter the file name of the image
//  that is inside the "images" folder. They should
//  be sequentially numbered "slides[1]", "slides[2]",
//  "slides[3]", etc. The other array holds the names
//  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)
//
//  Note that you can now include HTML file names to display
//  other kinds of content.
  
var slides = new Array();
var menus = new Array();

// --------- start the image & menu names ---------------//
slides[1] = 'clone1.jpg';
slides[2] = 'clone2.jpg';
slides[3] = 'clone3.jpg';
slides[4] = 'clone4.jpg';
slides[5] = 'clone5.jpg';
slides[6] = 'clone6.jpg';
slides[7] = 'clone7.jpg';
slides[8] = 'clone8.jpg';
slides[9] = 'clone9.jpg';
slides[10] = 'clone10.jpg';
slides[11] = 'clone11.jpg';
slides[12] = 'clone12.jpg';
menus[1] = 'Take a skin cell from a patient';
menus[2] = 'Take a woman&#039;s egg, left over from IVF';
menus[3] = 'Remove the egg&#039;s nucleus (containing DNA)';
menus[4] = 'Replace it with DNA from the patient&#039;s skin cell';
menus[5] = 'Zap egg with electricity - egg begins to divide';
menus[6] = 'The embryo grows for a week, then...';
menus[7] = 'Stem cells are taken from the embryo';
menus[8] = 'Stem cells are put in sterile flasks';
menus[9] = 'Stem cells grow and multiply in the laboratory';
menus[10] = 'Stem cells are implanted into the patient';
menus[11] = 'The stem cells contain only the patient&#039;s DNA';
menus[12] = '...so they are not rejected';
// ----------- end of image & menu names ----------------//


//--------------------------------------------------------
//  (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 = 'How to clone a human embryo to cure disease?';
var showCredits = '';

//--------------------------------------------------------
//  (3) SET UP THE CAPTIONS     
//  Enter text for a set of captions that correspond to the 
//  images. If the slide source is HTML, this string
//  is ignored, so assign blank values of "" to save space

var cap = new Array();                                                           
                                                        
// -------------- start the captions  ------------------//
cap[1] = 'Take a skin cell from a patient';
cap[2] = 'Take a woman&#039;s egg, left over from IVF';
cap[3] = 'Remove the egg&#039;s nucleus (containing DNA)';
cap[4] = 'Replace it with DNA from the patient&#039;s skin cell';
cap[5] = 'Zap egg with electricity - egg begins to divide';
cap[6] = 'The embryo grows for a week, then...';
cap[7] = 'Stem cells are taken from the embryo';
cap[8] = 'Stem cells are put in sterile flasks';
cap[9] = 'Stem cells grow and multiply in the laboratory';
cap[10] = 'Stem cells are implanted into the patient';
cap[11] = 'The stem cells contain only the patient&#039;s DNA';
cap[12] = '...so they are not rejected';

// ------------- end of captions -----------------------//


//--------------------------------------------------------
//  (4) SET THE AUTOSHOW DELAY TIME    
//  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;


//--------------------------------------------------------
//  (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 = 4;

//--------------------------------------------------------
//  (7) 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;

//--------------------------------------------------------
// END OF CONFIGURATION AREA
//--------------------------------------------------------

