/********************************************************************************
Calling the write functions and setting variables
********************************************************************************/


//Variables to set

oFoldMenu=new foldoutMenuObj('oFoldMenu')
oFoldMenu.substay=false //Should the sub menus stay folded?  
oFoldMenu.sub2stay=false //Should the sub2 menus stay folded?
oFoldMenu.sub3stay=false //Should the sub3 menus stay folded? 
oFoldMenu.sub4stay=false //Should the sub4 menus stay folded?
oFoldMenu.sub5stay=false //Should the sub5 menus stay folded?  
oFoldMenu.sub6stay=false //Should the sub6 menus stay folded?  

oFoldMenu.menubetween=0 //The pixel value between the foldoutmenus


oFoldMenu.left=1 //The left position of the menu 
oFoldMenu.top=0 //The top position of the menu 
oFoldMenu.width=150 //The width of the menu
oFoldMenu.maxheight=500 //The maxheight of the menu, be sure to set this one high enough

//Setting styles
oFoldMenu.clFold="" //Regular styles for the topDivs
oFoldMenu.clSub="left:3" //Styles for the subDivs
oFoldMenu.clSub2="left:5" //Styles for the sub2Divs
oFoldMenu.clSub3="left:8" //Styles for the sub3Divs
oFoldMenu.clSub4="left:40" //Styles for the sub4Divs
oFoldMenu.clSub5="left:60" //Styles for the sub5Divs

oFoldMenu.clCont="position:relative;" //The cont layer, set position to relative if you want to try and have it inside a layer or whatever
oFoldMenu.clFoldLinks="position:relative;" //The style for the toplinks
oFoldMenu.clSubLinks="position:relative;" //The style for the sublinks
oFoldMenu.clSub2Links="position:relative;" //The style for the sub2links
oFoldMenu.clSub3Links="position:relative;" //The style for the sub3links
oFoldMenu.clSub4Links="position:relative; " //The style for the sub4links
oFoldMenu.clSub5Links=" position:relative;" //The style for the sub5links

//Do not change this line!
oFoldMenu.makeStyle()


//Making menus

/*ARGUMENTS:
type = what type of menu this item is (top,sub,sub2,sub3,sub4,sub5)
text = the text for the item
lnk = the link for the item (not needed if submenus)
target = the target for the link (not needed if no target or no link)
offimage = the default "arrow" image for this element (if you spesify no text, you can use the image only)
onimage = the image to swap to when clicked (not needed if you don't want a swap image)
fc = if you want the item to execute another javascript function aswell use this
opn = if you want this particilar item to be opened on load set this to 1 (0,1)
*/

//MAIN 1
oFoldMenu.make('top','News','index.html',0)

oFoldMenu.make('top','Bilder 2010','bilder2010.html',0)

//MAIN 2	
oFoldMenu.make('top','Jedermann',0,0,0,0,0,0)
	oFoldMenu.make('sub','Anmeldung',0,0,0,0,0,0)
		oFoldMenu.make('sub2','Online','anmeldung.html',0,0,0,0,0)
		oFoldMenu.make('sub2','Postalisch','post.html',0,0,0,0,0)
   	oFoldMenu.make('sub','Anfahrt','anfahrt.html',0,0,0,0,0)
	oFoldMenu.make('sub','Ergebnisse 2011','ergebnisse2011.html',0,0,0,0,0)
	//oFoldMenu.make('sub','FAQ','faq.html',0,0,0,0,0)
	//oFoldMenu.make('sub','Fotos 2008',0,0,0,0,0,0)						
	    //oFoldMenu.make('sub2','Maxim-Fotos','maximfotos.html',0,0,0,0,0)
	  oFoldMenu.make('sub','Fotos vom Sportografen','sportfotograf.html',0,0,0,0,0)
	oFoldMenu.make('sub','Hotels','hotel.html',0,0,0,0,0)
		oFoldMenu.make('sub','Intranet / Startunterlagen','intranet.html',0,0,0,0,0)
	oFoldMenu.make('sub','Pastaparty','pasta.html',0,0,0,0,0)
	oFoldMenu.make('sub','Reglement','reglement.html',0,0,0,0,0)
//	oFoldMenu.make('sub','Startliste','https://service.acceptus.de/rennen/forms/startlist_frame.php?id=1','blank',0,0,0,0)
	oFoldMenu.make('sub','Strecke','strecke.html',0,0,0,0,0)
	oFoldMenu.make('sub','H&ouml;henprofil','hoehenprofil.html',0,0,0,0,0)	
	oFoldMenu.make('sub','Urkunden','urkunde.html',0,0,0,0,0)
	oFoldMenu.make('sub','Zeitplan','zeitplan.html',0,0,0,0,0)			
	oFoldMenu.make('sub','Kontakt','kontakt.html',0,0,0,0,0)
//MAIN 3
oFoldMenu.make('top','Profis',0,0)
   	oFoldMenu.make('sub','Anfahrt','anfahrt_pro.html',0,0,0,0,0)
	oFoldMenu.make('sub','Derny','derny.html',0,0,0,0,0)
	//oFoldMenu.make('sub','Ergebnisse 2009','erg_profi.html',0,0,0,0,0)
	oFoldMenu.make('sub','Frauen','frauen.html',0,0,0,0,0)
	//oFoldMenu.make('sub','Impressionen','galer_profi.html',0,0,0,0,0)
		oFoldMenu.make('sub','H&ouml;henprofil','hoehenprofil_pro.html',0,0,0,0,0)	
		oFoldMenu.make('sub','Kontakt','kontakt_pro.html',0,0,0,0,0)
	oFoldMenu.make('sub','M&auml;nner','maenner.html',0,0,0,0,0)	

		oFoldMenu.make('sub','Strecke','strecke_pro.html',0,0,0,0,0)
				//oFoldMenu.make('sub','Starterliste',0,0,0,0,0,0)
			// oFoldMenu.make('sub2','Frauen','frauen_start2009.html',0,0,0,0,0)	
			 //oFoldMenu.make('sub2','Herren','maenner_start2009.html',0,0,0,0,0)	
	oFoldMenu.make('sub','Wertungen','wertung.html',0,0,0,0,0)
	oFoldMenu.make('sub','UCI-Formular','uci.html',0,0,0,0,0)
	oFoldMenu.make('sub','Zeitplan','zeitplan_pro.html',0,0,0,0,0)			

//MAIN 4
oFoldMenu.make('top','Young & Fan',0,0)

  //  oFoldMenu.make('sub','FunGiro','fungiro.html',0,0,0,0,0)
    oFoldMenu.make('sub','KNAX-MiniGiro','minigiro.html',0,0,0,0,0)
		oFoldMenu.make('sub2','Anmeldung','mini_anm.html',0,0,0,0,0)
	    //oFoldMenu.make('sub','Fan Giro','fangiro.html',0,0,0,0,0)
		//oFoldMenu.make('sub2','Anmeldung','fan_anm.html',0,0,0,0,0)	
	//oFoldMenu.make('sub2','Info','minigiro.html',0,0,0,0,0)
	//oFoldMenu.make('sub2','Starterliste MiniGiro','minigiro_starterliste2008.html',0,0,0,0,0)
   //	oFoldMenu.make('sub','Schulmeisterschaften','schueler.html',0,0,0,0,0)
	//oFoldMenu.make('sub2','Info','schueler.html',0,0,0,0,0)
	//oFoldMenu.make('sub2','Anmeldung','schueler_anm.html',0,0,0,0,0)	
//MAIN 5
oFoldMenu.make('top','Shop','shop.html',0,0,0,0,0)
//MAIN 6
oFoldMenu.make('top','Und sonst ...',0,0)
    //oFoldMenu.make('sub','Fakten','fakten.html',0,0,0,0,0)
	oFoldMenu.make('sub','Anfahrt','anfahrt_sonst.html',0,0,0,0,0)
   // oFoldMenu.make('sub','Bochum','bochum.html',0,0,0,0,0)
	oFoldMenu.make('sub','Hotels','hotel_sonst.html',0,0,0,0,0)	
	//oFoldMenu.make('sub','Infozettel','news250708_1.html',0,0,0,0,0)		
	oFoldMenu.make('sub','Party','pastaparty.html',0,0,0,0,0)
oFoldMenu.make('sub','Zeitplan','zeitplan_sonst.html',0,0,0,0,0)	
	//oFoldMenu.make('sub','Galerie','fotos.html',0,0,0,0,0)
//MAIN 7
oFoldMenu.make('top','Presse',0,0)
	//oFoldMenu.make('sub','Akkreditierung','akkr.html',0,0,0,0,0)
	oFoldMenu.make('sub','Anfahrt','anfahrt_presse.html',0,0,0,0,0)
	oFoldMenu.make('sub','Pressefotos','pressefotos.html',0,0,0,0,0)
	oFoldMenu.make('sub','Pressematerial','pressematerial.html',0,0,0,0,0)
	oFoldMenu.make('sub','Strecke','strecke_presse.html',0,0,0,0,0)
	oFoldMenu.make('sub','Zeitplan','zeitplan_presse.html',0,0,0,0,0)			
	oFoldMenu.make('sub','Kontakt','kontakt_presse.html',0,0,0,0,0)
//MAIN 8
oFoldMenu.make('top','Messe',0,0)
   oFoldMenu.make('sub','Anmeldung','messe.html',0,0,0,0,0) 
    oFoldMenu.make('sub','Ausstellerliste','ausstellerliste.html',0,0,0,0,0) 
//MAIN 9
oFoldMenu.make('top','Partner','partner.html',0,0,0,0,0,1)




oFoldMenu.construct()
