add: if (!formsArray) { prefill.setAttribute("disabled", "true"); return; } 
context: function okToPrefill() {  var prefill = document.getElementById("menu_prefill");  if (!prefill) {    return;  }  if (!window._content || !window._content.document) {    prefill.setAttribute("disabled", "true");    return;  }  var formsArray = window._content.document.forms;  var form;  for (form=0; form<formsArray.length; form++) {    var elementsArray = formsArray[form].elements;    var element;    for (element=0; element<elementsArray.length; element++) {      var type = elementsArray[element].type;      var value = elementsArray[element].value;      if (type=="" || type=="text" || type=="select-one") {        prefill.setAttribute("disabled", "false");        return;      }    }  }  prefill.setAttribute("disabled", "true");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/22ee26e11000eb5ae366359dbf3eba3c64160a2e/utilityOverlay.js/clean/xpfe/communicator/resources/content/utilityOverlay.js