/* --- geometry and timing of the menu --- */
var MENU_POS = new Array();

	// item sizes for different levels of menu
	MENU_POS['height']     = [22, 22];
	MENU_POS['width']      = [130, 130];

	// 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_POS['block_top']  = [130, 22];
	MENU_POS['block_left'] = [15, 0];

	// offsets between items of the same level
//	MENU_POS['top']        = [0, 23];
//	MENU_POS['left']       = [120, 0];
	MENU_POS['top']        = [0, 23];
	MENU_POS['left']       = [130, 0];
	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	MENU_POS['hide_delay'] = [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
	MENU_STYLES['onmouseout'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];

	// state when item has mouse over it
	MENU_STYLES['onmouseover'] = [
		'background', ['#336699', '#77b3ef'],
		'color', ['#ffffff', '#ffffff'],
	];

	// state when mouse button has been pressed on the item
	MENU_STYLES['onmousedown'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];


	
var MENU1_POS = new Array();
	MENU1_POS['height']     = [22, 22];
	MENU1_POS['width']      = [130, 130];
	MENU1_POS['block_top']  = [209, 0];
	MENU1_POS['block_left'] = [15, 135];
	MENU1_POS['top']        = [0, 23];
	MENU1_POS['left']       = [0,0];
	MENU1_POS['hide_delay'] = [50, 50];

var MENU1_STYLES = new Array();
	MENU1_STYLES['onmouseout'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU1_STYLES['onmouseover'] = [
		'background', ['#6699cc', '#77b3ef'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU1_STYLES['onmousedown'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	
var MENU2_POS = new Array();
	MENU2_POS['height']     = [22, 22];
	MENU2_POS['width']      = [130, 130];
	MENU2_POS['block_top']  = [232, 0];
	MENU2_POS['block_left'] = [15, 135];
	MENU2_POS['top']        = [0, 23];
	MENU2_POS['left']       = [0,0];
	MENU2_POS['hide_delay'] = [50, 50];

var MENU2_STYLES = new Array();
	MENU2_STYLES['onmouseout'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU2_STYLES['onmouseover'] = [
		'background', ['#6699cc', '#77b3ef'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU2_STYLES['onmousedown'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	
var MENU3_POS = new Array();
	MENU3_POS['height']     = [22, 22];
	MENU3_POS['width']      = [130, 130];
	MENU3_POS['block_top']  = [255, 0];
	MENU3_POS['block_left'] = [15, 135];
	MENU3_POS['top']        = [0, 23];
	MENU3_POS['left']       = [0,0];
	MENU3_POS['hide_delay'] = [50, 50];

var MENU3_STYLES = new Array();
	MENU3_STYLES['onmouseout'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU3_STYLES['onmouseover'] = [
		'background', ['#6699cc', '#77b3ef'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU3_STYLES['onmousedown'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	
var MENU4_POS = new Array();
	MENU4_POS['height']     = [22, 22];
	MENU4_POS['width']      = [130, 130];
	MENU4_POS['block_top']  = [278, 23];
	MENU4_POS['block_left'] = [15, 0];
	MENU4_POS['top']        = [0, 23];
	MENU4_POS['left']       = [0,0];
	MENU4_POS['hide_delay'] = [50, 50];

var MENU4_STYLES = new Array();
	MENU4_STYLES['onmouseout'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU4_STYLES['onmouseover'] = [
		'background', ['#6699cc', '#77b3ef'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU4_STYLES['onmousedown'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	
var MENU5_POS = new Array();
	MENU5_POS['height']     = [22, 22];
	MENU5_POS['width']      = [130, 130];
	MENU5_POS['block_top']  = [301, 23];
	MENU5_POS['block_left'] = [15, 0];
	MENU5_POS['top']        = [0, 23];
	MENU5_POS['left']       = [0,0];
	MENU5_POS['hide_delay'] = [50, 50];

var MENU5_STYLES = new Array();
	MENU5_STYLES['onmouseout'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU5_STYLES['onmouseover'] = [
		'background', ['#6699cc', '#77b3ef'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU5_STYLES['onmousedown'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	
var MENU6_POS = new Array();
	MENU6_POS['height']     = [22, 22];
	MENU6_POS['width']      = [130, 130];
	MENU6_POS['block_top']  = [366, 0];
	MENU6_POS['block_left'] = [15, 130];
	MENU6_POS['top']        = [0, 23];
	MENU6_POS['left']       = [0,0];
	MENU6_POS['hide_delay'] = [50, 50];

var MENU6_STYLES = new Array();
	MENU6_STYLES['onmouseout'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU6_STYLES['onmouseover'] = [
		'background', ['#6699cc', '#77b3ef'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU6_STYLES['onmousedown'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];

var MENU7_POS = new Array();
	MENU7_POS['height']     = [22, 22];
	MENU7_POS['width']      = [130, 130];
	MENU7_POS['block_top']  = [389, 23];
	MENU7_POS['block_left'] = [15, 0];
	MENU7_POS['top']        = [0, 23];
	MENU7_POS['left']       = [0,0];
	MENU7_POS['hide_delay'] = [50, 50];

var MENU7_STYLES = new Array();
	MENU7_STYLES['onmouseout'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU7_STYLES['onmouseover'] = [
		'background', ['#6699cc', '#77b3ef'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU7_STYLES['onmousedown'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
var MENU8_POS = new Array();
	MENU8_POS['height']     = [22, 22];
	MENU8_POS['width']      = [130, 130];
	MENU8_POS['block_top']  = [412, 0];
	MENU8_POS['block_left'] = [15, 130];
	MENU8_POS['top']        = [0, 23];
	MENU8_POS['left']       = [0,0];
	MENU8_POS['hide_delay'] = [50, 50];

var MENU8_STYLES = new Array();
	MENU8_STYLES['onmouseout'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU8_STYLES['onmouseover'] = [
		'background', ['#6699cc', '#77b3ef'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU8_STYLES['onmousedown'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	var MENU9_POS = new Array();
	MENU9_POS['height']     = [22, 22];
	MENU9_POS['width']      = [130, 130];
	MENU9_POS['block_top']  = [435, 23];
	MENU9_POS['block_left'] = [15, 0];
	MENU9_POS['top']        = [0, 23];
	MENU9_POS['left']       = [0,0];
	MENU9_POS['hide_delay'] = [50, 50];

var MENU9_STYLES = new Array();
	MENU9_STYLES['onmouseout'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU9_STYLES['onmouseover'] = [
		'background', ['#6699cc', '#77b3ef'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU9_STYLES['onmousedown'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
var MENU10_POS = new Array();
	MENU10_POS['height']     = [22, 22];
	MENU10_POS['width']      = [130, 130];
	MENU10_POS['block_top']  = [458, 23];
	MENU10_POS['block_left'] = [15, 0];
	MENU10_POS['top']        = [0, 23];
	MENU10_POS['left']       = [0,0];
	MENU10_POS['hide_delay'] = [50, 50];

var MENU10_STYLES = new Array();
	MENU10_STYLES['onmouseout'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU10_STYLES['onmouseover'] = [
		'background', ['#6699cc', '#77b3ef'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU10_STYLES['onmousedown'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	
	var MENU11_POS = new Array();
	MENU11_POS['height']     = [22, 22];
	MENU11_POS['width']      = [130, 130];
	MENU11_POS['block_top']  = [481, 23];
	MENU11_POS['block_left'] = [15, 0];
	MENU11_POS['top']        = [0, 23];
	MENU11_POS['left']       = [0,0];
	MENU11_POS['hide_delay'] = [50, 50];

var MENU11_STYLES = new Array();
	MENU11_STYLES['onmouseout'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU11_STYLES['onmouseover'] = [
		'background', ['#6699cc', '#77b3ef'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU11_STYLES['onmousedown'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	
	var MENU12_POS = new Array();
	MENU12_POS['height']     = [22, 22];
	MENU12_POS['width']      = [130, 130];
	MENU12_POS['block_top']  = [504, 0];
	MENU12_POS['block_left'] = [15, 135];
	MENU12_POS['top']        = [0, 23];
	MENU12_POS['left']       = [0,0];
	MENU12_POS['hide_delay'] = [50, 50];

var MENU12_STYLES = new Array();
	MENU12_STYLES['onmouseout'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU12_STYLES['onmouseover'] = [
		'background', ['#6699cc', '#77b3ef'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU12_STYLES['onmousedown'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	
	var MENU13_POS = new Array();
	MENU13_POS['height']     = [22, 22];
	MENU13_POS['width']      = [130, 130];
	MENU13_POS['block_top']  = [527, 23];
	MENU13_POS['block_left'] = [15, 0];
	MENU13_POS['top']        = [0, 23];
	MENU13_POS['left']       = [0,0];
	MENU13_POS['hide_delay'] = [50, 50];

var MENU13_STYLES = new Array();
	MENU13_STYLES['onmouseout'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU13_STYLES['onmouseover'] = [
		'background', ['#6699cc', '#77b3ef'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU13_STYLES['onmousedown'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	
	var MENU14_POS = new Array();
	MENU14_POS['height']     = [22, 22];
	MENU14_POS['width']      = [130, 130];
	MENU14_POS['block_top']  = [592, 0];
	MENU14_POS['block_left'] = [15, 135];
	MENU14_POS['top']        = [0, 23];
	MENU14_POS['left']       = [0,0];
	MENU14_POS['hide_delay'] = [50, 50];

var MENU14_STYLES = new Array();
	MENU14_STYLES['onmouseout'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU14_STYLES['onmouseover'] = [
		'background', ['#6699cc', '#77b3ef'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU14_STYLES['onmousedown'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	var MENU15_POS = new Array();
	MENU15_POS['height']     = [22, 22];
	MENU15_POS['width']      = [130, 130];
	MENU15_POS['block_top']  = [616, 23];
	MENU15_POS['block_left'] = [15, 0];
	MENU15_POS['top']        = [0, 23];
	MENU15_POS['left']       = [0,0];
	MENU15_POS['hide_delay'] = [50, 50];

var MENU15_STYLES = new Array();
	MENU15_STYLES['onmouseout'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU15_STYLES['onmouseover'] = [
		'background', ['#6699cc', '#77b3ef'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU15_STYLES['onmousedown'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	
var MENU16_POS = new Array();
	MENU16_POS['height']     = [22, 22];
	MENU16_POS['width']      = [130, 130];
	MENU16_POS['block_top']  = [639, 23];
	MENU16_POS['block_left'] = [15, 0];
	MENU16_POS['top']        = [0, 23];
	MENU16_POS['left']       = [0,0];
	MENU16_POS['hide_delay'] = [50, 50];

var MENU16_STYLES = new Array();
	MENU16_STYLES['onmouseout'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU16_STYLES['onmouseover'] = [
		'background', ['#6699cc', '#77b3ef'],
		'color', ['#ffffff', '#ffffff'],
	];
	MENU16_STYLES['onmousedown'] = [
		'background', ['#336699', '#6699cc'],
		'color', ['#ffffff', '#ffffff'],
	];
	