  var aryNavBarBullet = Array ();
  aryNavBarBullet [1] = '';
  aryNavBarBullet [2] = '<span class="mmhide_navBulletYellow">&#8226; </span>';
  aryNavBarBullet [3] = '<span class="mmhide_navBulletRed">&#8226; </span>';
  aryNavBarBullet [4] = '<span class="mmhide_navBulletBlue">&#8226; </span>';

  var arySubNavBarBullet = Array ();
  arySubNavBarBullet [1] = '';
  arySubNavBarBullet [2] = '<span class="mmhide_navBulletWhite">&#8226; </span>';
  arySubNavBarBullet [3] = '<span class="mmhide_navBulletYellow">&#8226; </span>';
  arySubNavBarBullet [4] = '<span class="mmhide_navBulletBlue">&#8226; </span>';

  var arySubSubNavBarBullet = Array ();
  arySubSubNavBarBullet [1] = '';
  arySubSubNavBarBullet [2] = '<span class="mmhide_navBulletWhite">&#8226; </span>';
  arySubSubNavBarBullet [3] = '<span class="mmhide_navBulletYellow">&#8226; </span>';
  arySubSubNavBarBullet [4] = '<span class="mmhide_navBulletBlue">&#8226; </span>';

  if (! window._menuLevel) window._menuLevel = 0;

  var strNavBarSubImg = '/imagesNav/menuSchoolsTitle.gif';
  var strNavBarSubImgNav = '/imagesNav/menuSchoolsNavTitle.gif';
  var strNavBarSubImgCollapsed = '/imagesNav/menuSchools.gif';
  var strNavBarSubColorBG = '#702D97';
  var strNavBarSubColorBGOver = '#082386';
  var strNavBarSubColorBox = '#A862D1';
  var strNavBarSubColorLine = '#324FB8';
  var strNavBarSubColorShadow = '#38114F';
  var strNavBarSubColorShadowOver = '#0F1F5A';
	
	var strNavBarSubSubImg = '/imagesNav/menuTeacherTitle.gif';
  var strNavBarSubSubImgNav = '/imagesNav/menuTeacherNavTitle.gif';
  var strNavBarSubSubImgCollapsed = '';
  var strNavBarSubSubColorBG = '#FD6601';
  var strNavBarSubSubColorBGOver = '#F89D0F';
  var strNavBarSubSubColorBox = '#F59250';
  var strNavBarSubSubColorLine = '#F2BC68';
  var strNavBarSubSubColorShadow = '#B54C05';
  var strNavBarSubSubColorShadowOver = '#B54C05';
  

  function cookie_unescape (str)
  {
    var strTemp = str.replace (/\+/, ' ');
    return unescape (strTemp);
  }

  function cookie_escape (str)
  {
    var strTemp = escape (str);
    return strTemp.replace (/\%20/, '+');
  }
  
  function getCookie (strCookie)
  {
    var aryCookie;
    var i, iEql;
    var strName, strValue;
    var boolFound = false;

    aryCookie = document.cookie.split ('; ');

    for (i = 0; (i < aryCookie.length) && !boolFound; i++)
    {
      iEql = aryCookie [i].indexOf ('=');
      if (iEql > -1)
      {
        strName = aryCookie [i].substr (0, iEql);
        strValue = aryCookie [i].substr (iEql + 1);
      }
      else
      {
        strName = aryCookie [i];
        strValue = '';
      }
      boolFound = (strName.toUpperCase () == strCookie.toUpperCase ());
    }

    if (boolFound)
      return cookie_unescape (strValue);
    else
      return null;
  }

  function setCookie (strName, val)
  {
    document.cookie = strName + '=' + cookie_escape (val) + ';path=/';
  }
  
  function QueryString ()
  {
    var ary = window.location.search.substr (1).split ('&');
    var aryVal;
    var i;
    
    for (i = 0; i < ary.length; i ++)
    {
      aryVal = ary [i].split ('=');
      this [unescape (aryVal [0] || '')] = unescape (aryVal [1] || '') || null;
    }
  }
  queryString = new QueryString ();



/*************************************/

  function nav_onMouseOver (el, bgColor)
  {
    var tr, tbl, td;
    var aryCoords;
    var boolScrolled = false;

    menuUtils.hide (true);

    if (el)
    {
      el.style.backgroundColor = bgColor;

      if (el.firstChild && (el.firstChild.tagName == 'P'))
        el = el.firstChild;
      else
        if (el.childNodes [1] && (el.childNodes [1].tagName == 'P'))
          el = el.childNodes [1];

      if (el.firstChild && el.firstChild.href)
        el = el.firstChild;
      else
        if (el.childNodes [1] && el.childNodes [1].href)
          el = el.childNodes [1];

      if (el.href)
        window.status = el.href;
    }
  }

  function nav_onMouseOut (el)
  {
    if (el)
      el.style.backgroundColor = '';
    window.status = '';
  }

/*************************************/
   
  function getExpanded ()
  {
    if (!window._expanded)
    {
      window._expanded = queryString ['e'];
    }
    return window._expanded || '';
  }

  function getMenuExpanded ()
  {
    if (!window._menuExpanded)
    {
      window._menuExpanded = queryString ['m'];
    }
    return window._menuExpanded || window._menuLevel;
  }

  function expand_item (id, boolExpand, boolTop)
  {
    var i, strIDTop;
    var tr;

    if (boolTop && boolExpand)
    {
      i = id.lastIndexOf ('_');
      if (i >= 0)
      {
        strIDTop = id.substr (0, i);
        for (i = 0; tr = document.getElementById ('trNav_' + strIDTop + '_' + i); i ++)
        {
          if (! oPageIsIn [strIDTop + '_' + i])
            expand_item (strIDTop + '_' + i, false, top);
        }
      }
    }

    for (i = 0; tr = document.getElementById ('trNavSpacer_' + id + '_' + i); i ++)
    {
      tr.style.display = (boolExpand ? '' : 'none');
      if (tr = document.getElementById ('trNav_' + id + '_' + i))
        tr.style.display = (boolExpand ? '' : 'none');

      if (!boolExpand)
        expand_item (id + '_' + i, boolExpand);
    }
  }

  function goToPage (e0, e1, e2, m)
  {
    window.location = (window.location.protocol + '//' + window.location.host + window.location.pathname + '?e0=' + e0 + '&e1=' + e1 + '&e2=' + e2 + '&m=' + m);
  }

  function expand (id)
  {
    var i;
    var level = 0;

    if (!document.getElementById)
    {
      i = id.indexOf ('_');
      if (i > 0) level = parseInt (id.substr (0, i), 10);
  
      switch (i)
      {
        case 1: goToPage (getExpanded (0), id, getExpanded (2), getMenuExpanded ()); break;
        case 1: goToPage (getExpanded (0), getExpanded (1), id, getMenuExpanded ()); break;
        default: goToPage (id, getExpanded (1), getExpanded (2), getMenuExpanded ()); break;
      }
    }
    else
      expand_item (id, true, true);
  }

  
  function expandMenu_do (menu)
  {
    var i;
    var tbl;

    for (i = 0; i < window._menuLevel; i ++)
    {
      if (tbl = document.getElementById ('tblMenu_' + i))
        tbl.style.display = ((i == menu) ? '' : 'none');
      if (tbl = document.getElementById ('tblMenuHid_' + i))
        tbl.style.display = ((i == menu) ? 'none' : '');
    }

    menuUtils.repositionMenus ();
  }

  function expandMenu (menu)
  {
    if (! document.getElementById)
      goToPage (getExpanded (0), getExpanded (1), getExpanded (2), menu)
    else
      expandMenu_do (menu);
  }

/*************************************/
 
  var oPageIsIn = {}
  function thisPageIsInMenu (oMenu, strPath, id)
  {
    var boolIsIn = oPageIsIn [id];
    var i, item;

    if (boolIsIn == null)
    {
      boolIsIn = false;

      for (i = 0; (! boolIsIn) && (i < oMenu.items.length); i ++)
      {
        if (! (boolIsIn = oPageIsIn [id + '_' + i]))
        {
          item = oMenu.items [i];

          if (item.menu) boolIsIn = thisPageIsInMenu (item.menu, strPath, id + '_' + i);
          if (! boolIsIn)
            boolIsIn = (item.link && new RegExp (item.link.replace (/(\W)/g, '\\$1') + '$', 'i').test (strPath));
        }
      }

      oPageIsIn [id] = boolIsIn;
    }

    return boolIsIn;
  }



  function getPath_checkMenuItems (oMenu, strPath)
  {
    var i, item;
    var boolOkay = false;

    for (i = 0; (! boolOkay) && (i < oMenu.items.length); i ++)
    {
      item = oMenu.items [i];

      boolOkay = (item.link && (item.link.toLowerCase () == strPath));
      if ((! boolOkay) && item.menu)
        boolOkay = getPath_checkMenuItems (item.menu, strPath);
    }

    return boolOkay;
  }

  function getPath (intLevel, strPath)
  {
    var iMenu;
    var aryMatch, strPathNew;
    var boolOkay = false;
    var boolNotACookie = ! strPath;
    var i;

    if (! intLevel) intLevel = 0;
    if (! strPath) strPath = new String (window.location.pathname + window.location.search).toLowerCase ();

    if (strPath && (strPath != '/'))
    {
      for (iMenu in Menus)
      {
        aryMatch = /^(\_*)[^_]/i.exec (iMenu);
        if (aryMatch && (aryMatch [1].length == intLevel))
        {
          if (Menus [iMenu].displayLink && (Menus [iMenu].displayLink.toLowerCase () == strPath))
          {
            boolOkay = true;
            break;
          }
          else
          {
            if (boolOkay = getPath_checkMenuItems (Menus [iMenu], strPath))
              break;
          }
        }
      }

      if (! boolOkay)
      {
        strPathNew = getCookie ('path_matching_nav_bar_' + intLevel);
        if ((! strPathNew) || (strPathNew == strPath))
          strPath = '';
        else
          strPath = getPath (intLevel, strPathNew);
      }
      else if (boolNotACookie)
      {
        i = intLevel + 1;
        while (getCookie ('path_matching_nav_bar_' + i))
        {
          setCookie ('path_matching_nav_bar_' + i, '')
          i ++;
        }
      }
    }
		
		if (! strPath)
		{
			for (i = intLevel - 1; (i >= 0) && (! strPath); i --)
			  strPath = getCookie ('path_matching_nav_bar_' + i);
	  }
 
    setCookie ('path_matching_nav_bar_' + intLevel, strPath);
    return strPath;
  }


/*************************************/


  function displayMenuItems (oMenu, iIndent, strPath, strID, boolHide)
  {
    var i;
    var str = '';
    var item;
    var newID; 

    for (i = 0; i < oMenu.items.length; i ++)
    {
      item = oMenu.items [i];
      newID = strID + '_' + i;

      if ((i > 0) || (iIndent > 1))
      {
        str += '        <tr id="trNavSpacer_' + newID + '"' + (boolHide ? ' style="display: none"' : '') + '>\n'
             + '          <td width="12"><img src="/imagesNav/spacer.gif" width="12" height="1" border="0"></td>\n'
             + '          <td width="3" bgColor="#99CC99"><img src="/imagesNav/spacer.gif" width="3" height="1" border="0"></td>\n'
             + '          <td class="mmhide_navBarLine"><img src="/imagesNav/spacer.gif" width="150" height="1" border="0"></td>\n'
             + '        </tr>\n';
      }
	  // expanded menu in first navigation bar
      str += '        <tr vAlign="top" id="trNav_' + newID + '"' + (boolHide ? ' style="display: none"' : '') + '>\n'
           + '          ' + (item.link && (item.link.toLowerCase () == strPath) ? '<td width="12" bgColor="#CC0000"><img src="/imagesNav/arrow.gif" width="12" height="20" border="0"></td>\n' : '<td width="12"><img src="/imagesNav/spacer.gif" width="12" height="1" border="0"></td>\n')
           + '          <td width="3" bgColor="#99CC99"><img src="/imagesNav/spacer.gif" width="3" height="1" border="0"></td>\n'
           + '          <td class="mmhide_navBarText" onmouseover="nav_onMouseOver (this, \'#99CC99\')" onmouseout="nav_onMouseOut (this)"><a class="mmhide_navBar' + iIndent +'" href="' + (item.link ? item.link : 'javascript: expand (\'' + newID + '\')') + '" target="'+(item.target?item.target:"")+'">' + aryNavBarBullet [iIndent] + item.text + '</a></td>\n'
           + '        </tr>\n';
		   
      if (item.menu)
      {
        if (thisPageIsInMenu (item.menu, strPath, newID) || (item.link && (item.link.toLowerCase () == strPath)) || (getExpanded (0) == newID))
          str += displayMenuItems (item.menu, iIndent + 1, strPath, newID);
        else
        {
          if (document.getElementById)
            str += displayMenuItems (item.menu, iIndent + 1, strPath, newID, true);
        }
      }
    }

    return str;
  }

  function displayMenu ()
  {
    var str = '';
    var iMenu;
    var i = 0;

    if (document.getElementById || (getMenuExpanded () == 0) || (window._menuLevel == 0))
    { 
      str += '<table width="174" border="0" cellspacing="0" cellpadding="0" id="tblMenu_0"' + ((getMenuExpanded () == 0) || (window._menuLevel == 0) ? '' : ' style="display: none"') + '>\n';

      if (window._menuLevel != 0)
        str += '  <tr>\n'
             + '    <td><img src="/imagesNav/spacer.gif" width="4" height="1"></td>\n'
             + '    <td><a href="javascript: expandMenu (-1)"><img src="/imagesNav/menuMainTitle.gif" width="165" height="19" border="0" alt="Hide Menu"></a></td>\n'
             + '    <td><img src="/imagesNav/shadowRight1.gif" width="5" height="19"></td>\n'
             + '  </tr>\n'
             + '  <tr>\n'
             + '    <td><img src="/imagesNav/spacer.gif" width="4" height="3"></td>\n'
             + '    <td colspan="2"><img src="/imagesNav/shadowBelow.gif" width="170" height="3"></td>\n'
             + '  </tr>\n';

      for (iMenu in Menus)
      {
        if (iMenu.charAt (0) != '_')
        {
          if (thisPageIsInMenu (Menus [iMenu], strPath, '0_' + i) || (Menus [iMenu].displayLink && (Menus [iMenu].displayLink.toLowerCase () == strPath)) || (getExpanded () == '0_' + i))
          {
            str += '  <tr>\n'
                 + '    <td><img src="/imagesNav/spacer.gif" width="4" height="1"></td>\n'
                 + '    <td>\n'
                 + '      <table border="0" cellpadding="0" cellspacing="0" bgColor="#4BA146">\n'
                 + '        <tr>\n'
                 + '          <td colspan="3"><a ' + (Menus [iMenu].displayLink ? 'href="' + Menus [iMenu].displayLink + '"' : 'href="/" onClick="return false;"') + ' onMouseOut="menuUtils.hide ()" onMouseOver="menuUtils.show (\'' + iMenu + '\');"><img src="/imagesNav/' + iMenu + 'Exp.gif" ALT="' + Menus [iMenu].displayName + '" name="' + iMenu + '" width="165" height="' + Menus [iMenu].displayHeight + '" border="0"></a></td>\n'
                 + '        </tr>\n'
                 + '        <tr>\n'
                 + '          <td colspan="3" bgColor="#99CC99" height="1"><img src="/imagesNav/spacer.gif" width="165" height="1" border="0"></td>\n'
                 + '        </tr>\n'
                 + displayMenuItems (Menus [iMenu], 1, strPath, '0_' + i)
                 + '      </table>\n'
                 + '    </td>\n'
                 + '    <td height="100%"><img src="/imagesNav/shadowRight1.gif" width="5" height="100%"></td>\n'
                 + '  </tr>\n'
                 + '  <tr>\n'
                 + '    <td><img src="/imagesNav/spacer.gif" width="4" height="3"></td>\n'
                 + '    <td colspan="2"><img src="/imagesNav/shadowBelow.gif" width="170" height="3"></td>\n'
                 + '  </tr>\n';

          }
          else
          {
            str += '  <tr>\n'
                 + '    <td><img src="/imagesNav/spacer.gif" width="4" height="1"></td>\n'
                 + '    <td><a ' + (Menus [iMenu].displayLink ? 'href="' + Menus [iMenu].displayLink + '"' : 'href="/" onClick="return false;" style="cursor: default" ') + ' onMouseOut="menuUtils.hide ()" onMouseOver="menuUtils.show (\'' + iMenu + '\');"><img src="/imagesNav/' + iMenu + '.gif" ALT="' + Menus [iMenu].displayName + '" name="' + iMenu + '" width="165" height="' + Menus [iMenu].displayHeight + '" border="0"></a></td>\n'
                 + '    <td><img src="/imagesNav/shadowRight1.gif" width="5" height="' + Menus [iMenu].displayHeight + '"></td>\n'
                 + '  </tr>\n'
                 + '  <tr>\n'
                 + '    <td><img src="/imagesNav/spacer.gif" width="4" height="3"></td>\n'
                 + '    <td colspan="2"><img src="/imagesNav/shadowBelow.gif" width="170" height="3"></td>\n'
                 + '  </tr>\n';
          }
        }

        i ++;
      }
      str += '  <TR>\n'
           + '    <TD><IMG SRC="/imagesNav/spacer.gif" WIDTH="4" HEIGHT="8"></TD>\n'
           + '    <TD COLSPAN="2"><IMG SRC="/imagesNav/spacer.gif" WIDTH="8" HEIGHT="8"></TD>\n'
           + '  </TR>\n'
           + '  <TR>\n'
           + '    <TD>&nbsp;</TD>\n'
           + '    <TD COLSPAN="2"><A HREF="/parents/calendars/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'calendar\',\'\',\'/imagesNav/calendarRoll.jpg\',1)"><IMG SRC="/imagesNav/calendar.jpg" ALT="Calendar" NAME="calendar" WIDTH="170" HEIGHT="24" BORDER="0"></A></TD>\n'
           + '  </TR>\n'
		   + '  <TR>\n'
           + '    <TD><IMG SRC="/imagesNav/spacer.gif" WIDTH="4" HEIGHT="8"></TD>\n'
           + '    <TD COLSPAN="2"><IMG SRC="/imagesNav/spacer.gif" WIDTH="8" HEIGHT="8"></TD>\n'
           + '  </TR>\n'
           + '  <TR>\n'
           + '    <TD>&nbsp;</TD>\n'
           + '    <TD COLSPAN="2"><A HREF="/about/directory/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'contact\',\'\',\'/imagesNav/contactRoll.gif\',1)"><IMG SRC="/imagesNav/contact.gif" ALT="Contact Us" NAME="contact" WIDTH="170" HEIGHT="24" BORDER="0"></A></TD>\n'
           + '  </TR>\n'
           + '</table>\n';
    }

    if ((document.getElementById || (getMenuExpanded () != 0)) && (window._menuLevel != 0))
    { 
      str += '<table width="29" border="0" cellspacing="0" cellpadding="0" id="tblMenuHid_0"' + ((getMenuExpanded () == 0) ? ' style="display: none"' : '') + '>\n'
           + '  <tr>\n'
           + '    <td><img src="/imagesNav/spacer.gif" width="4" height="1"></td>\n'
           + '    <td><a href="javascript: expandMenu (0)"><img src="/imagesNav/menuMain.gif" width="20" height="166" border="0" alt="Show Menu"></a></td>\n'
           + '  </tr>\n'
           + '</table>\n';
    }

    document.write (str);
  }


/*************************************/


  function displaySubMenuItems (oMenu, iIndent, strPath, strID, boolHide)
  // displays expanded menu items in navigation bar
  {
    var i;
    var str = '';
    var item;
    var newID;

    for (i = 0; i < oMenu.items.length; i ++)
    {
      item = oMenu.items [i];
      newID = strID + '_' + i;

      if ((i > 0) || (iIndent > 1))
      {
		// dividing line
        str += '  <tr id="trNavSpacer_' + newID + '"' + (boolHide ? ' style="display: none"' : '') + ' bgcolor="' + strNavBarSubColorBGOver + '">\n'
             + '    <td><img src="/images/spacer.gif" width="1" height="2"></td>\n'
             + '    <td bgcolor="' + strNavBarSubColorLine + '" colspan="3"><img src="/images/spacer.gif" width="1" height="2"></td>\n'
             + '  </tr>\n';
      }
      
	  // vertical line
	  // sub menus that show up on side (not popups)
	  var styleindent="";
	  if (iIndent>4) {
		styleindent="style='padding-left:"+(16+(iIndent-4)*5)+"px'"
	  }
			
	  var bulletindex=iIndent;
			
	  if (iIndent>4) {
		bulletindex=((iIndent+1) % 3) +2;
	  }
			
      str += '  <tr vAlign="top" id="trNav_' + newID + '"' + (boolHide ? ' style="display: none"' : '') + ' bgcolor="' + strNavBarSubColorBGOver + '">\n'
           + '    ' + (item.link && (item.link.toLowerCase () == strPath) ? '<td width="16" bgColor="#FFFFFF"><img src="/imagesNav/arrowSchools.gif" width="16" height="20" border="0"></td>\n' : '<td width="16"><img src="/imagesNav/spacer.gif" width="16" height="1" border="0"></td>\n')
           + '    <td bgcolor="' + strNavBarSubColorLine + '"><img src="/about/schools/images/spacer.gif" width="2" height="1"></td>\n'
           + '    <td class="mmhide_navBarText" colspan="2" onmouseover="nav_onMouseOver (this, \'' + strNavBarSubColorLine + '\')" onmouseout="nav_onMouseOut (this)">'
					 + '<a class="mmhide_navBarSec' + bulletindex + '" '+styleindent+' href="' + (item.link ? item.link :'javascript: expand (\'' + newID + '\')') + '" target="'+(item.target?item.target:"")+'">' + arySubNavBarBullet [bulletindex] + item.text + '</a></td>\n'
           + '  </tr>\n'; 
           
      if (item.menu)
      {
        if (thisPageIsInMenu (item.menu, strPath, newID) || (item.link && (item.link.toLowerCase () == strPath)) || (getExpanded (1) == newID))
           str += displaySubMenuItems (item.menu, iIndent + 1, strPath, newID);
        else
        {
          if (document.getElementById)
             str += displaySubMenuItems (item.menu, iIndent + 1, strPath, newID, true);
        }
      }
    }

    return str;
  }


  function displaySubMenu ()
  // draws menu and any expanded menu items.
  {
    var str = '';
    var iMenu;
    var i = 0;
	
    if (document.getElementById || (getMenuExpanded () == 1) || (window._menuLevel <= 1))
    { 
      str += '<table width="165" border="0" cellspacing="0" cellpadding="0" id="tblMenu_1"' + ((getMenuExpanded () == 1) || (window._menuLevel <= 1) ? '' : ' style="display: none"') + '>\n';
     
      if (window._menuLevel <= 1)
      {
        str += '  <tr>\n'
             + '    <td colspan="4"><img src="' + strNavBarSubImg + '" width="165" height="19" border="0"></td>\n'
             + '  </tr>\n';
      }
      else
      {
        str += '  <tr>\n'
             + '    <td colspan="4"><a href="javascript: expandMenu (-1)"><img src="' + strNavBarSubImgNav + '" width="165" height="19" border="0" alt="Hide Menu"></a></td>\n'
             + '  </tr>\n';
      }

      for (iMenu in Menus)
      {
        if ((iMenu.charAt (0) == '_') && (iMenu.charAt (1) != '_'))
        {
          str += '  <tr>\n'
               + '    <td colspan="4"><img src="/images/spacer.gif" width="1" height="' + (Menus [iMenu].displayTopMargin ? Menus [iMenu].displayTopMargin : 2) + '"></td>\n'
               + '  </tr>\n'

          if (thisPageIsInMenu (Menus [iMenu], strPath, '1_' + i) || (Menus [iMenu].displayLink && (Menus [iMenu].displayLink.toLowerCase () == strPath)) || (getExpanded (1) == '1_' + i))
          {
						// highlighted top-level menu item
            str += '  <tr id="tr' + iMenu + '" bgcolor="' + strNavBarSubColorBGOver + '">\n'
                 + '    <td bgcolor="' + strNavBarSubColorLine + '" width="16"><img src="/images/spacer.gif" width="16" height="1"></td>\n'
                 + '    <td bgcolor="' + strNavBarSubColorShadowOver + '" width="2"><img src="/images/spacer.gif" width="2" height="1"></td>\n'
                 + '    <td class="mmhide_navBarSec" width="142" onmouseout="menuUtils.hide ()" onmouseover="menuUtils.show (\'' + iMenu + '\');" ' + ((Menus [iMenu].displayLink && Menus[iMenu].useLink!="no") ? '' : ' style="cursor: default" ') + '><a ' + ((Menus [iMenu].displayLink && Menus[iMenu].useLink!="no") ? 'href="' + Menus [iMenu].displayLink + '"' : 'href="/" onClick="return false;"') + ' onMouseOut="menuUtils.hide ()" onMouseOver="menuUtils.show (\'' + iMenu + '\');" style="text-transform: uppercase;' + ((Menus [iMenu].displayLink && Menus[iMenu].useLink!="no") ? '' : ' cursor: default;') + '" target="'+(Menus[iMenu].target?Menus[iMenu].target:"")+'">' + Menus [iMenu].displayName + '</a></td>\n'
                 + '    <td class="mmhide_navBarSec" width="5"><img src="/images/spacer.gif" name="' + iMenu + '" width="5" height="9" id="' + iMenu + '"></td>\n'
                 + '  </tr>\n'
                 + '  <tr bgcolor="' + strNavBarSubColorBGOver + '">\n'
                 + '    <td bgcolor="' + strNavBarSubColorLine + '" colspan="4"><img src="/images/spacer.gif" width="1" height="2"></td>\n'
                 + '  </tr>\n'
                 + displaySubMenuItems (Menus [iMenu], 1, strPath, '1_' + i);
          }
          else
          {
						// not highlighted top-level menu item
            str += '  <tr id="tr' + iMenu + '" bgColor="' + strNavBarSubColorBG + '">\n'
                 + '    <td bgcolor="' + strNavBarSubColorBox + '" width="16"><img src="/images/spacer.gif" width="16" height="1"></td>\n'
                 + '    <td bgcolor="' + strNavBarSubColorShadow + '" width="2"><img src="/images/spacer.gif" width="2" height="1"></td>\n'
                 + '    <td class="mmhide_navBarSec" width="142" onmouseout="menuUtils.hide ()" onmouseover="menuUtils.show (\'' + iMenu + '\');" ' + ((Menus [iMenu].displayLink && Menus[iMenu].useLink!="no") ? '' : ' style="cursor: default" ') + '><a ' + ((Menus [iMenu].displayLink && Menus[iMenu].useLink!="no") ? 'href="' + Menus [iMenu].displayLink + '"' : 'href="/" onClick="return false;" style="cursor: default" ') + ' onMouseOut="menuUtils.hide ()" onMouseOver="menuUtils.show (\'' + iMenu + '\');" target="'+(Menus[iMenu].target?Menus[iMenu].target:"")+'">' + Menus [iMenu].displayName + '</a></td>\n'
                 + '    <td class="mmhide_navBarSec" width="5"><img src="/images/spacer.gif" name="' + iMenu + '" width="5" height="9" id="' + iMenu + '"></td>\n'
                 + '  </tr>\n';
          }
		  
          i ++;
        }
      }
      str += '</table>\n';
    }

    if ((document.getElementById || (getMenuExpanded () != 1)) && (window._menuLevel > 1))
    { 
      str += '<table width="29" border="0" cellspacing="0" cellpadding="0" id="tblMenuHid_1"' + ((getMenuExpanded () == 1) ? ' style="display: none"' : '') + '>\n'
           + '  <tr>\n'
           + '    <td><img src="/imagesNav/spacer.gif" width="4" height="1"></td>\n'
           + '    <td><a href="javascript: expandMenu (1)"><img src="' + strNavBarSubImgCollapsed + '" width="20" height="166" border="0" alt="Show Menu"></a></td>\n'
           + '  </tr>\n'
           + '</table>\n';
    }

    document.write (str);
  }
	
	
	function onMouseSubMenu (strWhich, iMenu,dochighlight)
	{
		var tr;
			
		if (document.getElementById)
			tr = document.getElementById ('tr' + iMenu);
		if (tr && !Menus [iMenu].noRollover)
		{
			if (strPath.indexOf (submenuRoot.toLowerCase () + '/' + iMenu.substr (1) + '/') == 0 ||  (Menus[iMenu].displayLink && Menus[iMenu].displayLink.toLowerCase()==strPath.toLowerCase()) || dochighlight)
			{
				tr.cells [2].style.backgroundColor =
					tr.cells [3].style.backgroundColor = ((strWhich == 'over') ? strNavBarSubColorLine : strNavBarSubColorBGOver);
			}
			else
			{
				tr.cells [0].style.backgroundColor = ((strWhich == 'over') ? strNavBarSubColorLine : strNavBarSubColorBox);
				tr.cells [1].style.backgroundColor = ((strWhich == 'over') ? strNavBarSubColorShadowOver : strNavBarSubColorShadow);
				tr.cells [2].style.backgroundColor =
					tr.cells [3].style.backgroundColor = ((strWhich == 'over') ? strNavBarSubColorBGOver : strNavBarSubColorBG);
			}
		}
		window.status = ((strWhich == 'over') ? (Menus [iMenu].displayLink || '') : '');
	
		if (Menus [iMenu].items.length > 0)
		{
			if (strWhich == 'over')
				MM_swapImage(iMenu,'','/images/arrowRightRoll.gif',1);
			else
				SCK_MM_swapImgsRestore (iMenu);
		}
	}

/*************************************/


  function displaySubSubMenuItems (oMenu, iIndent, strPath, strID, boolHide)
  {
    var i;
    var str = '';
    var item;
    var newID;

    for (i = 0; i < oMenu.items.length; i ++)
    {
      item = oMenu.items [i];
      newID = strID + '_' + i;

      if ((i > 0) || (iIndent > 1))
      {
        str += '  <tr id="trNavSpacer_' + newID + '"' + (boolHide ? ' style="display: none"' : '') + ' bgcolor="' + strNavBarSubSubColorBGOver + '">\n'
             + '    <td><img src="/images/spacer.gif" width="1" height="2"></td>\n'
             + '    <td bgcolor="' + strNavBarSubSubColorLine + '" colspan="3"><img src="/images/spacer.gif" width="1" height="2"></td>\n'
             + '  </tr>\n';
      }
			// expanded menu items in tertiary menu
      str += '  <tr vAlign="top" id="trNav_' + newID + '"' + (boolHide ? ' style="display: none"' : '') + ' bgcolor="' + strNavBarSubSubColorBGOver + '">\n'
           + '    ' + (item.link && (item.link.toLowerCase () == strPath) ? '<td width="16" bgColor="#FFFFFF"><img src="/imagesNav/arrowTeachers.gif" width="16" height="20" border="0"></td>\n' : '<td width="16"><img src="/imagesNav/spacer.gif" width="16" height="1" border="0"></td>\n')
           + '    <td bgcolor="' + strNavBarSubSubColorLine + '"><img src="/about/schools/images/spacer.gif" width="2" height="1"></td>\n'
           + '    <td class="mmhide_navBarText" colspan="2" onmouseover="nav_onMouseOver (this, \'' + strNavBarSubSubColorLine + '\')" onmouseout="nav_onMouseOut (this)" ><a class="mmhide_navBarTer' + iIndent + '" ' + (item.link ? 'href="' + item.link + '" target="'+(item.target?item.target:"")+'"' : '') + ">"+ arySubSubNavBarBullet [iIndent] + item.text + '</a></td>\n'
           + '  </tr>\n'; 
      if (item.menu)
      {
        if (thisPageIsInMenu (item.menu, strPath, newID) || (item.link && (item.link.toLowerCase () == strPath)) || (getExpanded (2) == newID))
          str += displaySubSubMenuItems (item.menu, iIndent + 1, strPath, newID);
        else
        {
          if (document.getElementById)
            str += displaySubSubMenuItems (item.menu, iIndent + 1, strPath, newID, true);
        }
      }
    }

    return str;
  }


  function displaySubSubMenu ()
  {
    var str = '';
    var iMenu;
    var i = 0;

    str += '<table width="165" border="0" cellspacing="0" cellpadding="0" id="tblMenu_2">\n';
    str += '  <tr>\n'
         + '    <td colspan="4"><img src="' + strNavBarSubSubImg + '" width="165" height="19" border="0" alt="Hide Menu"></td>\n'
         + '  </tr>\n';
  
    for (iMenu in Menus)
    {
      if ((iMenu.charAt (0) == '_') && (iMenu.charAt (1) == '_') && (iMenu.charAt (2) != '_'))
      {
        str += '  <tr>\n'
             + '    <td colspan="4"><img src="/images/spacer.gif" width="1" height="' + (Menus [iMenu].displayTopMargin ? Menus [iMenu].displayTopMargin : 2) + '"></td>\n'
             + '  </tr>\n'

        if (thisPageIsInMenu (Menus [iMenu], strPath, '2_' + i) || (Menus [iMenu].displayLink && (Menus [iMenu].displayLink.toLowerCase () == strPath)) || (getExpanded (2) == '2_' + i))
        {
					// highlighted top tertiary menu item
          str += '  <tr id="tr' + iMenu + '" bgcolor="' + strNavBarSubSubColorBGOver + '">\n'
               + '    <td bgcolor="' + strNavBarSubSubColorLine + '" width="16"><img src="/images/spacer.gif" width="16" height="1"></td>\n'
               + '    <td bgcolor="' + strNavBarSubSubColorShadowOver + '" width="2"><img src="/images/spacer.gif" width="2" height="1"></td>\n'
               + '    <td class="mmhide_navBarTer" width="142" onMouseOut="menuUtils.hide ()" onMouseOver="menuUtils.show (\'' + iMenu + '\');" ' + (Menus [iMenu].displayLink ? '' : ' style="cursor: default" ') + '><a ' + (Menus [iMenu].displayLink ? 'href="' + Menus [iMenu].displayLink + '"' : 'href="/" onClick="return false;"') + ' onMouseOut="menuUtils.hide ()" onMouseOver="menuUtils.show (\'' + iMenu + '\');" style="text-transform: uppercase;' + (Menus [iMenu].displayLink ? '' : ' cursor: default;') + '" target="'+(Menus[iMenu].target?Menus[iMenu].target:"")+'">' + Menus [iMenu].displayName + '</a></td>\n'
               + '    <td class="mmhide_navBarTer" width="5"><img src="/images/spacer.gif" name="' + iMenu + '" width="5" height="9" id="' + iMenu + '"></td>\n'
               + '  </tr>\n'
               + '  <tr bgcolor="' + strNavBarSubSubColorBGOver + '">\n'
               + '    <td bgcolor="' + strNavBarSubSubColorLine + '" colspan="4"><img src="/images/spacer.gif" width="1" height="2"></td>\n'
               + '  </tr>\n'
               + displaySubSubMenuItems (Menus [iMenu], 1, strPath, '2_' + i);
        }
        else
        {
					// non-highlighted top tertiary menu item
          str += '  <tr id="tr' + iMenu + '" bgColor="' + strNavBarSubSubColorBG + '">\n'
               + '    <td bgcolor="' + strNavBarSubSubColorBox + '" width="16"><img src="/images/spacer.gif" width="16" height="1"></td>\n'
               + '    <td bgcolor="' + strNavBarSubSubColorShadow + '" width="2"><img src="/images/spacer.gif" width="2" height="1"></td>\n'
               + '    <td class="mmhide_navBarTer" width="142" onMouseOut="menuUtils.hide ()" onMouseOver="menuUtils.show (\'' + iMenu + '\');" ' + (Menus [iMenu].displayLink ? '' : ' style="cursor: default" ') + '><a ' + (Menus [iMenu].displayLink ? 'href="' + Menus [iMenu].displayLink + '"' : 'href="/" style="cursor: default" ') + ' onMouseOut="menuUtils.hide ()" onMouseOver="menuUtils.show (\'' + iMenu + '\');" target="'+(Menus[iMenu].target?Menus[iMenu].target:"")+'">' + Menus [iMenu].displayName + '</a></td>\n'
               + '    <td class="mmhide_navBarTer" width="5"><img src="/images/spacer.gif" name="' + iMenu + '" width="5" height="9" id="' + iMenu + '"></td>\n'
               + '  </tr>\n';
        } 
        i ++;
      }
    }
    str += '</table>\n';

    document.write (str);
  }
	
	function onMouseSubSubMenu (strWhich, iMenu)
	{
		var tr;
			
		if (document.getElementById)
			tr = document.getElementById ('tr' + iMenu);
		if (tr)
		{
			if (strPath.indexOf (subsubmenuRoot.toLowerCase () + '/' + iMenu.substr (2) + '/') == 0)
			{
				tr.cells [2].style.backgroundColor =
					tr.cells [3].style.backgroundColor = ((strWhich == 'over') ? strNavBarSubSubColorLine : strNavBarSubSubColorBGOver);
			}
			else
			{
				tr.cells [0].style.backgroundColor = ((strWhich == 'over') ? strNavBarSubSubColorLine : strNavBarSubSubColorBox);
				tr.cells [1].style.backgroundColor = ((strWhich == 'over') ? strNavBarSubSubColorShadowOver : strNavBarSubSubColorShadow);
				tr.cells [2].style.backgroundColor =
					tr.cells [3].style.backgroundColor = ((strWhich == 'over') ? strNavBarSubSubColorBGOver : strNavBarSubSubColorBG);
			}
		}
		window.status = ((strWhich == 'over') ? (Menus [iMenu].displayLink || '') : '');
	
		if (Menus [iMenu].items.length > 0)
		{
			if (strWhich == 'over')
				MM_swapImage(iMenu,'','/images/arrowRightRoll.gif',1);
			else
				SCK_MM_swapImgsRestore (iMenu);
		}
	}