<!--

if (document.images) {

  SLIDES2.timeout=4000;
  SLIDES2.image = document.images.SLIDESIMG2;
  SLIDES2.textid = "SLIDESTEXT";
  SLIDES2.goto_random_slide();
  SLIDES2.update();
  SLIDES2.play();
  

// Create a function to ramp up the image opacity in Mozilla
var fadein_opacity = 0.01;
var fadein_img = SLIDES2.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 += .01;
    fadein_img.style.MozOpacity = fadein_opacity;
    setTimeout("fadein()", 1);
  }
}

// Tell the slideshow to call our function whenever the slide is changed
SLIDES.post_update_hook = function() { fadein(0.99); 
 this.image.alt = this.slides[this.current].title;
this.image.title = this.slides[this.current].title; 
}

}


//-->