var states = ['mout', 'mover', 'mdown'],

MENU_ITEMS0 = [
	[wrap_root('Home', 'd'), 'ita/home.htm'],
	[wrap_root('Chi siamo', 'd'), 'ita/chisiamo.htm'],
	[wrap_root('M2M', 'd'), null, 
			[wrap_child('Perchè M2M', null, 'r'),'ita/perche.htm'],
			[wrap_child('Cosa è M2M-Easy', null, 'r'),'ita/cosa.htm'],
			[wrap_child('Settori di applicazione', null, 'r'),'ita/settori.htm'],
			[wrap_child('Options', null, 'r'), 'ita/options.htm'],									
			[wrap_child('Caratteristiche', null, 'r'),'ita/caratteristiche.htm']
	],
	

	[wrap_root('Contatti', 'd'), 'ita/contatti.htm'],

	[wrap_root('FAQ', 'd'), 'ita/faq.htm']
];

function wrap_child (text,icon,pos) {
	var res=[];
	for (var i=0; i<3; i++)
		res[i]='<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td width=100%>&nbsp; ' + text + '</font></td>'+(pos?'':'')+'</tr></table>';
	return res;
}

function wrap_root (text,pos) {
	var res=[]; for (var i=0; i<states.length; i++)
		res[i]='<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td><img src=icons/' + i + 'darrow.gif width=12 height=12 align=absmiddle>&nbsp;</td><td width=100%>&nbsp;' + text + '</font></td></tr></table>';
	return res;
}


