dwr.engine._serializeObject = function(batch, referto, data, name) {  var ref = dwr.engine._lookup(referto, data, name);  if (ref) return ref;  // This check for an HTML is not complete, but is there a better way?  // Maybe we should add: data.hasChildNodes typeof "function" == true  if (data.nodeName && data.nodeType) {    return dwr.engine._serializeXml(batch, referto, data, name);  }  // treat objects as an associative arrays  var reply = "Object_" + dwr.engine._getObjectClassName(data) + ":{";  var element;  for (element in data) {    if (typeof data[element] != "function") {      batch.paramCount++;      var childName = "c" + dwr.engine._batch.map.callCount + "-e" + batch.paramCount;      dwr.engine._serializeAll(batch, referto, data[element], childName);      reply += encodeURIComponent(element) + ":reference:" + childName + ", ";    }  }  if (reply.substring(reply.length - 2) == ", ") {    reply = reply.substring(0, reply.length - 2);  }  reply += "}";  return reply;};
266	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/266/9cfb115e1b069f369eedb3df3463746c775d9752/engine.js/buggy/java/org/directwebremoting/engine.js