rem: elem.removeChild(elem.firstChild); 
add: alert("clearChildNodes() can't find an element with id: " + id + "."); throw id; }  while (ele.childNodes.length > 0) { ele.removeChild(ele.firstChild); 
context: function clearChildNodes(id){    var elem = document.getElementById(id);    while (elem.childNodes.length > 0)    {        elem.removeChild(elem.firstChild);    }}
meta: 266	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/1c2e43c84790bfe925e41713280232cd61fc9288/util.js/clean/java/uk/ltd/getahead/dwr/util.js