// JavaScript Document

<!--



// Finish defining and activating the slideshow



// Set up the select list with the slide titles

function config_ss_select() {

  var selectlist = document.ss_form.ss_select;

  selectlist.options.length = 0;

  for (var i = 0; i < ss.slides.length; i++) {

    selectlist.options[i] = new Option();

    selectlist.options[i].text = (i + 1) + '. ' + ss.slides[i].title;

  }

  selectlist.selectedIndex = ss.current;

}



// If you want some code to be called before or

// after the slide is updated, define the functions here



ss.pre_update_hook = function() {

  return;

}



ss.post_update_hook = function() {

  // For the select list with the slide titles,

  // set the selected item to the current slide

  //document.ss_form.ss_select.selectedIndex = this.current;

  return;

}



if (document.images) {



  // Tell the slideshow which image object to use

  ss.image = document.images.ss_img;



  // Tell the slideshow the ID of the element

  // that will contain the text for the slide

  ss.textid = "ss_text";



  // Randomize the slideshow?

  // ss.shuffle();



  // Set up the select list with the slide titles

 // config_ss_select();



  // Update the image and the text for the slideshow

  ss.update();



  // Auto-play the slideshow

  ss.play();

}



//-->