function vote(id,act) {
    var jx = new Ajax.Request(
            url,
            {
                method: 'get',
                parameters: 'id='+id+'&act='+act,
                onComplete: function(req) {
                    eval(req.responseText);
                }
            });
}
