i have a table which is as follows:
left side it has has got menu listed and top is the logo and right is the actual content like listing the data and so on.
now i want to hide the menu when user clicks on and enable when the clicks on the same again.
how to do this in java script?
below is the image for sample :

this helped me to achieve what i wanted.
UPDATE
Online demo here: http://jsfiddle.net/DVxSy/