I used this function on my latest website, found it came in handy and looked real nice; Put this into any html page, the put this code for the bit that's to be toggled;
This is my first javascript snippet on here, there are no "errors" as such, but i'm fairly sure i've done it in the longest way possible !