This short story: In case you are trying to access the element that triggered the overlay use this instead:
this.getTrigger().attr('id')
The longer story: in a DOM event handler "this" refers to the element that triggered the event. onBeforeLoad though is NOT a DOM event handler. It is simply a function that jQuery Tools will execute before the overlay is fetched. Javascript allows the developer to specify the meaning of "this" when a function is executed. So the jQuery Tools developers either made it point to something relevant or didn't bother (in which case it would be an alias for the global "window" object). Either way, the documentation (http://flowplayer.org/tools/demos/overlay/external.html) describes how to access both the trigger and the overlay element.
As a rule of thumb, don't use "this" in Javascript unless you know exactly what it means in the current context because it is unlike "this" in any other language.