var NowImg = 1;
var bStart = 0;
var bStop =0;

function fnToggle() 
{
	var next = NowImg + 1;

	if(next == MaxImg+1) 
	{
		NowImg = MaxImg;
		next = 1;
	}
	if(bStop!=1)
	{

		if(bStart == 0)
		{
			bStart = 1;		
			setTimeout('fnToggle()', 3000);
			return;
		}
		else
		{
			oTransContainer.filters[0].Apply();
			
             if (next==2){
			oDIV2.style.display = "";
			oDIV1.style.display = "none"; 
}
          if (next==3){
			oDIV3.style.display = "";
			oDIV2.style.display = "none"; 
}          if (next==4){
			oDIV4.style.display = "";
			oDIV3.style.display = "none"; 
}
          if (next==5){
			oDIV5.style.display = "";
			oDIV4.style.display = "none"; 
}
          if (next==6){
			oDIV6.style.display = "";
			oDIV5.style.display = "none"; 
}
			oTransContainer.filters[0].Play(duration=2);

			if(NowImg == MaxImg) {
			oDIV1.style.display = "";
			oDIV6.style.display = "none"; 
				NowImg = 1;}
			else
				NowImg++;
		}
		setTimeout('fnToggle()', 3000);
	}
}



