code: function insertRight(parent, node)
  {
  	var index = parent.table.length - 1;
  	parent.table[index] = node;
  	parent.lengths[index] = length(node);
  	parent.lengths[index] += index > 0 ? parent.lengths[index - 1] : 0;
  }
docs: Helperfunctions for append_. Replaces a child node at the side of the parent.