if (document.images) {

  // Tell the slideshow which image object to use
  ss.image = document.images.ss_img;


// Create a function to ramp up the image opacity in Mozilla
var fadein_opacity = 0.04;
var fadein_img = ss.image;
function fadein(opacity) {
  if (typeof opacity != 'undefined') { fadein_opacity = opacity; }
  if (fadein_opacity < 0.99 && fadein_img && fadein_img.style &&
      typeof fadein_img.style.MozOpacity != 'undefined') {

    fadein_opacity += .05;
    fadein_img.style.MozOpacity = fadein_opacity;
    setTimeout("fadein()", 50);
  }
}

// Tell the slideshow to call our function whenever the slide is changed
ss.post_update_hook = function() { fadein(0.04); }

  // 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();
}
