_docElement is always false
I looked for documentation on _docElement, but there is none.
I guess it was meant doc.documentElement to get to the HTML root element, but otherwise going from body directly to the first DIV seems reasonable enough.
on FF 3.6 with no flash, onLoad event is not triggered
code to reproduce the error:
adding s._a.load(); on line 2937, triggers the onload event.