rem: return ele != null && typeof ele == "object" && ele.nodeName != null && ele.nodeName.toLowerCase() == nodeName.toLowerCase(); 
add: var test = ele.nodeName.toLowerCase();  if (typeof nodeName == "string") { return test == nodeName.toLowerCase(); }  if (DWRUtil._isArray(nodeName)) { var match = false; for (var i = 0; i < nodeName.length && !match; i++) { if (test == nodeName[i].toLowerCase()) { match =  true; } }  return match; }  alert("DWRUtil._isHTMLElement was passed test node name that is neither a string or array of strings"); 
context: DWRUtil._isHTMLElement = function(ele, nodeName){    if (nodeName == null)    {        // If I.E. worked properly we could use:        //  return typeof ele == "object" && ele instanceof HTMLElement;        return ele != null &&               typeof ele == "object" &&               ele.nodeName != null;    }    else    {        return ele != null &&               typeof ele == "object" &&               ele.nodeName != null &&               ele.nodeName.toLowerCase() == nodeName.toLowerCase();    }};
meta: 266	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/8828b7c0ab7fb248f54763f46ea484b24532c33e/util.js/clean/java/uk/ltd/getahead/dwr/util.js