/* Dimensions and offsets for various menu levels*/
var mainOffsetLeft  = 11;
var mainOffsetTop   = 159;
var firstWidth      = 110;
var firstHeight     = 25;
var firstOffsetTop  = 0;
var firstOffsetLeft = firstWidth+1;

/* --- geometry and timing of the menu --- */
var MENU_POS1 = new Array();
	// item sizes for different levels of menu
	MENU_POS1['height'] = [firstHeight, 25, 25];
	MENU_POS1['width']  = [firstWidth, 150, 150];
	// 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_POS1['block_top']  = [mainOffsetTop, 26, 0];
	MENU_POS1['block_left'] = [mainOffsetLeft, 0, 150];
	// offsets between items of the same level
	MENU_POS1['top']  = [firstOffsetTop, 20, 20];
	MENU_POS1['left'] = [firstOffsetLeft, 0, 0];
	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	MENU_POS1['hide_delay'] = [0,0,0];
	
var mainOffsetLeft  = 111;
var mainOffsetTop   = 159;
var firstWidth      = 150;
var firstHeight     = 25;
var firstOffsetTop  = 0;
var firstOffsetLeft = firstWidth+20;

var MENU_POS2 = new Array();
	// item sizes for different levels of menu
	MENU_POS2['height'] = [firstHeight, 25, 25];
	MENU_POS2['width']  = [firstWidth, 180, 150];
	// 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']  = [mainOffsetTop, 26, 0];
	MENU_POS2['block_left'] = [mainOffsetLeft, 0, 170];
	// offsets between items of the same level
	MENU_POS2['top']  = [firstOffsetTop, 26, 26];
	MENU_POS2['left'] = [firstOffsetLeft, 0, 0];
	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	MENU_POS2['hide_delay'] = [0,0,0];

var mainOffsetLeft  = 261;
var mainOffsetTop   = 159;
var firstWidth      = 130;
var firstHeight     = 25;
var firstOffsetTop  = 0;
var firstOffsetLeft = firstWidth+1;

var MENU_POS3 = new Array();
	// item sizes for different levels of menu
	MENU_POS3['height'] = [firstHeight, 25, 25];
	MENU_POS3['width']  = [firstWidth, 130, 170];
	// 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_POS3['block_top']  = [mainOffsetTop, 26, 0];
	MENU_POS3['block_left'] = [mainOffsetLeft, 0, 120];
	// offsets between items of the same level
	MENU_POS3['top']  = [firstOffsetTop, 26, 26];
	MENU_POS3['left'] = [firstOffsetLeft, 0, 0];
	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	MENU_POS3['hide_delay'] = [0,0,0];

var mainOffsetLeft  = 391;
var mainOffsetTop   = 159;
var firstWidth      = 190;
var firstHeight     = 25;
var firstOffsetTop  = 0;
var firstOffsetLeft = firstWidth+1;

var MENU_POS4 = new Array();
	// item sizes for different levels of menu
	MENU_POS4['height'] = [firstHeight, 25, 25];
	MENU_POS4['width']  = [firstWidth, 170, 170];
	// 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_POS4['block_top']  = [mainOffsetTop, 26, 0];
	MENU_POS4['block_left'] = [mainOffsetLeft, 0, 170];
	// offsets between items of the same level
	MENU_POS4['top']  = [firstOffsetTop, 26, 26];
	MENU_POS4['left'] = [firstOffsetLeft, 0, 0];
	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	MENU_POS4['hide_delay'] = [0,0,0];

var mainOffsetLeft  = 581;
var mainOffsetTop   = 159;
var firstWidth      = 120;
var firstHeight     = 25;
var firstOffsetTop  = 0;
var firstOffsetLeft = firstWidth+1;

var MENU_POS5 = new Array();
	// item sizes for different levels of menu
	MENU_POS5['height'] = [firstHeight, 25, 25];
	MENU_POS5['width']  = [firstWidth, 200, 170];
	// 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_POS5['block_top']  = [mainOffsetTop, 26, 0];
	MENU_POS5['block_left'] = [mainOffsetLeft, 0, 170];
	// offsets between items of the same level
	MENU_POS5['top']  = [firstOffsetTop, 26, 26];
	MENU_POS5['left'] = [firstOffsetLeft, 0, 0];
	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	MENU_POS5['hide_delay'] = [0,0,0];
	
var mainOffsetLeft  = 701;
var mainOffsetTop  	= 159;
var firstWidth      = 120;
var firstHeight     = 25;
var firstOffsetTop  = 0;
var firstOffsetLeft = firstWidth+1;

var MENU_POS6 = new Array();
	// item sizes for different levels of menu
	MENU_POS6['height'] = [firstHeight, 25, 25];
	MENU_POS6['width']  = [firstWidth, 211, 170];
	// 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_POS6['block_top']  = [mainOffsetTop, 26, 0];
	MENU_POS6['block_left'] = [mainOffsetLeft, -86, 171];
	// offsets between items of the same level
	MENU_POS6['top']  = [firstOffsetTop, 26, 26];
	MENU_POS6['left'] = [firstOffsetLeft, 0, 0];
	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	MENU_POS6['hide_delay'] = [0,0,0];
	
var mainOffsetLeft  = 821;
var mainOffsetTop  	= 159;
var firstWidth      = 110;
var firstHeight     = 25;
var firstOffsetTop  = 0;
var firstOffsetLeft = firstWidth+1;

var MENU_POS7 = new Array();
	// item sizes for different levels of menu
	MENU_POS7['height'] = [firstHeight, 25, 25];
	MENU_POS7['width']  = [firstWidth, 211, 170];
	// 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_POS7['block_top']  = [mainOffsetTop, 26, 0];
	MENU_POS7['block_left'] = [mainOffsetLeft, -86, 171];
	// offsets between items of the same level
	MENU_POS7['top']  = [firstOffsetTop, 26, 26];
	MENU_POS7['left'] = [firstOffsetLeft, 0, 0];
	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	MENU_POS7['hide_delay'] = [0,0,0];


/* --- 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 = new Array();
	// default item state when it is visible but doesn't have mouse over
	MENU_STYLES1['onmouseout'] = [
		'color', ['#ffffff', '#ffffff', '#ffffff'], 
		'background', ['#003E7E', '#003E7E', '#003E7E'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];
	// state when item has mouse over it
	MENU_STYLES1['onmouseover'] = [
		'color', ['#003E7E', '#003E7E', '#003E7E'], 
		'background', ['#96A4C6', '#96A4C6', '#96A4C6'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];
	// state when mouse button has been pressed on the item
	MENU_STYLES1['onmousedown'] = [
		'color', ['#003E7E', '#003E7E', '#003E7E'], 
		'background', ['#96A4C6', '#96A4C6', '#96A4C6'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];
	
var MENU_STYLES2 = new Array();
	// default item state when it is visible but doesn't have mouse over
	MENU_STYLES2['onmouseout'] = [
		'color', ['#ffffff', '#ffffff', '#ffffff'], 
		'background', ['#003E7E', '#003E7E', '#003E7E'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];
	// state when item has mouse over it
	MENU_STYLES2['onmouseover'] = [
		'color', ['#003E7E', '#003E7E', '#003E7E'], 
		'background', ['#96A4C6', '#96A4C6', '#96A4C6'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];
	// state when mouse button has been pressed on the item
	MENU_STYLES2['onmousedown'] = [
		'color', ['#003E7E', '#003E7E', '#003E7E'], 
		'background', ['#96A4C6', '#96A4C6', '#96A4C6'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];
	
var MENU_STYLES3 = new Array();
	// default item state when it is visible but doesn't have mouse over
	MENU_STYLES3['onmouseout'] = [
		'color', ['#ffffff', '#ffffff', '#ffffff'], 
		'background', ['#003E7E', '#003E7E', '#003E7E'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];
	// state when item has mouse over it
	MENU_STYLES3['onmouseover'] = [
		'color', ['#003E7E', '#003E7E', '#003E7E'], 
		'background', ['#96A4C6', '#96A4C6', '#96A4C6'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];
	// state when mouse button has been pressed on the item
	MENU_STYLES3['onmousedown'] = [
		'color', ['#003E7E', '#003E7E', '#003E7E'], 
		'background', ['#96A4C6', '#96A4C6', '#96A4C6'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];

var MENU_STYLES4 = new Array();
	// default item state when it is visible but doesn't have mouse over
	MENU_STYLES4['onmouseout'] = [
		'color', ['#ffffff', '#ffffff', '#ffffff'], 
		'background', ['#003E7E', '#003E7E', '#003E7E'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];
	// state when item has mouse over it
	MENU_STYLES4['onmouseover'] = [
		'color', ['#003E7E', '#003E7E', '#003E7E'], 
		'background', ['#96A4C6', '#96A4C6', '#96A4C6'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];
	// state when mouse button has been pressed on the item
	MENU_STYLES4['onmousedown'] = [
		'color', ['#003E7E', '#003E7E', '#003E7E'], 
		'background', ['#96A4C6', '#96A4C6', '#96A4C6'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];

var MENU_STYLES5 = new Array();
	// default item state when it is visible but doesn't have mouse over
	MENU_STYLES5['onmouseout'] = [
		'color', ['#ffffff', '#ffffff', '#ffffff'], 
		'background', ['#003E7E', '#003E7E', '#003E7E'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];
	// state when item has mouse over it
	MENU_STYLES5['onmouseover'] = [
		'color', ['#003E7E', '#003E7E', '#003E7E'], 
		'background', ['#96A4C6', '#96A4C6', '#96A4C6'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];
	// state when mouse button has been pressed on the item
	MENU_STYLES5['onmousedown'] = [
		'color', ['#003E7E', '#003E7E', '#003E7E'], 
		'background', ['#96A4C6', '#96A4C6', '#96A4C6'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];
	
	var MENU_STYLES6 = new Array();
	// default item state when it is visible but doesn't have mouse over
	MENU_STYLES6['onmouseout'] = [
		'color', ['#ffffff', '#ffffff', '#ffffff'], 
		'background', ['#003E7E', '#003E7E', '#003E7E'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];
	// state when item has mouse over it
	MENU_STYLES6['onmouseover'] = [
		'color', ['#003E7E', '#003E7E', '#003E7E'], 
		'background', ['#96A4C6', '#96A4C6', '#96A4C6'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];
	// state when mouse button has been pressed on the item
	MENU_STYLES6['onmousedown'] = [
		'color', ['#003E7E', '#003E7E', '#003E7E'], 
		'background', ['#96A4C6', '#96A4C6', '#96A4C6'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];
	
var MENU_STYLES7 = new Array();
	// default item state when it is visible but doesn't have mouse over
	MENU_STYLES7['onmouseout'] = [
		'color', ['#ffffff', '#ffffff', '#ffffff'], 
		'background', ['#003E7E', '#003E7E', '#003E7E'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];
	// state when item has mouse over it
	MENU_STYLES7['onmouseover'] = [
		'color', ['#003E7E', '#003E7E', '#003E7E'], 
		'background', ['#96A4C6', '#96A4C6', '#96A4C6'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];
	// state when mouse button has been pressed on the item
	MENU_STYLES7['onmousedown'] = [
		'color', ['#003E7E', '#003E7E', '#003E7E'], 
		'background', ['#96A4C6', '#96A4C6', '#96A4C6'],
		'fontWeight', ['normal', 'normal', 'normal'],
		'textDecoration', ['none', 'none', 'none'],
	];
