var BannerSpotlight = new Class({

    Implements: [Options],
    element: null,
    bannerArray : null,

    options: {
        banners: null
    },

    initialize: function (element, options)
    {
        this.setOptions(options);
        this.element = $(element);
        this.bannerArray = this.options.banners;
        this.init();
    },

    init: function ()
    {
        var self = this;

        window.addEvent('domready', function()
        {
            var myShow = new Slideshow( self.element, self.bannerArray, {
                captions: true,
                delay:5000,
                duration:1000,
                linked: true,
                controller: false,
                width: 978,
                height: 319,
                hu: '',
                thumbnails: false
            });
        });
    }
});



