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