var MENU_ITEMS_XP = [
	[wrap_root('service'), 'service.html', {'sw' : 105}, 
		[wrap_child('Frequenzumrichter'), 's_frequenz.html', {'tt' : 'Wartung und Reparatur von Frequenzumrichtern', 'sb' : 'Multiple demo'}],
		[wrap_child('AC/DC Motoren'), 's_ac_dc.html', {'tt' : 'Wartung und Reparatur von Gleichstrom- und Wechselstrommotoren', 'sb' : 'Multiple demo'}],
		[wrap_child('Servomotoren'), 's_servo.html', {'tt' : 'Wartung und Reparatur von Servomotoren', 'sb' : 'Multiple demo'}],
		[wrap_child('Getriebemotoren'), 's_getriebe.html', {'tt' : 'Wartung und Reparatur von Getriebemotoren', 'sb' : 'Multiple demo'}],
		[wrap_child('Generatoren/Transformatoren'), 's_generator.html', {'tt' : 'Wartung und Reparatur von Generatoren und Transformatoren', 'sb' : 'Multiple demo'}],
		[wrap_child('Pumpen'), 's_pumpen.html', {'tt' : 'Wartung und Reparatur von Pumpen', 'sb' : 'Multiple demo'}],
		[wrap_child('DL-Technik'), 's_dl_tech.html', {'tt' : 'Wartung und Reparatur von DL-Technik', 'sb' : 'Multiple demo'}],
		[wrap_child('Werkzeuge'), 's_werkzeuge.html', {'tt' : 'Wartung und Reparatur von Elektrowerkzeugen', 'sb' : 'Multiple demo'}],
		[wrap_child('Reinigung'), 's_reinigung.html', {'tt' : 'Wartung und Reparatur von Hochdruckreinigern', 'sb' : 'Multiple demo'}],
		[wrap_child('Zustandsorientierte Wartung'), 's_zust_wart.html', {'tt' : 'Wir warten Ihre Maschinen und Geräte je nach Alter und Zustand vor Ort und in einem unserer Betriebe', 'sb' : 'Multiple demo'}],
	],
	[wrap_root('pumpen'), 'pumpen.html', {'sw' : 105}, 
		[wrap_child('Wasser'), 'p_wasser.html', {'tt' : 'Wir fördern so gut wie alles', 'sb' : 'Pumpenprogramm'}],	
		[wrap_child('Abwasser'), 'p_abwasser.html', {'tt' : 'Abwasser ist unsere große Passion', 'sb' : 'Pumpensteuerungen'}],
		[wrap_child('Industrie'), 'p_industrie.html', {'tt' : 'Industrielle Anlagen', 'sb' : 'Multiple demo'}],
	],
	[wrap_root('antriebe'), 'antriebe.html', {'sw' : 105}, 
		[wrap_child('Frequenzumrichter'), 'a_frequenz.html', {'tt' : 'Frequenzumrichter', 'sb' : 'Pumpenprogramm'},
			[wrap_child('Lieferprogramm'), 'a_frequenzDanfoss.htm', {'tt' : 'Lieferprogramm', 'sb' : 'Lieferprogramm'}]
		],
		[wrap_child('Getriebemotoren'), 'a_getriebe.html', {'tt' : 'Getriebemotoren', 'sb' : 'Pumpensteuerungen'}],
		[wrap_child('Frequenzgeneratoren'), 'a_spannfreqgen.html', {'tt' : 'Spannungsfrequenzgeneratoren', 'sb' : 'Multiple demo'}],
		[wrap_child('Elektromotoren'), 'a_drehstrommotoren.html', {'tt' : 'Elektromotoren', 'sb' : 'Elektromotoren'}],
	],
	[wrap_root('werkzeuge'), 'werkzeuge.html', {'sw' : 105}, 
	],
	[wrap_root('reinigung'), 'reinigung.html', {'sw' : 105}, 
	],
	[wrap_root('druckluft'), 'druckluft.html', {'sw' : 105}, 
		[wrap_child('Onlineshop'), 'http://www.pneumatikatlas.de/cgi/generic.cgi?login.thtml&shop=mangold', {'tt' : 'Wählen Sie aus unserem umfangreichen Pumpenprogramm', 'sb' : 'Pumpenprogramm'}]
		

	],
	[wrap_root('home'), 'index.html', {'bw' : 155},
			[wrap_child('Anschrift', 'email.gif'), 'h_anschrift.html', {'tt' : 'So erreichen Sie uns', 'sb' : 'Anschrift'}],
			[wrap_child('Kontakt', 'emaila.gif'), 'h_kontakt.html', {'tt' : 'Wir sind für Sie da!', 'sb' : 'Kontakt'}],
			[wrap_child('Anfahrtskizze', 'skizze.gif'), 'h_anfahrt.html', {'tt' : 'So finden Sie uns', 'sb' : 'Anfahrt'}],
			[wrap_child('Impressum', 'impressum.gif'), 'h_impressum.html', {'tt' : 'Wer ist verantwortlich', 'sb' : 'Impressum'}],
			[wrap_child('Firmengeschichte', 'histor.gif'), 'h_firmengesch.html', {'tt' : 'Von den Anfängen', 'sb' : 'Firmengeschichte'}],
			[wrap_child('AGB', 'agb.gif'), 'h_agb.html', {'tt' : 'Allgemeine Geschäftsbedingungen', 'sb' : 'Allgemeine Geschäftsbedingungen'}]
	]
]; 
var ii0 = new Image(); ii0.src = 'http://www.mangoldgmbh.at/icons/arr.gif';
var ii1 = new Image(); ii1.src = 'http://www.mangold-fn.de/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=#edebfe><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=#cac6eb><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#edebfe><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=#cac6eb><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#edebfe><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=1 cellspacing=0 border=0 width=100%><tr><td bgcolor=#edebfe><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=15', ' 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 1px solid #cac6eb width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#edebfe><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=99% class=a0>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#cac6eb><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#edebfe><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><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% height=21><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=#FFFFFF><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=21><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=#FFFFFF><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=21><tr><td width=100% class=a1 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>'
	];
}