ieFix = function()
{
 //fake css :hover for nav menu
 navRoot = document.getElementById('nav');
 if(navRoot!=null)
 {
  for (i=0; i<navRoot.childNodes.length; i++)
  {
   aNode = navRoot.childNodes[i];
   if(aNode.nodeName=='DIV' && aNode.className.indexOf('navl')>-1)
   {
    aNode.onmouseover=function()
    {
     this.className+=' over';
    };
    aNode.onmouseout=function()
    {
     this.className=this.className.replace('over', '');
    };
   };
  };
 };
 //add other element id's with css class "over" to the elems array for fake css :hover
 elems=[];
 for(i=0;i<elems.length;i++)
 {
  elems[i]=document.getElementById(elems[i]);
  if(elems[i]!=null)
  {
   elems[i].onmouseover=function()
   {
    this.className+='over';
   };
   elems[i].onmouseout=function()
   {
    this.className='';
   };
  };
 };
};
if(window.attachEvent && parseInt(navigator.userAgent.substring(navigator.userAgent.indexOf('MSIE')+5))<7){window.attachEvent("onload", ieFix)};
