
/////////////////////////////////////////////////////////////////////
//function to give each list item within the #navh list menu a class over
starList = function() {
	var sfEls = document.getElementById("navh").getElementsByTagName("li");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" over";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" over\\b"), "");
		}
	}
}
if (window.attachEvent) {
	window.attachEvent("onload", starList);
}
	//alert("Bob");

/////////////////////////////////////////////////////////////////////
//function to give each list item within the #navs list menu a class subHover
subHover = function() {
  var subEls = document.getElementById("navs").getElementsByTagName("li");
  for (var i=0; i<subEls.length; i++) {
    subEls[i].onmouseover=function() {
      this.className+=" subhover";
    }
    subEls[i].onmouseout=function() {
      this.className=this.className.replace(new RegExp("subhover\\b"), "");
    }
  }
}
if (window.attachEvent) {
	window.attachEvent("onload", subHover);
}

