var carousel;
var pageLoad =  (function () {
			
	YAHOO.util.Event.onDOMReady(function (ev) {
		var carousel    = new YAHOO.widget.Carousel("container", {
		numItems:     5,
		numVisible:   1,
		isCircular:         true,
		autoPlayInterval:   10000,
		animation: { speed: 0.5 }
			});
		carousel.render(); // get ready for rendering the widget
		carousel.show();   // display the widget
		carousel.startAutoPlay();
	});
})();
