	function rotateSeminar(delta, stopRotator)
	{
		if(TITLE0.length == 0)
		{
			stopRotator = true;
			return;
		}
	
	
		if(stopRotator == null)
			stopRotator = false;

		rIndex= (rIndex+ delta + corps.length) % corps.length;

		document.getElementById('titre').innerHTML = TITLE0[rIndex];
		document.getElementById('la_DATE').innerHTML = FECHA[rIndex];
		document.getElementById('la_photo').innerHTML = lafoto[rIndex];
		document.getElementById('le_corps').innerHTML = corps[rIndex];

		if(TITLE0.length <= 1)
		{ return; }



		if(stopRotator)
		{
			if(isPlaying)
			{
				toggleRotator();
			}
		}
		else
		{
			timerID = setTimeout('rotateSeminar(1);',4000);
			isPlaying = true;
		}
	}

	function toggleRotator()
	{
		if(TITLE0.length == 0)
		{
			stopRotator = true;
			return;
		}
	
		if(isPlaying)
		{
			clearTimeout(timerID);
			isPlaying = false;
			document['PlayPause'].src = 'switcher/play1.gif';
		}
		else
		{
			timerID = setTimeout('rotateSeminar(1);',1000);
			isPlaying = true;
			document['PlayPause'].src = 'switcher/pause1.gif';
		}
	}

	if(TITLE0.length > 0)
	{
		timerID = setTimeout('rotateSeminar(1);',4000);
	}


function pauseRotator()
	{
		if(TITLE0.length == 0)
		{
			stopRotator = true;
			return;
		}
	
			clearTimeout(timerID);
			isPlaying = false;
			document['PlayPause'].src = 'switcher/play1.gif';
	}

function playRotator()
	{
		if(TITLE0.length == 0)
		{
			stopRotator = true;
			return;
		}
	
			timerID = setTimeout('rotateSeminar(1);',1000);
			isPlaying = true;
			document['PlayPause'].src = 'switcher/pause1.gif';
	}

