	var NoOffFirstLineMenus=16;			// Number of main menu  items
	var LowBgColor='#CCCCCC';			// Background color when mouse is not over
	var HighBgColor="#EAEAEA";			// Background color when mouse is over
	var FontLowColor="#000000";			// Font color when mouse is not over
	var FontHighColor="#4674AD";		// Font color when mouse is over
	var BorderColor="#FFFFFF";			// Border color
	var BorderWidthMain=0;			// Border width main items
	var BorderWidthSub=0;			// Border width sub items
 	var BorderBtwnMain=5;			// Borderwidth between elements
	var BorderBtwnSub=5;			// Borderwidth between elements sub items
	var FontFamily="Verdana, Arial, Helvetica, sans-serif";	// Font family menu items
	var FontSize=10;				// Font size menu items
	var FontBold=1;					// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered="left";		// Item text position left, center or right
	var MenuCentered="left";			// Menu horizontal position can be: left, center, right
	var MenuVerticalCentered="top";		// Menu vertical position top, middle,bottom or static
	var ChildOverlap=.50;			// horizontal overlap child/ parent
	var ChildVerticalOverlap=0;			// vertical overlap child/ parent
	var StartTop=116;				// Menu offset x coordinate. If StartTop is between 0 and 1 StartTop is calculated as part of windowheight
	var StartLeft=10;				// Menu offset y coordinate. If StartLeft is between 0 and 1 StartLeft is calculated as part of windowheight
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var DistFrmFrameBrdr=0;			// Distance between main menu and frame border
	var LeftPaddng=25;				// Left padding
	var TopPaddng=1;				// Top padding. If set to -1 text is vertically centered
	var FirstLineHorizontal=0;			// Number defines to which level the menu must unfold horizontal; 0 is all vertical
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// delay before menu folds in
	var UnfoldDelay=100;			// delay before sub unfolds	
	var TakeOverBgColor=0;			// Menu frame takes over background color subitem frame
	var FirstLineFrame="";			// Frame where first level appears
	var SecLineFrame="";			// Frame where sub levels appear
	var DocTargetFrame="";			// Frame where target documents appear
	var TargetLoc="";				// span id for relative positioning
	var MenuWrap=1;					// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var BottomUp=0;					// enables/ disables Bottom up unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var BaseHref="";				// BaseHref lets you specify the root directory for relative links. 
	var Arrws=[BaseHref+"",5,10,BaseHref+"",10,5,BaseHref+"",5,10,BaseHref+"",10,5];
	var MenuUsesFrames=0;			// MenuUsesFrames is only 0 when Main menu, submenus,
	var OverFormElements=1;			// Set this to 0 when the menu does not need to cover form elements.
	var RememberStatus=1;			// RememberStatus: When set to 1, menu unfolds to the presetted menu item. 
	var BuildOnDemand=1;			// 1/0 When set to 1 the sub menus are build when the parent is moused over
	var BgImgLeftOffset=0;			// Only relevant when bg image is used as rollover
	var ScaleMenu=0;				// 1/0 When set to 0 Menu scales with browser text size setting
	var HooverBold=0;				// 1 or 0
	var HooverItalic=0;				// 1 or 0
	var HooverUnderLine=0;			// 1 or 0
	var HooverTextSize=0;			// 0=off, number is font size difference on hoover
	var HooverVariant=0;			// 1 or 0

						// Below some pretty useless effects, since only IE6+ supports them
						// I provided 3 effects: MenuSlide, MenuShadow and MenuOpacity
						// If you don't need MenuSlide just leave in the line var MenuSlide="";
						// delete the other MenuSlide statements
						// In general leave the MenuSlide you need in and delete the others.
						// Above is also valid for MenuShadow and MenuOpacity
						// You can also use other effects by specifying another filter for MenuShadow and MenuOpacity.
						// You can add more filters by concanating the strings
	var MenuSlide="";
	var MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.5, transition=19)";
	var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.5, wipeStyle=1)";

	var MenuShadow="";

	var MenuOpacity="";

	function BeforeStart(){return}
	function AfterBuild(){return}
	function BeforeFirstOpen(){return}
	function AfterCloseAll(){return}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

MM_preloadImages('images/menuback.gif');

// Menu tree:
// MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width,"bgcolor","bghighcolor",
//	"fontcolor","fonthighcolor","bordercolor","fontfamily",fontsize,fontbold,fontitalic,"textalign","statustext");
// Color and font variables defined in the menu tree take precedence over the global variables
// Fontsize, fontbold and fontitalic are ignored when set to -1.
// For rollover images ItemText or background image format is:  "rollover?"+BaseHref+"Image1.jpg?"+BaseHref+"Image2.jpg" 

Menu1=new Array("<span title='Go back to the Home page'>Home</span>","http://www.npjc.org.uk","images/menuback.gif",0,15,150,"","","","","","","-1","0","-1","","");
Menu2=new Array("<span title='Forum & Calendar'>Forum & Calendar</span>","forum.htm","images/menuback.gif",0,15,175,"","","","","","","-1","1","-1","","");
Menu3=new Array("<span title='Welcome to our Synagogue'>Our Synagogue</span>","shul.htm","images/menuback.gif",0,15,175,"","","","","","","-1","1","-1","","");
Menu4=new Array("<span title='Details of our services and forthcoming events'>Services & Events</span>","services.html","images/menuback.gif",0,15,175,"","","","","","","-1","1","-1","","");
Menu5=new Array("<span title='Details of our committees'>Committees</span>","committees.htm","images/menuback.gif",0,15,175,"","","","","","","-1","1","-1","","");
Menu6=new Array("<span title='Life cycle events'>Life Cycle</span>","life-cycle.htm","images/menuback.gif",0,15,175,"","","","","","","-1","1","-1","","");
Menu7=new Array("<span title='Torah Tots'>Torah Tots</span>","Tots.htm","images/menuback.gif",0,15,175,"","","","","","","-1","1","-1","","");
Menu8=new Array("<span title='Details of our Education options'>Cheder / Education</span>","cheder.htm","images/menuback.gif",0,15,175,"","","","","","","-1","1","-1","","");
Menu9=new Array("<span title='Ruach - our monthly magazine..'>Ruach Magazine</span>","ruach.html","images/menuback.gif",0,15,175,"","","","","","","-1","1","-1","","");
Menu10=new Array("<span title='Letters from the Chair'>Letters from Chair</span>","letters.html","images/menuback.gif",0,15,175,"","","","","","","-1","1","-1","","");
Menu11=new Array("<span title='Social Action Group'>Socal Action Group</span>","SoAct.htm","images/menuback.gif",0,15,175,"","","","","","","-1","1","-1","","");
Menu12=new Array("<span title='Our Scrolls'>Our Scrolls</span>","","images/menuback.gif",8,15,150,"","","","","","","-1","1","-1","","");
	 Menu12_1=new Array("<span title='The Swiss Scroll'>The Swiss Scroll</span>","Swiss.htm","images/menuback.gif",0,15,150,"","","","","","","-1","1","-1","","");  
	 Menu12_2=new Array("<span title='The Derby Scroll'>The Derby Scroll</span>","Derby.htm","images/menuback.gif",0,15,150,"","","","","","","-1","1","-1","","");  
	 Menu12_3=new Array("<span title='Our Austerlitz scroll'>The Austerlitz Scroll</span>","Austerlitz.htm","images/menuback.gif",0,15,150,"","","","","","","-1","1","-1","","");  
	 Menu12_4=new Array("<span title='First Prize Winner of the 1994 Essay Competition'>Austerlitz Essay</span>","Austerlitz-essay.htm","images/menuback.gif",0,15,150,"","","","","","","-1","1","-1","","");  
	 Menu12_5=new Array("<span title='The Ruach report ... NPJC trip to Slavkov 2007'>The Ruach Report</span>","2007.htm","images/menuback.gif",0,15,150,"","","","","","","-1","1","-1","","");  
	 Menu12_6=new Array("<span title='Czech Torah Network'>Czech Torah Network</span>","javascript:NewWin=window.open(\"http://www.czechtorah.org\",\"NWin\");window[\"NewWin\"].focus()","images/menuback.gif",0,15,150,"","","","","","","-1","1","-1","","");  
	 Menu12_7=new Array("<span title='Memorial Scrolls Trust'>Memorial Scrolls Trust</span>","javascript:NewWin=window.open(\"http://www.czechmemorialscrollstrust.org\",\"NWin\");window[\"NewWin\"].focus()","images/menuback.gif",0,15,150,"","","","","","","-1","1","-1","","");  
	 Menu12_8=new Array("<span title='Slavkov u Brna'>Slavkov u Brna</span>","javascript:NewWin=window.open(\"http://www.slavkov.cz\",\"NWin\");window[\"NewWin\"].focus()","images/menuback.gif",0,15,150,"","","","","","","-1","1","-1","","");  
Menu13=new Array("<span title='Funerals'>Funerals</span>","funerals.htm","images/menuback.gif",0,15,175,"","","","","","","-1","1","-1","","");
Menu14=new Array("<span title='Yahrzeit, Birthday and Anniversary Calendat'>Yahrzeit Calendar</span>","heb_cal.htm","images/menuback.gif",0,15,175,"","","","","","","-1","1","-1","","");
Menu15=new Array("<span title='Links to accociated sites'>Links</span>","links.htm","images/menuback.gif",0,15,175,"","","","","","","-1","1","-1","","");
Menu16=new Array("<span title='How to find us'>Contact </span>","where-are-we.htm","images/menuback.gif",0,15,175,"","","","","","","-1","1","-1","","");
