//Setup a namespace to contain your own code within the YAHOO namespace
YAHOO.namespace("ErisDS");

//Create our carousel object literal with an init method
YAHOO.ErisDS.Carousel = {
  carousel: '',
  init: function(carouselName, numberShown, verticalCarousel)
  {
    this.carousel = new YAHOO.widget.Carousel(carouselName,
    {
      isCircular: true,
	  isVertical: verticalCarousel,
      animation: {
        speed: 0.5
      },
      numVisible: numberShown
      });
   
    this.carousel.render();
    this.carousel.show();   // display the widget
    this.carousel.startAutoPlay();
  }
};

/*
//onDomReady check to see if our carousel exists, and call the setup function
YAHOO.util.Event.onDOMReady(
  function (ev) {
    
);
*/
  
