var Spotlight = new Object();
Spotlight.images = new Array();
Spotlight.currentIndex = 1;
Spotlight.Cycle = function(){
	document.getElementById('spotlightImage').src = Spotlight.images[Spotlight.currentIndex];
	var cTween = new OpacityTween(document.getElementById('spotlightImage'), Tween.regularEaseOut, 0, 100, 1);
	cTween.start();
	
	if(Spotlight.currentIndex+1 < Spotlight.images.length) Spotlight.currentIndex++;
	else Spotlight.currentIndex = 0;
}
Spotlight.Init = function(){
	for(var i=0; i<arguments.length; i++)
 	{
    		Spotlight.images.push(arguments[i]);
 	}	
	setInterval('Spotlight.Cycle()', 4000);
}