I remember having used such an event, but I can't remember the name.
The specific task I'm trying to accomplish is to stop my slideshow when the browser window isn't in the foreground. I'm fading the different images with jQuery, which uses quite some CPU power.
Is there an event that tells me, when the user switches to another application / page.