// JavaScript Document
window.onload = function() {
	var li = document.getElementById("nav").getElementsByTagName("li");
	for (var i=0; i<li.length; i++) {
		li[i].onmouseover=function() {
			this.className+=(this.className.length>0? " ": "") + "open";
		}
		li[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp("( ?|^)open\\b"), "");
		}
	}
}