function MainMenu(items) {
	//inherits
	this.tmp			= Menu;
	this.tmp(items);
	delete this.tmp;
	//private properties
	this.type			= 'MainMenu';
	//public properties
	this.container		= null;
	this.isParent		= true;
	this.rightToLeft	= false;
	//public methods
	this.toString		= MainMenu_toString;
}
function MainMenu_toString() {
	var s = '';
		s += '<table' +
			 ' border="0"' +
			 ' cellpadding="2"' +
			 ' cellspacing="0"' +
			 ' class="MainMenu"' +
			 ' type="MainMenu"' +
			 ' width="100%"' +
			 ' align="right"' +
			 '>\n';
		s += '<tr><td>\n';
		s += '<table' +
			 ' border="0"' +
			 ' cellpadding="0"' +
			 ' cellspacing="0"' +
			 '>\n';
		s += '<tr>';
		for(var i = 0; i < this.menuItems.count; i++) {
			s += this.menuItems[i].toString();
		}
		s += '</tr>';
		s += '\n</table>';
		s += '\n</td></tr>';
		s += '\n</table>';
	return s;
}
