$(document.observe('dom:loaded', function(){
    if ($('banner'))
    {
        var images = $('banner').select('li');
               
        if (images)
        { 
            images.each(function(elem){elem.hide();});
            images[Math.floor(Math.random()*images.length)].show();
        }

       $('banner').select('ul').first().setStyle('display: block');
    }
}));


