treenode.prototype.getRoot = function(){
	var currentNode = this;
	while(currentNode.parentNode.oNode.oNodeImg){
		currentNode = currentNode.parentNode;
	}
	return currentNode;
}
treenode.prototype.isRoot = function(){
	return (this.getRoot() == this);
}