How to capture Analytics when Minimized or Maximized applicaton

Sep 24, 2011 at 1:23 PM

I need to capture Minimized and Maximized event for Analytic purpose.

It may possible that user has minimized our SL applicaiton and or may be he is using another tab of IE then at that time our application is not used.

so..I need to keep track of that time...when application is not in use..

How i can do that..