var SlideShowSpeed = 2.000;		// Number of seconds between the start of each cross-fade.

var CrossFadeDuration = 1.0;	// Number of seconds the cross-fade lasts.

var Picture = new Array(); 



Picture[1]  = 'slideshow/1.gif';

Picture[2]  = 'slideshow/2.gif';

Picture[3]  = 'slideshow/3.gif';

Picture[4]  = 'slideshow/4.gif';

Picture[5]  = 'slideshow/5.gif';

Picture[6]  = 'slideshow/6.gif';

Picture[7]  = 'slideshow/7.gif';

Picture[8]  = 'slideshow/8.gif';

Picture[9]  = 'slideshow/9.gif';

Picture[10]  = 'slideshow/10.gif';

Picture[11]  = 'slideshow/11.gif';





var tss;

var iss;

var jss = 1;

var pss = Picture.length-1;



var preLoad = new Array();

for (iss = 1; iss < pss+1; iss++)

{

	preLoad[iss] = new Image();

	preLoad[iss].src = Picture[iss];

}



function runSlideShow()

{

	if (document.all)

	{

		document.images.PictureBox.style.filter="blendTrans(duration=" + CrossFadeDuration + ")";

		document.images.PictureBox.filters.blendTrans.Apply();

	}

	document.images.PictureBox.src = preLoad[jss].src;

	if (document.all)

	{

		document.images.PictureBox.filters.blendTrans.Play();

	}

	jss = jss + 1;



	if (jss > pss)

	{

		jss = 1;

	}



	tss = setTimeout('runSlideShow()', SlideShowSpeed * 1000.0);

}