/*
 DHTML Menu version 3.3.19
 */

//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
menunum=0;
menus=new Array();
_d=document;

//Hier muss das Verzeichnis eingetragen werden in dem sich die meisten Inhaltsseiten befinden!
homepath="http://www.budenzauber.net/content/";

actual_path=_d.URL;

subpaths=new Array();
pathnames=new Array();
slashcounter=0;
linecounter=0;
searched_slash=3;

// Funktion, um den Pfadnamen der angezeigten Seite herauszufiltern!
function definesubpath() {
	lineposition=new Array();
	slashposition=new Array();
	folder="";
	l=0;
	for (i=0;i<actual_path.length;i++) {
		x=actual_path.substring(i,i+1);
		if (x=="/") {
			slashposition[slashcounter]=i;
			slashcounter++;
		}
		if (slashcounter>=9 && x=="_") {
			lineposition[linecounter]=i;
			linecounter++;
		}
	}
	for (z=0;z<=(slashcounter-searched_slash);z++) {
		if (z==slashcounter-searched_slash) {
			if (linecounter>1) {
				for (k=1;k<linecounter;k++) {
					subpaths[l+k-1]=actual_path.substring(slashposition[searched_slash-1]+1,lineposition[k]) + ".htm";
					pathnames[l+k-1]=actual_path.substring(lineposition[k-1]+1,lineposition[k]);
				}
				subpaths[l+linecounter-1]=actual_path.substring(slashposition[searched_slash-1]+1,actual_path.length+1);
				pathnames[l+linecounter-1]=actual_path.substring(lineposition[linecounter-1]+1,actual_path.length-4);
			}
			else if (linecounter==1) {
				subpaths[l]=actual_path.substring(slashposition[searched_slash-1]+1,actual_path.length+1);
				pathnames[l]=actual_path.substring(lineposition[0]+1,actual_path.length-4);
			}
			else {
				subpaths[l]=actual_path.substring(slashposition[searched_slash-1]+1,actual_path.length+1);
				pathnames[l]=actual_path.substring(slashposition[l+searched_slash-1]+1,actual_path.length-4);
			}
		}
		else {
			folder=actual_path.substring(slashposition[l+searched_slash-1]+1,slashposition[l+searched_slash]);
			subpaths[l]=folder + "/" + folder + ".htm";
			pathnames[l]=folder;
		}
		l++;
	}
}

// Funktion, um den Pfadnamen auf die Seite zu schreiben!
function writereference(){
	definesubpath();
	reference="<a href=\"http://www.budenzauber.net/index.htm\">HOME</a>";
	for (i=0;i<subpaths.length;i++){
		x=subpaths[i];
		y=pathnames[i];
		reference+=" &gt; <a href=\"" + homepath + x + "\">" + y + "</a>";
	}
	reference+="</font>";
	return reference;
}

function addmenu(){
	menunum++;
	menus[menunum]=menu;
}

function dumpmenus(){
	mt="<script language=javascript>";
	for(a=1;a<menus.length;a++){
		mt+=" menu"+a+"=menus["+a+"];";
		}
	mt+="<\/script>";
	//ref=writereference();
	//_d.write("<font size=\"1\">" + ref);
	_d.write(mt)
}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.



////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
}


timegap=500				// The time delay for menus to remain visible
followspeed=5		    		// Follow Scrolling speed
followrate=40				// Follow Scrolling Rate
suboffset_top=0;			// Sub menu offset Top position 
suboffset_left=0;			// Sub menu offset Left position

style1=[				// style is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"ffffff",				// Mouse Off Font Color
"000066",				// Mouse Off Background Color
"800000",				// Mouse On Font Color
"E9E9E9",				// Mouse On Background Color
"FAFAFA",				// Menu Border Color 
15,					// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Arial",				// Font Name
3,					// Menu Item Padding
,					// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 3D Low Color
,					// Current Page Item Font Color (leave this blank to disable)
,					// Current Page Item Background Color (leave this blank to disable)
,					// Top Bar image (Leave this blank to disable)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"E9E9E9",				// Menu Header Background Color (Leave blank if headers are not needed)
]

style2=[				// style is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"ffffff",				// Mouse Off Font Color
"0080FF",				// Mouse Off Background Color
"000060",				// Mouse On Font Color
"7880FF",				// Mouse On Background Color
"ffffff",				// Menu Border Color 
15,					// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Arial",				// Font Name
3,					// Menu Item Padding
"",					// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 3D Low Color
"ffffff",				// Current Page Item Font Color (leave this blank to disable)
"7880FF",				// Current Page Item Background Color (leave this blank to disable)
"",					// Top Bar image (Leave this blank to disable)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"",					// Menu Header Background Color (Leave blank if headers are not needed)
]

addmenu(menu=[				// This is the array that contains your menu properties and details
"mainmenu",				// Menu Name - This is needed in order for the menu to be called
167,					// Menu Top - The Top position of the menu in pixels
10,					// Menu Left - The Left position of the menu in pixels
180,					// Menu Width - Menus width in pixels
1,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,					// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",					// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
1,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
0, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
0,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
,"MTV Horst","http://www.mtv-horst.de target:_blank",,"MTV Horst",1
,"Handballabteilung","http://www.handball.mtv-horst.de",,"Handballabteilung",24
,"---------","","#","---------",1
,"Home","http://www.budenzauber.net","#","Home",1
,"Die Mannschaft","show-menu=menu00","#","Die Mannschaft",1
,"Aktueller Spieltag","show-menu=menu10","#","Aktueller Spieltag",1
,"Spielplan & Termine","show-menu=menu20","#","Spielplan",1
,"Statistik","show-menu=menu30","#","Statistik",24
,"---------","","#","---------",1
,"Informationen","show-menu=menu40","#","Informationen",1
,"Fotos","http://budenzauber.galerie.ag target:_blank",,"Fotos",1
,"Gästebuch","http://498799.guestbook.onetwomax.de target:_blank",,"Gästebuch",24
,"---------","","#","---------",1
,"Sponsoren","show-menu=menu50","#","Sponsoren",1
,"Archiv","show-menu=menu60","#","Archiv",1
,"Impressum","show-menu=menu70","#","Impressum",1
])


// Kurzbeschreibung eines Untermenues
//  ,"TEXT","show-menu=menuXX","#","",1				Aufruf eines Untermenues
//
//
//	addmenu(menu=["menuXX",					menuXX is der Bezeichner dieses Menü
//	,,150,1,"",style2,,"left",,,,,,,,,,,,,			Einstellungsmöglichkeiten bzgl. Breite und Stil
//	,"MENU-TEXT","XXX.htm",,"",1				MENU-TEXT wird im Untermenue angezeigt und XXX.htm ist der entsprechende Link dazu
//	])
//


//Eintrag: Die Mannschaft
	addmenu(menu=["menu00",
	,,210,1,"",style2,,"left",,,,,,,,,,,,,
	,"Übersicht",homepath + "team/team.htm",,"",1
	,"[CO] Marc Neumann",homepath + "team/neumann-m.htm","","",1
	,"[TW] Christopher Langeloh",homepath + "team/langeloh-c.htm",,"",1
	,"[TW] Peter Bergmann",homepath + "team/bergmann-p.htm",,"",1
	,"[RA] Henning Drop",homepath + "team/drop-h.htm","","",1
	,"[RA] Marvin Doppke",homepath + "team/doppke-m.htm","","",1
	,"[HR] Kim Bruhnsen",homepath + "team/bruhnsen-k.htm","","",1
	,"[HR] Tobias Langeloh-Siefer",homepath + "team/langeloh-t.htm","","",1
	,"[RM] Dirk Bielenberg",homepath + "team/bielenberg-d.htm","","",1
	,"[RM] Andreas Völzke",homepath + "team/voelzke-a.htm","","",1
	,"[KR] Jan Bielenberg",homepath + "team/bielenberg-j.htm","","",1
	,"[KR] Felix Knakowski",homepath + "team/knakowski-f.htm","","",1
	,"[HL] Jörn Bruhnsen",homepath + "team/bruhnsen-j.htm","","",1
	,"[HL] Tim Redeker",homepath + "team/redeker-t.htm","","",1
	,"[HL] Christian Rost",homepath + "team/rost-c.htm","","",1		,"[HL] Marc Spring",homepath + "team/spring-m.htm","","",1
	
	])
	
//Eintrag: Aktueller Spieltag
	addmenu(menu=["menu10",
	,,210,1,"",style2,,"left",,,,,,,,,,,,,
	,"Berichte",homepath + "01_bericht.htm",,"",1
	,"Ergebnisse & Tabelle",homepath + "01_ergebnisse.htm",,"",1
	//,"Spielplan",homepath + "02_ligaspiele.htm",,"",1
	//,"Spielstatistik",homepath + "01_spielstatisitk.htm",,"",1
	//,"Liga",homepath + "01_liga.htm",,"",1
	])

//Eintrag: Spielplan & Termine
	addmenu(menu=["menu20",
	,,210,1,"",style2,,"left",,,,,,,,,,,,,
	,"Ligaspiele",homepath + "02_ligaspiele.htm",,"",1
	,"Vorbereitung & Turniere",homepath + "02_vorbereitung.htm",,"",1
	,"Feiern & Sonstige",homepath + "02_feiern.htm",,"",1
	,"Zu- und Abgänge",homepath + "02_zuabgang.htm",,"",1
	])

//Eintrag: Statistik
	addmenu(menu=["menu30",
	,,210,1,"",style2,,"left",,,,,,,,,,,,,
	,"Übersicht",homepath + "03_statistik.htm",,"",1
	//,"Spielstatistiken",homepath + "03_spielstatistik.htm",,"",1
	,"Spielerstatistiken",homepath + "03_spielerstatistik.htm",,"",1
	,"Saisonstatistik",homepath + "03_saisonstatistik.htm",,"",1
	])

//Eintrag: Informationen
	addmenu(menu=["menu40",
	,,210,1,"",style2,,"left",,,,,,,,,,,,,
	,"Aktuelles",homepath + "04_aktuell.htm",,"",1
	,"Anfahrt",homepath + "04_anfahrt.htm",,"",1
	,"Handball-Links",homepath + "04_links.htm",,"",1
	,"Training",homepath + "04_training.htm",,"",1
	,"Preise",homepath + "04_preise.htm",,"",1
	,"Sponsoren",homepath + "sponsoren/sponsoren.htm",,"",1
	])

//Eintrag: Sponsoren
	addmenu(menu=["menu50",
	,,210,1,"",style2,,"left",,,,,,,,,,,,,
	,"Übersicht",homepath + "sponsoren/sponsoren.htm",,"",1
	,"aktiv markt-MARON",homepath + "sponsoren/haupt.htm",,"",1
	,"arcus sport",homepath + "sponsoren/neben.htm",,"",1
        ,"stadt hamburg",homepath + "sponsoren/neben.htm",,"",1
	,"c. sievers",homepath + "sponsoren/neben.htm",,"",1
	,"baasch",homepath + "sponsoren/neben.htm",,"",1
	,"Plakatsponsoren",homepath + "sponsoren/plakat.htm",,"",1
	])

//Eintrag: Archiv
	addmenu(menu=["menu60",
	,,210,1,"",style2,,"left",,,,,,,,,,,,,
	,"Übersicht",homepath + "archiv/archiv.htm",,"",1
	,"Saison 2000/2001",homepath + "archiv/saison_2000-2001/saison_2000-2001.htm",,"",1
	,"Saison 2001/2002",homepath + "archiv/saison_2001-2002/saison_2001-2002.htm",,"",1
	,"Saison 2002/2003",homepath + "archiv/saison_2002-2003/saison_2002-2003.htm",,"",1
	,"Saison 2003/2004",homepath + "archiv/saison_2003-2004/saison_2003-2004.htm",,"",1
	,"Saison 2004/2005",homepath + "archiv/saison_2004-2005/saison_2004-2005.htm",,"",1
	,"Saison 2005/2006",homepath + "archiv/saison_2005-2006/saison_2005-2006.htm",,"",1
	,"Saison 2006/2007",homepath + "archiv/saison_2006-2007/saison_2006-2007.htm",,"",1
	,"Saison 2007/2008",homepath + "archiv/saison_2007-2008/saison_2007-2008.htm",,"",1		,"Saison 2008/2009",homepath + "archiv/saison_2008-2009/saison_2008-2009.htm",,"",1
	])

//Eintrag: Impressum
	addmenu(menu=["menu70",
	,,210,1,"",style2,,"left",,,,,,,,,,,,,
	,"Idee",homepath + "05_idee.htm",,"",1
	,"Kontakt",homepath + "05_kontakt.htm",,"",1
	,"Rechtshinweis",homepath + "05_rechtshinweis.htm",,"",1
	])	
	
dumpmenus()