title: Detecting user inactivity over a browser - purely through javascript
body: <p>In building a monitor, which would monitor any activity on the browser by the user, like click of a button or typing on a textbox (not mouse hovering on document). So if there is no activity from the user for a long time, the session will time out.</p>
  <p>We need to do it without jQuery or anything such. I may use ajax. Java servlet in other end is preferable.</p>