var Browser = navigator.appName
var IE = Browser.indexOf("Microsoft")

if(IE >= 0) {
	SLIDES.play();
	
	document.write('<a href="javascript:SLIDES.hotlink()"><img name="SLIDESIMG" src="' + image1name + '" STYLE="filter:progid:DXImageTransform.Microsoft.Fade()" BORDER=0 alt=""></A>');
	
	if (document.images) {
	
		SLIDES.image = document.images.SLIDESIMG;
		
		// Create a function to ramp up the image opacity in Mozilla
		var fadein_opacity = 0.04;
		var fadein_img = SLIDES.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
	SLIDES.post_update_hook = function() { fadein(0.04); }
	
	} 
}

else {
	var cf = new Crossfader( new Array('cf1','cf2','cf3'), 500, 5000 );
}