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()', 400);
			return;
		}
		else
		{
			oTransContainer.filters[0].Apply();

			document.images['oDIV'+next].style.display = "";
			document.images['oDIV'+NowImg].style.display = "none"; 

			oTransContainer.filters[0].Play(duration=2);

			if(NowImg == MaxImg) 
				NowImg = 1;
			else
				NowImg++;
		}
		setTimeout('fnToggle()', 4000);
	}
}

document.writeln("<div style=\"position:absolute; width:609px; height:228px; z-index:999\">");
document.writeln("     <script type=\"text\/javascript\">");
document.writeln("AC_FL_RunContent( \'codebase\',\'http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=9,0,28,0\',\'width\',\'609\',\'height\',\'228\',\'src\',\'27\',\'quality\',\'high\',\'wmode\',\'transparent\',\'pluginspage\',\'http:\/\/www.adobe.com\/shockwave\/download\/download.cgi?P1_Prod_Version=ShockwaveFlash\',\'movie\',\'27\' ); \/\/end AC code");
document.writeln("<\/script><noscript><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=9,0,28,0\" width=\"609\" height=\"228\">");
document.writeln("       <param name=\"movie\" value=\"27.swf\">");
document.writeln("       <param name=\"quality\" value=\"high\">");
document.writeln("       <param name=\"wmode\" value=\"transparent\" \/> ");
document.writeln("       <embed src=\"27.swf\" quality=\"high\" pluginspage=\"http:\/\/www.adobe.com\/shockwave\/download\/download.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application\/x-shockwave-flash\" width=\"609\" height=\"228\"><\/embed>");
document.writeln("     <\/object>");
document.writeln("   <\/noscript><\/div>");

document.writeln("<div style=\"position:absolute; width:609px; height:228px; z-index:888\">");
document.writeln("     <script type=\"text\/javascript\">");
document.writeln("AC_FL_RunContent( \'codebase\',\'http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=9,0,28,0\',\'width\',\'609\',\'height\',\'228\',\'src\',\'quanquan\',\'quality\',\'high\',\'wmode\',\'transparent\',\'pluginspage\',\'http:\/\/www.adobe.com\/shockwave\/download\/download.cgi?P1_Prod_Version=ShockwaveFlash\',\'movie\',\'quanquan\' ); \/\/end AC code");
document.writeln("<\/script><noscript><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=9,0,28,0\" width=\"609\" height=\"228\">");
document.writeln("       <param name=\"movie\" value=\"quanquan.swf\">");
document.writeln("       <param name=\"quality\" value=\"high\">");
document.writeln("       <param name=\"wmode\" value=\"transparent\" \/> ");
document.writeln("       <embed src=\"quanquan.swf\" quality=\"high\" pluginspage=\"http:\/\/www.adobe.com\/shockwave\/download\/download.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application\/x-shockwave-flash\" width=\"609\" height=\"228\"><\/embed>");
document.writeln("     <\/object>");
document.writeln("   <\/noscript><\/div>");

document.writeln("<DIV id=oTransContainer style=\"FILTER: progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=0, motion=\'forward\'); WIDTH: 610px; HEIGHT: 224px\">");
document.writeln("<img name=\"oDIV1\" id=oDIV1 style=\"DISPLAY: yes;\" src=\"images\/1.jpg\" width=\"609\" height=\"228\" border=\"0\" alt=\"\">");
document.writeln("<img name=\"oDIV2\" id=oDIV2 style=\"DISPLAY: none;\" src=\"images\/2.jpg\" width=\"609\" height=\"228\" border=\"0\" alt=\"\">");
document.writeln("<img name=\"oDIV3\" id=oDIV3 style=\"DISPLAY: none;\" src=\"images\/3.jpg\" width=\"609\" height=\"228\" border=\"0\" alt=\"\">");
document.writeln("<img name=\"oDIV4\" id=oDIV4 style=\"DISPLAY: none;\" src=\"images\/4.jpg\" width=\"609\" height=\"228\" border=\"0\" alt=\"\">");
document.writeln("<\/DIV>");
var MaxImg = 4; fnToggle();