﻿ /***********************************************
*	(c) Ger Versluis 2000 version 13.20 October 12, 2005    *
*	You may use this script on non commercial sites.	          *
*	www.burmees.nl/menu			          *
*	You may remove all comments for faster loading	          *		
************************************************/
  // BaseHref lets you specify the root directory for relative links. 
  var BaseHref="http://www.montessoriinternational.org/";				
  //var BaseHref="http://kabam-3/dev/KABAM/MICH/dev_html/";

  var NoOffFirstLineMenus=9;			// 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="#669966";			// Background color when mouse is not over
  var LowBgColor="#5450A4";			// Background color when mouse is not over  
  var HighBgColor="white";			// Background color when mouse is over
  var FontLowColor="white";			// Font color when mouse is not over
//  var FontHighColor="#669966";			// Font color when mouse is over
  var FontHighColor="#5450A4";			// Font color when mouse is over  
  var BorderColor="#006633";			// Border color
  var BorderWidthMain=0;			// Border width main items
  var BorderWidthSub=1;			// Border width sub items
  var BorderBtwnMain=1;			// Borderwidth between elements
  var BorderBtwnSub=1;			// Borderwidth between elements sub items
  var FontFamily="arial, sans-serif";	// Font family menu items
  var FontSize=12;				// Font size menu items
  var FontBold=0;				// Bold menu items 1 or 0
  var FontItalic=0;				// Italic menu items 1 or 0
  var MenuTextCentered="center";		// 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=.2;			// horizontal overlap child/ parent
  var ChildVerticalOverlap=.2;			// vertical overlap child/ parent
  var StartTop=120;				// Menu offset x coordinate. If StartTop is between 0 and 1 StartTop is calculated as part of windowheight
  // ** Note: This is based on initial estimates from the main MICH graphic ** emb july2006
  var StartLeft=0;				// Menu offset y coordinate. If StartLeft is between 0 and 1 StartLeft is calculated as part of windowheight
  // ** Note: This is based on initial estimates from the main MICH graphic ** emb july2006	
  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=5;				// Left padding
  var TopPaddng=2;			// Top padding. If set to -1 text is vertically centered
  var FirstLineHorizontal=1;			// 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=500;			// delay before menu folds in
  var UnfoldDelay=100;			// delay before sub unfolds	
  var TakeOverBgColor=1;			// 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=0;				// 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 Arrws="";
  // Don't need arrows for the MICH page; kept to ensure no errors on load

  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 OverFormElements=0;			// Set this to 0 when the menu does not need to cover form elements.
  var RememberStatus=0;			// RememberStatus: When set to 1, menu unfolds to the presetted menu item. 
  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
  /* 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.
  // <head>
  //	<script type="text/javascript">var SetMenu="2_2_1";</script>
  // </head>
  // 2_2_1 represents the menu item Menu2_2_1=new Array(....... */

  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

  //var MenuSlide="";
  //var MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.2, transition=19)";
  var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.2, wipeStyle=1)";

  //var MenuShadow="";
  //var MenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#888888, offX=2, offY=2, positive=1)";
  var MenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#888888, direction=135, strength=3)";

  //var MenuOpacity="";
  var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=95)";

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

//MenuX=new Array("TextToShow","Link","BgImage",NoOfSubs,Height,Width,"BgColor","BgHiColor","FontColor","FontHiColor","BorderColor","fontfamily",     fontsize,fontbold,fontitalic,"textalign","statustext"); 

Menu1=new Array("MICH Community Login","parents/index.php","",0,18,155,"#669966","white","white","#669966","white","",-1,-1,-1,"","MICH Community Login");

Menu2=new Array("Home","index.php","",0,18,55,"","","","","","",-1,-1,-1,"","Montessori International Children's House Home Page");
// Our School
Menu3=new Array("Our School","","",8,30,77,"","","","","","",-1,-1,-1,"","MICH: OUR SCHOOL");
Menu3_1=new Array("Our Mission","ourschool/ourMission.php","",0,20,180,"","","","","","",-1,-1,-1,"left","");
Menu3_2=new Array("Our History","ourschool/ourHistory.php","",0,20,180,"","","","","","",-1,-1,-1,"left","");
Menu3_3=new Array("Faculty & Staff","ourschool/facultyAndStaff.php","",0,20,180,"","","","","","",-1,-1,-1,"left","");
Menu3_4=new Array("Faculty Credentials","ourschool/faculty_credentials.php","",0,20,180,"","","","","","",-1,-1,-1,"left","");
Menu3_5=new Array("Traditions","ourschool/traditions.php","",0,20,180,"","","","","","",-1,-1,-1,"left","");
Menu3_6=new Array("Community Service","ourschool/community_service.php","",0,20,180,"","","","","","",-1,-1,-1,"left","");
Menu3_7=new Array("Going Green","ourschool/going_green.php","",0,20,180,"","","","","","",-1,-1,-1,"left","");
Menu3_8=new Array("2009-2010 Calendar","javascript:NewWin=window.open('http://www.montessoriinternational.org/ourschool/2009-10_School_Calendar_Final.pdf','NWin');window['NewWin'].focus()","",0,20,180,"","","","","","",-1,-1,-1,"left","");

// Programs
Menu4=new Array("Programs","","",7,30,76,"","","","","","",-1,-1,-1,"","MICH Programs");
Menu4_1=new Array("Toddler Community","programs/toddler.php","",0,20,180,"","","","","","",-1,-1,-1,"left","");	
Menu4_2=new Array("Toddler Summer Program","javascript:NewWin=window.open('http://www.montessoriinternational.org/programs/pdf/2010_Summer_Toddler_Program.pdf','NWin');window['NewWin'].focus()","",0,20,180,"","","","","","",-1,-1,-1,"left","");

Menu4_3=new Array("Primary","programs/primary.php","",0,20,180,"","","","","","",-1,-1,-1,"left","");
Menu4_4=new Array("Elementary","programs/elementary.php","",0,20,180,"","","","","","",-1,-1,-1,"left","");
Menu4_5=new Array("Extended Day","programs/extendedDay.php","",0,20,180,"","","","","","",-1,-1,-1,"left","");
Menu4_6=new Array("Enrichment","programs/enrichment.php","",0,20,180,"","","","","","",-1,-1,-1,"left","");
Menu4_7=new Array("Media Center","programs/mediaCenter.php","",0,20,180,"","","","","","",-1,-1,-1,"left","");

// Admissions
Menu5=new Array("Admissions","","",7,30,77,"","","","","","",-1,-1,-1,"","MICH Admissions Information");
Menu5_1=new Array("Why Choose MICH?","admissions/why_choose_mich.php","",0,20,140,"","","","","","",-1,-1,-1,"left","");
Menu5_2=new Array("Admission Process","admissions/admissionsProcess.php","",0,20,140,"","","","","","",-1,-1,-1,"left","");
Menu5_3=new Array("Admission Criteria","admissions/admissionCriteria.php","",0,20,140,"","","","","","",-1,-1,-1,"left","");
Menu5_4=new Array("Tuition & Fees","javascript:NewWin=window.open('http://www.montessoriinternational.org/admissions/TUITIONandFEES_2009-2010.pdf','NWin');window['NewWin'].focus()","",0,20,140,"","","","","","",-1,-1,-1,"left","");
Menu5_5=new Array("Financial Aid","admissions/financialAid.php","",0,20,140,"","","","","","",-1,-1,-1,"left","");
Menu5_6=new Array("Open House","admissions/open_house.php","",0,20,140,"","","","","","",-1,-1,-1,"left","");
Menu5_7=new Array("Montessori 101","admissions/montessori_101.php"	,"",0,20,140,"","","","","","",-1,-1,-1,"left","");


// Montessori Education
Menu6=new Array("Montessori Education","","",4,30,138,"","","","","","",-1,-1,-1,"","Montessori Education");
Menu6_1=new Array("Montessori Education","ourschool/montessoriEducation.php","",0,20,180,"","","","","","",-1,-1,-1,"left","");
Menu6_2=new Array("Montessori vs Traditional","faq/MontessoriVsTraditional.php","",0,20,160,"","","","","","",-1,-1,-1,"left","");
Menu6_3=new Array("More About Montessori","faq/moreAboutMontessori.php","",0,20,160,"","","","","","",-1,-1,-1,"left","");
Menu6_4=new Array("FAQs","faq/faq.php","",0,20,160,"","","","","","",-1,-1,-1,"left","");

// Alumni
Menu7=new Array("Alumni","","",2,30,53,"","","","","","",-1,-1,-1,"","MICH Alumni");
Menu7_1=new Array("Alumni","alumni/graduates.php","",0,20,100,"","","","","","",-1,-1,-1,"left","");
Menu7_2=new Array("Testimonials","alumni/testimonials.php","",0,20,100,"","","","","","",-1,-1,-1,"left","");
	
// Supporting
Menu8=new Array("Supporting","","",8,18,72,"","","","","","",-1,-1,-1,"","Supporting MICH");
Menu8_1=new Array("Giving","support/giving.php","",0,20,140,"","","","","","",-1,-1,-1,"left","Giving");
Menu8_2=new Array("Annual Fund","support/annual_fund.php","",0,20,140,"","","","","","",-1,-1,-1,"left","Giving");
Menu8_3=new Array("Tuition Assistance Fund","support/tuition_assistance.php","",0,20,140,"","","","","","",-1,-1,-1,"left","Giving");
Menu8_4=new Array("Ways to Give ","support/ways_to_give.php","",0,20,140,"","","","","","",-1,-1,-1,"left","Ways of Giving");
Menu8_5=new Array("In-Kind Donations","javascript:NewWin=window.open('http://www.montessoriinternational.org/support/donation_form.pdf','NWin');window['NewWin'].focus()","",0,20,140,"","","","","","",-1,-1,-1,"left","Ways of Giving");
Menu8_6=new Array("Affinity Programs","support/affinity_programs.php","",0,20,140,"","","","","","",-1,-1,-1,"left","Ways of Giving");
Menu8_7=new Array("Holiday Shopping","javascript:NewWin=window.open('http://www.montessoriinternational.org/support/Holiday_Shopping.pdf','NWin');window['NewWin'].focus()","",0,20,140,"","","","","","",-1,-1,-1,"left","Ways of Giving");
Menu8_8=new Array("MICH Auction","support/auction.php","",0,20,140,"","","","","","",-1,-1,-1,"left","Auction");

// Contact
Menu9=new Array("Contact","","",2,30,59,"","","","","","",-1,-1,-1,"","CONTACT MICH");
Menu9_1=new Array("Contact Form","contactus/contactus.php","",0,20,115,"","","","","","",-1,-1,-1,"left","");
Menu9_2=new Array("Directions to School","contactus/directions.php","",0,20,115,"","","","","","",-1,-1,-1,"left","");
	