function vote(){
						
	var params = $('#pollForm').serialize();				 				            		  					  	 
	
	$("#voteresult" ).ajaxStart(function() {				
			$(this).hide();	
		}
	).ajaxStop(function() {
			$(this).animate({opacity: "show"}, 500);	
		}
	);
	
	jQuery.ajax({
	  	data: params,
		type: "POST",
		url: '/back.php?action=vote',
		timeout: 2000,			
		error: function(xhr, desc, e) {
			alert("Ошибка при добавлении: " + desc);
		},			
		success: function(data) {
				
			$("#voteresult" ).html(data);	 	
			
		}	
	});	
	
	
}s