function vote_th(id){


$.ajax({
    url: 'q_bravo.php',
    type: 'GET',
    data: "qid=" + id +"&act=vote",
    dataType: 'html',
    timeout: 1000,
    error: function(data){
        //alert(data);
    },
    success: function(str,status){
       //alert(data);
       if(str){ 
           alert(str);
           location.reload();
       }else{
           alert(str);
       }

    }
});


}

