context.window.document
The 'context' object is passed to many methods in Firebug so,
you should have simple access to it - depends where exactly
you are in the code.
There is also a global Firebug.currentContext, but you should
avoid using it.
Honza