function (node) {
    var next = node;
    while (next
        && (next.nodeType != this.ELEMENT_NODE)
        && this.REGEXPS.whitespace.test(next.textContent)) {
      next = next.nextSibling;
    }
    return next;
  }
function (node) {
    var next = node;
    while (next
        && (next.nodeType != this.ELEMENT_NODE)
        && this.REGEXPS.whitespace.test(next.textContent)) {
      next = next.nextSibling;
    }
    return next;
  }
function ( node ) { var next = node ; while ( next && ( next . nodeType != this . ELEMENT_NODE ) && this . REGEXPS . whitespace . test ( next . textContent ) ) { next = next . nextSibling ; } return next ; }
Finds the next element, starting from the given node, and ignoring
whitespace in between. If the given node is an element, the same node is
returned.
Finds the next element starting from the given node and ignoring whitespace in between . If the given node is an element the same node is returned .
Returns the next sibling of node