/*
 Milonic DHTML Website Navigation Menu - Version 3.x
 Written by Andy Woolley - Copyright 2002 (c) Milonic Solutions Limited. All Rights Reserved.
 Please visit http://www.milonic.co.uk/menu or e-mail menu3@milonic.com for more information.
 
 The Free use of this menu is only available to Non-Profit, Educational & Personal web sites.
 Commercial and Corporate licenses  are available for use on all other web sites & Intranets.
 All Copyright notices MUST remain in place at ALL times and, please keep us informed of your 
 intentions to use the menu and send us your URL.
*/


//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;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<scr"+"ipt language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/scr"+"ipt>";_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.

function my_getwidth()
	{
	if (window.innerWidth) return (window.innerWidth / 2 - 766);
	else if (document.body && document.body.offsetWidth) return (document.body.offsetWidth / 2 - 766);
	else return 0;
	}

////////////////////////////////////
// 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
effect = "" //Fade(duration=0.2);Alpha(style=0,opacity=88);


timegap=500			// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=4;	// Sub menu offset Top position 
suboffset_left=6;	// Sub menu offset Left position
closeOnClick = true

style1=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"332A25",			// Mouse Off Font Color
"DBC7AF",			// Mouse Off Background Color
"FFFFFF",			// Mouse On Font Color
"A28156",			// Mouse On Background Color
"ffffff",			// Menu Border Color 
11,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
4,					// Menu Item Padding
"",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",			// 3D High Color
"989B92",			// 3D Low Color
"white",			// Current Page Item Font Color (leave this blank to disable)
"C70004",				// 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)
"989B92",			// Menu Header Background Color (Leave blank if headers are not needed)
"ffffff",				// Menu Item Separator Color
]

PlainStyle=[                  // PlainStyle is an array of properties. You can have as many property arrays as you need
"FFFFFF",                     // Mouse Off Font Color
"",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"989B92",                     // Mouse On Font Color
"CCCCCC",                     // Mouse On Background Color
"666666",                     // Menu Border Color
"12",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"bold",                       // Font Weight (bold or normal)
"Verdana, Tahoma, Arial, Helvetica",// Font Name
0,                            // Menu Item Padding or spacing
"",                  // Sub Menu Image (Leave this blank if not needed)
0,                            // 3D Border & Separator bar
"FFFF00",                     // 3D High Color
"CCFFFF",                     // 3D Low Color
"purple",                     // 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)
"",                          // Menu Header Font Color (Leave blank if headers are not needed)
"",                         // Menu Header Background Color (Leave blank if headers are not needed)
,                             // Menu Item Separator Color
]

addmenu(menu=[
"boundmenu",                  // Menu Name - This is needed in order for this menu to be called
0,                             // Menu Top - The Top position of this menu in pixels
0,                             // Menu Left - The Left position of this menu in pixels
0,                             // Menu Width - Menus width in pixels
0,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
PlainStyle,                   // Properties Array - this array is declared higher up as you can see above
1,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this 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
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
1,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
//,"Home","http://www.dynamicdrive.com",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
//,"News&nbsp;sites&nbsp;&nbsp;","show-menu=news",,"",1
,"<img src=/images/navigation/menu_1.gif width=22 height=19 alt=\"\" hspace=0 vspace=0 border=0 id=\"my_img_0\">","","","",""
,"<img src=/images/navigation/menu_2_startseite.gif width=77 height=19 alt=\"\" hspace=0 vspace=0 border=0 id=\"my_img_1\">","/","","",""
,"<img src=/images/navigation/menu_3.gif width=47 height=19 alt=\"\" hspace=0 vspace=0 border=0 id=\"my_img_2\">","","","",""
,"<img src=/images/navigation/menu_4_termine.gif width=60 height=19 alt=\"\" hspace=0 vspace=0 border=0 id=\"my_img_3\">","/termine/aktuelles/","#","",""
,"<img src=/images/navigation/menu_5.gif width=40 height=19 alt=\"\" hspace=0 vspace=0 border=0 id=\"my_img_4\">","","","",""
,"<img src=/images/navigation/menu_6_information.gif width=84 height=19 alt=\"\" hspace=0 vspace=0 border=0 id=\"my_img_5\">","show-menu=information","#","",""
,"<img src=/images/navigation/menu_7.gif width=40 height=19 alt=\"\" hspace=0 vspace=0 border=0 id=\"my_img_6\">","","","",""
,"<img src=/images/navigation/menu_8_schule.gif width=50 height=19 alt=\"\" hspace=0 vspace=0 border=0 id=\"my_img_7\">","show-menu=schule","#","",""
,"<img src=/images/navigation/menu_9.gif width=41 height=19 alt=\"\" hspace=0 vspace=0 border=0 id=\"my_img_8\">","","","",""
,"<img src=/images/navigation/menu_10_angebote.gif width=67 height=19 alt=\"\" hspace=0 vspace=0 border=0 id=\"my_img_9\">","show-menu=angebote","#","",""
,"<img src=/images/navigation/menu_11.gif width=41 height=19 alt=\"\" hspace=0 vspace=0 border=0 id=\"my_img_10\">","","","",""
,"<img src=/images/navigation/menu_12_kontakt.gif width=57 height=19 alt=\"\" hspace=0 vspace=0 border=0 id=\"my_img_11\">","show-menu=kontakt","#","",""
,"<img src=/images/navigation/menu_13.gif width=139 height=19 alt=\"\" hspace=0 vspace=0 border=0 id=\"my_img_12\">","","","",""
])

	addmenu(menu=["information",
	,,160,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Bauspielplatz","/information/bauspielplatz/",,,1
	,"Der Verein","/information/derverein/",,,1
	,"Die Mitarbeiter","/information/mitarbeiter/",,,1
	,"Die Tiere","/information/dietiere/",,,1
	,"Praktikum","/information/praktikum/",,,1
	,"FÖJ","/information/foj/",,,1
	,"Kindergarten","/information/kindergarten/",,,1
	,"Stiftung / Spenden","/information/spenden/",,,1
	,"Bildergalerie","/information/bildergalerie/",,,1
	,"Links","/information/links/",,,1
	])

	addmenu(menu=["schule",
	,,175,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Übersicht/Schulprojekte","/schule/schulprojekte/",,,1
	,"Schulprogramme","/schule/schulprogramme/",,,1
	,"Handlungsorientierter Geschichtsunterricht","/schule/geschichtsunterricht/",,,1
	,"Berufsorientierung und Werkstatttage","/schule/berufsorierntierung/",,,1
	,"Projektwochen/-tage","/schule/projektwochen/",,,1
	,"Klassenfahrten","/schule/klassenfahrten/",,,1
	,"Kück-Netz","/schule/kuecknetz/",,,1
	])

	addmenu(menu=["angebote",
	,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Ferienpass","/angebote/ferienpass/",,,1
	,"Betriebsfeste","/angebote/betriebsfeste/",,,1
	,"Kindergeburtstage","/angebote/kindergeburtstage/",,,1
	,"Platzvermietung","/angebote/platzvermietung/",,,1
	,"Übernachtung","/angebote/uebernachtung/",,,1
    ,"Archäologische Kurse","/box/?Startseite_ID=3",,,1
	,"Pädagogisches Arbeiten mit Pferden","/angebote/paedagogischearbeitmitpferden/",,,1
	,"Jugendcontainer","/jugendcontainer/",,,1
	,"Café Hahn","/cafehahn/",,,1
	])

	addmenu(menu=["kontakt",
	,,110,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Anschrift","/kontakt/anschrift/",,,1
	,"Mailformular","/kontakt/mailformular/",,,1
	,"Anfahrtsplan","/kontakt/anfahrtsplan/",,,1
	,"Öffnungszeiten","/kontakt/oeffnungszeiten/",,,1
	,"Impressum","/kontakt/impressum/",,,1
	])
dumpmenus()
