/*
 Milonic DHTML Menu
 Written by Andy Woolley
 Copyright 2002 (c) Milonic Solutions. All Rights Reserved.
 Plase vist http://www.milonic.co.uk/menu or e-mail menu3@milonic.com
 You may use this menu on your web site free of charge as long as you place prominent links to http://www.milonic.co.uk/menu and
 your inform us of your intentions with your URL AND ALL copyright notices remain in place in all files including your home page
 Comercial support contracts are available on request if you cannot comply with the above rules.

 Please note that major changes to this file have been made and is not compatible with versions 3.0 or earlier.

 You no longer need to number your menus as in previous versions. 
 The new menu structure allows you to name the menu instead, this means that you can remove menus and not break the system.
 The structure should also be much easier to modify, add & remove menus and menu items.
 
 If you are having difficulty with the menu please read the FAQ at http://www.milonic.co.uk/menu/faq.php before contacting us.

 Please note that the above text CAN be erased if you wish as long as copyright notices remain in place.
*/

//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="<script language=javascript>";
	for(a=1;a<menus.length;a++)
	{
		mt+=" menu"+a+"=menus["+a+"];"
	}
	mt+="<\/script>";_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=10;		// Sub menu offset Top position 
suboffset_left=10;		// Sub menu offset Left position

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.
"FFFFFF",				// Mouse Off Font Color
"D2383A",				// Mouse Off Background Color
"000000",				// Mouse On Font Color
"D2383A",				// Mouse On Background Color
"D2383A",				// Menu Border Color 
13,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Arial",	        	// Font Name
5,						// Menu Item Padding
"menu/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 3D Low Color
"Black",				// Current Page Item Font Color (leave this blank to disable)
"",					// Current Page Item Background Color (leave this blank to disable)
"menu/arrowdn.gif",		// 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)
]
if (navigator.appVersion.indexOf("(Mac") != -1) // For Macintoshes
{
	if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion >= "4.0")
		{	offset1="offset=+180" }
	if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion < "4.0")
		{	offset1="offset=+185"}
	if (navigator.appName == "Netscape" && navigator.appVersion >= "5.0")
		{ offset1="offset=+230"}
	if (navigator.appName == "Netscape" && navigator.appVersion < "5.0")
		{ offset1="offset=+230"}
	if (navigator.appName != "Microsoft Internet Explorer" && navigator.appName != "Netscape")
		{ offset1="offset=+230"}
}
else // Below if for PC
{
	if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion >= "4.0")
		{	offset1="offset=+225" }
	if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion < "4.0")
		{	offset1="offset=+165"}
	if (navigator.appName == "Netscape" && navigator.appVersion >= "5.0")
		{ offset1="offset=+230"}
	if (navigator.appName == "Netscape" && navigator.appVersion < "5.0")
		{ offset1="offset=+165"}
	if (navigator.appName != "Microsoft Internet Explorer" && navigator.appName != "Netscape")
		{ offset1="offset=+180"}
}

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
offset1,				// Menu Top - The Top position of the menu in pixels
,				// Menu Left - The Left position of the menu in pixels
,					// Menu Width - Menus width in pixels
,					// Menu Border Width 
"center:top",	// 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)
,				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect,				// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// 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
,"Home&nbsp;&nbsp;","index.php?Loc=home",,"Family Martial Arts Home",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"About&nbsp;Us&nbsp;&nbsp;","show-menu=about",,"About Family Martial Arts",1
,"Classes&nbsp;&nbsp;","show-menu=programs",,"Tae Kwon Do Classes",1
,"Contact&nbsp;Us&nbsp;&nbsp;","mailto:info@familymartialarts.us?subject=Information%20About%20Taekwondo",,"Contact Family Martial Arts",1
,"Events&nbsp;&nbsp;","show-menu=events",,"Events",1
,"Links&nbsp;&nbsp;&nbsp;","show-menu=links",,"",1
,"News&nbsp;&nbsp;","index.php?Loc=news",,"Family Martial Arts News",1
,"Photos&nbsp;&nbsp;","index.php?Loc=photos",,"Family Martial Arts Photos",1
,"Students&nbsp;&nbsp;","index.php?Loc=students",,"The FMA Student Site",1
,"Tae&nbsp;Kwon&nbsp;Do&nbsp;&nbsp;","show-menu=tkd",,"Tae Kwon Do Resources",1
,"Hap&nbsp;Ki&nbsp;Do&nbsp;&nbsp;","show-menu=hkd",,"Hap Ki Do Resources",1


])
	addmenu(menu=["links",
	,,290,1,"",style1,,"",effect,,,,,,,,,,,,
	,"Korea&nbsp;National&nbsp;Tourism&nbsp;Organization", "http://english.tour2korea.com target=_blank",,"Korea National Tourism Organization",1
	,"Martial&nbsp;Arts&nbsp;Teachers&nbsp;Association", "http://www.martialartsschoolowners.com target=_blank",,"Martial Arts Teachers Association",1
	,"USA&nbsp;Taekwondo&nbsp;&nbsp;", "http://www.usa-taekwondo.us target=_blank",,"USA Taekwondo",1
	,"World&nbsp;Taekwondo&nbsp;Federation", "http://www.wtf.org target=_blank",,"World Taekwondo Federation",1
	,"World&nbsp;Hapkido&nbsp;Association", "http://www.worldhapkido.com target=_blank",,"World Hapkido Association",1
	])

	addmenu(menu=["programs",
	,,140,1,"",style1,,"",effect,,,,,,,,,,,,
	,"Class&nbsp;Schedule&nbsp;&nbsp;&nbsp;","index.php?Loc=classes",,"Class Schedule",1
	,"Class&nbsp;Locations&nbsp;&nbsp;&nbsp;","index.php?Loc=locations",,"FMA Locations",1
	,"TKD&nbsp;Tigers&nbsp;&nbsp;","index.php?Loc=tigers",,"TKD TIgers",1
	,"Junior&nbsp;Jaguars™&nbsp;&nbsp;","index.php?Loc=jrjaguars",,"Junior Jaguars™",1
	,"TKD&nbsp;Kids™&nbsp;&nbsp;","index.php?Loc=tkdkids",,"TKD Kids™",1
	,"Track&nbsp;to&nbsp;Black™&nbsp;&nbsp;","index.php?Loc=tracktoblack",,"Track to Black",1
	,"Hap&nbsp;Ki&nbsp;Do&nbsp;&nbsp;","index.php?Loc=hapkido",,"Hap Ki Do",1
	,"Family&nbsp;Classes&nbsp;&nbsp;","index.php?Loc=family",,"Family Classes",1
	])
	
	addmenu(menu=["events",
	,,140,1,"",style1,,"",effect,,,,,,,,,,,,
	,"Calendar&nbsp;of&nbsp;Events", "index.php?Loc=events",,"Upcoming Events",1
	,"Kyokpa&nbsp;Challenge", "index.php?Loc=kyokpa",,"Kyokpa Challenge",1
	,"Special&nbsp;FMA&nbsp;Events", "index.php?Loc=specevents",,"Special FMA Events",1
	])
	
	addmenu(menu=["tkd",
	,,140,1,"",style1,,"",effect,,,,,,,,,,,,
	,"Belt-Tying Guide", "index.php?Loc=belt",,"Belt-Tying Guide",1
	,"Choosing a Tae Kwon Do School", "index.php?Loc=school",,"Choosing a Tae Kwon Do School",1
	,"Korean Anthem", "index.php?Loc=anthem",,"Korean Anthem",1
	,"Korean Numbers", "index.php?Loc=numbers",,"Korean Numbers",1
	,"Korean Terms", "index.php?Loc=terms",,"Korean Terms",1
    ,"Tae Kwon Do History", "index.php?Loc=history",,"Tae Kwon Do History",1
	,"Tae Kwon Do Tenets", "index.php?Loc=tenets",,"Tae Kwon Do Tenets",1
	])
	
	addmenu(menu=["hkd",
	,,140,1,"",style1,,"",effect,,,,,,,,,,,,
	,"Belt-Tying Guide", "index.php?Loc=belt",,"Belt-Tying Guide",1
	,"Korean Anthem", "index.php?Loc=anthem",,"Korean Anthem",1
	,"Korean Numbers", "index.php?Loc=numbers",,"Korean Numbers",1
	,"Korean Terms", "index.php?Loc=terms",,"Korean Terms",1
    ,"Hap Ki Do History", "index.php?Loc=hkdhistory",,"Hap Ki Do History",1
	,"Hap Ki Do Principles", "index.php?Loc=principles",,"Hap Ki Do Principles",1
	])
	
	addmenu(menu=["about",
	,,140,1,"",style1,,"",effect,,,,,,,,,,,,
	,"About Family Martial Arts", "index.php?Loc=aboutus",,"About Family Martial Arts",1
	,"Class&nbsp;Locations&nbsp;&nbsp;&nbsp;","index.php?Loc=locations",,"FMA Locations",1
	,"FMA FAQs", "index.php?Loc=fmafaq",,"FMA FAQs",1	
	,"FMA Staff", "index.php?Loc=staff",,"FMA Staff",1
	,"Testimonials", "index.php?Loc=testimonials",,"Testimonials",1
	])
	
	addmenu(menu=["otherprograms",
	,,140,1,"",style1,,"",effect,,,,,,,,,,,,
	,"Other Family Martial Arts Programs", "index.php?Loc=otherprograms",,"Other Family Martial Arts Programs",1
	,"911 AOK", "http://michigan911aok.familymartialarts.us target=_blank",,"Michigan 911AOK",1
	,"Afterschool Programs", "index.php?Loc=otherprograms#bryant",,"Afterschool Programs",1
	,"Noontime Programs", "index.php?Loc=otherprograms#abbot",,"Noontime Programs",1
	,"Self Defense for Women", "index.php?Loc=otherprograms#womenssd",,"Self Defense for Women",1	
	])
		
	addmenu(menu=["Other",
	,,140,1,,style1,0,"left","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
	,"Menu Authors Site","http://www.milonic.co.uk/menu",,"Milonic DHTML Menu Site",1
	])
	
dumpmenus()
