/* 	
	MENU (CALL FUNCTIONS) V1.2
	WRITTEN BY: cRAIG A. BENSON
	DATE: 11/08/01
*/


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)}

/////////// Properties /////////////

effect="Shadow(color='#999999', Direction=135, Strength=2)"; //"randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)"  //dissolve effect

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=[		// style1 is an array of properties. You can have as many property arrays as you need.
"FFFFFF",		// Mouse Off Font Color
"820011",		// Mouse Off Background Color
"CCCC33",		// Mouse On Font Color
"820011",		// Mouse On Background Color
"820011",		// Menu Border Color 
11,			// Font Size in pixels
"normal",		// Font Style (italic or normal)
"normal",		// Font Weight (bold or normal)
"Verdana,Arial",	// Font Name
2,			// Menu Item Padding
,			// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"000000",		// 3D High Color
"FFFFFF",		// 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)
,			// Menu Header Background Color (Leave blank if headers are not needed)
]


style2=[		// style1 is an array of properties. You can have as many property arrays as you need.
"FFFFFF",		// Mouse Off Font Color
"820011",		// Mouse Off Background Color
"CCCC33",		// Mouse On Font Color
"820011",		// Mouse On Background Color
"000000",		// Menu Border Color 
11,			// Font Size in pixels
"normal",		// Font Style (italic or normal)
"normal",		// Font Weight (bold or normal)
"Verdana,Arial",	// Font Name
2,			// Menu Item Padding
,			// Sub Menu Image (Leave this blank if not needed)
1,			// 3D Border & Separator bar
"000000",		// 3D High Color
"FFFFFF",		// 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)
"000000",		// 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
139,		// Menu Top - The Top position of the menu in pixels
(document.body.clientWidth/2)-400, // Menu Left - The Left position of the menu in pixels. This was (document.body.offsetWidth/2)-400
146,		// 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 thereof
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
,		// Follow Scrolling - Tells menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 		// Horizontal Menu - Tells menu to become horizontal instead of top to bottom style (1=on/0=off)
,		// Keep Alive- Keeps menu visible until user moves over another menu or clicks elsewhere on page (1=on/0=off)
,		// Position of TOP sub image left:center:right
,		// Set Overall Width of Horizontal Menu to 100% and height to specified amount (Leave blank to disable)
,		// Right To Left  (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","index.html",,"Home",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Classes","classes.html",,"Classes",1
,"Training","show-menu=training",,"Personal Training",1
,"Join","show-menu=membership",,"Join Us",1
,"About","about.html",,"About Us",1
,"Contact","contact.html",,"Contact",1
])

	addmenu(menu=["training",
	,,220,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"<nobr>Personal Training Rates & Benefits</nobr>","training_rates.html",,"Personal Training Rates & Benefits",1
	,"<nobr>Meet Our Certified Personal Trainers</nobr>","show-menu=trainers",,"Meet Our Certified Trainers",1
	])

		addmenu(menu=["trainers",
		,,75,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"Andi","training_andi.html",,"Andi",1
		,"Matt","training_matt.html",,"Matt",1
		])


	addmenu(menu=["membership",
	,,176,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"<nobr>Membership Rates & Benefits</nobr>","membership.html",,"Membership Rates & Benefits",1
	,"<nobr>Membership Policies</nobr>","membership_policies.html",,"Membership Policies",1
	])

dumpmenus()