document.observe('dom:loaded', function() {
    // it's a really simple slideshow.
    var images = $$('#keyVisualGraphic #animated img');
    setInterval(function() {
        var current = images.shift();
        images.push(current);
        var next = images.first();
        current.fade({duration: 0.7, queue: 'start'});
        next.appear({duration: 0.3, queue: 'end'});
    }, 5000);
});
