﻿
///////////////////////////////////////////////////////////////////////////
//
//  ULTIMATE DROPDOWN MENU VERSION 3.5 by Brothercake
//  This is a special version for Dynamic Drive (http://www.dynamicdrive.com)
//
//  Link-wrapping routine by Brendan Armstrong
//  Original KDE modifications by David Joham
//  Opera reload/resize based on a routine by Michael Wallner
//  Select-element hiding routine by Huy Do
//
///////////////////////////////////////////////////////////////////////////

if (!exclude) 
{

// *** POSITIONING AND STYLES *********************************************



var menuALIGN = "left";		// alignment
var absLEFT = 	10;			// absolute left or right position (if menu is left or right aligned)
var absTOP = 	83; 		// absolute top position

var staticMENU = false;		// static positioning mode (ie5,ie6 and ns4 only)

var stretchMENU = false;	// show empty cells
var showBORDERS = false;	// show empty cell borders

var baseHREF = "js/";	// base path to .js files for the script (ie: resources/)
var zORDER = 	1000;		// base z-order of nav structure (not ns4)

var mCOLOR = 	"#e00046";	// main nav cell color
var rCOLOR = 	"#cccccc";	// main nav cell rollover color
var bSIZE = 	1;			// main nav border size
var bCOLOR = 	"white"		// main nav border color
var aLINK = 	"white";	// main nav link color
var aHOVER = 	"#333333";	// main nav link hover-color (dual purpose)
var aDEC = 		"none";		// main nav link decoration
var fFONT = 	"Verdana,Helvetica";	// main nav font face
var fSIZE = 	12;			// main nav font size (pixels)
var fWEIGHT = 	"normal"		// main nav font weight
var tINDENT = 	0;			// main nav text indent (if text is left or right aligned)
var vPADDING = 	2;			// main nav vertical cell padding
var vtOFFSET = 	0;			// main nav vertical text offset (+/- pixels from middle)

var keepLIT =	true;		// keep rollover color when browsing menu
var vOFFSET = 	0;			// shift the submenus vertically
var hOFFSET = 	0;			// shift the submenus horizontally

var smCOLOR = 	"#e00046";	// submenu cell color

var srCOLOR = 	"#cccccc";	// submenu cell rollover color
var sbSIZE = 	1;			// submenu border size
var sbCOLOR = 	"white"		// submenu border color
var saLINK = 	"white";	// submenu link color
var saHOVER = 	"#333333";	// submenu link hover-color (dual purpose)
var saDEC = 	"none";		// submenu link decoration
var sfFONT = 	"Verdana,Helvetica";// submenu font face
var sfSIZE = 	10;			// submenu font size (pixels)
var sfWEIGHT = 	"normal"	// submenu font weight
var stINDENT = 	5;			// submenu text indent (if text is left or right aligned)
var svPADDING = 1;			// submenu vertical cell padding
var svtOFFSET = 0;			// submenu vertical text offset (+/- pixels from middle)

var shSIZE =	0;			// submenu drop shadow size
var shCOLOR =	"#cccccc";	// submenu drop shadow color
var shOPACITY = 75;			// submenu drop shadow opacity (not ie4,ns4 or opera)

var keepSubLIT = true;		// keep submenu rollover color when browsing child menu
var chvOFFSET = 0;			// shift the child menus vertically
var chhOFFSET = 0;			// shift the child menus horizontally

var openTIMER = 0;			// [** new **] menu opening delay time (not ns4/op5/op6)
var openChildTIMER = 0;		// [** new **] child-menu opening delay time (not ns4/op5/op6)
var closeTIMER = 1000;		// menu closing delay time

var cellCLICK = true;		// links activate on TD click
var aCURSOR = "hand";		// cursor for active links (not ns4 or opera)

var altDISPLAY = "";		// where to display alt text
var allowRESIZE = mu;		// allow resize/reload

var redGRID = false;		// show a red grid
var gridWIDTH = 0;		// override grid width
var gridHEIGHT = 0;		// override grid height
var documentWIDTH = 0;		// override document width

var hideSELECT = false;		// auto-hide select boxes when menus open (ie only)
var allowForSCALING = false;	// allow for text scaling in gecko browsers
var allowPRINTING = false;	// allow the navbar and menus to print (not ns4)

var arrWIDTH = 13;			// [** new **] arrow width (not ns4/op5/op6)
var arrHEIGHT = 13;			// [** new **] arrow height (not ns4/op5/op6)

var arrHOFFSET = -1;		// [** new **] arrow horizontal offset (not ns4/op5/op6)
var arrVOFFSET = -3;		// [** new **] arrow vertical offset (not ns4/op5/op6)
var arrVALIGN = "middle";	// [** new **] arrow vertical align (not ns4/op5/op6)

var arrLEFT = "<";			// [** new **] left arrow (not ns4/op5/op6)
var arrRIGHT = "";			// [** new **] right arrow (not ns4/op5/op6)



//** LINKS ***********************************************************


addMainItem("mpa_00.html","Home",52,"center","","",0,0);


addMainItem("mpa_10.html","Fachgruppen",102,"center","","",0,0);

	defineSubmenuProperties(240,"left","left",0,0);

	addSubmenuItem("mpa_10_01.html", "mech.-techn. Untersuchungen");
	addSubmenuItem("mpa_10_02.html", "Chemie und Bauphysik");
	addSubmenuItem("mpa_10_03.html", "Bauprodukte des Straßenbaus");
	addSubmenuItem("mpa_10_04.html", "Dämmstoffe und Brandverhalten");

addMainItem("mpa_20.html","Kontakt",62,"center","","",0,0);

	defineSubmenuProperties(130,"left","left",0,0);

	addSubmenuItem("mpa_20_10.html", "Anschrift");
	addSubmenuItem("mpa_20_20.html", "Anfahrt");
	
		defineChildmenuProperties(100,"left","left",0,0);

		addChildmenuItem("mpa_20_21.html", "Hannover");
		addChildmenuItem("mpa_20_22.html", "Clausthal");

	
	addSubmenuItem("mpa_20_30.html", "Ansprechpartner");

addMainItem("mpa_30.html","Anerkennungen",122,"center","","",0,0);

	defineSubmenuProperties(122,"left","left",0,0);

	addSubmenuItem("mpa_30_10.html", "National");
	addSubmenuItem("mpa_30_20.html", "International");

addMainItem("mpa_40.html","Downloads",82,"center","","",0,0);


addMainItem("mpa_50.html","Links",102,"center","","",0,0);


addMainItem("mpa_80.html","Kundenbefragung",142,"center","","",0,0);


//addMainItem("mpa_90.html","Stellenangebote",142,"center","","",0,0);


addMainItem("mpa_100.html","Presse",82,"center","","",0,0);




}

