var MENU_ITEMS_XP = [

	[wrap_root('About OSRI'), '/about_osri/', {'sw' : 110},
		[wrap_child('Mission', ''), '/about_osri/mission.shtml', {'tt' : 'OSRI Mission Statement', 'sb' : 'OSRI Mission Statement'}],
		[wrap_child('Background', ''), '/about_osri/background.shtml', {'tt' : 'The History of OSRI', 'sb' : 'The History of OSRI'}],
		[wrap_child('Goals', ''), '/about_osri/goals.shtml', {'tt' : 'Goals', 'sb' : 'Goals'}],
                [wrap_child('OSRI Board', ''), '/business/bod/bod.shtml', {'tt' : 'Board of Directors', 'sb' : 'Board of Directors'}],
		[wrap_child('OPA 90 Legislation', ''), '/about_osri/OPA90.pdf', {'tt' : 'OPA 90 Legislation', 'sb' : 'OPA 90 Legislation'}],
		[wrap_child('Overview', ''), '/about_osri/strategic_plan_2008.pdf', {'tt' : 'OSRI Overview Brochure', 'sb' : 'OSRI Overview Brochure'}],
		[wrap_child('Science Plan', ''), '/business/science_plan.pdf', {'tt' : 'OSRI Science Plan', 'sb' : 'OSRI Science Plan'}],
		[wrap_child('Staff Members', ''), '/about_osri/staff.shtml', {'tt' : 'OSRI Staff', 'sb' : 'OSRI Staff'}]
	],

	[wrap_root('What\'s New'), '/whatsnew/toc.shtml', {'sw' : 110},
		[wrap_child('News & Events', ''), '/whatsnew/index.shtml', {'tt' : 'News Items', 'sb' : 'News Items'}],
		[wrap_child('Employment', ''), '/whatsnew/employment.shtml', {'tt' : 'Employment', 'sb' : 'Employment'}]
	],

	[wrap_root('Programs'), '/programs/', {'sw' : 85},
		[wrap_child('Annual Work Plans', ''), '/programs/work_plans.shtml', {'tt' : 'Annual Work Plans', 'sb' : 'Annual Work Plan'}],
		[wrap_child('Projects/Contracts List', ''), '/programs/project_list.php', {'tt' : 'Projects/Contracts List', 'sb' : 'Projects/Contracts List'}],
		[wrap_child('Graduate Research Fellowships', ''), '/programs/grf_overview.shtml', {'tt' : 'Graducate Research Fellowships', 'sb' : 'Graducate Research Fellowships'}],
        [wrap_child('Joint Industry Program (JIP)', ''), '/programs/jip/jip.shtml', {'tt' : 'Joint Industry Program', 'sb' : 'Joint Industry Program'}],
		[wrap_child('Prize Program', ''), '/programs/prize/prize.shtml', {'tt' : 'OSRI Prize Program', 'sb' : 'OSRI Prize Program'}],
		[wrap_child('Education Program', ''), '/programs/education/education.shtml', {'tt' : 'OSRI Education Program', 'sb' : 'OSRI Education Program'}],
	],

	[wrap_root('Grants'), '/grants/', {'sw' : 69},
		[wrap_child('Applications', ''), '/grants/app_proc.shtml', {'tt' : 'Applications', 'sb' : 'Applications'}],
		[wrap_child('Request for Proposal', ''), '/grants/rfp.shtml', {'tt' : 'Request for Proposals', 'sb' : 'Request for Proposals'}],
		[wrap_child('Process', ''), '/programs/process.shtml', {'tt' : 'Our Process', 'sb' : 'Our Process'}],
		[wrap_child('Policy Manual', ''), '/grants/policy_manual.shtml', {'tt' : 'Policy Manual', 'sb' : 'Policy Manual'}],
		[wrap_child('Past Solicitations', ''), '/grants/past_solicitations.shtml', {'tt' : 'Past Solicitations', 'sb' : 'Past Solicitations'}]
	],

	[wrap_root('Publications'), '/publications/', {'sw' : 100},
		[wrap_child('Reports', ''), '/publications/reports.shtml', {'tt' : 'OSRI Reports', 'sb' : 'OSRI Reports'}],
		[wrap_child('Journal Publications', ''), '/publications/journal_pubs.shtml', {'tt' : 'Journal Publications', 'sb' : 'Journal Publications'}],
		[wrap_child('Other Publications', ''), '/publications/other_pubs.shtml', {'tt' : 'Other Reports and Publications', 'sb' : 'Other Reports and Publications'}]
	],

	[wrap_root('Business'), '/business/', {'sw' : 80},
		[wrap_child('Meeting Notices', ''), '/business/meetings.shtml', {'tt' : 'Meeting Notices', 'sb' : 'Meeting Notices'}],
		[wrap_child('OSRI Bylaws', ''), '/business/bylaws.shtml', {'tt' : 'OSRI Bylaws', 'sb' : 'OSRI bylaws'}],
		[wrap_child('Advisory Board', ''), '/business/adv_board.shtml', {'tt' : 'Advisory Board', 'sb' : 'Advisory Board'}],
		[wrap_child('Board Minutes', ''), '/business/bod/bod_minutes.shtml', {'tt' : 'Board Minutes', 'sb' : 'Board Minutes'}],
		[wrap_child('Strategic Plan', ''), '/business/strategic_plan.pdf', {'tt' : 'Strategic Plan', 'sb' : 'Strategic Plan'}],
		[wrap_child('Financial Information', ''), '/business/finance/financial.shtml', {'tt' : 'Financial Information', 'sb' : 'Financial Information'}],
		[wrap_child('Sci/Tech Committee', ''), '/business/sci_tech/sci_tech.shtml', {'tt' : 'Scientific and Technical Committee', 'sb' : 'Scientific and Technical Committee'}]
		],

	[wrap_root('Links'), '/links/links.shtml', {'sw' : 55, 'tt' : 'Links'},

	],

	[wrap_root('Contact Us'), '/contact.shtml', {'sw' : 100, 'tt' : 'Contact Us'},

	],

	[wrap_root('Home'), '/index.shtml', {'sw' : 60, 'tt' : 'Home Page'},

	],

	
	
	
]; 
var ii0 = new Image(); ii0.src = '/images/arr.gif';
var ii1 = new Image(); ii1.src = '/images/loon_icon.png';
var ii2 = new Image(); ii2.src = '/images/linkdot.png';
var ii3 = new Image(); ii3.src = '/images/trans.gif';
var ii4 = new Image(); ii4.src = '/images/menudot.gif';

function wrap_parent (text,icon) {
	return [['<table cellpadding=0 cellspacing=0 border=0 width=100% height=22 style="border-bottom: solid white 1px;"><tr><td width=100% class=a0>&nbsp; ', text, '</td><td><img src=/images/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table>'].join(''),
	['<table cellpadding=0 cellspacing=0 border=0 width=100% height=22 bgcolor=white style="border-bottom: solid #003399 1px;"><tr><td width=100% class=a1>&nbsp; ', text, '</td><td><img src=/images/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table>'].join(''),
	['<table cellpadding=0 cellspacing=0 border=0 width=100% height=22 style="border-bottom: solid white 1px;"><tr><td width=100% class=a0>&nbsp; ', text, '</td><td><img src=/images/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table>'].join('')
	];
}

function wrap_child (text,icon) {
	return [['<table cellpadding=0 cellspacing=0 border=0 width=100% height=22 style="border-bottom: solid white 1px;"><tr><td class=a0>&nbsp; ', text, '</td></tr></table>'].join(''),
	['<table cellpadding=0 cellspacing=0 border=0 width=100% height=22 style="border-bottom: solid #003399 1px;"><tr><td width=100% class=a1>&nbsp; ', text, '</td></tr></table>'].join(''),
	['<table cellpadding=0 cellspacing=0 border=0 width=100% height=22 style="border-bottom: solid white 1px;"><tr><td width=100% class=a0>&nbsp; ', text, '</td></tr></table>'].join('')
	];
}

function wrap_root (text) {
	return [
	'<table cellpadding=0 cellspacing=0 border=0 width=100% height=21 style="padding-right: 1px;"><tr><td width=100% class=a2 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table>',
	'<table cellpadding=0 cellspacing=0 border=0 width=100% height=21 style="padding-right: 1px;"><tr><td width=100% class=a3 align="center" bgcolor=white>&nbsp; ' + text + ' &nbsp;</td></tr></table>',
	'<table cellpadding=0 cellspacing=0 border=0 width=100% height=21 style="padding-right: 1px;"><tr><td width=100% class=a2 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table>'
	];
}

