﻿$(document).ready(init);

function init() {
    // dynamically add a div to hold the slideshow's pager
    $(".slideshow").after('<div class="pager"></div>');

    // now to use the cycle plugin
    $(".slideshow").cycle({
        pause: 1,
        pager: ".pager",
        fx: 'scrollLeft',
        pagerAnchorBuilder: function (idx, slide) {
            return '<a href="#"></a>';
        }
    });
}
