/* --- geometry and timing of the menu --- */
var MENU_POS = new Array();

	// item sizes for different levels of menu
	MENU_POS['height']     = [15, 15, 15];
	MENU_POS['width']      = [70, 110, 110];

	// 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['block_top']  = [24, 21, 15];
	MENU_POS['block_left'] = [188, 0, 20];

	// offsets between items of the same level
	MENU_POS['top']        = [0, 22, 22];
	MENU_POS['left']       = [70, 0, 0];

	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	MENU_POS['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 = new Array();

	// default item state when it is visible but doesn't have mouse over
	MENU_STYLES['onmouseout'] = [
		'background', ['#990000', '#CCCCCC', '#990000'],
		'color', ['#ffffff', '#000000', '#ffffff'],
	];

	// state when item has mouse over it
	MENU_STYLES['onmouseover'] = [
		'background', ['#CC0000', '#CC0000', '#FE9900'],
		'color', ['#ffffff', '#ffffff', '#ffffff'],
	];

	// state when mouse button has been pressed on the item
	MENU_STYLES['onmousedown'] = [
		'background', ['#CC0000', '#CC0000', '#FE9900'],
		'color', ['#ffffff', '#ffffff', '#ffffff'],
	];
	
var RESERVED_POS = new Array();
	// item sizes for different levels of menu
	RESERVED_POS['height']     = [15, 15, 15];
	RESERVED_POS['width']      = [80, 120, 120];
	// menu block offset from the origin:
	RESERVED_POS['block_top']  = [150, 21, 15];
	RESERVED_POS['block_left'] = [600, 0, 20];
	// offsets between items of the same level
	RESERVED_POS['top']        = [0, 22, 22];
	RESERVED_POS['left']       = [80, 0, 0];
	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	RESERVED_POS['hide_delay'] = [200, 200, 200];


var RESERVED_STYLES = new Array();
	RESERVED_STYLES['onmouseout'] = [
		'background', ['#3399CC', '#336699', '#336699'],
		'color', ['#ffffff', '#ffffff', '#ffffff'],
	];
	RESERVED_STYLES['onmouseover'] = [
		'background', ['#336699', '#66CCFF', '#66CCFF'],
		'color', ['#ffffff', '#000000', '#000000'],
	];
	RESERVED_STYLES['onmousedown'] = [
		'background', ['#336699', '#6699cc', '#6699cc'],
		'color', ['#ffffff', '#000000', '#000000'],
	];
