  if (arguments.length>1) { var _document = dojo.doc(); dojo.dom.replaceChildren(node, _document.createTextNode(text)); return text; } else { if(node.textContent != undefined){ return node.textContent; } var _result = ""; if (node == null) { return _result; } for (var i = 0; i < node.childNodes.length; i++) { switch (node.childNodes[i].nodeType) { case 1: case 5: _result += dojo.dom.textContent(node.childNodes[i]); break; case 3: case 2: case 4: _result += node.childNodes[i].nodeValue; break; default: break; } } return _result; } 
  if (arguments.length>1) { var _document = dojo.doc(); dojo.dom.replaceChildren(node, _document.createTextNode(text)); return text; } else { if(node.textContent != undefined){ return node.textContent; } var _result = ""; if (node == null) { return _result; } for (var i = 0; i < node.childNodes.length; i++) { switch (node.childNodes[i].nodeType) { case 1: case 5: _result += dojo.dom.textContent(node.childNodes[i]); break; case 3: case 2: case 4: _result += node.childNodes[i].nodeValue; break; default: break; } } return _result; } 
dojo.dom.textContent = function(/*Node*/node, /*string*/text){	//	summary:	//		implementation of the DOM Level 3 attribute; scan node for text	if (arguments.length>1) {		var _document = dojo.doc();		dojo.dom.replaceChildren(node, _document.createTextNode(text));		return text;	//	string	} else {		if(node.textContent != undefined){ //FF 1.5			return node.textContent;	//	string		}		var _result = "";		if (node == null) { return _result; }		for (var i = 0; i < node.childNodes.length; i++) {			switch (node.childNodes[i].nodeType) {				case 1: // ELEMENT_NODE				case 5: // ENTITY_REFERENCE_NODE					_result += dojo.dom.textContent(node.childNodes[i]);					break;				case 3: // TEXT_NODE				case 2: // ATTRIBUTE_NODE				case 4: // CDATA_SECTION_NODE					_result += node.childNodes[i].nodeValue;					break;				default:					break;			}		}		return _result;	//	string	}}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js