Show a div when clicking on a link inside a table cell
===

Probably very simple thing, but I can't figure it out.
I want to toggle the visibility of a div, when clicking on a link.

So this is my situation

    <table width="100%">
       <tr>
          <td>
             <a onclick='showDiv' />
          </td>
       </tr>
    </table>
    <div name='divToShow' style='display:none;' />

The code I had so far:

    // Then show the panel with substitute information
    var control = $(parent).parent().parent().parent().find('div[name$="divToShow"]');
    control.toggle();


So I'm not sure how to achieve this.
Anyone?

Thanks,
Daniel
                                        