function MenuNode(pId, pType, pName, pPointerId, pExternalURL, pURL, pClassName) {
	this.Id = pId;
	this.Name = pName;
	this.Type = pType;
	this.PointerId = pPointerId;
	this.ExternalURL = pExternalURL;
	this.URL = pURL;
	this.Parent = null;
	this.ClassName = pClassName;
	
	this.Children = {};
	this.NbChildren = 0;
	
	this.addChild = MNAddChild;
	this.getChild = MNGetChild;
}

function MNAddChild(pChild) {
	this.Children[pChild.Id] = pChild;
	pChild.Parent = this;
	this.NbChildren++;
}

function MNGetChild(pId) {
	return this.Children[pId];
}
