
/*----------------------------------------------------------------------------*
 * Ratings
 *        Per default the star-rating provides the possibility to re-rate an object. This does not
 *        create a new rating, it modifies the users existing rating. The ratings template uses 
 *        AJAX to replace the rating with an active version. This is done using the function
 *        rateAgain. This function has gone through several incarnations ... in it's most recent
 *        it is simply syntatic sugar for a standard AJAX-update - which would probably be
 *        a better name.
 *        The latest version of the function is a modification to work with MooTools 1.2
 *----------------------------------------------------------------------------*/

function rateAgain(link, to_update) {
    new Request.HTML({
        url: link,
        method: 'get',
        update: $(to_update),
        evalScripts: true
    }).send();
}
