/* --- geometry and timing of the menu --- */
var MENU_POS_CW = new Array();
	// item sizes for different levels of menu
	MENU_POS_CW['height'] = [15, 20, 21];
	MENU_POS_CW['width'] = [120, 100, 100];
	// 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_CW['block_top'] = [0, 18, 4];
	MENU_POS_CW['block_left'] = [195, 12, 85];
	// offsets between items of the same level
	MENU_POS_CW['top'] = [0, 20, 21];
	MENU_POS_CW['left'] = [100, 0, 0];
	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	MENU_POS_CW['hide_delay'] = [100, 1000, 1500];
	
/* --- 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_CW = new Array();
	// default item state when it is visible but doesn't have mouse over
	MENU_STYLES_CW['onmouseout'] = [
		'color', ['#ffffff', '#ffffff', '#ffffff'], 
   		'background', ['url(/images/lia.gif)', '#425273', '#64779e'],
      'border', ['0px', '1px solid #425273', '1px solid #64779e'],

	];
	// state when item has mouse over it
	MENU_STYLES_CW['onmouseover'] = [
		'color', ['#ffffff', '#ffffff', '#ffffff'], 
		'background', ['url(/images/liahover.gif) no-repeat', '#9fbce7', '#9fbce7'],
      'border', ['0px', '1px solid #425273', '1px solid #64779e'],
	];
	// state when mouse button has been pressed on the item
	MENU_STYLES_CW['onmousedown'] = [
		'color', ['#ffffff', '#ffffff', '#ffffff'], 
		'fontWeight', ['bold', 'bold', 'bold'],
		'textDecoration', ['none', 'none', 'none'],
	];
	// state for unselected menu item before selected menu item 
	MENU_STYLES_CW['before'] = [
		'color', ['#ffffff', '#ffffff', '#ffffff'], 
   		'background', ['url(/images/lia.gif)', '#425273', '#425273'],
      		'fontFamily', ['arial, verdana, helvetica, sans-serif', 'arial, verdana, helvetica, sans-serif', 'arial, verdana, helvetica, sans-serif'],
	   	'fontSize', ['0.7em', '0.6em', '0.6em'],
      		'fontWeight', ['bold', 'bold', 'bold'],
		'textDecoration', ['none', 'none', 'none'],
		'textAlign', ['center', 'left', 'left'],
		'textIndent', ['10px', '10px', '10px'],
                'padding', ['0 0 0 5px','0','0'],
	];
	// state for selected menu item
	MENU_STYLES_CW['selected'] = [
		'color', ['#455372', '#ffffff', '#ffffff'], 
   		'background', ['url(/images/liaselected.gif)', '#425273', '#425273'],
      		'fontFamily', ['arial, verdana, helvetica, sans-serif', 'arial, verdana, helvetica, sans-serif', 'arial, verdana, helvetica, sans-serif'],
	   	'fontSize', ['0.7em', '0.6em', '0.6em'],
      		'fontWeight', ['bold', 'bold', 'bold'],
		'textDecoration', ['none', 'none', 'none'],
		'textAlign', ['center', 'left', 'left'],
		'textIndent', ['20px', '10px', '10px'],
                'zIndex', ['100', '10', '10'],
                'width', ['120px','0','0'],
                'padding', ['0.1em 0 0.2em 5px', '0', '0'],
                'borderRight', ['2px solid #f8f8f8', '0', '0'],
	];
	// state for unselected menu item after selected menu item 
	MENU_STYLES_CW['after'] = [
		'color', ['#ffffff', '#ffffff', '#ffffff'], 
   		'background', ['url(/images/lia.gif)', '#425273', '#425273'],
      		'fontFamily', ['arial, verdana, helvetica, sans-serif', 'arial, verdana, helvetica, sans-serif', 'arial, verdana, helvetica, sans-serif'],
	   	'fontSize', ['0.7em', '0.6em', '0.6em'],
      		'fontWeight', ['bold', 'bold', 'bold'],
		'textDecoration', ['none', 'none', 'none'],
		'textAlign', ['center', 'left', 'left'],
		'textIndent', ['10px', '10px', '10px'],
                'padding', ['0 0 0.3em 5px','0','0'],
	];
	// state for submenus
	MENU_STYLES_CW['submenu'] = [
		'color', ['', '#ffffff', '#ffffff'], 
  		'fontFamily', ['', 'arial, verdana, helvetica, sans-serif', 'arial, verdana, helvetica, sans-serif'],
   	'fontSize', ['', '0.6em', '0.6em'],
  		'fontWeight', ['', 'bold', 'bold'],
		'textDecoration', ['', 'none', 'none'],
		'textAlign', ['', 'left', 'left'],
		'textIndent', ['', '5px', '5px'],
      'padding', ['','0','0'],
	];
