multiple toggle divs

i have a list of items i need to display with a corresponding
paragraph for each item that i want to hid in a div in a view.

<% @items.each_with_index do | item, n | %>
   <%= link_to_function "highlights",
"Element.toggle('paragraph#{n}', 'true')" %>
   <div id="paragraph#{n}" style= "display:none">
    some paragaraph.
<% end %>

this is not working because i am not seeing how to get n (index value)
into the div.
also there might be an easier way to do this.

i have to have multiple div in my css for this to work

just replace

   <div id="paragraph#{n}" style= "display:none">


<div id="paragraph<%= n %>" style= "display:none">