
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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];}}
}

function mmLoadMenus() {
  if (window.mm_menu_0128235920_0) return;
  window.mm_menu_0128235920_0 = new Menu("root",152,22,"Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#0000cc","#ff0000","left","middle",4,1,1000,-5,7,true,false,true,0,true,true);
  mm_menu_0128235920_0.addMenuItem("FACILITIES","window.open('facilities.php', '_parent');");
  mm_menu_0128235920_0.addMenuItem("STAFF&nbsp;TEAM","window.open('staffteam.php', '_parent');");
  mm_menu_0128235920_0.addMenuItem("MANAGEMENT&nbsp;COMMITTEE","window.open('managementcom.php', '_parent');");
  mm_menu_0128235920_0.addMenuItem("HEALTH&nbsp;SAFETY&nbsp;SECURITY","window.open('healthsafetysecurity.php', '_parent');");
  mm_menu_0128235920_0.addMenuItem("ACCREDITATION","window.open('accreditation.php', '_parent');");
  mm_menu_0128235920_0.addMenuItem("FEES","window.open('fee.php', '_parent');");
  mm_menu_0128235920_0.addMenuItem("PARENT&nbsp;HANDBOOK","window.open('parenthandbook.php', '_parent');");
   mm_menu_0128235920_0.hideOnMouseOut=true;
   mm_menu_0128235920_0.menuBorder=0;
   mm_menu_0128235920_0.menuItemBorder=0;
   mm_menu_0128235920_0.menuLiteBgColor='#ffffff';
   mm_menu_0128235920_0.menuBorderBgColor='#555555';
   mm_menu_0128235920_0.bgColor='#555555';
  window.mm_menu_0127235348_1 = new Menu("root",96,22,"Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#0000cc","#ff0000","left","middle",4,1,1000,-5,7,true,false,true,0,true,true);
  mm_menu_0127235348_1.addMenuItem("BABY&nbsp;ROOM","window.open('babyroom.php', '_parent');");
  mm_menu_0127235348_1.addMenuItem("TODDLER&nbsp;ROOM","window.open('toddlerroom.php', '_parent');");
  mm_menu_0127235348_1.addMenuItem("KINDERGARTEN","window.open('kindergarten.php', '_parent');");
   mm_menu_0127235348_1.hideOnMouseOut=true;
   mm_menu_0127235348_1.menuBorder=0;
   mm_menu_0127235348_1.menuItemBorder=0;
   mm_menu_0127235348_1.menuLiteBgColor='#ffffff';
   mm_menu_0127235348_1.menuBorderBgColor='#555555';
   mm_menu_0127235348_1.bgColor='#555555';
  window.mm_menu_0127235657_2 = new Menu("root",173,22,"Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#0000cc","#ff0000","left","middle",4,1,1000,-5,7,true,false,true,0,true,true);
  mm_menu_0127235657_2.addMenuItem("WHAT&nbsp;IS&nbsp;A&nbsp;PRIMARY&nbsp;CARER?","window.open('whatisaprimarycarer.php', '_parent');");
   mm_menu_0127235657_2.hideOnMouseOut=true;
   mm_menu_0127235657_2.menuBorder=0;
   mm_menu_0127235657_2.menuItemBorder=0;
   mm_menu_0127235657_2.menuLiteBgColor='#ffffff';
   mm_menu_0127235657_2.menuBorderBgColor='#555555';
   mm_menu_0127235657_2.bgColor='#555555';
  window.mm_menu_0128000812_3 = new Menu("root",141,22,"Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#0000cc","#ff0000","left","middle",4,1,1000,-5,7,true,false,true,0,true,true);
    mm_menu_0128000812_3.addMenuItem("LATEST&nbsp;NEWS","window.open('latestnews.php', '_parent');");
  mm_menu_0128000812_3.addMenuItem("HOW&nbsp;YOU&nbsp;CAN&nbsp;HELP","window.open('howyoucanhelp.php', '_parent');");
  mm_menu_0128000812_3.addMenuItem("2006&nbsp;HIGHLIGHTS","window.open('2006highlights.php', '_parent');");
   mm_menu_0128000812_3.hideOnMouseOut=true;
   mm_menu_0128000812_3.menuBorder=0;
   mm_menu_0128000812_3.menuItemBorder=0;
   mm_menu_0128000812_3.menuLiteBgColor='#ffffff';
   mm_menu_0128000812_3.menuBorderBgColor='#555555';
   mm_menu_0128000812_3.bgColor='#555555';
  window.mm_menu_0128001314_4 = new Menu("root",150,22,"Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#0000cc","#ff0000","left","middle",4,1,1000,-5,7,true,false,true,0,true,true);
  mm_menu_0128001314_4.addMenuItem("MENUS&nbsp;AND&nbsp;NUTRITION","window.open('menusandnutrition.php', '_parent');");
  mm_menu_0128001314_4.addMenuItem("POLICIES","window.open('policies/', '_parent');");
   mm_menu_0128001314_4.hideOnMouseOut=true;
   mm_menu_0128001314_4.menuBorder=0;
   mm_menu_0128001314_4.menuItemBorder=0;
   mm_menu_0128001314_4.menuLiteBgColor='#ffffff';
   mm_menu_0128001314_4.menuBorderBgColor='#555555';
   mm_menu_0128001314_4.bgColor='#555555';
  window.mm_menu_0128003446_5 = new Menu("root",130,22,"Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#0000cc","#ff0000","left","middle",4,1,1000,-5,7,true,false,true,0,true,true);
   mm_menu_0128003446_5.hideOnMouseOut=true;
   mm_menu_0128003446_5.menuBorder=0;
   mm_menu_0128003446_5.menuItemBorder=0;
   mm_menu_0128003446_5.menuLiteBgColor='#ffffff';
   mm_menu_0128003446_5.menuBorderBgColor='#555555';
   mm_menu_0128003446_5.bgColor='#555555';

  mm_menu_0128003446_5.writeMenus();
} // mmLoadMenus()




//Copied from index.php to this file

/*
Random Image Script- By JavaScript Kit (http://www.javascriptkit.com) 
Over 400+ free JavaScripts here!
Keep this notice intact please

*/

function random_imglink()
{

	var myimages=new Array()

	//specify random images below. You can have as many as you wish

	myimages[1]="images/home/home01.jpg"
	myimages[2]="images/home/home02.jpg"
	myimages[3]="images/home/home03.jpg"

	var ry=Math.floor(Math.random()*myimages.length)

	if (ry==0)
		ry=1


	document.write('<img src="'+myimages[ry]+'" border=0>')

}


function chkAll(frm)
{
	//name changed ?

	if(frm.txtName.value == "Name" ) 
	{
		alert("Please enter a Name in the space provided.");
		frm.txtName.value="";
		frm.txtName.focus();
		return false;
	}

	//validate the form
	testA=validateForm(frm,arrValidationDesc);

	//double check the e-mail
	if(testA) testB=confirm("Do you confirm your e-mail address is:\n\n"+ frm.txtEmail.value +" ?\n\n" + "(Please double check before we send you a confirmation email.)");

	//return check value
	return(testA && testB);

}