var element = Utils.getElementAt(elementId); 
var element = Utils.getElementAt(elementId, this.location); 
FirefoxDriver.prototype.getElementSelected = function(elementId) {    var element = Utils.getElementAt(elementId);    var selected = false;    try {        var option = element.QueryInterface(Components.interfaces.nsIDOMHTMLOptionElement)        selected = option.selected;    } catch(e) {}    try {        var inputElement = element.QueryInterface(Components.interfaces.nsIDOMHTMLInputElement)        if (inputElement.type == "checkbox" || inputElement.type == "radio") {            selected = inputElement.checked;        }    } catch(e) {}    this.server.respond("getElementSelected", selected);}
4983	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4983/3aa848daac3cf6b346c932bafbb7bfd763430786/wrappedElement.js/clean/firefox/src/extension/content/wrappedElement.js