startList = function()
{
  if ( document.all && document.getElementById )
  {
    if ( typeof(document.getElementById("nav"))!="undefined" && document.getElementById("nav")!=null )
    {
      navRoot = document.getElementById("nav");
      loopStartList( navRoot );
    }
    else
    {
      setTimeout( "startList()", 100 );
    }
  }
}
function loopStartList ( loopnode )
{
  for ( var i=0; i<loopnode.childNodes.length; i++ )
  {
    var node = loopnode.childNodes[i];
    if ( node.nodeName=="LI" )
    {
      node.onmouseover = function()
                         {
                           if ( this.className.indexOf(" out")!=-1 )
                             this.className=this.className.replace(" out", " over");
                           else
                           if ( this.className.indexOf(" over")==-1 )
                             this.className += " over";
                         }
      node.onmouseout  = function()
                         {
                           if ( this.className.indexOf(" over")!=-1 )
                             this.className=this.className.replace(" over", " out");
                           else
                           if ( this.className.indexOf(" out")==-1 )
                             this.className += " out";
                         }
      node.className += " out";
      loopStartList( node );
    }
    else
    if ( node.nodeName=="UL" )
    {
      loopStartList( node );
    }
  }
}
startList();