// FIRST MENU

/* --- geometry and timing of the menu --- */
var MENU_POS_1 = new Array();

	// item sizes for different levels of menu
	MENU_POS_1['height']     = [24, 23, 22];
	MENU_POS_1['width']      = [140, 120, 120];

	// 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_1['block_top']  = [150, 10, 10];
	MENU_POS_1['block_left'] = [5, 130, 110];

	// offsets between items of the same level
	MENU_POS_1['top']        = [23, 23, 23];
	MENU_POS_1['left']       = [0, 0, 0];

	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	MENU_POS_1['hide_delay'] = [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_1 = new Array();

	// default item state when it is visible but doesn't have mouse over
	MENU_STYLES_1['onmouseout'] = [
		'background', ['#FDF5E6', '#FDF5E6', '#FDF5E6'],
		'color', ['#632728', '#632728', '#632728'],
	];

	// state when item has mouse over it
	MENU_STYLES_1['onmouseover'] = [
		'background', ['#cccccc', '#7F3334', '#7F3334'],
		'color', ['#632728', '#eeeeee', '#eeeeee'],
	];

	// state when mouse button has been pressed on the item
	MENU_STYLES_1['onmousedown'] = [
		'background', ['#cccccc', '#cccccc', '#cccccc'],
		'color', ['#000000', '#000000', '#000000'],
	];
	
	
// SECOND MENU	
	
	/* --- geometry and timing of the menu --- */
var MENU_POS_2 = new Array();

	// item sizes for different levels of menu
	MENU_POS_2['height']     = [20, 20];
	MENU_POS_2['width']      = [140, 140];

	// menu block offset from the origin:
	MENU_POS_2['block_top']  = [2, 21];
	MENU_POS_2['block_left'] = [5, 0];

	// offsets between items of the same level
	MENU_POS_2['top']        = [0, 21];
	MENU_POS_2['left']       = [141, 0];

	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	MENU_POS_2['hide_delay'] = [200, 200];

/* --- dynamic menu styles --- */

var MENU_STYLES_2 = new Array();

	// default item state when it is visible but doesn't have mouse over
	MENU_STYLES_2['onmouseout'] = [
		'background', ['#FDF5E6', '#FDF5E6', '#FDF5E6'],
		'color', ['#632728', '#632728', '#632728'],
	];

	// state when item has mouse over it
	MENU_STYLES_2['onmouseover'] = [
		'background', ['#cccccc', '#7F3334', '#7F3334'],
		'color', ['#632728', '#eeeeee', '#eeeeee'],
	];

	// state when mouse button has been pressed on the item
	MENU_STYLES_2['onmousedown'] = [
		'background', ['#cccccc', '#cccccc', '#cccccc'],
		'color', ['#000000', '#000000', '#000000'],
	];

