/* --- geometry and timing of the menu --- */
var MENU_POS_AMMI = new Array();
	// item sizes for different levels of menu
	MENU_POS_AMMI['height'] = [20, 28, 28, 28, 28];
	MENU_POS_AMMI['width'] = [130, 140, 225, 225, 200];
	// menu block offset from the origin:
	//	for root level origin is upper left corner of the page
	//	for other levels origin is upper left corner of parent item
	MENU_POS_AMMI['block_top'] = [20, 30, -10, -10, -10];
	MENU_POS_AMMI['block_left'] = [820, 0, -225, -180, -180];
	// offsets between items of the same level
	MENU_POS_AMMI['top'] = [0, 28, 28, 28, 28];
	MENU_POS_AMMI['left'] = [-135, 0, 0, 0, 0];
	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	MENU_POS_AMMI['hide_delay'] = [200, 200, 200, 200, 200];
	
/* --- dynamic menu styles ---
note: you can add as many style properties as you wish but be not all browsers
are able to render them correctly. The only relatively safe properties are
'color' and 'background'.
*/
var MENU_STYLES_AMMI = new Array();
	// default item state when it is visible but doesn't have mouse over
	MENU_STYLES_AMMI['onmouseout'] = [
		'color', ['#ffff00', '#000000', '#000000', '#FFFF99', '#F7CA88'], 
		'background', ['', '#F7CA88', '#FFFF99', '#000000', '#000000'],
		'fontWeight', ['normal', 'normal', 'normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none', 'none', 'none'],
	];
	// state when item has mouse over it
	MENU_STYLES_AMMI['onmouseover'] = [
		'color', ['#ffffff', '#ffffff', '#000000', '#7CC1FA', '#FF9933'], 
		'background', ['', '#FF9933', '#7CC1FA', '#000000', '#ffffff'],
		'fontWeight', ['normal', 'normal', 'normal', 'normal', 'normal'],
		'textDecoration', ['underline', 'none', 'none', 'none', 'none'],
	];
	// state when mouse button has been pressed on the item
	MENU_STYLES_AMMI['onmousedown'] = [
		'color', ['#ffffff', '#000000', '#c0c0c0', '#cc99ff'], 
		'background', ['#99ccff', '#99ffcc', '#cc99ff', '#c0c0c0'],
		'fontWeight', ['normal', 'normal', 'normal', 'normal', 'normal'],
		'textDecoration', ['underline', 'none', 'none', 'none', 'none'],
	];
	

