function gestmenu(x) { with (document) { getElementById('liv0').style.display = "none"; getElementById('liv1').style.display = "none"; getElementById('liv2').style.display = "none"; getElementById('liv3').style.display = "none"; getElementById('liv'+x).style.display = "block"; } } function tagon(x,cosa) { notanew = document.getElementById('nota'); notanew.firstChild.nodeValue = cosa; with (document.getElementById('nota').style) { top = x; visibility = "visible"; } } function tagoff() { document.getElementById('nota').style.visibility = "hidden"; }