//Variables to set
between=25		//The pixel between the menus and the submenus
mainheight=23		//The height of the mainmenus
subheight=22		//The height of the submenus
pxspeed=20		//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=170			//The top placement of the menu.
menux=15//The left placement of the menu

//Bilder - Play with these
level0_regular="/rachid.nouna/Bilder/level0_regular.gif"
level0_round="/rachid.nouna/Bilder/level0_round.gif"
// level0 end imag
level0_end_regular="/rachid.nouna/Bilder/level0_end_regular.gif"
level0_end_sub="/rachid.nouna/Bilder/level0_end_sub.gif"
level0_end_round="/rachid.nouna/Bilder/level0_end_round.gif"
//----------------------
level1_regular="/rachid.nouna/Bilder/level1_regular.gif"
level1_round="/rachid.nouna/Bilder/level1_regular.gif"
level1_sub="/rachid.nouna/Bilder/level1_sub.gif"
level1_sub_round="/rachid.nouna/Bilder/level1_sub_round.gif"
level1_round2="/rachid.nouna/Bilder/level1_round2.gif"
level2_regular="/rachid.nouna/Bilder/level2_regular.gif"
level2_round="/rachid.nouna/Bilder/level2_regular.gif"

// MOD01: Highlight Bilder for current link in open submenu
level1_regular_hi="/rachid.nouna/Bilder/level1_regular_hi.gif";
level1_round_hi="/rachid.nouna/Bilder/level1_regular_hi.gif";
// MOD01: Highlight Bilder for current link in open sub2menu
level2_regular_hi="/rachid.nouna/Bilder/level2_regular_hi.gif";
level2_round_hi="/rachid.nouna/Bilder/level2_regular_hi.gif";

level0_regular_hi="/rachid.nouna/Bilder/level0_regular_hi.gif";
level0_round_hi="/rachid.nouna/Bilder/level0_regular_hi.gif";
// MOD09: Top level image with drop-down arrow level0_sub="../Bilder/level0_sub.gif";
level0_sub="/rachid.nouna/Bilder/level0_sub.gif";

//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,level0_end_regular,level0_end_sub,level0_end_round)

//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','Home', 'index.html')
makeMenu('top','Accounts')
	makeMenu('sub','Membership','membership.htm')
	
makeMenu('top','Links','links.htm','','End')*/


	 
//Menu 1 -----------------------
makeMenu('top','Das bin ich','/rachid.nouna/Lebenslauf.htm','_top')

//Menu 2-------------------------------------------------------------------
makeMenu('top','Projekte','','')
	makeMenu('sub','BKMAK','/rachid.nouna/projekte/klassifikator.htm','_top')
	makeMenu('sub','Process Identification','/rachid.nouna/projekte/Para_Estimation.htm','_top')
	makeMenu('sub','RF-ID','/rachid.nouna/projekte/radiof_id.htm','_top')
	makeMenu('sub','Roboterarm','/rachid.nouna/projekte/roboterarm.htm','_top')
	makeMenu('sub','Widerstandsrechner','/rachid.nouna/projekte/ResCode.htm','_top')
	makeMenu('sub','Daralhikmah','/rachid.nouna/projekte/daralhikmah.htm','_top')
	makeMenu('sub','Taschenrechner NcCalc','/rachid.nouna/projekte/calculator.htm','_top')
	makeMenu('sub','Mathematische Formeln','/rachid.nouna/projekte/SedEquat.htm','_top')
	//makeMenu('sub','')
//MEnu 3-------------------------------------------------------------------------------

makeMenu('top','Diplomarbeit','')//Dickblat.htm
	makeMenu('sub','Aufgabenstellung','/rachid.nouna/Telekommunikation/aufgabenblatt.htm','_top')
	makeMenu('sub','Recht','/rachid.nouna/Telekommunikation/Recht.htm','_top')///rachid.nouna/Telekommunikation/Dickblat.htm
	
	makeMenu('sub','Grundlagen','/rachid.nouna/Telekommunikation/Grundlagen.htm','_top')
	makeMenu('sub','PCM30','/rachid.nouna/Telekommunikation/PCM30.htm','_top')///rachid.nouna/Telekommunikation/PCM30.htm#3
	makeMenu('sub','CRC4 Verfahren','/rachid.nouna/Telekommunikation/CRC4_Verfahren.htm','_top')
	makeMenu('sub','Lichtwellenleiter','/rachid.nouna/Telekommunikation/Lichtwellenleiter.pdf','blank')
	makeMenu('sub','PDH Einführung','/rachid.nouna/Telekommunikation/PDHEinfuehrung.pdf','blank')
	//makeMenu('sub','') 
//Menu 4------------------------------------------------------------------------------------
makeMenu('top','Master Thesis','')/*thesis_home.htm*/
	makeMenu('sub','Einleitung','/rachid.nouna/thesis/Einleitung.htm','_top')
	makeMenu('sub','US-Physik','/rachid.nouna/thesis/us_physik.htm','_top')
	makeMenu('sub','US-Messverfahren','/rachid.nouna/thesis/us_messverfahren.htm','_top')
	makeMenu('sub','Regression','/rachid.nouna/thesis/us_regression.htm','_top')
	makeMenu('sub','Literatur','/rachid.nouna/thesis/us_literature.htm','_top')
	//makeMenu('sub','')
// MEnu 5 -------------------------------------------------------------------------------------
makeMenu('top','Mikrocontroller','','')
	  makeMenu('sub','Module','/rachid.nouna/Schaltungen/uc_module.htm','_top')
	  makeMenu('sub','LED Lichteffekt','/rachid.nouna/Schaltungen/lichteffekt.htm','_top')
	  makeMenu('sub','Werbebanner','/rachid.nouna/Schaltungen/werbebanner.htm','_top')
	  makeMenu('sub','SAB80C535','/rachid.nouna/Schaltungen/tempsens.htm','_top')
  	  makeMenu('sub','1-wire DS18B20 ','/rachid.nouna/Schaltungen/tempsensDS18S20.htm','_top')
// Menu 6------------------------------------------------------------------------------------------
makeMenu('top','Schaltungen','')//schall_home.htm
	
	  
	makeMenu('sub','3-Dekaden Zähler','/rachid.nouna/Schaltungen/zaehler_4026.htm','_top')
	makeMenu('sub','elektronischer Würfel','/rachid.nouna/Schaltungen/wuerfel.htm','_top')
	makeMenu('sub','Uhr_7Seg.','/rachid.nouna/Schaltungen/PPort.htm','_top')
	makeMenu('sub','Uhr_4Dig_7Seg.','/rachid.nouna/Schaltungen/PPort_2.htm','_top')
	makeMenu('sub','Lichtschranke','/rachid.nouna/Schaltungen/lichtschranke.htm','_top')
	makeMenu('sub','Serielthermometer','/rachid.nouna/Schaltungen/Einfach_Thermo.htm','_top')
	 
	makeMenu('sub','LED_Lauflicht','/rachid.nouna/Schaltungen/lauflicht.htm','_top')  
	makeMenu('sub','Taktgeber...','/rachid.nouna/Schaltungen/freq_generator.htm','_top')
	  
	makeMenu('sub','Blink LED...','/rachid.nouna/Schaltungen/BlinkendeLED.htm','_top')
	
	 
	
//menu 7-------------------------------------------------------------------------------------
makeMenu('top','Download','/rachid.nouna/Program/download_home.htm','_top')
//Menu 8----------------------------------------------------------------------------
makeMenu('top','Kalligraphie','/rachid.nouna/Kalligraphie/kalligraphie.htm','_top')
//Menu 9------------------------------------------------------------------------------
	
makeMenu('top','Links','','')
	makeMenu('sub','Telekommunikation','/rachid.nouna/links/telekommunikation.htm','_top')
	makeMenu('sub','Elektronik','/rachid.nouna/links/Elektronik.htm','_top')
	makeMenu('sub','Kalligraphie','/rachid.nouna/links/kunst.htm','_top','End')

	
	//Menu 10----------------------------------------------------------------------

	
	//Menu 11----------------------------------------------------------------------

//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()");

