function cmd_vote_click ()
{
    var formName='formVote';

    var pars = $("#formVote").serialize();
    var assoc_div_name='voteDiv';
    //gets the return of the form. if has an error then show the form

    //pars = "";
    url='/polls/vote';
    $.post(url,pars,function(data){
        $("#voteDiv").html(data);
    })


    //new Ajax.Updater(assoc_div_name, url,{method: 'post', parameters: pars});

}
