The following Program is the easiest way to hide the div control on Mouse click event. The simple java script function is used to check and validate the click event and Enabling and disabling the div.The main theme of the program is to hide the div on mouse click event on any part of the of page other than the parent div.
Lets try it, if any problem post your comments