var MENU_ITEMS_XP = [
	[wrap_root('about us'), './about.html', {'sw' : 80}, 
		
	],
	[wrap_root('products', 'd'), './product.html', {'bw' : 130},
			[wrap_child('elements repository'), './product_el_re.html', ],
			[wrap_child('CIO one-stop'), './product_cio.html', ],
			[wrap_child('DoDAF elements'), './product_dodaf.html', ],
			[wrap_child('elements DSE'), './product_dse.html', ],
			[wrap_child('elements inside'), './product_el_in.html', ]
		],
		
	[wrap_root('services'), 'services.html', {'bw' : 121},
			[wrap_child('training', null), './services_training.html'],
			[wrap_child('deployment', null), './services_deployment.html'],
			[wrap_child('consulting', null), './services_consulting.html']
			
			
	],
	[wrap_root('vertical markets'), './vertical.html', {'bw' : 121},
			
			[wrap_child('DoDAF', null), './vertical_dodaf.html'],
			[wrap_child('CPIC', null), './vertical_capital.html']
			
			],
	[wrap_root('news'), './news.html', {'bw' : 150},
			
	],
	[wrap_root('resources'), './resources.html', {'bw' : 130},
			[wrap_child('marketing collateral', null), './resources_marketing.html'],
			[wrap_child('whitepapers', null), './resources_whitepapers.html'],
			[wrap_child('references', null), './resources_references.html']
			
			],
		
	[wrap_root('partners'), './partners.html', {'bw' : 140},
			[wrap_child('solution-providers', null), './partners_services.html'],
			[wrap_child('value-added resellers', null), './partners_value.html'],
			[wrap_child('integration partners', null), './partners_integration.html']			
			
	]
]; 

function wrap_parent (text,icon) {
	return [['<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=2', ' 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=0 cellspacing=0 border=0 width=100%  ><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#D7CFE5><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=2', ' 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=0 cellspacing=0 border=0 width=100% ><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#D7CFE5><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=2', ' 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 ><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=2', ' 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></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#D7CFE5><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=2', ' hspace=3></td><td width=100% class=a0>&nbsp; ', text, '</td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#D7CFE5><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=2', ' hspace=3></td><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% bgcolor="#ffffff"><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=18><tr><td width=100% class=a0 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
	'<table cellpadding=0 cellspacing=0 border=0 width=100% bgcolor="#D7CFE5"><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=18><tr><td width=100% class=a1 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
	'<table cellpadding=0 cellspacing=0 border=0 width=100% bgcolor="#D7CFE5"><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=18><tr><td width=100% class=a1 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>'
	];
}