var MENU_ITEMS_XP = [
	[wrap_root('Company Info'), '', {'sw' : 95, 'sb': 'Home'} ,
			[wrap_child('Home', 'pixel.gif'), 'index2.htm', {'sb': 'Home'}],
			[wrap_child('Company Overview', 'pixel.gif'), 'company.htm', {'sb': 'Company Overview'}],
			[wrap_child('Partners', 'pixel.gif'), 'partners.htm', {'sb': 'Partners'}],
			[wrap_child('Contact eRevenue®', 'pixel.gif'), 'contact.htm', {'sb': 'Contact eRevenue®'}]	
	],
	[wrap_root('Services'), '', {'sw' : 60, 'sb': 'Services'},
			[wrap_child('SafeLine<sup style="font-size: 8px;">SM</sup> Overview', 'pixel.gif'), 'safeline.htm', {'sb': 'SafeLine Overview'}],
			[wrap_child('Testimonials', 'pixel.gif'), 'testimonials.htm', {'sb': 'Testimonials'}],
			[wrap_child('Services & Support', 'pixel.gif'), 'service.htm', {'sb': 'Services and Support'}],
			[wrap_child('Technical Overview', 'pixel.gif'), 'technical.htm', {'sb': 'Technical Overview'}]
	],
	[wrap_root('Banking'), '', {'sw' : 60, 'sb': 'Banking'},
			[wrap_child('Working Capital Lending Defined', 'pixel.gif'), 'working.htm', {'sb': 'Working Capital Lending Defined'}],
			[wrap_child('Commercial Paper Defined', 'pixel.gif'), 'commpaper.htm', {'sb': 'Commercial Paper Defined'}],
			[wrap_child('Invisible Collateral', 'pixel.gif'), 'invisible.htm', {'sb': 'Invisible Collateral'}],
			[wrap_child('Cycle of Collateral', 'pixel.gif'), 'cycle.htm', {'sb': 'The Cycle of Collateral'}],
			[wrap_child('Regulations and Minefields', 'pixel.gif'), 'regulations.htm', {'sb': 'Regulations and Minefields'}],
			[wrap_child('Compliance &amp; Oper. Environs.', 'pixel.gif'), 'compliance.htm', {'sb': 'Compliance & Operational Environments'}],
			[wrap_child('Risks Inherent in Lending', 'pixel.gif'), 'risks.htm', {'sb': 'Risks Inherent in Lending'}],
			[wrap_child('Risks versus Rewards', 'pixel.gif'), 'rewards.htm', {'sb': 'Risks versus Rewards'}],
			[wrap_child('Summary', 'pixel.gif'), 'summary.htm', {'sb': 'Summary'}]
	],
	[wrap_root('Commercial Finance'), '', {'sw' : 120, 'sb': 'Commercial Finance'},
			[wrap_child('Working Capital Lending Defined', 'pixel.gif'), 'cf_working.htm', {'sb': 'Working Capital Lending Defined'}],
			[wrap_child('Commercial Paper Defined', 'pixel.gif'), 'cf_comm.htm', {'sb': 'Commercial Paper Defined'}],
			[wrap_child('Invisible Collateral', 'pixel.gif'), 'cf_invisible.htm', {'sb': 'Invisible Collateral'}],
			[wrap_child('Cycle of Collateral', 'pixel.gif'), 'cf_cycle.htm', {'sb': 'Cycle of Collateral'}],
			[wrap_child('Deal Structures and Minefields', 'pixel.gif'), 'cf_deal.htm', {'sb': 'Deal Structures and the Minefields That Can Be Created'}],
			[wrap_child('Dependable Structure Strategies', 'pixel.gif'), 'cf_depend.htm', {'sb': 'Dependable Structure Strategies'}],
			[wrap_child('Compliance &amp; Oper. Environs.', 'pixel.gif'), 'cf_compliance.htm', {'sb': 'Compliance and Operational Environments'}],
			[wrap_child('Risks Inherent in Lending', 'pixel.gif'), 'cf_risks.htm', {'sb': 'Risks Inherent in Lending'}],
			[wrap_child('Risks versus Rewards', 'pixel.gif'), 'cf_rewards.htm', {'sb': 'Risks versus Rewards'}],
			[wrap_child('Summary', 'pixel.gif'), 'cf_summary.htm', {'sb': 'Summary'}]
	],
	[wrap_root('Request Info'), '', {'sw' : 80, 'sb': 'Request Info'},
			[wrap_child('Free Reports', 'pixel.gif'), 'request.htm', {'sb': 'Free Reports'}],
			[wrap_child('Schedule a Demo', 'pixel.gif'), 'demo.htm', {'sb': 'Schedule a Demo'}],
			[wrap_child('Subscribe to Newsletters', 'pixel.gif'), 'newsletter.htm', {'sb': 'Subscribe to Newsletters'}]
	]
]; 

function wrap_parent (text,icon) {
	return [['<table cellpadding=1 cellspacing=0 border=0 width=100%><tr><td bgcolor=#EFEDDE><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100%><table cellpadding=1 cellspacing=0 border=0 width=100% height=22><tr><td class=a0>&nbsp; ', text, '</td></tr></table></td><td><img src=icons/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#CED1C3><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100% class=a0>&nbsp; ', text, '</td><td><img src=icons/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#CED1C3><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100% class=a0>&nbsp; ', text, '</td><td><img src=icons/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table></td></tr></table>'].join('')
	];
}

function wrap_child (text,icon) {
	return [['<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td width=100%><table cellpadding=1 cellspacing=0 border=0 width=100% height=22><tr><td class=b0>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td width=100%><table cellpadding=1 cellspacing=0 border=0 width=100% height=22><tr><td class=b1>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td width=100%><table cellpadding=1 cellspacing=0 border=0 width=100% height=22><tr><td class=b1>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join('')
	];
}

//function wrap_root (text) {
//	return [
//	'<table cellpadding=0 cellspacing=0 border=0><tr><td class=a0 align="center">' + text + '</td></tr></table>',
//	'<table cellpadding=0 cellspacing=0 border=0><tr><td class=a1 align="center">' + text + '</td></tr></table>',
//	'<table cellpadding=0 cellspacing=0 border=0><tr><td class=a1 align="center">' + text + '</td></tr></table>'
//	];

function wrap_root (text) {
	return [
	'<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td class=a0 align="center">&nbsp;&nbsp;' + text + '</td><td class=aa0 align="right">&nbsp;&nbsp;|</td></tr></table>',
	'<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td class=a1 align="center">&nbsp;&nbsp;' + text + '</td><td class=aa1 align="right">&nbsp;&nbsp;|</td></tr></table>',
	'<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td class=a1 align="center">&nbsp;&nbsp;' + text + '</td><td class=aa1 align="right">&nbsp;&nbsp;|</td></tr></table>',
	];

}

function viewbook () {
	window.open('bna_page1.html','bookcloseup','width=500,height=575');
}