code: function (obj) {
              var carousel   = this,
                  carouselEl = carousel._carouselEl,
                  itemsTable = carousel._itemsTable,
                  len = itemsTable.items.length,
                  sibling = itemsTable.items[obj.last + 1],
                  el,
                  j;
  
              // attempt to find the next closest sibling
              if(!sibling && obj.last < len){
                  j = obj.first;
                  do {
                      sibling = itemsTable.items[j];
                      j++;
                  } while (j<len && !sibling);
              }
  
              for (var i = obj.first; i <= obj.last; i++) {
                  if(JS.isUndefined(itemsTable.loading[i]) && JS.isUndefined(itemsTable.items[i])){
                      el = carousel._createCarouselItem({
                              className : carousel.CLASSES.ITEM_LOADING,
                              content   : carousel.STRINGS.ITEM_LOADING_CONTENT,
                              id        : Dom.generateId(),
                              pos       : i
                      });
                      if (el) {
                          if (sibling) {
                              sibling = Dom.get(sibling.id);
                              if (sibling) {
                                  carouselEl.insertBefore(el, sibling);
                              } else {
                                  YAHOO.log("Unable to find sibling", "error",
                                          WidgetName);
                              }
                          } else {
                              carouselEl.appendChild(el);
                          }
                      }
                      itemsTable.loading[i] = el;
                  }
              }
  
              carousel._syncUiItems();
          }
docs: Synchronize and redraw the UI for lazy loading.
  
  @method _syncUiForLazyLoading
  @protected