
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=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=400			// The time delay for menus to remain visible
followspeed=300		// Follow Scrolling speed
followrate=300		// Follow Scrolling Rate
suboffset_top=4;	// Sub menu offset Top position 
suboffset_left=4;	// 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
"#000066",			// Mouse Off Background Color
"#000066",			// Mouse On Font Color
"#FFFFFF",			// Mouse On Background Color
"#336699",			// Menu Border Color 
13,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
3,					// Menu Item Padding
"images/arrowdn.gif",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"#33CCFF",			// 3D High Color
"#0000CC",			// 3D Low Color
"#FFFFFF",			// Current Page Item Font Color (leave this blank to disable)
"#000000",				// 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)
"#000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"#33CCFF",			// Menu Item Separator Color
]

style2=[			// 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
"#336699",			// Mouse Off Background Color
"#336699",			// Mouse On Font Color
"#FFFFFF",			// Mouse On Background Color
"#666699",			// Menu Border Color 
10,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
4,					// Menu Item Padding
"images/arrowdn.gif",		// Sub Menu Image (Leave this blank if not needed)
1,					// 3D Border & Separator bar
"#33CCFF",			// 3D High Color
"#0000CC",			// 3D Low Color
"#FFFFFF",			// Current Page Item Font Color (leave this blank to disable)
"#000000",				// 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)
"#000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"#33CCFF",			// 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
230,					// Menu Top - The Top position of the menu in pixels
15,				// Menu Left - The Left position of the menu in pixels
120,				// 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 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)
"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
0,					// 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)
1,					// 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)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use
,"About Us","show-menu=bdbibaUs",,"",1
,"From The Rabbi","rabbi.html",,,1
,"Worship","show-menu=worship",,"",1
,"Education","show-menu=education",,"",1
,"Activities","show-menu=BDactivities",,"",1
,"Online Reservations","show-menu=onlineres",,"",1
,"Facilities","show-menu=Facilities",,"",1
,"Make a Donation","donations.html",,,1
,"The Window","show-menu=Window",,"",1
,"Links","show-menu=JewishLinks",,"",1
		])
		
		addmenu(menu=["onlineres",
,,175,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Simchat Torah Luncheon, October 1, 2010","https://secure.bethdavid.com/newrecordSIMTO.html",,,1
,"Brotherhood Events","show-menu=brotherhoodevents",,"",1
,"Sedra Study Luncheons","show-menu=sedrastudy",,"",1
,"Youth Events","show-menu=YouthRez",,"",1
		])
		
		addmenu(menu=["Window",
,,225,1,"",style2,,"left",effect,,,,,,,,,,,,
,"5771/2010 High Holidays Edition - <i>PDF file</i>","window/HH2010.pdf",,,1
	])
	
		addmenu(menu=["YouthRez",
,,225,1,"",style2,,"left",effect,,,,,,,,,,,,
,"More Events Coming Soon","",,,1
	])
		
		addmenu(menu=["sedrastudy",
,,225,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Lech Lecha, October 16","https://secure.bethdavid.com/newrecordSedOct16.html",,,1
		])
		
		addmenu(menu=["brotherhoodevents",
,,225,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Sign up for the FJMC Unraveller Haftarah Commentary","http://www.fjmc.org/unraveller/",,,1
		])
		
		
		addmenu(menu=["bdbibaUs",
,,175,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Home","index.html",,,1
,"Upcoming Events","upcomingevents.html",,,1
,"Membership","membership.html",,,1
,"Location","http://ca.maps.yahoo.com/maps_result?ed=K449Gup_0TpilDwW6DUMm_xJqSPi00RQ&csz=Toronto%2C+ON+M3H+3J7&country=ca&new=1&name=&qty target=_blank",,,1
,"Clergy & Professional Staff","clergy.html",,,1
,"Board & Executive","board.html",,,1
,"From the President","president.html",,,1
,"Privacy Policy","privacy.html",,,1
		])
		
		addmenu(menu=["worship",
,,175,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Ritual Matters","show-menu=ritual",,"",1
,"Service Times","servicetimes.html",,,1
,"Holidays","show-menu=holidays",,"",1
,"Simchas!","simchas.html",,,1
,"Condolences","condolences.html",,,1
,"Donations","donations.html",,,1
		])

		addmenu(menu=["holidays",
,,175,1,"",style2,,"left",effect,,,,,,,,,,,,
,"High Holy Day Service Times","hhservices.html",,,1
,"Selihot","selihot.html",,,1
,"Rosh Hashanah & Yom Kippur","hhdayinfo.html",,,1
,"Tashlikh","tashlikh.html",,,1
,"Sukkot","sukkot.html",,,1
,"Shemini Atzeret","Shemini.html",,,1
,"Simhat Torah","simhattorah.html",,,1
		])
				
		addmenu(menu=["ritual",
,,175,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Ritual Matters","ritual.html",,,1
,"Ritual Activities","RITactivities.html",,,1
,"Bedek Habayit","bedek.html",,,1
		])
	
addmenu(menu=["education",
,,175,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Continuing Education","adulted.html",,,1
,"Institute of Hebrew and Judaic Studies","judaicstudies.html",,,1
		])
	
		addmenu(menu=["BDactivities",
,,175,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Brotherhood","brotherhood.html",,"",1
,"Sisterhood","sisterhood.html",,"",1
,"Z'havah","zhavah.html",,"",1
,"Club Chaverut","clubchav.html",,"",1
,"Library","library.html",,,1
,"Families","youngfamilies.html",,,1
,"Youth Programs","youth.html",,,1
		])
		
	addmenu(menu=["Facilities",
,,175,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Touring our Building","buildingtour.html",,,1
,"Stained Glass","show-menu=stainedglass",,"",1
,"Gift Shop","giftshop.html",,,1
,"Booking a Simcha","bookingasimcha.html",,,1
,"Caterer","http://www.caterersyork.com/",,,1
		])
		
	addmenu(menu=["stainedglass",
,,175,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Mizrachi Stained Glass","stainedglassM.html",,,1
,"Sanctuary Windows","stainedglassS.html",,,1
,"Chapel Windows","stainedglassC.html",,,1
		])
		
		addmenu(menu=["JewishLinks",
,,325,1,"",style2,,"left",effect,,,,,,,,,,,,
,"Important Links","links.html",,,1
,"Camp Ramah - Canada","http://www.campramah.com target=_blank",,,1
,"Camp Ramah - Israel","http://www.ramah.org.il target=_blank",,,1
,"Camp Ramah - US","http://www.campramah.org target=_blank",,,1
,"Cantors Assembly","http://www.cantors.org target=_blank",,,1
,"The Conservative Yeshiva in Jerusalem","http://www.uscj.org.il/yeshiva/ target=_blank",,,1
,"Federation of Jewish Men's Clubs","http://www.fjmc.org target=_blank",,,1
,"Jewish Educators Assembly","www.jewisheducators.org target=_blank",,,1
,"The Jewish Museum","http://www.jewishmuseum.org target=_blank",,,1
,"Jewish Theological Seminary of America","http://www.jtsa.edu target=_blank",,,1
,"Jewish Youth Directors Association","http://www.jyda.org target=_blank",,,1
,"Joint Retirement Board","http://www.jrbcj.org target=_blank",,,1
,"Koach","http://www.koach.org target=_blank",,,1
,"Masorti Canada","http://www.masorti.ca target=_blank",,,1
,"Masorti Movement (Israel)","http://www.masorti.org target=_blank",,,1
,"Masorti Olami","http://www.masortiworld.org target=_blank",,,1
,"Masorti Synagogues, UK","http://www.masorti.org.uk target=_blank",,,1
,"Mercaz Canada","http://www.mercaz.ca target=_blank",,,1
,"North American Association of Synagogue Executives","http://www.naase.org target=_blank",,,1
,"Rabbinical Assembly","http://www.rabassembly.org target=_blank",,,1
,"Schechter Institute of Jewish Studies in Israel","http://www.schechter.edu target=_blank",,,1
,"Solomon Schechter Day Schools Association","http://www.ssdsa.org  target=_blank",,,1
,"United Synagogue Youth (USY)","http://www.usy.org target=_blank",,,1
,"United Synagogue","http://www.uscj.org target=_blank",,,1
,"Women's League for Conservative Judaism","http://www.wlcj.org target=_blank",,,1
,"Ziegler School of Rabbinic Studies","http://www.uj.edu/zieg/ZIEG.html target=_blank",,,1

		])
		
		
		

dumpmenus()