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'; }
  }

	  if (!document.getElementsByTagName) return;
	  var anchors = document.getElementsByTagName("a");
	  for (var i=0; i<anchors.length; i++) {
	    var anchor = anchors[i];
	    if (anchor.getAttribute("href") &&
	        anchor.getAttribute("rel") == "external")
	      anchor.target = "_blank";
	    }
	
}
