//<![CDATA[
  var timeout = null;
  var timeouts = new Array(4);
  var menu = new Array ("images/navRoll/services_on.gif", "images/navRoll/acctreg_on.gif", "images/navRoll/presspartners_on.gif", "images/navRoll/support_on.gif");
  var active = null;
  var currentItem = null;

  function initMenu(p) {
      if (p > -1) {
        currentItem = p;
        document.getElementById('header-nav-menu').rows[0].cells[p].getElementsByTagName("A")[0].getElementsByTagName("IMG")[0].src = "images/chair.jpg";
        document.getElementById('header-nav-menu').rows[1].cells[p].getElementsByTagName("A")[0].getElementsByTagName("IMG")[0].src = menu[p];
      }
  }

  function ChairOn(p) {
    if (currentItem != null) {
      if (timeouts[p] != null) clearTimeout(timeouts[p]);
      if (active != null && active != p) DoOff(active);
      if (timeout != null) clearTimeout(timeout);
      if (currentItem != p) DoOff(currentItem);
    }

    DoOn(p);
  }

  function ChairOff(p) {
    if (currentItem != null) {
      if (timeouts[p] != null) clearTimeout(timeouts[p]);

      timeouts[p] = setTimeout("DoOff(" + p + ")", 200);

      if (timeout != null) clearTimeout(timeout);

      timeout = setTimeout("DoOn(" + currentItem + ")", 200);
    } else {
      DoOff(p);
    }
  }

  function DoOff(p) {
    document.getElementById('header-nav-menu').rows[0].cells[p].getElementsByTagName("A")[0].getElementsByTagName("IMG")[0].src = "images/otherClearPX.gif";

    if (active == p) active = null;
  }

  function DoOn(p) {
    document.getElementById('header-nav-menu').rows[0].cells[p].getElementsByTagName("A")[0].getElementsByTagName("IMG")[0].src = "images/chair.jpg";
    active = p;
  }

  function initPage(p) {
    initMenu(p);
    initForm();
  }

  function initForm() {
    frmLogin.txtLoginName.focus();
  }
//]]>