var NowImg4 = 1;
var bStart4 = 0;
var bStop4 =0;

function fnToggle4() 
{
	var next4 = NowImg4 + 1;

	if(next4 == MaxImg4+1) 
	{
		NowImg4 = MaxImg4;
		next4 = 1;
	}
	if(bStop4!=1)
	{

		if(bStart4 == 0)
		{
			bStart4 = 1;		
			setTimeout('fnToggle4()', 4000);
			return;
		}
		else
		{
			oTransContainer.filters[0].Apply();

			document.images['dDIV'+next4].style.display = "";
			document.images['dDIV'+NowImg4].style.display = "none"; 

			oTransContainer.filters[0].Play(duration=2);

			if(NowImg4 == MaxImg4) 
				NowImg4 = 1;
			else
				NowImg4++;
		}
		setTimeout('fnToggle4()', 4000);
	}
}

function toggleTo4(img4)
{
	bStop4=1;
	if(img4==1)
	{
			document.images['dDIV1'].style.display = "";
			document.images['dDIV2'].style.display = "none"; 
			document.images['dDIV3'].style.display = "none"; 
	}
	else if(img4==2)
	{
			document.images['dDIV2'].style.display = "";
			document.images['dDIV1'].style.display = "none"; 
			document.images['dDIV3'].style.display = "none"; 
	}
	else if(img4==3)
	{
			document.images['dDIV3'].style.display = "";
			document.images['dDIV1'].style.display = "none"; 
			document.images['dDIV2'].style.display = "none"; 
	}
}
document.write("<DIV id=oTransContainer style=\"FILTER: progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=0, motion='forward'); ");
document.write("WIDTH: 244px; HEIGHT: 180px;text-align:center;BORDER:#C08141 1px solid;background-color:#FFFFFF;padding:3px;margin:2px 0px;\">");
document.write("<IMG id=dDIV1 style=\"DISPLAY: block;\" width=244 height=180 src=\"UpLoad/20087221638832.png\" border=0>");
document.write("<IMG id=dDIV2 style=\"DISPLAY: none;\"  width=244 height=180 src=\"UpLoad/200872216333989.png\" border=0>");
document.write("<IMG id=dDIV3 style=\"DISPLAY: none;\"  width=244 height=180 src=\"UpLoad/200872216432977.png\" border=0></DIV>");
var MaxImg4 = 3; fnToggle4();
