var speed = 15000;
var fadeDuration = 1.0;

var objImg2 ;
var handler2;
var isIE = false;
if (document.getElementById&&document.all&&!window.opera)
{
	isIE = true;
}

function doSlide2()
{
    //index2 += Math.floor(Math.random()*photos2.length);
index2++;
    if (index2 >= photos2.length)
   {
        index2 = 0;
   }

    if (!objImg2)
    {
        return;
    }
    objImg2.style.filter="blendTrans(duration="+fadeDuration+")";
	if (isIE)
    {
		objImg2.filters.blendTrans.Apply();
    }
    objImg2.src = photos2[index2];
	if (isIE)
    {
		objImg2.filters.blendTrans.Play();
    }


    handler2 = window.setTimeout('doSlide2()', speed);
}

function SlideShow2(img)
{
	objImg2 = img;

	if (count2>0)
	{
		if (objImg2)
		{
			objImg2.src = photos2[index2];
		}
	}
	doSlide2();
}

var photos2 = new Array();
var photoCount2 = 0;
