rem: client.output = doc.getElementById("output"); if (client.output) { dd ("Got output element."); /* continue processing now: */ initStatic(); } else dd ("ARG!  Couldn't get output element, try again later.");  
add: client.output = frames[0].document.getElementById("output"); 
context: function setClientOutput(doc) {    client.output = doc.getElementById("output");    if (client.output)    {        dd ("Got output element.");        /* continue processing now: */        initStatic();    }    else        dd ("ARG!  Couldn't get output element, try again later.");    }
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/d48f16433de56d67c17f622c4f28d42121e461fc/static.js/buggy/xul/content/static.js