/* --- geometry and timing of the menu --- */
var MENU_POSV = {
	// item sizes for different levels of menu
	'width': [158, 140, 140, 140, 140, 140],
	'height': [20, 20, 20, 20, 20, 20],
	// 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': [147, 18, 18, 18, 18, 18],
	'block_left': [8, 70, 70, 70, 70, 70],
	// offsets between items of the same level
	'top': [21, 21, 21, 21, 21, 21],
	'left': [0, 0, 0, 0, 0, 0],
	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	'hide_delay': [200, 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_STYLESV = {
	// default item state when it is visible but doesn't have mouse over
	'onmouseout': [
		'color', ['#FFFFFF', '#FFFFFF', '#FFFFFF', '#FFFFFF', '#FFFFFF', '#FFFFFF'], 
		'background', ['#0E047D', '#0E047D', '#0E047D', '#0E047D', '#0E047D', '#0E047D'],
		'textDecoration', ['none', 'none', 'none', 'none', 'none', 'none'],
		'fontWeight', ['normal', 'normal', 'normal', 'normal', 'normal', 'normal'],
	],
	// state when item has mouse over it
	'onmouseover': [
		'color', ['#FF5E00', '#FF5E00', '#FF5E00', '#FF5E00', '#FF5E00', '#FF5E00'], 
		'background', ['#0E047D', '#0E047D', '#0E047D', '#0E047D', '#0E047D', '#0E047D'],
		'textDecoration', ['underline', 'underline', 'underline', 'underline', 'underline', 'underline'],
		'fontWeight', ['normal', 'normal', 'normal', 'normal', 'normal', 'normal'],
	],
	// state when mouse button has been pressed on the item
	'onmousedown': [
		'color', ['#FF5E00', '#FF5E00', '#FF5E00', '#FF5E00', '#FF5E00', '#FF5E00'], 
		'background', ['#0E047D', '#0E047D', '#0E047D', '#0E047D', '#0E047D', '#0E047D'],
		'textDecoration', ['underline', 'underline', 'underline', 'underline', 'underline', 'underline'],
		'fontWeight', ['normal', 'normal', 'normal', 'normal', 'normal', 'normal'],
	]
}

