


function newsliHover (liId) {
  ;
  document.getElementById('news'+liId+'a').style.color = 'white';
  document.getElementById('news'+liId).style.background = 'url(images/menu_li_bg_selected.jpg)';

  
}

function newsliBlur (liId) {
  document.getElementById('news'+liId+'a').style.color = 'rgb(186,90,0)';
  
  document.getElementById('news'+liId).style.background = 'url(images/menu_li_bg_normal.jpg)';

}


//Layerhez:


 NS4 = (document.layers) ? 1 : 0;
 IE4 = (document.all) ? 1 : 0;
 DOM = (document.getElementById) ? 1 : 0;
 if (!IE4)
  {
   document.captureEvents(Event.MOUSEMOVE)
   document.onmousemove = getMouseXY;
  }


var tempX = 0
var tempY = 0

function getMouseXY(e) {
  if (IE4) { // grab the x-y pos.s if browser is IE
    tempX = window.event.x+document.body.scrollLeft
    tempY = event.clientY
  } else {  // grab the x-y pos.s if browser is NS
    tempX = e.pageX
    tempY = e.pageY
  }
  // catch possible negative values in NS4
  if (tempX < 0){tempX = 0}
  if (tempY < 0){tempY = 0}
  // show the position values in the form named Show
  // in the text fields named MouseX and MouseY
  return true
}


 function show_almenu(x)
  {
   if (IE4) {getMouseXY(this)}
   if (NS4)
   {
    document.layers[x].visibility='show';
    document.layers[x].left=tempX-30;
   }
   else if (IE4)
   {
    document.all[x].style.left=tempX-30;
    document.all[x].style.visibility='visible';
    }
   else if (DOM)
   {
    document.getElementById(x).style.visibility='visible';
    document.getElementById(x).style.left=tempX-30;
   }
  }
 function hide_almenu(x)
 {
   if (NS4)
   {
    document.layers[x].visibility='hide';
   }
   else if (IE4)
   {
    document.all[x].style.visibility='hidden';
    }
   else if (DOM)
   {
    document.getElementById(x).style.visibility='hidden';
   }
 }


