var imageon = 1;
	function StartSlideshow()
	{
		setTimeout("SlideshowGo()",3000);	
	}
	function SlideshowGo()
	{
		Effect.Fade('slide'+imageon,{duration:0.5});
		imageon++;
		if(imageon>5)
		{
			imageon = 1;
		}
		Effect.Appear('slide'+imageon,{delay:0.5});
		setTimeout("SlideshowGo()",3000);	
	}
	function sizeStyle()
	{
		// set the background size
		var x = screen.width;
		var y = screen.height;
		var bgImg = document.getElementById("bgImg");
		if (y/x == 0.75 || x/y == 1.25)	// is it a 4:3 ratio?
			bgImg.src = "bg1.jpg";
		else
			bgImg.src = "bg1b.jpg";
		x = document.body.parentNode.clientWidth;
		y = document.body.parentNode.clientHeight;
		var bg = document.getElementById("backgroundLayer");
		bg.style.width = x+"px";
		bg.style.height = y+"px";

	}
