// JavaScript Document

doit = function() {
if (document.getElementById) {
	navRoot = document.getElementById("nav");
	if(navRoot) {
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			var str = new String(node.className);
			if (str.substr(0,5)=="candy") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
 }
}

window.onload = doit;
