//-----------------------------------------------------------------------------
// file: header.js
// lib:  ascripts
// desc: various utilities
// desc: various checks and js functions
// date: April 07?
// auth: Paul Bibin   (double check)
// rev date: 2008/02/20
// rev auth: Rob Straughn <rstraughn@max.md>
//-----------------------------------------------------------------------------   


<!--    
    


function opnwin(url, width, height)
/* opens a popup window */
{
      popupwin = window.open(url,'MaxMD','width='+width+',height='+height+',menubar=no,resizable=yes,scrollbars=yes,statusbar=no,toolbar=no');
      if (window.focus) 
      {
        popupwin.focus();
      }
}
/* ----------------------------------------------------------------------------- */

      
      

startList = function()    
/* Provides navigational mouseover dropdown menus, (IE6 specific!!!) */
{
      if (document.all&&document.getElementById) 
      {
        navRoot = document.getElementById("ddnav");
        for (i=0; i<navRoot.childNodes.length; i++) 
        {
          node = navRoot.childNodes[i];
          if (node.nodeName=="LI") 
          {
            node.onmouseover=function() 
            {
              this.className+=" over";
            }
            node.onmouseout=function() 
            {
              this.className=this.className.replace(" over", "");
            }
          }
        }
      }
}
window.onload=startList;  /* we want the drop downs menu available on any page that loads */
/* ----------------------------------------------------------------------------- */




//-->    

//-----------------------------------------------------------------------------
// end of header.js
//-----------------------------------------------------------------------------
