<% if @obj_type == 'Memo'%>
    $('#praise_tread_<%= @obj.id %>').html('<%= j(
        render :partial => "/memos/praise_tread",:locals => {:obj => @obj,:user_id => User.current.id,:horizontal => @horizontal}
    )%>');
<% else %>
    $('#praise_tread_<%= @obj.id %>').html('<%= j(
    render :partial => "/praise_tread/praise_tread",:locals => {:obj => @obj,:user_id => User.current.id,:horizontal => @horizontal}
    )%>');
<% end %>
