NAV = {};
NAV.last = false;
NAV.timeout;
NAV.init = function () {
	// Get all the top li's and add the avents
	var el = document.getElementById ("nav");
	var els = el.getElementsByTagName ("LI");
	for (var i=0, n=els.length; i<n; i++) {
		els[i].onmouseover = function () { NAV.hover (this);   };
		els[i].onmouseout  = function () { NAV.unhover (this); };
	}
};
NAV.hover = function (el) {
	// Hide the last?
	if (NAV.last) {
		NAV.last.className = "";
	}
	NAV.last = false;
	clearTimeout (NAV.timeout);
	// Show this one:
	el.className = "hover";
};
NAV.unhover = function (el) {
	NAV.last = el;
	NAV.timeout = setTimeout ('NAV.last.className = "";', 1000);
};