

/* --- geometry and timing of the menu --- */
var MENU_POS2 = new Array();
	// item sizes for different levels of menu
	MENU_POS2['width'] = [(document.all?199:195), 190, 230, 240, 240];
	MENU_POS2['height'] = [(document.all?24:22), 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
	MENU_POS2['block_top'] = [(document.all?0:2), 0, 0, 0, 0];
	MENU_POS2['block_left'] = [(document.all?189:185), 199, 187, 239, 239];
	// offsets between items of the same level
	MENU_POS2['top'] = [22, 22, 20, 20, 20];
	MENU_POS2['left'] = [0, 0, 0, 0, 0];
	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	MENU_POS2['hide_delay'] = [500, 500, 500, 500];
	
/* --- dynamic menu styles ---*/

var MENU_STYLES2 = new Array();
	// default item state when it is visible but doesn't have mouse over
	// progid:DXImageTransform.Microsoft.Blur(pixelradius=1) - pentru blur
	MENU_STYLES2['onmouseout'] = [
		'backgroundColor', ['', '#8a8af7', '#8282e6', '#8a8af7'],
		//'filter', ['', '', '', ''],
	//	'backgroundImage', ['url("projects/ye/images/spacer.gif")', '', '', ''],
		'borderWidth', ['0', '1', '1', '1'],
		'borderColor', ['#8a8af7', '#8a8af7', '#8282e6', '#8a8af7'],
		'fontWeight', ['bold', 'normal', 'normal', 'normal'],
		'color', ['navy', 'white', '#f9fe6b', 'white'],
		'textDecoration', ['none', 'none', 'none', 'none'],
		'paddingTop', ['2', '0', '0', '0'],
		'paddingRight', ['0', '0', '0', '0'],
		'paddingLeft', ['5', '0', '0', '0'],
		'textAlign', ['left', 'left', 'left', 'left'],
	];
	// state when item has mouse over it
	MENU_STYLES2['onmouseover'] = [
		'backgroundColor', ['#8a8af7', '#8282e6', '#feb522', '#feb522'],
		//'filter', ['progid:DXImageTransform.Microsoft.Shadow(color="#cccccc", Direction=225, Strength=2)', '', '', ''],
//		'backgroundImage', ['url("projects/ye/images/v3/art/menubutton.gif")', '', '', ''],
		'borderWidth', ['0', '1', '1', '1'],
		'borderColor', ['#feb522', '#8282e6', '#feb522', '#feb522'],
		'textDecoration', ['none', 'none', 'none', 'none'],
		'fontWeight', ['bold', 'normal', 'normal', 'normal'],
		'color', ['white', '#feda6b', 'navy', 'navy'],
		'paddingTop', ['2', '0', '0', '0'],
		'paddingRight', ['0', '0', '0', '0'],
		'paddingLeft', ['5', '0', '0', '0'],
		'textAlign', ['left', 'left', 'left', 'left'],
	];
	MENU_STYLES2['onmousedown'] = [
		'backgroundColor', ['', 'navy', 'navy', 'navy'],
		//'filter', ['progid:DXImageTransform.Microsoft.Shadow(color="black", Direction=225, Strength=2)', '', '', ''],
	//	'backgroundImage', ['url("projects/ye/images/ymenu.gif")', '', '', ''],
		'borderWidth', ['0', '1', '1', '1'],
		'borderColor', ['navy', '#8a8af7', '#8a8af7', '#8a8af7'],
		'fontWeight', ['normal', 'normal', 'normal', 'normal'],
		'textDecoration', ['underline', 'underline', 'underline', 'underline'],
		'color', ['white', 'white', 'white', 'white'],
		'paddingTop', ['2', '0', '0', '0'],
		'paddingRight', ['0', '0', '0', '0'],
		'paddingLeft', ['5', '0', '0', '0'],
		'textAlign', ['left', 'left', 'left', 'left'],
	];

