var carousel = null;
YAHOO.util.Event.onContentReady("otrec_spotlight", function (ev) {
	carousel = new YAHOO.widget.Carousel("otrec_spotlight", {
		'isCircular': true, // for a circular Carousel
		'isVertical': true,
		'autoPlayInterval': 5000,
		'animation' : { 'speed' : 2 },
 		'revealAmount': 3
	});
	carousel.render();
	document.getElementById('otrec_spotlight').firstChild.style.display = "none";
	document.getElementById('otrec_spotlight').style.width = "550px";
	document.getElementById('otrec_spotlight').style.height = "450px";
	for( var i=1; i< 25; i++) {
		carousel.selectNextItem();
	}
	carousel.startAutoPlay();
	carousel.show(); // display the widget
});
