var MENU_ITEMS_XP = [
	[wrap_root('Home', 'd'), '../index.asp'],
	[wrap_root('Societą', 'd'), null, 
			[wrap_child('La nostra societą', null, 'd'),'../ITA/societa.htm'],			   
			[wrap_child('La nostra societą', null, 'd'),'../ITA/societa.htm'],
			[wrap_child('Qualitą', null, 'd'),'../ITA/qualita.htm'],
			[wrap_child('Certificati ed Approvazioni', null, 'd'),'../ITA/certificati.htm'],
			[wrap_child('Software', null, 'd'), '../ITA/software.htm'],		
			[wrap_child('Referenze', null, 'd'), '../ITA/referenze.htm'],								
			[wrap_child('Come raggiungerci', null, 'd'),'../ITA/raggiungerci.htm']
	],
		[wrap_root('Prodotti', 'd'), null,
			[wrap_child('Media Tensione', 'd'),null,
					[wrap_child('LB-TPS Interruttore di manovra in SF6', 'd'),'../ITA/A01.htm'],						
					[wrap_child('LB-TPS Interruttore di manovra in SF6', 'd'),'../ITA/A01.htm'],
					[wrap_child('TCB Interruttore Automatico in Vacuum', 'd'),'../ITA/A02.htm'],
					[wrap_child('TPS Quadri MT fino a 24kV', 'd'),'../ITA/A03.htm'],
					[wrap_child('PLS Sezionatori da palo', 'd'),'../ITA/A04.htm'],
					[wrap_child('TPR6 Quadri MT tipo RMU', 'd'),'../ITA/A05.htm']
			],
			[wrap_child('Media Tensione', 'd'),null,
					[wrap_child('LB-TPS Interruttore di manovra in SF6', 'd'),'../ITA/A01.htm'],						
					[wrap_child('LB-TPS Interruttore di manovra in SF6', 'd'),'../ITA/A01.htm'],
					[wrap_child('TCB Interruttore Automatico in Vacuum', 'd'),'../ITA/A02.htm'],
					[wrap_child('TPS Quadri MT fino a 24kV', 'd'),'../ITA/A03.htm'],
					[wrap_child('PLS Sezionatori da palo', 'd'),'../ITA/A04.htm'],
					[wrap_child('TPR6 Quadri MT tipo RMU', 'd'),'../ITA/A05.htm']
			],
			[wrap_child('Bassa Tensione', 'd'),null,
					[wrap_child('BTL-PC Quadri BT Power Center', 'd'),'../ITA/B01.htm'],
					[wrap_child('BTL-PC Quadri BT Power Center', 'd'),'../ITA/B01.htm'],
					[wrap_child('MCC Quadri BT Avviamento Motori', 'd'),'../ITA/B02.htm'],
					[wrap_child('BTL-PC MARINE Quadri BT serie NAVALE', 'd'),'../ITA/B03.htm']
			],	
			[wrap_child('Cabine di trasformazione', 'd'),null,
					[wrap_child('CAB Cabine di trasformazione MT/BT', 'd'),'../ITA/C01.htm'],
					[wrap_child('CAB Cabine di trasformazione MT/BT', 'd'),'../ITA/C01.htm']
			],		
			[wrap_child('Esecuzioni speciali', 'd'),null,
					[wrap_child('Quadri BT di TRATTA per FS', 'd'),'../ITA/D01.htm'],
					[wrap_child('Quadri BT di TRATTA per FS', 'd'),'../ITA/D01.htm'],
					[wrap_child('Quadri MT per Commutazioni', 'd'),'../ITA/D02.htm'],
					[wrap_child('Quadri MT tipo Junction Box', 'd'),'../ITA/D03.htm']
			],		
			[wrap_child('Sistema di supervisione', 'd'),null,
					[wrap_child('MONITOR2003 - Programmare&Gestire dal PC' , 'd'),'../ITA/E01.htm'],						
					[wrap_child('MONITOR2003 - Programmare&Gestire dal PC' , 'd'),'../ITA/E01.htm']
			],		
			
	],




	[wrap_root('Downloads', 'd'), null, 
			[wrap_child('Cataloghi', null, 'd'),'../ITA/LOGIN_CATALOGS.HTM'],
			[wrap_child('Cataloghi', null, 'd'),'../ITA/LOGIN_CATALOGS.HTM'],			
			[wrap_child('Area Riservata', null, 'd'), '../ASP/download.asp']
	],
	[wrap_root('Contatti', 'd'), null, 
			[wrap_child('Italia', null, 'd'),'../ITA/italia.htm'],			   
			[wrap_child('Italia', null, 'd'),'../ITA/italia.htm'],
			[wrap_child('Export', null, 'd'), '../ITA/export.htm']
	],
	[wrap_root('Eventi e News', 'd'), '../ITA/Home_News.htm'],
]; 
var ii0 = new Image(); ii0.src = 'icons/arr.gif';
var ii1 = new Image(); ii1.src = 'icons/i.gif';
var ii2 = new Image(); ii2.src = 'icons/n7.gif';
var ii3 = new Image(); ii3.src = 'icons/m12.gif';
var ii4 = new Image(); ii4.src = 'icons/o.gif';
var ii5 = new Image(); ii5.src = 'icons/email.gif';
var ii6 = new Image(); ii6.src = 'icons/icq.gif';
var ii7 = new Image(); ii7.src = 'icons/yahoo.gif';
var ii8 = new Image(); ii8.src = 'icons/aol.gif';
var ii9 = new Image(); ii9.src = 'menu_files/pixel.gif';

function wrap_parent (text,icon) {
	return [['<table cellpadding=1 cellspacing=0 border=0 width=100%><tr><td bgcolor=#D5E1ED><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%><tr><td class=a0>&nbsp; ', text, '</td></tr></table></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#0052a4><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#0052a4><tr><td><img  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=#0052a4><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#0052a4><tr><td><img 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=1 cellspacing=0 border=0 width=100%><tr><td width=100%><table cellpadding=1 cellspacing=0 border=0 width=100%><tr><td class=a0>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#0052a4><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#0052a4><tr><td width=99% class=a0>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#0052a4><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#0052a4><tr><td width=99% class=a0>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join('')
	];
}

function wrap_root (text) {
	return [
	'<table cellpadding=1 cellspacing=0 border=0 width=100%><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td width=100% class=a0 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
	'<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#0052a4><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% ><tr><td width=100% class=a1 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
	'<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#0052a4><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td width=100% class=a1 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>'
	];
}
