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)}

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)"
}

timegap=500 		// The time delay for menus to remain visible
followspeed=2		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=10;	      // Sub menu offset Top position 
suboffset_left=20;	// 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.
"ff0000",		// Mouse Off Font Color
"",		// Mouse Off Background Color     fddb9c
"ff7777",		// Mouse On Font Color
"",		// Mouse On Background Color
"000000",		// Menu Border Color              8aafbf
14,			// Font Size in pixels
"normal",		// Font Style (italic or normal)
"bold",			// Font Weight (bold or normal)
"arial, helvetica, ",	// Font Name
4,				// Menu Item Padding
"images/tri.gif",	// Sub Menu Image (Leave this blank if not needed)
,				// 3D Border & Separator bar
"ffd7eb",		// 3D High Color             ffd7eb
"ffd7eb",		// 3D Low Color             ffd7eb  
,			// Current Page Item Font Color (leave this blank to disable)
,			// Current Page Item Background Color (leave this blank to disable)
"images/tri.gif",			// Top Bar image (Leave this blank to disable)
"FFFFFF",		// Menu Header Font Color (Leave blank if headers are not needed)
"b75750",		// Menu Header Background Color (Leave blank if headers are not needed)
"000000",		// Menu Item Separator Color
]


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
23,			// Menu Top - The Top position of the menu in pixels
10,			// Menu Left - The Left position of the menu in pixels
185,		// Menu Width - Menus width in pixels
2,			// 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)
"center",			// 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
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)
,			// 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)
"images/bg_dot.gif",			// Background image for menu when BGColor set to transparent.
0,			// Scrollable Menu
,			// Reserved for future use

,"<div align=center><table><tr><td><img src=images/logo_ucd.gif border=0></td></tr></table></div>","",,"",1
,"Home","index.shtml",,"",1
,"About The UCD","about.shtml",,"",1
,"Breed History","history.shtml",,"",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"News Bits","new.shtml",,"",1
,"Upcoming Events","upcomingevents.shtml",,"",1
,"Photo Contests","photo_contests.shtml",,"",1
,"Recent Events","show-menu=recent_events","","",1
,"Years In Review","pastevents.shtml",,"",1
,"Board Of Directors","directors.shtml",,"",1
,"Meet The Members","members.shtml",,"",1
,"Membership Form","membershipform.doc target=_blank",,"",1
,"UCD Constitution","constitution.doc target=_blank",,"",1
,"Futurity Classes","f&s_classes.doc target=_blank",,"",1
,"Futurity Rules","f&s_rules.doc target=_blank",,"",1
,"Links","links.shtml",,"",1
,"Site Archives","archives.shtml",,"",1


])

addmenu(menu=["recent_events",
	,,195,2,"",style1,,"left",effect,0,,,,,,,,"images/bg_dot.gif",,,
	,"Canadian Horse Day 2011","canadian_horse_day_11.shtml",,"",1
	,"Winter Fun Day 2011","funday_11.shtml",,"",1
      ,"Toronto Horse Day 2011","toronto_horse_day_11.shtml",,"",1
     ,"Canada Day 2011","canadaday_11.shtml",,"",1
      ,"Royal Winter Fair 2011","royal_11.shtml",,"",1
      ,"Futurity & Show 2011","futurity_11.shtml",,"",1
       ,"Niagara Antique P A 2011","antique_ps_11.shtml",,"",1
       ,"Marshville Heritage Festival 2011","marshville_hf_11.shtml",,"",1      
       ,"Can Am 2011","canam_11.shtml",,"",1
       ,"Wainfleet Fair & Breed Demonstrations","wainfleet_fair_11.shtml",,"",1
       ,"Clinics","clinics.shtml",,"",1


      	])
    
 	
	
 	
 
dumpmenus()
