		function ShowCarousel(j)
			{
			clearTimeout(window.document.form1.delayid.value);
			if (window.document.getElementById('cid'+j))
				{
				window.document.form1.itemnr.value=j;
				}
			else
				{
				j=1
				window.document.form1.itemnr.value=j;
				}
			for (m=1; m<50; m++)				{
				if (window.document.getElementById('cid'+m))
					{
					if (m==j)
						{
						document.getElementById('cid'+m).className='CARShowContent';
						document.getElementById('td'+m).className='CARFocus';
						}
					else
						{
						document.getElementById('cid'+m).className='CARHideContent';
						document.getElementById('td'+m).className='CARNoFocus';
						}
					}
				}
			ShowNext(j+1);
			}
			
			
function ShowNext(j)
{
delayid = setTimeout("ShowCarousel("+j+")",10000);
window.document.form1.delayid.value=delayid;
if (window.document.form1.play_pause.value==1)
	{
	clearTimeout(window.document.form1.delayid.value);
	}
}



function Pause()
{
clearTimeout(window.document.form1.delayid.value);
window.document.form1.play_pause.value=1;
}

function Start()
{
clearTimeout(window.document.form1.delayid.value);
window.document.form1.play_pause.value=0;
ShowCarousel(eval(window.document.form1.itemnr.value)+1);
}

		
				