//- Main Menu hover ------------------------------------------------------------
<!--//--><![CDATA[//><!--
sfMainMenuHover = function()
{
  if (browser=='IE')
  {
     var sfEls = document.getElementById("nav").getElementsByTagName("LI");
     for (var i=0; i<sfEls.length; i++)
     {
        sfEls[i].style.backgroundColor ='#D4D0C8';
        sfEls[i].style.color = '#000000';
        sfEls[i].onmouseover=function()
        {
           this.className+=" sfhover";
           this.style.backgroundColor ='#003366';
           this.style.color = '#FFFFFF';
        }
        sfEls[i].onmouseout=function()
        {
           this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
           this.style.backgroundColor ='#D4D0C8';
           this.style.color = '#000000';
        }
     }
  }
}

sfCategoryHover = function()
{
  if (browser=='IE')
  {
     var sfEls = document.getElementById("categories").getElementsByTagName("LI");
     for (var i=0; i<sfEls.length; i++)
     {
        sfEls[i].style.backgroundColor ='transparent';
        sfEls[i].style.color = '#000000';
        sfEls[i].onmouseover=function()
        {
           this.className+=" sfhover";
           this.style.color = '#000000';
           this.style.backgroundColor ='#E6E6E6';
        }
        sfEls[i].onmouseout=function()
        {
           this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
           this.style.backgroundColor ='transparent';
           this.style.color = '#ffffff';
        }
     }
  }
}

sfxNewHover = function()
{
  if (browser=='IE')
  {
     var sfEls = document.getElementById("categories").getElementsByTagName("LI");
     for (var i=0; i<sfEls.length; i++)
     {
        sfEls[i].style.backgroundColor ='transparent';
        sfEls[i].style.color = '#ffffff';
        sfEls[i].onmouseover=function(){this.className+=" sfhover"};
        sfEls[i].onmouseout=null;
     }
  }
}

function collapseMenu(aHierarchy)
{
  var aObjectId     = 'ul'+aHierarchy;
  aObjectId         = aObjectId.substring(0,5);
  if (document.all[aObjectId])
  {
     aObject           = document.all[aObjectId];
     document.getElementById(aObjectId).style.left='-999em';
  }
}

function catMouseOver(aObjectId, aCaller)
{
  if (document.getElementById(aObjectId))
  {
     document.getElementById(aObjectId).style.left='auto';
  }
  aCaller.style.color = '#ffffaa';
  aCaller.style.backgroundColor ='#3A0000';
}

function catMouseOut(aObjectId, aCaller)
{
  for (var jj=0; jj<10000; jj++)
  {
     var dummy = "Any better ideas?";
  }
  if (document.getElementById(aObjectId))
  {
     document.getElementById(aObjectId).style.left='-999em';
  }
  aCaller.style.color = '#ffffff';
  aCaller.style.backgroundColor ='transparent';
}
//------------------------------------------------------------------------------

