function ajaxSendVote(divId, voteName, questionId, t) {
//	var div = $(divId).innerHTML;
	elementsVote = document.getElementsByName(voteName);
	checked_id = 0;
	for(var i=0;i<elementsVote.length;i++)
		if (elementsVote[i].checked) { checked_id = elementsVote[i].value; break; }
	if (checked_id == 0) {
		alert('Прежде чем голосовать, выберите вариант ответа.');
		return false;
	}
	var params = {question: questionId, vote: checked_id, tmp: t};
	//$(form_id).update('<img src="/mod/js/question/ajax-loader.gif" /><span>Ждите идет отправка формы...</span>');
	new Ajax.Request( '/questionAjaxHandler.php',
		{
			asynchronous: false,
			method: 'post',
			parameters: {args: Object.toJSON(params)},
			onException: (function(obj, exc) {
				window.alert('SendVote error: ' + exc.number + "  "+exc.description);
			}).bind(this),
			onComplete: (function(answer) {
				if (200 == answer.status) {
					/*if (Prototype.Browser.IE) {
						alert(answer.responseText);	
						window.location.reload();
					} else {*/

					alert('Ваш голос учтен');
					$(divId).update(answer.responseText);
				}
			}).bind(this)
		}
	);
}