// Menu Class
function MenuItem(name, url, newwin, ID, showInJSMenu) {

	var children = new Array();

	this.addChild=function(child) {
		children[children.length] = child;
	}

	this.getName= function() {
		return name;
	}

	this.getUrl= function() {
		return url;
	}

	this.getChildCount=function() {
		return children.length
	}

	this.getChild=function(i) {
		return children[i];
	}

	this.isNewWindow=function() {
		return newwin;
	}

	this.getID=function() {
		return ID;
	}

	this.showInJSMenu=function() {
		return showInJSMenu;
	}
	
}
