/********************\
 }	spotlight.js	{
\********************/

function startSpotlight(interval) {
	var mSecs=interval * 1000;	//SECONDS MUST CONVERT TO MILLISECONDS
	var spot=document.getElementById("spotlight")
	if (spot!=null) {
		if (maxTab>0) { setInterval("updateSpotlight()",mSecs); }
		spot.innerHTML=tab[0];
	}
}

function updateSpotlight() {
	var nextTab=curTab+1;
	if (nextTab>maxTab) { nextTab=0; }
	var spotDiv=document.getElementById("spotlight");
	if (spotDiv!=null) {
		spotDiv.innerHTML=tab[nextTab];
		curTab=nextTab;
	}
}