setHoverSub = function() {
  if (document.getElementById("nav")) {
	  var LIs = document.getElementById("nav").getElementsByTagName("LI");
	  for (var i=0; i < LIs.length; i++) {
		LIs[i].onmouseover=function() {
		  this.className+=" clHover";
		}
		LIs[i].onmouseout=function() {
		  this.className=this.className.replace(new RegExp(" clHover\\b"), "");
		}
	  }
   }
 }
 if (window.attachEvent) window.attachEvent("onload", setHoverSub);
