// Holds a copy of the original image for rezizing puposes
var imageOriginal;

startList = function() {
	navRoot = document.getElementById("menu");
	if (navRoot){
		for (i=0; i<navRoot.childNodes.length; i++){
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onclick=function() {
					// Remove classes from all objects
					for (i=0; i<navRoot.childNodes.length; i++){
						node = navRoot.childNodes[i];
						if (node.nodeName=="LI") {
							node.removeAttribute("class");
							node.removeAttribute("className");
							
						}
					}
					this.className+=" over";
				}
			}
		}
	}
}
window.onload=startList;