/* --- geometry and timing of the menu --- */
var MENU_POS = {
	// item sizes for different levels of menu
	'height': [17, 22, 22],
	'width': [64, 130, 150],
	// 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
	'block_top': [133, 18, 15],
	'block_left': [202, -65, 130],
	// offsets between items of the same level
	'top': [0, 21, 21],
	'left': [63, 0, 0],
	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	'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 = {
	// default item state when it is visible but doesn't have mouse over
	'onmouseout': [
		'color', ['#C8CACA', '#C8CACA', '#000000'], 
		'background', ['#000000', '#000000', '#000000'],
		'border', ['0px solid #C8CACA', '1px solid #525252', '1px solid #C8CACA'],
		'textDecoration', ['none', 'none', 'none'],
		'fontFamily', ['tahoma', 'tahoma', 'tahoma'],
		'fontSize', ['11px', '11px', '10px'],
		'padding', ['1px', '2px', '2px'],
		'textAlign', ['center', 'center', 'center'],
	],
	// state when item has mouse over it
	'onmouseover': [
		'color', ['#FFFFFF', '#FFFFFF', '#000000'], 
		'background', ['#303543', '#212329', '#303543'],
		'border', ['0px solid #C8CACA', '1px solid #525252', '1px solid #C8CACA'],		
	],
	'onmousedown': [
	
	]
};
	