paintingson = new Image();                    
paintingson.src = "images/paintings_on.gif";
paintingsoff = new Image();
paintingsoff.src = "images/paintings_off.gif";

sculptureon = new Image();                    
sculptureon.src = "images/sculpture_on.gif";
sculptureoff = new Image();
sculptureoff.src = "images/sculpture_off.gif";

paperon = new Image();                    
paperon.src = "images/paper_on.gif";
paperoff = new Image();
paperoff.src = "images/paper_off.gif";

// On function
function imgAct(imgName) {
    document[imgName].src = eval(imgName + "on.src");
}

// Off function
function imgInact(imgName) {
    document[imgName].src = eval(imgName + "off.src");
}

function jumpTo(optionObj) {
    window.location.href = optionObj.options[optionObj.selectedIndex].value;
}

function hov(loc,cls){
  if(loc.className)
  loc.className=cls;
}

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;