// Initialize WebDDM
function initWebDDM ()
{
	
	// Begin base menu
	var menu = {
		'position':'absolute',
		'top':52,
		'left':211,
		'width':800,
		'height':30,
		'expand_menu':'auto',

	
		
		// Begin array of items, level 0
		'items':{
			'top':0,
			'left':0,

			// Background item
			'background-item':{
				'width':786, 'height':26, 'left':0, 'top':0
			},

			1:{
				'content':'<a href="home.php">Home</a>',
				'cursor':'hand',
				'width':75, 'height':17, 'offsetLeft':3, 'offsetTop':3,
				'class':'msdn_off',
				'class_rollover':'msdn_rollover'
			},
			2:{
				//'content':'Ueber Uns &nbsp; <img src="arrowdown.gif" />',
				'content':'Ueber Uns',
				'cursor':'default',
				'width':90, 'height':20, 'offsetLeft':75, 'offsetTop':0,
				'class':'msdn_off',
				'class_menuopen':'msdn_rollover',

				'items':{
					'top':20,
					'left':0,
					
					// Background item
					'background-item':{
						'width':120, 'height':92, 'left':0, 'top':2,
						'class':'container'
					},

					1:{
						'content':'<a href="firma.php">Firma</a>',
						'cursor':'hand',
						'width':114, 'height':20, 'offsetLeft':3, 'offsetTop':3,
						'class':'msdn_sub_off',
						'class_rollover':'msdn_rollover'
					},
					2:{
						'content':'<a href="impressum.php">Impressum</a>',
						'cursor':'hand',
						'width':114, 'height':20, 'offsetLeft':0, 'offsetTop':22,
						'class':'msdn_sub_off',
						'class_rollover':'msdn_rollover'
					},
					3:{
						'content':'<a href="jobs.php">Jobs</a>',
						'cursor':'hand',
						'width':114, 'height':20, 'offsetLeft':0, 'offsetTop':22,
						'class':'msdn_sub_off',
						'class_rollover':'msdn_rollover'
					},
					4:{
						'content':'<a href="referenzen.php">Referenzen</a>',
						'cursor':'hand',
						'width':114, 'height':20, 'offsetLeft':0, 'offsetTop':22,
						'class':'msdn_sub_off',
						'class_rollover':'msdn_rollover'
					}
				}
			},
			3:{
				//'content':'Produkte &nbsp; <img src="arrowdown.gif" />',
				'content':'Produkte',
				'cursor':'default',
				'width':90, 'height':20, 'offsetLeft':90, 'offsetTop':0,
				'class':'msdn_off',
				'class_menuopen':'msdn_rollover',

				'items':{
					'top':20,
					'left':0,
					
					// Background item
					'background-item':{
						'width':181, 'height':92, 'left':0, 'top':2,
						'class':'container'
					},

					1:{
						'content':'<a href="vininfo.php">VinInfo - Gärregelsystem</a>',
						'cursor':'hand',
						'width':175, 'height':20, 'offsetLeft':3, 'offsetTop':3,
						'class':'msdn_sub_off',
						'class_rollover':'msdn_rollover'
					},
					2:{	'content':'<a href="sauerstoffdosierung.php">Sauerstoffdosierung</a>',
						'cursor':'hand',
						'width':175, 'height':20, 'offsetLeft':0, 'offsetTop':22,
						'class':'msdn_sub_off',
						'class_rollover':'msdn_rollover'
					},
					3:{
						'content':'<a href="bus.php">SITT - Bussystem</a>',
						'cursor':'hand',
						'width':175, 'height':20, 'offsetLeft':0, 'offsetTop':22,
						'class':'msdn_sub_off',
						'class_rollover':'msdn_rollover'
					},
					4:{
						'content':'<a href="individual.php">Individualentwicklung</a>',
						'cursor':'hand',
						'width':175, 'height':20, 'offsetLeft':0, 'offsetTop':22,
						'class':'msdn_sub_off',
						'class_rollover':'msdn_rollover'
					},
					5:{
						'content':'<a href="tennis1.php">Tennis-AS</a>',
						'cursor':'hand',
						'width':175, 'height':20, 'offsetLeft':0, 'offsetTop':22,
						'class':'msdn_sub_off',
						'class_rollover':'msdn_rollover'
					}
				}
			},
			4:{
				//'content':'Kont@kt &nbsp; <img src="arrowdown.gif" />',
				'content':'Kont@kt',
				'cursor':'default',
				'width':90, 'height':20, 'offsetLeft':90, 'offsetTop':0,
				'class':'msdn_off',
				'class_menuopen':'msdn_rollover',

				'items':{
					'top':20,
					'left':0,
					
					// Background item
					'background-item':{
						'width':130, 'height':70, 'left':0, 'top':2,
						'class':'container'
					},

					1:{
						'content':'<a href="ansprech.php">Ansprechpartner</a>',
						'cursor':'hand',
						'width':124, 'height':20, 'offsetLeft':3, 'offsetTop':3,
						'class':'msdn_sub_off',
						'class_rollover':'msdn_rollover'
					},
					2:{	'content':'<a href="anfrage_mailform/scarformmail.php" target="_blank">Anfrage</a>',
						'cursor':'hand',
						'width':124, 'height':20, 'offsetLeft':0, 'offsetTop':22,
						'class':'msdn_sub_off',
						'class_rollover':'msdn_rollover'
					},
					3:{
						'content':'<a href="anfahrt.php">Anfahrtsplan</a>',
						'cursor':'hand',
						'width':124, 'height':20, 'offsetLeft':0, 'offsetTop':22,
						'class':'msdn_sub_off',
						'class_rollover':'msdn_rollover'
					}
				}
			},
			5:{
				//'content':'Service &nbsp; <img src="arrowdown.gif" />',
				'content':'Service',
				'cursor':'default',
				'width':90, 'height':20, 'offsetLeft':90, 'offsetTop':0,
				'class':'msdn_off',
				'class_menuopen':'msdn_rollover',

				'items':{
					'top':20,
					'left':0,
					
					// Background item
					'background-item':{
						'width':120, 'height':48, 'left':0, 'top':2,
						'class':'container'
					},

					1:{
						'content':'<a href="support.php">Support / FAQ</a>',
						'cursor':'hand',
						'width':114, 'height':20, 'offsetLeft':3, 'offsetTop':3,
						'class':'msdn_sub_off',
						'class_rollover':'msdn_rollover'
					},
					2:{	'content':'<a href="download.php">Download</a>',
						'cursor':'hand',
						'width':114, 'height':20, 'offsetLeft':0, 'offsetTop':22,
						'class':'msdn_sub_off',
						'class_rollover':'msdn_rollover'
					}
				}
			},
			6:{
				//'content':'News/Events &nbsp; <img src="arrowdown.gif" />',
				'content':'News / Events',
				'cursor':'default',
				'width':115, 'height':20, 'offsetLeft':90, 'offsetTop':0,
				'class':'msdn_off',
				'class_menuopen':'msdn_rollover',

				'items':{
					'top':20,
					'left':0,
					
					// Background item
					'background-item':{
						'width':150, 'height':70, 'left':0, 'top':2,
						'class':'container'
					},

					1:{
						'content':'<a href="news.php">Aktuelle Meldungen</a>',
						'cursor':'hand',
						'width':144, 'height':20, 'offsetLeft':3, 'offsetTop':3,
						'class':'msdn_sub_off',
						'class_rollover':'msdn_rollover'
					},
					2:{	'content':'<a href="presse.php">Presse</a>',
						'cursor':'hand',
						'width':144, 'height':20, 'offsetLeft':0, 'offsetTop':22,
						'class':'msdn_sub_off',
						'class_rollover':'msdn_rollover'
					},
					3:{	'content':'<a href="veranstaltungen.php">Veranstaltungen</a>',
						'cursor':'hand',
						'width':144, 'height':20, 'offsetLeft':0, 'offsetTop':22,
						'class':'msdn_sub_off',
						'class_rollover':'msdn_rollover'
					}
				}
			},
			7:{
				'content':'<a href="vertrieb.php">Vertrieb</a>',
				'cursor':'hand',
				'width':90, 'height':20, 'offsetLeft':115, 'offsetTop':0,
				'class':'msdn_off',
				'class_rollover':'msdn_rollover'
			}
		}
	};
	// End base menu

	// Activate and build menu
	var msdnMenu = new WebDDM('menu', menu);
	
}


		function MM_reloadPage(init) {  //reloads the window if Nav4 resized
		  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
			document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
		  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
		}
		MM_reloadPage(true);
		// -->
		
		function MM_swapImgRestore() { //v3.0
		  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
		}
		
		function MM_preloadImages() { //v3.0
		  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
			var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
			if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
		}
		
		function MM_findObj(n, d) { //v4.0
		  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
			d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
		  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
		  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
		  if(!x && document.getElementById) x=document.getElementById(n); return x;
		}
		
		function MM_swapImage() { //v3.0
		  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
		   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
		}
