function f3_display(titre, pochette)
{
    // Titre
    var t = $('titrage-titre');
    while (t.hasChildNodes())
    {
        t.removeChild(t.firstChild);
    }
    var m = document.createElement('marquee');
    m.behavior = 'scroll';
    m.scrollamount = 1;
    m.scrolldelay = 1;
    m.onmouseover = function() { this.stop(); };
    m.onmouseout = function() { this.start(); };
    m.appendChild(document.createTextNode(titre));
    t.title = titre;
    t.appendChild(m);
    
    // Pochette
    t = $('img-pochette');
    t.src = pochette;
    t.alt = titre;
}

window.addEvent('domready', function()
{
    // XHR conducteur
    var xhr = new Ajax(titrage_url,
        {
            encoding: 'iso-8859-1',
            method: 'get',
            evalScripts: true,
            headers: {'If-Modified-Since': 'Tue, 01 Jan 1970 15:16:24 GMT'}
        });
    xhr.request();
    xhr.request.periodical(30000, xhr);
});

