Hey, there are two options (that I know of), you could use if-clauses and use the opposite of "hide" - being "show".
But alot easier is the jQuery.toggle(showhide) (http://api.jquery.com/toggle/) method.
From the jQuery api:
With no parameters, the .toggle() method simply toggles the visibility of elements:
The matched elements will be revealed or hidden immediately, with no animation, by changing the CSS display property. If the element is initially displayed, it will be hidden; if hidden, it will be shown. The display property is saved and restored as needed. If an element has a display value of inline, then is hidden and shown, it will once again be displayed inline.
Hope that helps