// JavaScript Document

startList = function() {
var nav_el=document.getElementById("nav");
if (nav_el){
var nodes = nav_el.getElementsByTagName("LI");

	 for (var i=0; i<nodes.length; i++) {
		 nodes[i].onmouseover = function() {
		 this.className += " over";
	 }
 	nodes[i].onmouseout = function() {
 	this.className = this.className.replace(new RegExp(" over\\b"), "");
	}
	}
}
var nav2_el=document.getElementById("nav2");
if (nav2_el){
	var sfEls = nav2_el.getElementsByTagName("LI");
		for (var i=0; i<sfEls.length; i++) {
			sfEls[i].onmouseover=function() {
				this.className+=" sfhover";
			}
			sfEls[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
			}
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", startList);