﻿//Variables to set
between=28		//The pixel between the menus and the submenus
mainheight=25		//The height of the mainmenus
subheight=20		//The height of the submenus
pxspeed=13		//The pixel speed of the animation
timspeed=15		//The timer speed of the animation
// MOD11: Replace menuy line with these two
//menuyHome=145	//The top placement of the menu
//menuyAll=80		//The top placement of the menu
menuy=80			//The top placement of the menu.
menux=0			//The left placement of the menu

//Images - Play with these
level0_regular=""
level0_round=""
level1_regular=""
level1_round=""
level1_sub=""
level1_sub_round=""
level1_round2=""
level2_regular=""
level2_round=""

// MOD01: Highlight images for current link in open submenu
level1_regular_hi="";
level1_round_hi="";
// MOD01: Highlight images for current link in open sub2menu
level2_regular_hi="";
level2_round_hi="";

level0_regular_hi="";
level0_round_hi="";
// MOD09: Top level image with drop-down arrow
level0_sub="";

//Leave this line
preLoadBackgrounds(level0_regular,level0_round,level1_regular,level1_round,level1_sub,level1_sub_round,level1_round2,level2_regular,level2_round,
	level0_regular_hi, level0_round_hi, level1_regular_hi,level1_round_hi,level2_regular_hi,level2_round_hi,level0_sub)

//There are 3 different types of menus you can make
//top = Main menus
//sub = Sub menus
//sub2 = SubSub menus

//You control the look of the menus in the stylesheet
//makeMenu('TYPE','TEXT','LINK','TARGET', 'END (THE LAST MENU)')


makeMenu('top','>&nbsp;Aktuelles')
	makeMenu('sub','&nbsp;&nbsp;&nbsp;Veranstaltungen','veranstaltungen.html','main')
	makeMenu('sub','&nbsp;&nbsp;&nbsp;Hochwasser 2011','hochwasser.html','main')
	makeMenu('sub','&nbsp;&nbsp;&nbsp;Interviewer','zensus.html','main')
	makeMenu('sub','&nbsp;&nbsp;&nbsp;Presse','presse-frame.html','main')
	makeMenu('sub','&nbsp;&nbsp;&nbsp;Wetter','wetter.html','main')
	makeMenu('sub','&nbsp;&nbsp;&nbsp;Suche Zeitzeugen','pilot.html','main')
	makeMenu('sub','&nbsp;&nbsp;&nbsp;Dorffest Bilder','dorffest.html','main')
	makeMenu('sub','&nbsp;&nbsp;&nbsp;Hexenfeuer Bilder','hexenfeuer.html','main')
       makeMenu('sub','&nbsp;&nbsp;&nbsp;Bilder Kita','kitabilder.html','main')
       makeMenu('sub','&nbsp;&nbsp;&nbsp;360? Rundgang','panomanie/index.html','main')



	
makeMenu('top','>&nbsp;Geschichte')
	makeMenu('sub','&nbsp;&nbsp;&nbsp;Zeitleiste','geschichte.html','main')
	makeMenu('sub','&nbsp;&nbsp;&nbsp;Kirche','kirche.html','main')
	makeMenu('sub','&nbsp;&nbsp;&nbsp;Bilder','geschichte-frame.html','main')

makeMenu('top','>&nbsp;Veranstaltungen')
	makeMenu('sub','&nbsp;&nbsp;&nbsp;Hexenfeuer','hexenfeuer.html','main')
	makeMenu('sub','&nbsp;&nbsp;&nbsp;Dorffest','dorffest.html','main')
	makeMenu('sub','&nbsp;&nbsp;&nbsp;Sch?tzenfest','schuetzenfest.html','main')
	makeMenu('sub','&nbsp;&nbsp;&nbsp;Strassenfest','strassenfest.html','main')
	makeMenu('sub','&nbsp;&nbsp;&nbsp;Halloween Kita','halloween2009.html','main')


	
makeMenu('top','>&nbsp;Wirtschaft')
       makeMenu('sub','&nbsp;&nbsp;&nbsp;DJ Falk','falk-frame.html','main')
       makeMenu('sub','&nbsp;&nbsp;&nbsp;Criadero','criadero-frame.html','main')
   
	
	
makeMenu('top','>&nbsp;Vereine')
       makeMenu('sub','&nbsp;&nbsp;&nbsp;F?rderverein Kirche','foerderverein.html','main')
	makeMenu('sub','&nbsp;&nbsp;&nbsp;Feuerwehr','feuerwehr.html','main')
	makeMenu('sub','&nbsp;&nbsp;&nbsp;Anglerverein','#')
	makeMenu('sub','&nbsp;&nbsp;&nbsp;Sch?tzenverein','schuetzenverein.html','main')
	makeMenu('sub','&nbsp;&nbsp;&nbsp;Kinderland','kinderland.html','main')
		

makeMenu('top','>&nbsp;Kontakt')
       makeMenu('sub','&nbsp;&nbsp;&nbsp;Anschrift','kontakt.html','main')
       makeMenu('sub','&nbsp;&nbsp;&nbsp;G?stebuch','/gb/guestbook.php','main')
       makeMenu('sub','&nbsp;&nbsp;&nbsp;Anfahrt','anfahrt.html','main')
       makeMenu('sub','&nbsp;&nbsp;&nbsp;Links','link.html','main')
       makeMenu('sub','&nbsp;&nbsp;&nbsp;Impressum','impressum.html','main')

makeMenu('top','>&nbsp;Bildergalerie','galerie.html','main','End')


//Starting the menu
onload=SlideMenuInit;
//	MOD07: initialize rescrolling so menu stays in view when page scrolls
if(bw.ns4 || bw.ns6)
	//setTimeout("rescroll()", 500)
	rescroll();
  else
	document.body.onscroll=new Function("rescroll()");

