code: function (index) {
              var carousel = this,
                  item,
                  num      = carousel.get("numItems");
  
              if (index < 0 || index >= num) {
                  YAHOO.log("Index out of bounds", "error", WidgetName);
                  return false;
              }
  
              item = carousel._itemsTable.items.splice(index, 1);
              if (item && item.length == 1) {
                  carousel._itemsTable.numItems--;
                  carousel.set("numItems", num - 1);
  
                  carousel.fireEvent(itemRemovedEvent,
                          { item: item[0], pos: index, ev: itemRemovedEvent });
                  return true;
              }
  
              return false;
          }
docs: Remove an item at index from the Carousel.
  
  @method removeItem
  @public
  @param index {Number} The position to where in the list (starts from
  zero).
  @return {Boolean} Return true on success, false otherwise