dwr.util.getFormValues = function(ele) { ele = dwr.util.byId(ele); 
dwr.util.getFormValues = function(eleOrNameOrId) { var ele = null; if (typeof eleOrNameOrId == "string") { ele = document.forms[eleOrNameOrId]; if (ele == null) ele = dwr.util.byId(eleOrNameOrId); } else if (dwr.util._isHTMLElement(eleOrNameOrId)) { ele = eleOrNameOrId; } 
dwr.util.getFormValues = function(ele) {  ele = dwr.util.byId(ele);  if (ele != null) {    if (ele.elements == null) {      alert("getFormValues() requires an object or reference to a form element.");      return null;    }    var reply = {};    var value;    for (var i = 0; i < ele.elements.length; i++) {      if (ele[i].type in {button:0,submit:0,reset:0,image:0,file:0}) continue;      if (ele[i].id) value = ele[i].id;      else if (ele[i].value != null) value = ele[i].value;      else value = "element" + i;      reply[value] = dwr.util.getValue(ele[i]);    }    return reply;  }};
266	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/266/5f0968e751b894ed190d9fa066917e10069a8255/util.js/clean/java/org/directwebremoting/util.js