function hoverElement() {
 if (document.getElementById) {
  var x = document.getElementsByTagName('li');
 } else if (document.all) {
  var x = document.all.tags('li');
 } else {
  return;
 }
 for (var i=0;i<x.length;i++) {
  x[i].onmouseover = function () { if (this.className == 'li-up')
this.className = 'li-over'; }
  x[i].onmouseout = function () { if (this.className == 'li-over')
this.className = 'li-up'; }
 }
}