$('#back_main').empty();
<% case @item.class.to_s %>
	<% when 'Page' %>
		$('#back_main').append("<%= escape_javascript(render(:partial => 'admin/pages/show')) %>");
	<% when 'Link' %>
		$('#back_main').append("<%= escape_javascript(render(:partial => 'admin/links/show')) %>");
<% end %>