/* --- geometry and timing of the menu --- */
var HOMEMENU_POS = new Array();

	// item sizes for different levels of menu
	HOMEMENU_POS['height']     = [30, 22, 22];
	HOMEMENU_POS['width']      = [60, 100, 250];

	// 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
	HOMEMENU_POS['block_top']  = [0, 0, 0];
	HOMEMENU_POS['block_left'] = [0, 0, 0];

	// offsets between items of the same level
	HOMEMENU_POS['top']        = [0, 23, 23];
	HOMEMENU_POS['left']       = [80, 0, 0];

	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	HOMEMENU_POS['hide_delay'] = [300, 300, 300];

/* --- 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 HOMEMENU_STYLES = new Array();

	// default item state when it is visible but doesn't have mouse over
	HOMEMENU_STYLES['onmouseout'] = [
		'background', ['transparent', '#ffffff', '#ffffff'],
		'color', ['#394C8e', '#000000', '#000000'],
	];

	// state when item has mouse over it
	HOMEMENU_STYLES['onmouseover'] = [
		'background', ['transparent', '#ffffff', '#ffffff'],
		'color', ['#a44105', '#e8442a', '#e8442a'],
	];

	// state when mouse button has been pressed on the item
	HOMEMENU_STYLES['onmousedown'] = [
		'background', ['transparent', '#ffffff', '#ffffff'],
		'color', ['#7287cd', '#000000', '#000000'],
	];
	
