% if flash[:trfn] %>
<%=link_to_function(image_tag("tr8n/close.gif"), "Tr8n.Effects.hide('flash_notice');") %>
<%= image_tag("tr8n/checkmark.png", :style=>"height:20px;margin-right:10px;")%>
<%= flash[:trfn] %>
<%flash[:trfn] = nil%>
<% end %>
<% if flash[:trfe] %>
<%=link_to_function(image_tag("tr8n/close.gif"), "Tr8n.Effects.hide('flash_error');") %>
<%= image_tag("tr8n/error.png", :style=>"height:20px;margin-right:10px;")%>
<%= flash[:trfe] %>
<%flash[:trfe] = nil%>
<% end %>
<% if flash[:trfw] %>
<%=link_to_function(image_tag("tr8n/close.gif"), "Tr8n.Effects.hide('flash_warning');") %>
<%=image_tag("tr8n/warning.png", :style=>"height:25px;margin-right:10px") %>
<%= flash[:trfw] %>
<%flash[:trfw] = nil%>
<% end %>