
// (c) Ger Versluis 2000-2004 version 6.20, Januari 14, 2004
//  You may use this script on non commercial sites
//  www.burmees.nl/menu/
	// Globals effecting all menus
	var PopNoOffMenus=2;	// number of seperate menus
	var BaseHref="";		// Root of the site
	var PopRClick=0;		// Defines which menu reacts on right click. 0=none
	var PopMenuSlide="";
//	var PopMenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.5, transition=19)";
//	var PopMenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.5, wipeStyle=1)";
	var PopMenuShadow="";
//	var PopMenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#888888, offX=2, offY=2, positive=1)";
//	var PopMenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#888888, direction=135, strength=3)";
	var PopMenuOpacity="";
//	var PopMenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=75)";
	function P_BeforeStart(){return}
	function P_AfterBuild(){return}
//	function P_BeforeFirstOpen(){return}
	function P_BeforeFirstOpen(){	// for menus over Flash object
	   if(ScLoc.HideArray){
		  var H_A,H_Al,H_El,i;
		  H_A=ScLoc.HideArray;
		  H_Al=H_A.length;
		  for (i=0;i<H_Al;i++){
			 H_El=ScLoc.document.getElementById(H_A[i]).style;
			 H_El.visibility=M_Hide}}}
//	function P_AfterCloseAll(){return}
	function P_AfterCloseAll(){	// for menus over Flash object
	   if(ScLoc.HideArray){
		  var H_A,H_Al,H_El,i;
		  H_A=ScLoc.HideArray;
		  H_Al=H_A.length;
		  for (i=0;i<H_Al;i++){
			 H_El=ScLoc.document.getElementById(H_A[i]).style;
			 H_El.visibility=M_Show}}}

//	Globals effecting one menu
//	PopMenu1=new Array(number of main items,left position,Top position,Normal font color,Normal back color,High font color,High back color,
//	Border color,Fontfamily,Bold,Italic,Font size,First line horizontal,First line permanent visible,Border width,Text align,
//	Horizontal overlap,Vertical overlap,Delay,Right to left unfold,Target div,Border between elements,Menu horizontal centered,
//	Menu vertical centered,Arrow right,Arrow Width,Arrow Height,Arrow down,Arrow Width,Arrow Height,Arrow left,Arrow Width,
//	Arrow Height,Top padding,Left padding,Unfold On Click);
PopMenu1=new Array(10,15,9,"white","#009900","#009900","white","#FAC36E","Verdana, Arial, Helvetica, sans-serif",1,0,11,1,1,2,"center",0,1,200,0,"",2,"left","top",BaseHref+"graphics/rightarrow-ongreen.gif",9,9,BaseHref+"graphics/downarrow-ongreen.gif",9,9,BaseHref+"graphics/leftarrow-ongreen.gif",9,9,2,2,0);

//	Menu Items:
//	MenuX=new Array(ItemText, Link, background image, number of sub elements, height, width,bgcolor,bghighcolor,
//	fontcolor,fonthighcolor,bordercolor,fontfamily,fontsize,fontbold,fontitalic,textalign,statustext);
// 	Fontsize, fontbold and fontitalic are ignored when set to -1.
//	For rollover images ItemText format is:  "rollover?Image1.jpg?Image2.jpg"
PopMenu1_1=new Array("Home","","",5,34,90,"","","","","","",-1,-1,-1,"","Sudbury Companies of Militia & Minute");
	PopMenu1_1_1=new Array("Home","index.htm","",0,20,152,"","","","","","",-1,-1,-1,"","Sudbury Companies of Militia & Minute");
	PopMenu1_1_2=new Array("About","about.htm","",0,0,0,"","","","","","",-1,-1,-1,"","About the Sudbury Companies of Militia & Minute");
	PopMenu1_1_3=new Array("Join","","",3,0,0,"","","","","","",-1,-1,-1,"","Join the Sudbury Companies of Militia & Minute today!");
		PopMenu1_1_3_1=new Array("Join","join.htm","",0,20,152,"","","","","","",-1,-1,-1,"","Join the Sudbury Companies of Militia & Minute today!");
		PopMenu1_1_3_2=new Array("Why Reenact?","WhyReenact.htm","",0,0,0,"","","","","","",-1,-1,-1,"","Why Reenact?");
		PopMenu1_1_3_3=new Array("Sign Up","mailinglist.htm","",0,0,0,"","","","","","",-1,-1,-1,"","Enlist in the Sudbury Companies!");
	PopMenu1_1_4=new Array("Contact Us","contact.htm","",0,0,0,"","","","","","",-1,-1,-1,"","Contact us!");
	PopMenu1_1_5=new Array("Search","search.htm","",0,0,0,"","","","","","",-1,-1,-1,"","Search Our Web Site!");
PopMenu1_2=new Array("Events","","",8,20,90,"","","","","","",-1,-1,-1,"","Upcoming Events");
	PopMenu1_2_1=new Array("Events","events.htm","",0,20,152,"","","","","","",-1,-1,-1,"","Upcoming Events");	
	PopMenu1_2_2=new Array("Patriots' Day","PatriotsDay.htm","",0,0,0,"","","","","","",-1,-1,-1,"","About the march to Concord on April 19th, Patriots Day");
	PopMenu1_2_3=new Array("Colonial Faire","faire.htm","",0,0,0,"","","","","","",-1,-1,-1,"","Colonial Faire and Muster of Fyfe & Drums");
	PopMenu1_2_4=new Array("Twelfth Nite Ball","12thNiteBall.htm","",0,0,0,"","","","","","",-1,-1,-1,"","Twelveth Nite Ball");
	PopMenu1_2_5=new Array("Grand Ball at the Red Horse Tavern","GrandBall.htm","",0,34,0,"","","","","","",-1,-1,-1,"","Grand Ball at the Red Horse Tavern");
	PopMenu1_2_6=new Array("Door Duty","Door_Duty.htm","",0,0,0,"","","","","","",-1,-1,-1,"","Greeting Guests of the Wayside Inn");
	PopMenu1_2_8=new Array("Past Events","pastevents.htm","",0,0,0,"","","","","","",-1,-1,-1,"","Past Events");
	PopMenu1_2_7=new Array("Ordinary Evening","EveningOrdinary.htm","",0,0,0,"","","","","","",-1,-1,-1,"","An Ordinary Evening at the Wayside Inn");
PopMenu1_3=new Array("Musters","","",2,20,90,"","","","","","",-1,-1,-1,"","Participate in a Muster meeting");
	PopMenu1_3_1=new Array("Musters","musters.htm","",0,20,152,"","","","","","",-1,-1,-1,"","Participate in a Muster meeting");
	PopMenu1_3_2=new Array("Muster Notice","notice.pdf","",0,0,0,"","","","","","",-1,-1,-1,"","Read our Muster Notice!");
PopMenu1_4=new Array("Patriots' Day","","",3,20,99,"","","","","","",-1,-1,-1,"","About the march to Concord on April 19th, Patriots Day");
	PopMenu1_4_1=new Array("Patriots' Day","PatriotsDay.htm","",0,20,228,"","","","","","",-1,-1,-1,"","About the march to Concord on April 19th, Patriots Day");
	PopMenu1_4_2=new Array("March through Wayland","WaylandMarch.htm","",0,0,0,"","","","","","",-1,-1,-1,"","Starting from Wayland");
	PopMenu1_4_3=new Array("March from Sudbury to Concord","SudburyMarch.htm","",0,0,0,"","","","","","",-1,-1,-1,"","March from Sudbury to Concord");
PopMenu1_5=new Array("Resources","","",6,20,99,"","","","","","",-1,-1,-1,"","Resources");
	PopMenu1_5_1=new Array("Resources","resources.htm","",0,20,228,"","","","","","",-1,-1,-1,"","Resources");
	PopMenu1_5_2=new Array("Clothing & Accoutrements","clothing.htm","",0,0,0,"","","","","","",-1,-1,-1,"","Resources - Clothing");
	PopMenu1_5_3=new Array("Historical Resources","HistoricalResources.htm","",0,0,0,"","","","","","",-1,-1,-1,"","Historical Resources");
	PopMenu1_5_4=new Array("Historical Sites","HistoricalSites.htm","",0,0,0,"","","","","","",-1,-1,-1,"","Historical Sites");
	PopMenu1_5_5=new Array("Drills","","",3,0,0,"","","","","","",-1,-1,-1,"","Musket Drills");
		PopMenu1_5_5_1=new Array("Drills","drills.htm","",0,20,228,"","","","","","",-1,-1,-1,"","Musket Drills");
		PopMenu1_5_5_2=new Array("1764 Crown Manual","1764Commands.htm","",0,0,0,"","","","","","",-1,-1,-1,"","1764 Manual of Arms");
		PopMenu1_5_5_3=new Array("Additional Manual of Arms Resources","drillresources.htm","",0,34,0,"","","","","","",-1,-1,-1,"","Additional Manual of Arms Resources");
	PopMenu1_5_6=new Array("Contra Dance Resources","ContraDanceResources.htm","",0,0,0,"","","","","","",-1,-1,-1,"","Contra Dancing Resources");
PopMenu1_6=new Array("History","","",9,20,95,"","","","","","",-1,-1,-1,"","History of the Sudbury Companies of Militia & Minute");
	PopMenu1_6_1=new Array("History","history.htm","",0,20,228,"","","","","","",-1,-1,-1,"","History of the Sudbury Companies of Militia & Minute");
	PopMenu1_6_2=new Array("Colonels","colonels.htm","",0,0,0,"","","","","","",-1,-1,-1,"","Colonels of the Sudbury Companies of Militia & Minute");
	PopMenu1_6_3=new Array("North Militia","NorthMilitia.htm","",0,0,0,"","","","","","",-1,-1,-1,"","The North Militia");
	PopMenu1_6_4=new Array("East Militia","EastMilitia.htm","",0,0,0,"","","","","","",-1,-1,-1,"","The East Militia");
	PopMenu1_6_5=new Array("South Militia","SouthMilitia.htm","",0,0,0,"","","","","","",-1,-1,-1,"","The South Militia");
	PopMenu1_6_6=new Array("Troop of Horse","TroopHorse.htm","",0,0,0,"","","","","","",-1,-1,-1,"","The Troops of Horse");
	PopMenu1_6_7=new Array("Minute Company (East Side)","MinuteCompanyEast.htm","",0,0,0,"","","","","","",-1,-1,-1,"","The Minute Company of the East Side");
	PopMenu1_6_8=new Array("Minute Company (West Side)","MinuteCompanyWest.htm","",0,0,0,"","","","","","",-1,-1,-1,"","The Minute Company of the West Side");
	PopMenu1_6_9=new Array("Pine Tree","PineTree.htm","",0,0,0,"","","","","","",-1,-1,-1,"","The Pine Tree");
PopMenu1_7=new Array("Public Service","","",3,20,108,"","","","","","",-1,-1,-1,"","Engage the Sudbury Companies of Militia & Minute for a function!");
	PopMenu1_7_1=new Array("Public Service","services.htm","",0,20,152,"","","","","","",-1,-1,-1,"","Engage the Sudbury Companies of Militia & Minute for a function!");
	PopMenu1_7_2=new Array("Educational Services","education.htm","",0,20,0,"","","","","","",-1,-1,-1,"","Service to the Schools");
	PopMenu1_7_3=new Array("Door Duty","Door_Duty.htm","",0,20,0,"","","","","","",-1,-1,-1,"","Greeting Guests of the Wayside Inn");
PopMenu1_8=new Array("Colonial Faire","","",9,20,108,"","","","","","",-1,-1,-1,"","Colonial Faire and Muster of Fyfe & Drums");
	PopMenu1_8_1=new Array("Colonial Faire","faire.htm","",0,20,228,"","","","","","",-1,-1,-1,"","Colonial Faire and Muster of Fyfe & Drums");
	PopMenu1_8_2=new Array("Muster Field Activities","musterfield.htm","",0,0,0,"","","","","","",-1,-1,-1,"","Muster Field Activities");
	PopMenu1_8_3=new Array("Children's Activities","children.htm","",0,0,0,"","","","","","",-1,-1,-1,"","There are plenty of activities for the children");
	PopMenu1_8_4=new Array("Colonial Faire Contra Dance","FaireContraDance.htm","",0,0,0,"","","","","","",-1,-1,-1,"","Dance with us, Contra style!");
	PopMenu1_8_5=new Array("Parade of Co. of Fyfe & Drums","parade.htm","",0,0,0,"","","","","","",-1,-1,-1,"","The Parade of Companies of Fyfe and Drums");
	PopMenu1_8_6=new Array("Muster of Co. of Fyfe & Drums","musicmuster.htm","",0,0,0,"","","","","","",-1,-1,-1,"","The Muster of Companies of Fyfe and Drums");
	PopMenu1_8_7=new Array("Vendors","vendors.htm","",0,0,0,"","","","","","",-1,-1,-1,"","Visit the exhibitors and vendors!");
	PopMenu1_8_8=new Array("Directions","directions.htm","",0,0,0,"","","","","","",-1,-1,-1,"","Come to the Faire!");
	PopMenu1_8_9=new Array("Other Information","info.htm","",0,0,0,"","","","","","",-1,-1,-1,"","Other information you may want to know");
//	PopMenu1_8_10=new Array("Sign Up List","2008 COLONIAL FAIRE SIGN UP SHEET.pdf","",0,0,0,"","","","","","",-1,-1,-1,"","Sign Up Sheet");
PopMenu1_9=new Array("Contra Dances","","",5,20,107,"","","","","","",-1,-1,-1,"","Dance with us, Contra style!");
	PopMenu1_9_1=new Array("Contra Dances","ContraDances.htm","",0,20,152,"","","","","","",-1,-1,-1,"","Dance with us, Contra style!");
	PopMenu1_9_2=new Array("Twelfth Night Ball","12thNiteBall.htm","",0,0,0,"","","","","","",-1,-1,-1,"","Twelveth Night Ball");
	PopMenu1_9_3=new Array("Grand Ball at the Red Horse Tavern","GrandBall.htm","",0,34,0,"","","","","","",-1,-1,-1,"","Grand Ball at the Red Horse Tavernl");
	PopMenu1_9_4=new Array("Colonial Faire Contra Dance","FaireContraDance.htm","",0,34,0,"","","","","","",-1,-1,-1,"","Contra Dancing at the Colonial Faire");
	PopMenu1_9_5=new Array("Contra Dance Resources","ContraDanceResources.htm","",0,34,0,"","","","","","",-1,-1,-1,"","Contra Dancing Resources");
PopMenu1_10=new Array("Sign Up","mailinglist.htm","",0,20,95,"","","","","","",-1,-1,-1,"","Enlist in the Sudbury Companies!");


PopMenu2=new Array(8,15,54,"white","#009900","#009900","white","#FAC36E","Verdana, Arial, Helvetica, sans-serif",1,0,11,1,1,2,"center",0,0,300,0,"",2,"left","top","",5,10,"",10,5,"",5,10,2,2,0);
	PopMenu2_1=new Array("Musterfield Activities","musterfield.htm","",0,30,122,"","","","","","",-1,-1,-1,"","Activities in the mustefield");
	PopMenu2_2=new Array("Children's Activities","children.htm","",0,20,122,"","","","","","",-1,-1,-1,"","Children's activities");
	PopMenu2_3=new Array("Contra Dance","FaireContraDance.htm","",0,20,122,"","","","","","",-1,-1,-1,"","Contra dancing at the Colonial Faire");
	PopMenu2_4=new Array("Parade of Fyfes & Drums","parade.htm","",0,20,124,"","","","","","",-1,-1,-1,"","The Muster of Fyfes & Drums");
	PopMenu2_5=new Array("Muster of Fyfes & Drums","musicmuster.htm","",0,20,124,"","","","","","",-1,-1,-1,"","The Muster of Fyfes & Drums");
	PopMenu2_6=new Array("Vendors & Sutlers","vendors.htm","",0,20,124,"","","","","","",-1,-1,-1,"","Vendors and sutlers.");
	PopMenu2_7=new Array("Directions","directions.htm","",0,20,122,"","","","","","",-1,-1,-1,"","Directions to the faire!");
	PopMenu2_8=new Array("Other Information","info.htm","",0,20,124,"","","","","","",-1,-1,-1,"","Other information");
//	PopMenu2_9=new Array("Sign Up List","2008 COLONIAL FAIRE SIGN UP SHEET.pdf","",0,20,66,"","","","","","",-1,-1,-1,"","Sign Up Sheet");