Custom Ajax.Request Function
function(url, complete, form, params) { params = params ? $H(params).toQueryString() : ''; if (!complete) complete = function(r){}; if (form) params = Form.serialize(form) + '&' + params; new Ajax.Request(url, { asynchronous:true, evalScripts:true, onComplete: function(r) { complete(r.responseText); }, parameters:params }); }