function addOverHandlers(root) {
  flashNode = document.getElementById("lampaFlash");
  if(!root || !flashNode) return;
  root.onmouseover = function() {
				flashNode.style.visibility = "hidden";
			}
			root.onmouseout = function() {
				flashNode.style.visibility = "visible";
			}
  
	for (var i = 0; i < root.childNodes.length; i++) {
  	var node = root.childNodes[i];
    if (node != null && node.nodeName == "LI") {
			node.onmouseover = function() {
				flashNode.style.visibility = "hidden";
			}
			node.onmouseout = function() {
				flashNode.style.visibility = "visible";
			}
		}
	}
}

/*
window.onload = function() {
  addOverHandlers(document.getElementById("mainmenu"));
}
*/

