/* --- geometry and timing of the menu --- */

var w;
var posi=255;
w=screen.width;
//if (w > 801) {posi=408;}

var menu_posicion = new Array();
	// item sizes for different levels of menu
	menu_posicion['height'] = [14, 14, 14];
	menu_posicion['width'] = [100, 198, 96];
	// 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_posicion['block_top'] = [82, 18, 0];
	menu_posicion['block_left'] = [posi, 0, 100];
	// offsets between items of the same level
	menu_posicion['top'] = [0, 15, 21];
	menu_posicion['left'] = [99, 0, 0];
	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	menu_posicion['hide_delay'] = [200, 1000, 800];
	
/* --- 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_estilos = new Array();
	// default item state when it is visible but doesn't have mouse over
	menu_estilos['onmouseout'] = [
		'color', ['#FFFFFF', '#030553', '#030553'], 
		'background', ['#0F4F8C', '#89CEF6', '#89CEF6'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];
	// state when item has mouse over it
	menu_estilos['onmouseover'] = [
		'color', ['#030553', '#030553', '#030553'], 
		'background', ['#FFE700', '#FFE700', '#FFE700'],
		'fontWeight', ['normal', 'bold', 'bold'],
		'textDecoration', ['none', 'none', 'none'],
	];
	// state when mouse button has been pressed on the item
	menu_estilos['onmousedown'] = [
		'color', ['#030553', '#030553', '#030553'], 
		'background', ['#FDFE7E', '#FDFE7E', '#FDFE7E'],
		'fontWeight', ['normal', 'bold', 'bold'],
		'textDecoration', ['none', 'none', 'none'],
	];
	
