rem: return newObj; 
add: return newObj; 
context: HTMLArea.cloneObject = function(obj) {  if (!obj) return null;  var newObj = new Object;  // check for array objects  if (obj.constructor.toString().indexOf("function Array(") == 1) {    newObj = obj.constructor();  }  // check for function objects (as usual, IE is fucked up)  if (obj.constructor.toString().indexOf("function Function(") == 1) {    newObj = obj; // just copy reference to it  } else for (var n in obj) {    var node = obj[n];    if (typeof node == 'object') { newObj[n] = HTMLArea.cloneObject(node); }    else                         { newObj[n] = node; }  }  return newObj;};
meta: 6230	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6230/70e7091322d161ad5e2256481886617b9211a07f/htmlarea.js/buggy/phpgwapi/js/htmlarea/htmlarea.js