
function ChangeSpotlight(ordinal)
{
	var table1 = document.getElementById(grid1);
	var table2 = document.getElementById(grid2);

	var next = current + ordinal;
	
	if(next > count - 1)
	{
		next = 0;
	}
	
	if(next < 0)
	{
		next = count - 1;
	}
	
	current = next;
	
	for(var i = 0; i < count; i++)
	{
		var Row1 = table1.tBodies[0].rows[i];
		var Row2 = table2.tBodies[0].rows[i];
		if(i != next)
		{
			Row1.style.display = 'none';
			Row2.style.display = 'none';
		}
		else
		{
			Row1.style.display = '';
			Row2.style.display = '';
		}
	}
	timer = 0;
}


function UpdateTimer()
{
	if(timer == 3)
	{
		ChangeSpotlight(1);
	}
	else
	{
		timer += 1;
	}
	
	setTimeout("UpdateTimer()", 4000);
}