function m00(txt){return '<table cellpading="0" cellspacing="0" border="0" height="23" width="110" bgcolor="#0D2748"><tr valign="middle" align="center"><td class="jot" width="110" height="23">'+txt+'</td></tr></table>'}
function pm00(txt){return '<table cellpading="0" cellspacing="0" border="0" height="20" width="110" bgcolor="#DBDFE4" ><tr valign="middle" align="center"><td  class="ramka" width="110" height="20" ><span class="jot2">'+txt+'</span></td></tr></table>'}
function pm00_b(txt){return '<table cellpading="0" cellspacing="0" border="0" height="20" width="110" bgcolor="#9AA4B0" ><tr valign="middle" align="center"><td class="ramka" width="110" height="20" ><span class="jot2">'+txt+'</span></td></tr></table>'}
function m1(txt){return '<table cellpading="0" cellspacing="0" border="0" height="23" width="110" bgcolor="#2B56A4"><tr valign="middle" align="center"><td class="jot" width="110" height="23">'+txt+'</td></tr></table>'}
function pm1(txt){return '<table cellpading="0" cellspacing="0" border="0" height="20" width="110" bgcolor="#DFE6F1" ><tr valign="middle" align="center"><td class="ramka2" width="110" height="20" ><span class="jot2">'+txt+'</span></td></tr></table>'}
function pm1_b(txt){return '<table cellpading="0" cellspacing="0" border="0" height="20" width="110" bgcolor="#97ACD2" ><tr valign="middle" align="center"><td class="ramka2" width="110" height="20" ><span class="jot2">'+txt+'</span></td></tr></table>'}
function pm122(txt){return '<table cellpading="0" cellspacing="0" border="0" height="20" width="110" bgcolor="#DFE6F1" ><tr valign="middle" align="center"><td class="ramkah" width="110" height="20" ><span class="jot2">'+txt+'</span></td></tr></table>'}
function pm122_b(txt){return '<table cellpading="0" cellspacing="0" border="0" height="20" width="110" bgcolor="#97ACD2" ><tr valign="middle" align="center"><td class="ramkah" width="110" height="20" ><span class="jot2">'+txt+'</span></td></tr></table>'}
function m2(txt){return '<table cellpading="0" cellspacing="0" border="0" height="23" width="110" bgcolor="#006114"><tr valign="middle" align="center"><td class="jot" width="110" height="23"> '+txt+' </td></tr></table>'}
function pm2(txt){return '<table cellpading="0" cellspacing="0" border="0" height="20" width="110" bgcolor="#D9E7DC" ><tr valign="middle" align="center"><td class="ramka3" width="110" height="20" ><span class="jot2">'+txt+'</span></td></tr></table>'}
function pm2_b(txt){return '<table cellpading="0" cellspacing="0" border="0" height="20" width="110" bgcolor="#97BFA0" ><tr valign="middle" align="center"><td class="ramka3"width="110" height="20" ><span class="jot2">'+txt+'</span></td></tr></table>'}
function m3(txt){return '<table cellpading="0" cellspacing="0" border="0" height="23" width="110" bgcolor="#019815"><tr valign="middle" align="center"><td class="jot" width="110" height="23">'+txt+'</td></tr></table>'}
function pm3(txt){return '<table cellpading="0" cellspacing="0" border="0" height="20" width="110" bgcolor="#DDEFDA" ><tr valign="middle" align="center"><td class="ramka7" width="110" height="20" ><span class="jot2">'+txt+'</span></td></tr></table>'}
function pm3_b(txt){return '<table cellpading="0" cellspacing="0" border="0" height="20" width="110" bgcolor="#8DCB95" ><tr valign="middle" align="center"><td class="ramka7" width="110" height="20" ><span class="jot2">'+txt+'</span></td></tr></table>'}
function m4(txt){return '<table cellpading="0" cellspacing="0" border="0" height="23" width="110" bgcolor="#7DAF00"><tr valign="middle" align="center"><td class="jot" width="110" height="23">'+txt+'</td></tr></table>'}
function pm4(txt){return '<table cellpading="0" cellspacing="0" border="0" height="20" width="110" bgcolor="#ECF3D9" ><tr valign="middle" align="center"><td class="ramka5" width="110" height="20" ><span class="jot2">'+txt+'</span></td></tr></table>'}
function pm4_b(txt){return '<table cellpading="0" cellspacing="0" border="0" height="20" width="110" bgcolor="#C5DB8D" ><tr valign="middle" align="center"><td class="ramka5" width="110" height="20" ><span class="jot2">'+txt+'</span></td></tr></table>'}
function m5(txt){return '<table cellpading="0" cellspacing="0" border="0" height="23" width="110" bgcolor="#DEC801"><tr valign="middle" align="center"><td class="jot" width="110" height="23">'+txt+'</td></tr></table>'}
function pm5(txt){return '<table cellpading="0" cellspacing="0" border="0" height="20" width="110" bgcolor="#FAF7D9" ><tr valign="middle" align="center"><td class="ramka6" width="110" height="20" ><span class="jot2">'+txt+'</span></td></tr></table>'}
function pm5_b(txt){return '<table cellpading="0" cellspacing="0" border="0" height="20" width="110" bgcolor="#F0E78D" ><tr valign="middle" align="center"><td class="ramka6" width="110" height="20" ><span class="jot2">'+txt+'</span></td></tr></table>'}
function go(url){top.document.location=url}
function menu(pos,speed){
	with(menu_g=vMenu(95,pos,speed,'h'))
	{
		 with(addItem(110,23,m00('Unternehmen'),m00('Unternehmen'),'','v')){
	            addItem(110,20,pm00('MAHRENHOLZ'),pm00_b('MAHRENHOLZ'),'go("unter_1.htm")')
				addItem(110,20,pm00('Produktion'),pm00_b('Produktion'),'go("unter_2.htm")')
				addItem(110,20,pm00('Zukunftspläne'),pm00_b('Zukunftspläne'),'go("unter_3.htm")')
              																			  }
         with(addItem(110,23,m1('Produkte'),m1('Produkte'),'','v')){
                    with(addItem(110,20,pm1('Fenster'),pm1_b('Fenster'),'','h')){
						   addItem(110,20,pm122('Kunststoff'),pm122_b('Kunststoff'),'go("kunststoff-fenster_classic.htm")')
						   addItem(110,20,pm122('Holz'),pm122_b('Holz'),'go("fen_hz_nl.htm")')
                                       addItem(110,20,pm122('Galerie'),pm122_b('Galerie'),'go("fen_gal.htm")')}
	                  with(addItem(110,20,pm1('Türen'),pm1_b('Türen'),'','h')){
							 addItem(110,20,pm122('Kunststoff'),pm122_b('Kunststoff'),'go("tur_ks_hs.htm")')
							 addItem(110,20,pm122('Holz'),pm122_b('Holz'),'go("tur_hz_il.htm")')	
							 addItem(110,20,pm122('Konfigurator'),pm122_b('Konfigurator'),'go("javascript:Configurator()")')
}
				addItem(110,20,pm1('Glasarchitektur'),pm1_b('Glasarchitektur'),'go("glass.htm")')}

         with(addItem(110,23,m2('Service'),m2('Service'),'','v')){
              addItem(110,20,pm2('Partner-Service'),pm2_b('Partner-Service'),'go("partner_sv.htm")')
              addItem(110,20,pm2('Partnerbereich'),pm2_b('Partnerbereich'),'go("kundenbereich.mahrenholz.php")')
}

         with(addItem(110,23,m3('Software'),m3('Software'),'','v')){
         addItem(110,20,pm3('Software'),pm3_b('Software'),'go("soft.htm")')
		 addItem(110,20,pm3('Konfigurator'),pm3_b('Konfigurator'),'go("javascript:Configurator()")')		 
}
        /*bm*/
		with(addItem(110,23,m4('Downloads'),m4('Downloads'),'', 'v')){
              /*bm 050615 : add menue*/
			  addItem(110,20,pm4('Prospekte'),pm4_b('Prospekte'),'go("news.mahrenholz.html")')
              
              addItem(110,20,pm4('Presse'),pm4_b('Presse'),'go("pressemit.html")')		 
		}
              
		 with(addItem(110,23,m5('Kontakt'),m5('Kontakt'),'','v')){
              addItem(110,20,pm5('E-Mail'),pm5_b('E-Mail'),'go("5_1.htm")')
              addItem(110,20,pm5('Adressen'),pm5_b('Adressen'),'go("adress.htm")')
              addItem(110,20,pm5('Impressum'),pm5_b('Impressum'),'go("impressum.htm")')
              addItem(110,20,pm5('Datenschutz'),pm5_b('Datenschutz'),'go("daten.htm")')
																						  }
  }
	menu_g.go()
}                       
