


function afficheAllScoreForLookeuses(ezurl)
{
    
    var url = ezurl + '/moodajax/AllScroreForLookeuses?preventcache=' + Math.random();
    new Ajax.Request(url, {
        method: 'get',
        onSuccess: function(transport) {
            var text = transport.responseText;
            /*** @todo do not let the ajax call operate on page items, we should do it! ***/
            eval(text);
            },

        onFailure: function (xhr) {
            alert("un probleme est survenue pour l\'affichage des scores"); /** quoi faire ? */ }
            });
}

function afficheScoreForConseilBeaute(ezurl,object_id)
{
    
    var url = ezurl + '/moodajax/ScroreForConseilBeaite?object_id='+ object_id +'&preventcache=' + Math.random();
    new Ajax.Request(url, {
        method: 'get',
        onSuccess: function(transport) {
            var text = transport.responseText;
            /*** @todo do not let the ajax call operate on page items, we should do it! ***/
            eval(text);
            },

        onFailure: function (xhr) {
            alert("un probleme est survenue pour l\'affichage des scores"); /** quoi faire ? */ }
            });
}