while(_120.hasChildNodes()&&_120.lastChild.nodeType==dojo.dom.TEXT_NODE){ _120.removeChild(_120.lastChild); } } while(_120.hasChildNodes()){ _121.appendChild(_120.firstChild); _123++; } return _123; }; 
dojo.dom.moveChildren = function(/* Element */srcNode, /* Element */destNode, /* boolean? */trim){  //  summary  //  Moves children from srcNode to destNode and returns the count of children moved;   //    will trim off text nodes if trim == true  var count = 0;  if(trim) {    while(srcNode.hasChildNodes() &&      srcNode.firstChild.nodeType == dojo.dom.TEXT_NODE) {      srcNode.removeChild(srcNode.firstChild);    }    while(srcNode.hasChildNodes() &&      srcNode.lastChild.nodeType == dojo.dom.TEXT_NODE) {      srcNode.removeChild(srcNode.lastChild);    }  }  while(srcNode.hasChildNodes()){    destNode.appendChild(srcNode.firstChild);    count++;  }  return count; //  number}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/90939f35f46f873d9b1f5c5f818ecf012711dc71/dojo.js/buggy/src/main/resources/org/apache/struts2/static/dojo/dojo.js