var isTextField = element["value"]; 
var isTextField = element["value"] !== undefined; 
Utils.type = function(context, element, text) {    var isTextField = element["value"];    var value = "";    if (isTextField) {        element.value = value;    } else {        element.setAttribute("value", value);    }    for (var i = 0; i < text.length; i++) {        var character = text.charAt(i);        value += character;        Utils.keyDownOrUp(context, element, true, character);        Utils.keyPress(context, element, character);        if (isTextField) {            element.value = value;        } else {            element.setAttribute("value", value);        }        Utils.keyDownOrUp(context, element, false, character);    }};
4983	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4983/3782308fc3bfdecae407cc0ddec124f9b297d770/utils.js/clean/firefox/src/extension/components/utils.js