//Adapter for the Ajax updater calls to work with jquery instead of prototype
var Ajax = {

}

Ajax.Updater = function(id, u, options){
    var method = options.method;
    var params = options.parameters;
    if('post' == method){
        $.post(u, params, function(data){
            document.getElementById(id).innerHTML=(data);
//            alert(data);
        });
    }else{
        $.get(u, params, function(data){
            document.getElementById(id).innerHTML=(data);
        }, 'html');
    }
}
