I have a SharePoint 2010 web part in minimize mode, what I want is when I click on restore in the menu of the minimize menu options , I should be able to capture that event.

How can I get an event when this restore option is selected?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I found a solution for what I was looking for, while doing it I found few things about SharePoint, I am not sure if they apply everywhere but I found them interesting enough to share,
pure JavaScript rather than using Jquery [I am still confused
why this happens].
Well solution turned up to be pretty simple for the question, I used a mouseup instead of click and i could capture it,
Thanks ,
Rahul