 /***********************************************
*	(c) Ger Versluis 2000 version 13.10 August 1, 2004       *
*	You may use this script on non commercial sites.	          *
*	www.burmees.nl/menu			          *
*	You may remove all comments for faster loading	          *		
************************************************/
	var NoOffFirstLineMenus=13;			// Number of main menu  items
						// Colorvariables:
						// Color variables take HTML predefined color names or "#rrggbb" strings
						//For transparency make colors and border color ""
	var LowBgColor="red";			// Background color when mouse is not over
	var HighBgColor="lightblue";			// Background color when mouse is over
	var FontLowColor="yellow";			// Font color when mouse is not over
	var FontHighColor="blue";			// Font color when mouse is over
	var BorderColor="black";			// Border color
	var BorderWidthMain=0;			// Border width main items
	var BorderWidthSub=1;			// Border width sub items
 	var BorderBtwnMain=0;			// Border width between elements main items
	var BorderBtwnSub=1;			// Border width between elements sub items
	var FontFamily="arial";	// Font family menu items
	var FontSize=11;				// Font size menu items
	var FontBold=0;				// 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=.1;			// horizontal overlap child/ parent
	var ChildVerticalOverlap=.1;			// vertical overlap child/ parent
	var StartTop=0;				// Menu offset x coordinate
	var StartLeft=0;				// Menu offset y coordinate
	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=0;				// 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="MenuPos";			// 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="http://www.montessori.org/montessoridb/";				// BaseHref lets you specify the root directory for relative links. 
	var BaseHref="";				// BaseHref lets you specify the root directory for relative links. 
						// The script precedes your relative links with BaseHref
						// For instance: 
						// when your BaseHref= "http://www.MyDomain/" and a link in the menu is "subdir/MyFile.htm",
						// the script renders to: "http://www.MyDomain/subdir/MyFile.htm"
						// Can also be used when you use images in the textfields of the menu
						// "MenuX=new Array("<img src=\""+BaseHref+"MyImage\">"
						// For testing on your harddisk use syntax like: BaseHref="file:///C|/MyFiles/Homepage/"

//	var Arrws=[BaseHref+"tri.gif",5,10,BaseHref+"tridown.gif",10,5,BaseHref+"trileft.gif",5,10,BaseHref+"triup.gif",10,5];
var Arrws=["",0,0,"",0,0,"",0,0,"",0,0];

						// Arrow source, width and height.
						// If arrow images are not needed keep source ""

	var MenuUsesFrames=0;			// MenuUsesFrames is only 0 when Main menu, submenus,
						// document targets and script are in the same frame.
						// In all other cases it must be 1

var RememberStatus=0;			// RememberStatus: When set to 1, menu unfolds to the presetted menu item. 
						// When set to 2 only the relevant main item stays highligthed
						// The preset is done by setting a variable in the head section of the target document.
						// xhead>
						//	xscript type="text/javascript">var SetMenu="2_2_1";x/scriptx
						// </head>
						// 2_2_1 represents the menu item Menu2_2_1=new Array(.......

						// 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 BuildOnDemand=0;			// 1/0 When set to 1 the sub menus are build when the parent is moused over
	var BgImgLeftOffset=5;			// 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

	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 MenuShadow="";
	var MenuShadow="";

	var MenuOpacity="";
	var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=95)";

	function BeforeStart(){return}
	function AfterBuild(){return}
	function BeforeFirstOpen(){return}
	function AfterCloseAll(){return}

// 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" 

//1.0 needs work
//Menu1=new Array("rollover?"+BaseHref+"/images/menu_findschools_off.jpg?"+BaseHref+"/images/menu_findschools_on.jpg","http://www.montessori.org/schools/search.php","",3,34,180,"","","","","","",-1,-1,-1,"","");
//	Menu1_1=new Array("School Search","http://www.montessori.org/schools/search.php","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu1=new Array("rollover?"+BaseHref+"/images/menu_findschools_off.jpg?"+BaseHref+"/images/menu_findschools_on.jpg","http://schools.guidedstudies.com/search/","",3,34,180,"","","","","","",-1,-1,-1,"","");
	Menu1_1=new Array("School Search","http://schools.guidedstudies.com/search/","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu1_2=new Array("Finding the Right School"," http://www.montessori.org/section.php?sectionid=18&catid=52","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu1_3=new Array("Authentic Montessori Schools","http://www.montessori.org/story.php?id=265","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");

//2.0 , 2.5
Menu2=new Array("rollover?"+BaseHref+"/images/menu_forparents_off.jpg?"+BaseHref+"/images/menu_forparents_on.jpg","http://www.montessori.org/section.php?sectionid=18&catid=27","",6,22,180,"","","","","","",-1,-1,-1,"","");
	Menu2_1=new Array("Introduction to Montessori","http://www.montessori.org/story.php?id=307","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu2_2=new Array("Tomorrow's Child"," http://www.montessori.org/section.php?sectionid=26","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu2_3=new Array("International Montessori Council"," http://www.montessori.org/section.php?sectionid=19&catid=39","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu2_4=new Array("Online Bookstore","http://estore.websitepros.com/1910659/StoreFront.bok","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu2_5=new Array("Online Library","http://www.montessori.org/section.php?sectionid=18&catid=27","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu2_6=new Array("Upcoming Conferences","http://www.montessori.org/story.php?id=175","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");

//3.5
Menu3=new Array("rollover?"+BaseHref+"/images/menu_forteachers_off.jpg?"+BaseHref+"/images/menu_forteachers_on.jpg","http://www.montessori.org/section.php?sectionname=Online%20Library","",5,22,180,"","","","","","",-1,-1,-1,"","");
	Menu3_1=new Array("Tomorrow's Child"," http://www.montessori.org/section.php?sectionid=26","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu3_2=new Array("International Montessori Council"," http://www.montessori.org/section.php?sectionid=19&catid=39","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu3_3=new Array("Online Bookstore","http://estore.websitepros.com/1910659/StoreFront.bok","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu3_4=new Array("Online Library","http://www.montessori.org/section.php?sectionname=Online%20Library","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu3_5=new Array("Upcoming Conferences","http://www.montessori.org/story.php?id=175","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");


Menu4=new Array("rollover?"+BaseHref+"/images/menu_forschools_off.jpg?"+BaseHref+"/images/menu_forschools_on.jpg","http://www.montessori.org/section.php?sectionname=Online%20Library","",5,22,180,"","","","","","",-1,-1,-1,"","");
	Menu4_1=new Array("Tomorrow's Child"," http://www.montessori.org/section.php?sectionid=26","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu4_2=new Array("Montessori Leadership Institute","http://www.montessori.org/story.php?id=28","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu4_3=new Array("International Montessori Council"," http://www.montessori.org/section.php?sectionid=19&catid=39","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu4_4=new Array("Online Bookstore","http://estore.websitepros.com/1910659/StoreFront.bok","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu4_5=new Array("Online Library","http://www.montessori.org/section.php?sectionname=Online%20Library","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
//www.montessori-foundation-books.org
//5.0
Menu5=new Array("rollover?"+BaseHref+"/images/menu_pub_off.jpg?"+BaseHref+"/images/menu_pub_on.jpg","http://www.montessori-foundation-books.org","",3,22,180,"","","","","","",-1,-1,-1,"","");
	Menu5_1=new Array("Tomorrow's Child"," http://www.montessori.org/section.php?sectionid=26","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu5_2=new Array("Montessori Leadership","http://www.montessori.org/story.php?id=284","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");	
	Menu5_3=new Array("Online Bookstore","http://estore.websitepros.com/1910659/StoreFront.bok","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");

Menu6=new Array("rollover?"+BaseHref+"/images/menu_onlinelibrary_off.jpg?"+BaseHref+"/images/menu_onlinelibrary_on.jpg","http://www.montessori.org/section.php?sectionname=Online%20Library","",5,22,180,"","","","","","",-1,-1,-1,"","");
	Menu6_1=new Array("Introducing Montessori Education","http://www.montessori.org/section.php?sectionid=18&catid=16","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu6_2=new Array("Articles For Parents","http://www.montessori.org/section.php?sectionid=18&catid=27","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu6_3=new Array("Articles for Teachers","http://www.montessori.org/section.php?sectionid=18&catid=16","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu6_4=new Array("Articles for School Administrators","http://www.montessori.org/section.php?sectionid=18&TOPCAT=Articles%20on%20Montessori%20Leadership","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu6_5=new Array("Articles for Board Members","http://www.montessori.org/section.php?sectionid=18&catid=20","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");

//7.2
Menu7=new Array("rollover?"+BaseHref+"/images/menu_mli_off.jpg?"+BaseHref+"/images/menu_mli_on.jpg","http://www.montessori.org/story.php?id=28","",3,22,180,"","","","","","",-1,-1,-1,"","");
	Menu7_1=new Array("Montessori Leadership Institute","http://www.montessori.org/story.php?id=28","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu7_2=new Array("Montessori Leadership Magazine","http://www.montessori.org/story.php?id=284","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu7_3=new Array("Upcoming courses","http://www.montessori.org/story.php?id=306","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	
Menu8=new Array("rollover?"+BaseHref+"/images/menu_imc_off.jpg?"+BaseHref+"/images/menu_imc_on.jpg","http://www.montessori.org/section.php?sectionid=19","",4,22,180,"","","","","","",-1,-1,-1,"","");
	Menu8_1=new Array("Introducing the IMC","http://www.montessori.org/section.php?sectionid=19&catid=39","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu8_2=new Array("Montessori Leadership magazine","http://www.montessori.org/story.php?id=284","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu8_3=new Array("IMC School Accreditation","http://www.montessori.org/section.php?sectionid=19&catid=38","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu8_4=new Array("IMC Members Library","http://www.montessori.org/section.php?sectionname=International%20Montessori%20Council&TOPCAT=IMC%20Members%20Resource%20Library","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
//http://www.montessori.org/story.php?id=269

Menu9=new Array("rollover?"+BaseHref+"/images/menu_aboutus_off.jpg?"+BaseHref+"/images/menu_aboutus_on.jpg","http://www.montessori.org/story.php?id=164","",2,22,180,"","","","","","",-1,-1,-1,"","");
	Menu9_1=new Array("The Montessori Foundation","http://www.montessori.org/story.php?id=164","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu9_2=new Array("The International Montessori Council"," http://www.montessori.org/section.php?sectionid=19&catid=39","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");

Menu10=new Array("rollover?"+BaseHref+"/images/menu_org_suppliers_off.jpg?"+BaseHref+"/images/menu_org_suppliers_on.jpg","http://www.montessori.org/story.php?id=16","",3,22,180,"","","","","","",-1,-1,-1,"","");
	Menu10_1=new Array("Montessori Organizations","http://www.montessori.org/story.php?id=16","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu10_2=new Array("Suppliers - Montessori Materials","http://www.montessori.org/story.php?id=253","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu10_3=new Array("Suppliers - Supplementary Materials","http://www.montessori.org/story.php?id=254","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");

//11.0
Menu11=new Array("rollover?"+BaseHref+"/images/menu_forumdisc_off.jpg?"+BaseHref+"/images/menu_forumdisc_on.jpg","http://www.montessori.org/story.php?id=285","",0,22,180,"","","","","","",-1,-1,-1,"","");
	//Menu11_1=new Array("IMC-ENEWS","forumdisc_imcenews.html","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	//Menu11_2=new Array("Montessori Online Discussion Group","forumdisc_modg.html","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	//Menu11_3=new Array("Online Forums","forumdisc_fd.html","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	//Menu11_4=new Array("Members Sign In","forumdisc_msi.html","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");

Menu12=new Array("rollover?"+BaseHref+"/images/menu_classifieds_off.jpg?"+BaseHref+"/images/menu_classifieds_on.jpg","http://www.montessori.org/section.php?sectionname=Classified%20Ads","",2,22,180,"","","","","","",-1,-1,-1,"","");
	Menu12_1=new Array("See Ads","http://www.montessori.org/story.php?id=249","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");
	Menu12_2=new Array("How to place a classified ad","http://www.montessori.org/story.php?id=186","",0,20,205,"white","#D3E1ED","black","black","blue","arial","12",-1,-1,"","");

Menu13=new Array("rollover?"+BaseHref+"/images/menu_contact_off.jpg?"+BaseHref+"/images/menu_contact_on.jpg","http://www.montessori.org/story.php?id=164#contactinfo","",0,22,180,"","","","","","",-1,-1,-1,"","");

