public/javascripts/yui/carousel/carousel-debug.js
function () {
            var carousel = this,
                newpos   = 0,
                selected = carousel.get("selectedItem");

            if (selected == this._firstItem) {
                newpos = selected - carousel.get("numVisible");
                carousel._selectedItem = carousel._getSelectedItem(selected-1);
                carousel.scrollTo(newpos);
            } else {
                newpos = carousel.get("selectedItem") -
                         carousel.get("scrollIncrement");
                carousel.set("selectedItem",carousel._getSelectedItem(newpos));
            }
        }
function () {
            var carousel = this,
                newpos   = 0,
                selected = carousel.get("selectedItem");

            if (selected == this._firstItem) {
                newpos = selected - carousel.get("numVisible");
                carousel._selectedItem = carousel._getSelectedItem(selected-1);
                carousel.scrollTo(newpos);
            } else {
                newpos = carousel.get("selectedItem") -
                         carousel.get("scrollIncrement");
                carousel.set("selectedItem",carousel._getSelectedItem(newpos));
            }
        }
function ( ) { var carousel = this , newpos = 0 , selected = carousel . get ( "selectedItem" ) ; if ( selected == this . _firstItem ) { newpos = selected - carousel . get ( "numVisible" ) ; carousel . _selectedItem = carousel . _getSelectedItem ( selected - 1 ) ; carousel . scrollTo ( newpos ) ; } else { newpos = carousel . get ( "selectedItem" ) - carousel . get ( "scrollIncrement" ) ; carousel . set ( "selectedItem" , carousel . _getSelectedItem ( newpos ) ) ; } }
Select the previous item in the Carousel.

@method selectPreviousItem
@public
Select the previous item in the Carousel .