hover = function() {
	var li = document.getElementById("toc").getElementsByTagName("LI");
	for (var i=0; i<li.length; i++) {
		li[i].onmouseover=function() {
			this.className+=" toc_hover";
		}
		li[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" toc_hover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", hover);
