add: if (!formsArray) { capture.setAttribute("disabled", "true"); return; } 
context: function okToCapture() {  var capture = document.getElementById("menu_capture");  if (!capture) {    return;  }  if (!window._content || !window._content.document) {    capture.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") && value!="") {        capture.setAttribute("disabled", "false");        return;      }     }  }  capture.setAttribute("disabled", "true");}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/e97be62b50d190812d9da3ac87dd306cd3b59c85/utilityOverlay.js/clean/xpfe/communicator/resources/content/utilityOverlay.js