function setHeight() {
	var winheight=0;
	if (window.innerHeight) winheight=window.innerHeight;
	else if (document.body && document.body.offsetHeight) winheight=document.body.offsetHeight;
	if (winheight>0) {
		if (winheight<550) {
			winheight=550;
		}
		document.getElementById('content').style.height=(winheight-255)+"px";
	}
}
window.onresize = setHeight;

startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("nav");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}
window.onload=startList;
