// <SCRIPT>
<!-- //

////////////////////////////////////////////////////////
// SlideShow                                          //
//                                                    //
// -Rotate images                                     //
////////////////////////////////////////////////////////

	var stopShow = 0;
	var SlideShowSpeed = 5000;
	var CrossFadeDuration = 3;
	var tss;
	var iss;
	var jss = 1;
	var pss;
	var preLoad = new Array();

	function runSlideShow()
	{
		if (stopShow==0)
		{
			if (document.all)
			{
				document.images.PictureBox.style.filter="blendTrans(duration=2)";
				document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
				document.images.PictureBox.filters.blendTrans.Apply();
			}

			document.images.PictureBox.src = preLoad[jss].src;
			document.images.PictureBox.title = Caption[jss];

			if (document.all) 
				document.images.PictureBox.filters.blendTrans.Play();

			jss = jss + 1;

			if (jss > (pss)) 
				jss=1;
		}
	}

	function SlideShow()
	{
		pss = Picture.length-1;
		for (iss = 1; iss < pss+1; iss++)
		{
			preLoad[iss] = new Image();
			preLoad[iss].src = Picture[iss];
		}

		window.setInterval('runSlideShow()', SlideShowSpeed);
	}


////////////////////////////////////////////////////////
// Onload event attach - attaches SlideShow()      //
////////////////////////////////////////////////////////

	if ( typeof window.addEventListener != "undefined" )
	{
		window.addEventListener( "load", SlideShow, false );
	}
	else
	{
		if ( typeof window.attachEvent != "undefined" )
		{
			window.attachEvent( "onload", SlideShow );
		}
		else
		{
			SlideShow_addLoadFunction()
		}
	}

	function SlideShow_addLoadFunction()
	{
		var oldonload = window.onload;
		if (typeof window.onload != 'function') 
		{
			window.onload = SlideShow;		
		} 
		else 
		{
			window.onload = function() {
			oldonload();
			SlideShow();
			}
  		}
	}
//--></script>