var nna=1;
var keya=0;
function change_imga()
{
	if(keya==0)
	{
		keya=1;
	}
	else if(document.all)
	{
		document.getElementById("pica").filters[0].Apply();
		document.getElementById("pica").filters[0].Play(duration=2);
	}

	eval('document.getElementById("pica").src=imga'+nna+'');
	eval('document.getElementById("urla").href=urla'+nna+'');
	for (var i=1;i<=countsa;i++)
	{
		document.getElementById("xxjdja"+i).className='fxx';
	}
	document.getElementById("xxjdja"+nna).className='gxx';
	nna++;if(nna>countsa)
	{
		nna=1;
	}

	tta=setTimeout('change_imga()',4000);
}

function changeimga(n)
{
	nna=n;window.clearInterval(tta);change_imga();
}

document.write('<span style="width:'+widthsa+'px;height:'+heightsa+'px;overflow:hidden;text-overflow:clip;">');
document.write('<span><a id="urla"><img id="pica" style="border:0;filter:progid:dximagetransform.microsoft.wipe(gradientsize=1.0,wipestyle=4, motion=forward)" width='+widthsa+' height='+heightsa+' /></a></span>');
document.write('<span style="filter:alpha(style=1,opacity=10,finishOpacity=80);width:100%-2px;text-align:right;top:-12px;position:relative;margin:1px;height:12px;padding:0px;margin:0px;border:0px;">');
for(var i=1;i<countsa+1;i++)
{
	document.write('<a href="javascript:changeimga('+i+');" id="xxjdja'+i+'" class="fxx" target="_self"></a>');
}

document.write('</span></span>');
change_imga();

