/* --- geometry and timing of the menu --- */
var MENU_POS1 = {
	// item sizes for different levels of menu
	'height': [18, 20, 20, 20],
	'width': [96, 160, 205, 230],
	// 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': [46, 20, 10, 5],
	'block_left': [10, 5, 46, 150],
	// offsets between items of the same level
	'top': [0, 20, 20, 20],
	'left': [95, 0, 0, 0],
	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	'hide_delay': [200, 200, 250, 250]
};

/* --- 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_STYLES1 = {
	// default item state when it is visible but doesn't have mouse over
	'onmouseout': [
		'color', ['#ffcc66', '#ffffff', '#ffffff', '#ffffff'], 
		'background', ['#ffffff', '#663300', '663300', '663300'],
		'textDecoration', ['none', 'none', 'none', 'none'],
		'backgroundImage', ['url(http:\/\/www.lawrencebinding.com\/pix\/tabred.png)', '', '', ''],
		'fontWeight', ['bold', 'bold', 'bold', ''],
		'textAlign', ['center', 'left', 'left', 'left'],
		'borderWidth',['0', '0', '1px', '1px'],
		'borderColor',['', '', '#000000', '#000000'],
		'borderStyle',['', '', 'solid', 'solid'],
		'fontSize', ['12px', '11px', '11px', '11px'],
	],
	// state when item has mouse over it
	'onmouseover': [
		'color', ['#ffffff', '#ffffff', '#ffff99', '#ffff99'], 
		'background', ['', '#000000', '#000000', '#000000'],
		'backgroundImage', ['url(pix\/tabred.png)', '', '', ''],
		'textDecoration', ['underline', 'none', 'underline', 'underline'],
		'fontWeight', ['bold', 'bold', 'bold', 'bold'],
		'textAlign', ['center', 'left', 'left', 'left'],
		'borderLeftWidth',['0', '0', '2px', '2px'],
		'borderLeftColor',['', '', '#ffffcc', '#ffffcc'],
		'borderLeftStyle',['', '', 'solid', 'solid'],
	],
	// state when mouse button has been pressed on the item
	'onmousedown': [
		'color', ['#663300', '#000000', '#000000', '#cc0000'], 
		'textDecoration', ['underline', 'none', 'none', 'underline'],
		'backgroundImage', ['url(pix\/tabyello.png)', '', '', ''],
		'fontWeight', ['normal', 'bold', 'normal', 'bold'],
		'fontStyle', ['normal', 'italic', 'italic', 'italic'],
		'fontSize', ['12px', '11px', '11px', '11px'],
	]
}
	
