function dfnPresentationEntitySlideShow(ImageContainer,ShowSpeed,FadeDuration,count)
{
    this.IDPREFIX = ImageContainer;
	this.ItemPrewCont = dfnGetObj(ImageContainer + "dfnSlideShow");
	this.ItemsHolder = dfnGetObj(ImageContainer + "dfnSlideShow_Items");
	this.ShowSpeed = ShowSpeed;
	this.FadeDuration = FadeDuration;
	this.SwitchItems = SItems;
	this.j = 0;
	this.timeout = '';
	this.ItemsCount = count - 1;

	var sls = dfnGetObj(this.IDPREFIX + "dfnSlideShow_Item_" + this.j);
	if(sls)
	    this.ItemPrewCont.innerHTML = sls.innerHTML;
	this.j = 1;
}

function SItems()
{
	//if (document.all && !__isOpera()){
    //	this.ItemPrewCont.style.filter = "blendTrans(duration=2)"
	//	this.ItemPrewCont.style.filter = "blendTrans(duration=" + this.FadeDuration + ")";
	//	this.ItemPrewCont.filters.blendTrans.Apply();
    //}
    var sls = dfnGetObj(this.IDPREFIX + "dfnSlideShow_Item_" + this.j);
    if (sls)
        this.ItemPrewCont.innerHTML = sls.innerHTML;
	
    //if (document.all && !__isOpera()){
    //    this.ItemPrewCont.filters.blendTrans.Play()
    //}
    this.j = this.j + 1
    if (this.j > this.ItemsCount)
    {
     this.j=0;
    }
}