function dfnSlideShow(ImageContainer,ShowSpeed,FadeDuration)
{
	this.ImageContainer = dfnGetObj(ImageContainer);
	this.Images = new Array();
	this.ShowSpeed = ShowSpeed;
	this.FadeDuration = FadeDuration;
	this.PreLoad = new Array();
	this.PreloadImages = PreloadImages;
	this.SwitchImages = SImages;
	this.j = 0;
	this.timeout = '';
}

function PreloadImages()
{
	for (i = 0; i < this.Images.length; i++)
	{
		this.PreLoad[i] = new Image();
		this.PreLoad[i].src = this.Images[i];
	}
}

function SImages()
{
	if (document.all && !__isOpera()){
    	this.ImageContainer.style.filter = "blendTrans(duration=2)"
		this.ImageContainer.style.filter = "blendTrans(duration=" + this.FadeDuration + ")";
		this.ImageContainer.filters.blendTrans.Apply();
   }
   this.ImageContainer.src = this.PreLoad[this.j].src
   if (document.all && !__isOpera()){
      this.ImageContainer.filters.blendTrans.Play()
   }
   this.j = this.j + 1
   if (this.j > (this.Images.length-1)) this.j=0;
}
