  var clicked=false;
  // This function allows us to make divs into links without violating html grammar
  function clickChild(elt) {
    linkChildren = elt.getElementsByTagName("A");
    if (linkChildren.length > 0) {
      if (!clicked) {
        if (linkChildren.item(0).target == '')
          document.location = linkChildren.item(0).href;
        else
          window.open(linkChildren.item(0).href, linkChildren.item(0).target);
        clicked=true;
      } else {
        clicked=false; // ready for next time
      }
    }
  }
  function setChildClass(elt, className) {
    linkChildren = elt.getElementsByTagName("A");
    if (linkChildren.length > 0) {
      linkChildren.item(0).className = className;
    }
  } 
  function highlightCell(elt) {
    elt.className='menuCurrent';
  }
  function unHighlightCell(elt) {
    elt.className='';
  }
  
  function swapImage(elt, myMessage) {
          
           
           elt.src = myMessage;
	if (section_id!="")		
           init_nav(section_id);
           
  }
  function init_nav(section_id) {
	  if (document.images[section_id]) {
        document.images[section_id].src = "/images/nv_" + section_id + "_on.gif";
	  }
}


