function ansver(ansverId, voteId){
if(ansverId!=0){
var req = new Subsys_JsHttpRequest_Js();
	req.onreadystatechange = function(){
		if (req.readyState == 4){
			ajaxError('Спасибо ваш голос учтен.');
			getVote();
		}
	}
	req.open('GET', 'ajax.vote.php?event=ansver&ansverId='+ansverId+'&voteId='+voteId, true);
	req.send({});
}else{
ajaxError('Вы не выбрали ответ.');
}
}
