var body = document.getElementsByTagName("body")[0]; 
var body = document.body; if (!body) {  body = document.getElementsByTagNameNS("http: "body")[0] } 
SimpleTest.showReport = function() {    var togglePassed = A({'href': '#'}, "Toggle passed tests");    var toggleFailed = A({'href': '#'}, "Toggle failed tests");    togglePassed.onclick = partial(SimpleTest.toggleByClass, 'test_ok');    toggleFailed.onclick = partial(SimpleTest.toggleByClass, 'test_not_ok');    var body = document.getElementsByTagName("body")[0];    var firstChild = body.childNodes[0];    var addNode;    if (firstChild) {        addNode = function (el) {            body.insertBefore(el, firstChild);        };    } else {        addNode = function (el) {            body.appendChild(el)        };    }    addNode(togglePassed);    addNode(SPAN(null, " "));    addNode(toggleFailed);    addNode(SimpleTest.report());};
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/154f7cbe38e7869a5c08dc004ee161797531e62f/SimpleTest.js/buggy/testing/mochitest/tests/SimpleTest/SimpleTest.js