rem: var div = document.getElementById(divid+".text"); 
add: div = document.getElementById(divid+".text"); 
context: function setDivTextFromForm(divid, value) {    // hide the .label if the div has no value    if (!value || value =="") {        var div = document.getElementById(divid + ".label");        div.setAttribute("hidden","true");        return;    }    // otherwise fill in the .text element    var div = document.getElementById(divid+".text");    if (!div) return;    div.setAttribute("value", value);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f6121848167bd57d154110b7f8357dead6aa8e06/aw-done.js/buggy/mailnews/base/prefs/resources/content/aw-done.js