if (document.images) {

SLIDES2.image = document.images.SLIDESIMG2;

// Create a function to ramp up the image opacity in Mozilla
var fadein_opacity2 = 0;
var fadein_img2 = SLIDES2.image;
function fadein2(opacity) {
  if (typeof opacity2 != 'undefined') fadein_opacity2 = opacity2;
  if (fadein_opacity2 < 1 && fadein_img2 && fadein_img2.style &&
      typeof fadein_img2.style.MozOpacity != 'undefined') {

    fadein_opacity2 += .01;
    fadein_img2.style.MozOpacity = fadein_opacity2;
    setTimeout("fadein()",0);
  }
}

// Tell the slideshow to call our function whenever the slide is changed
SLIDES2.post_update_hook = function() { fadein2(05); }

}
SLIDES2.play();

