br>
&#160;&#160;while( next_node
<br>
&#160;&#160;&#160;&#160;&amp;&amp; (next_node.nodeType != Node.ELEMENT_NODE) ) {

<br>
&#160;&#160;&#160;&#160;next_node = next_node.nextSibling;
<br>
&#160;&#160;}&#160;&#160;// endwhile
<br>

<br>

<br>
&#160;&#160;return next_node;
<br>
&#160;&#160;
<br>
}
<br>

<br>
/**
<br>
 *
<br>
 * getTextContentOfNode
<br>
 * 
<br>
 * @contructor
<br>
 */

<br>
 
<br>
function getTextContentOfNode( node ) {
<br>

<br>
&#160;&#160;var next_node = node.firstChild;
<br>
&#160;&#16