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;
}
// Helperfunctions for append_. Replaces a child node at the side of the parent.
Helperfunctions for append_. Replaces a child node at the side of the parent.
Helperfunctions for append_ . Replaces a child node at the side of the parent .
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;
}
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 ; }
Helperfunctions for append_.
Helperfunctions for append_ .