rem: return doc.getElementsByTagName("body")[0]; 
add: var body = doc.getElementsByTagName("body")[0]; if (body) return body;  return doc.firstChild; 
context: this.getBody = function(doc){    if (doc.body)        return doc.body;    return doc.getElementsByTagName("body")[0];};
meta: 7450	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7450/57be5cc0d05af01592ebc9354c9dd14cffcbf7de/lib.js/clean/extension/content/firebug/lib.js