function  putJson (data){
	$(".vote"+data.id).replaceWith(data.html);
}

function sendVote(e_id,r_type,html,golos){
	if(checkLogin()) 
		$.getJSON("/ajax/rec.php", { e_id: e_id, r_type: r_type, html:html, golos: golos }, putJson);
}
