var MENU_ITEMS_XP2 = [
	[wrap_root('CHI SIAMO'), ['http://localhost/aprovadisogno2002/ita/root_chisiamo_ita.asp', '_top']
	],
	[wrap_root('CONTATTI'), ['http://localhost/aprovadisogno2002/ita/root_contatti_ita.asp', '_top']
	],
	[wrap_root('DOVE PRENOTARE'), ['http://localhost/aprovadisogno2002/ita/root_prenota_ita.asp', '_top']
	],
	[wrap_root('CREDIT'), ['http://localhost/aprovadisogno2002/ita/root_credit_ita.asp', '_top']
	]
]
function wrap_parent (text,pos,icon) {
	var res=[
	'<table cellpadding=1 cellspacing=0 border=0 width=100%><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=20><tr><td><td width=100%>' + text + '</td><td><img src=../js/icons/arr.gif width=4 height=7 align="middle" align=absmiddle>&nbsp;</td></tr></table></td></tr></table>',
	'<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#ced1c3><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=20 bgcolor=#efedde><tr><td><td width=100%>' + text + '</td><td><img src=../js/icons/arr.gif width=4 height=7 align="middle" align=absmiddle>&nbsp;</td></tr></table></td></tr></table>',
	'<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#ced1c3><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=20 bgcolor=#efedde><tr><td><td width=100%>' + text + '</td><td><img src=../js/icons/arr.gif width=4 height=7 align="middle" align=absmiddle>&nbsp;</td></tr></table></td></tr></table>'
	];
	return res;
}

function wrap_child (text,icon) {
	var res=[
	'<table cellpadding=1 cellspacing=0 border=0 width=100% height=20<tr><td bgcolor=#cc9999>&nbsp;<img height=16 src=' + (icon !=null ? '/icons/' + icon + ' height=16': 'pixel.gif width=16') + '>&nbsp;<td width=100%><table cellpadding=1 cellspacing=0 border=0 width=100% height=20><tr><td>&nbsp; ' + text + '</td></tr></table></td></tr></table>',
	'<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#cc9999><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=18 bgcolor=#efedde><tr><td>&nbsp;<img height=16 src=' + (icon !=null ? '/icons/' + icon + ' height=16': 'pixel.gif width=16') + '>&nbsp;<td width=100%>&nbsp; ' + text + '</td></tr></table></td></tr></table>',
	'<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#cc9999><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=18 bgcolor=#efedde><tr><td>&nbsp;<img height=16 src=' + (icon !=null ? '/icons/' + icon + ' height=16': 'pixel.gif width=16') + '>&nbsp;<td width=100%>&nbsp; ' + text + '</td></tr></table></td></tr></table>'
	];
	return res;
}

function wrap_root (text) {
	var res=[
	'<table cellpadding=1 cellspacing=0 border=0 width=100%>                <tr><td><table cellpadding=0 cellspacing=0 width=100% height=18><tr><td width=100% class=a0><div align="center">&nbsp;' + text + '</div></td></tr></table></td></tr></table>',
	'<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#003366><tr><td><table cellpadding=0 cellspacing=0 width=100% height=18><tr><td width=100% class=a1><div align="center">&nbsp;' + text + '</div></td></tr></table></td></tr></table>',
	'<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#003366><tr><td><table cellpadding=0 cellspacing=0 width=100% height=18><tr><td width=100% class=a1><div align="center">&nbsp;' + text + '</div></td></tr></table></td></tr></table>'
	];
	return res;
}
