function hide_vote(vote_id)
{

	$("#vote_panel_container_"+vote_id).remove();
}

function vote(content_type,content_id,oper,score)
{
//alert("ratings/vote/"+content_type+"/"+content_id+"/"+oper+"/"+score);
    $.getJSON("/ratings/vote/"+content_type+"/"+content_id+"/"+oper+"/"+score, {}, function(){hide_vote(content_type+"_"+content_id);});
}

