Checkbox to toggle textarea

Checkbox to toggle textarea

I have a list of checkboxes that I want to open their corresponding textarea. Is there a way of programatically associating one with the other so I only need one procedure to fire?

Regards
Pete