var i; 
var i, thisfield; 
function URLFieldHandler() {    var field_attachurl = document.getElementById("attachurl");    var greyfields = new Array("data", "ispatch", "autodetect",                               "list", "manual", "bigfile",                               "contenttypeselection",                               "contenttypeentry");    var i;    if (field_attachurl.value.match(/^\s*$/)) {        for (i = 0; i < greyfields.length; i++) {            thisfield = document.getElementById(greyfields[i]);            if (thisfield) {                thisfield.removeAttribute("disabled");            }        }    } else {        for (i = 0; i < greyfields.length; i++) {            thisfield = document.getElementById(greyfields[i]);            if (thisfield) {                thisfield.setAttribute("disabled", "disabled");            }        }    }}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/e02e06b41f97b9656f07f1904fceba612cfefa01/attachment.js/buggy/webtools/bugzilla/js/attachment.js