

/* --- geometry and timing of the menu --- */
var MENU_POS2 = new Array();
	// item sizes for different levels of menu
	MENU_POS2['width'] = [(document.all?164:162), 150, 150, 150];
	MENU_POS2['height'] = [25, 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?166:175), 0, 0, 0, 0];
	MENU_POS2['block_left'] = [10, (document.all?166:168), 145, 149, 149];
	// offsets between items of the same level
	MENU_POS2['top'] = [25, 25, 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', ['', 'white', 'white', 'white'],
		//'filter', ['progid:DXImageTransform.Microsoft.Shadow(color="navy", Direction=225, Strength=1)', '', '', ''],
		//'filter', ['progid:DXImageTransform.Microsoft.Blur(pixelradius=1)', '', '', ''],
		'backgroundImage', ['url("sapard_img/menuimg.jpg")', '', '', ''],
		'borderWidth', ['0', '1', '1', '1'],
		'borderColor', ['#0BAB61', '#0BAB61', '#0BAB61', '#0BAB61'],
		'fontWeight', ['bold', 'normal', 'normal', 'normal'],
		'color', ['#000000', '#0BAB61', '#0BAB61', '#0BAB61'],
		'textDecoration', ['none', 'none', 'none', 'none'],
		'paddingTop', ['0', '0', '0', '0'],
		'paddingLeft', ['6', '0', '0', '0'],
		'textAlign', ['left', 'left', 'left', 'left'],
	];
	// state when item has mouse over it
	MENU_STYLES2['onmouseover'] = [
		'backgroundColor', ['', '#bbbbbb', '#bbbbbb', '#bbbbbb'],
		//'filter', ['progid:DXImageTransform.Microsoft.Shadow(color="black", Direction=225, Strength=2)', '', '', ''],
		'backgroundImage', ['url("sapard_img/menuover.jpg")', '', '', ''],
		'borderWidth', ['0', '1', '1', '1'],
		'borderColor', ['#0BAB61', '#0BAB61', '#0BAB61', '#0BAB61'],
		'fontWeight', ['bolder', 'normal', 'normal', 'normal'],
		'color', ['#0BAB61', '#0BAB61', '#0BAB61', '#0BAB61'],
		'paddingTop', ['0', '0', '0', '0'],
		'paddingLeft', ['6', '0', '0', '0'],
		'textAlign', ['left', 'left', 'left', 'left'],
	];
	MENU_STYLES2['onmousedown'] = [
		'backgroundColor', ['', '#bbbbbb', '#bbbbbb', '#bbbbbb'],
		//'filter', ['progid:DXImageTransform.Microsoft.Shadow(color="black", Direction=225, Strength=2)', '', '', ''],
		'backgroundImage', ['url("sapard_img/menuover.jpg")', '', '', ''],
		'borderWidth', ['1', '1', '1', '1'],
		'borderColor', ['#0BAB61', '#0BAB61', '#0BAB61', '#0BAB61'],
		'fontWeight', ['bold', 'normal', 'normal', 'normal'],
		'color', ['#0BAB61', '#0BAB61', '#0BAB61', '#0BAB61'],
		'paddingTop', ['0', '0', '0', '0'],
		'paddingLeft', ['6', '0', '0', '0'],
		'textAlign', ['left', 'left', 'left', 'left'],
	];
