Fork of http://dynatree.googlecode.com/svn/trunk@r646.