$(function() {
    $("div.tabs").tabs(".images > div", {
        effect: 'fade',
        // start from the beginning after the last tab
        rotate: true
    // use the slideshow plugin. It accepts its own configuration
    }).slideshow({
        autoplay: true
    });
});
