public/javascripts/yui/carousel/carousel-debug.js
function (obj) {
            var attr, carousel = this,
                styles = getCarouselItemPosition.call(carousel, obj.pos);

            return createElement(carousel.get("carouselItemEl"), {
                    className : obj.className,
                    styles    : obj.styles,
                    content   : obj.content,
                    id        : obj.id
            });
        }
function (obj) {
            var attr, carousel = this,
                styles = getCarouselItemPosition.call(carousel, obj.pos);

            return createElement(carousel.get("carouselItemEl"), {
                    className : obj.className,
                    styles    : obj.styles,
                    content   : obj.content,
                    id        : obj.id
            });
        }
function ( obj ) { var attr , carousel = this , styles = getCarouselItemPosition . call ( carousel , obj . pos ) ; return createElement ( carousel . get ( "carouselItemEl" ) , { className : obj . className , styles : obj . styles , content : obj . content , id : obj . id } ) ; }
Create the Carousel item.

@method createCarouselItem
@param obj {Object} The attributes of the element to be created
@protected
Create the Carousel item .