/* --- geometry and timing of the menu --- */
var menu_pos = new Array();

    buttonSize = 87;
    menuItems=9;
    menuWidth=buttonSize*menuItems;
	// item sizes for different levels of menu
	menu_pos['height']     = [21, 22, 22];
	menu_pos['width']      = [buttonSize, 350, 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
w = 640;
h = 480;
left=20;

NS4Plus=(navigator.appName == 'Netscape') ? 1 : 0;
IE4Plus=(navigator.appName == 'Microsoft Internet Explorer') ? 1 : 0;

//if (NS4Plus) {
//Add 48 to account for the margin, border, and scroll bar
//   w = window.innerWidth+48;
//   left=(w-menuWidth)/2;
//   if(left < 0) left=0;
//}
//if (IE4Plus) {
//add 60 to account for the margin, border, and scroll bar
//   w = document.body.clientWidth+60;
//   left=(w-menuWidth)/2;
//   if(left < 0) left=0;
//}
// make website not resizable
left=20;

	menu_pos['block_top']  = [125, 22, 0];
	menu_pos['block_left'] = [left, 2, 311];

	// offsets between items of the same level
	menu_pos['top']        = [0, 22, 22];
	menu_pos['left']       = [80, 0, 0];

	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	menu_pos['hide_delay'] = [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_styles = new Array();

	// default item state when it is visible but doesn't have mouse over
//c9c4ba
	menu_styles['onmouseout'] = [
		'background', ['#ffffff', '#7B7B7B', '#7B7B7B'],
		'color', ['#000000', '#F3BB00', '#F3BB00'],
	];

	// state when item has mouse over it
	menu_styles['onmouseover'] = [
		'background', ['#CCCCCC', '#999999', '#999999'],
		'color', ['#000000', '#F3BB00', '#F3BB00'],
	];

	// state when mouse button has been pressed on the item
	menu_styles['onmousedown'] = [
		'background', ['#cccccc', '#cccccc', '#cccccc'],
		'color', ['#000000', 'F3BB00', '#000000'],
	];
	
