// Startlist function for Horizontal list-based menu
// See http://www.alistapart.com/articles/horizdropdowns for more info
startList = function() {
	if (document.all&&document.getElementById) {
		navList = document.getElementById("nav");		
		for (i=0; i<navList.childNodes.length; i++) {
			node = navList.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
  		}
		
		navList = document.getElementById("bookSidebar");		
		for (i=0; i<navList.childNodes.length; i++) {
			node = navList.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
  		}
	}
}
window.onload=startList;