function show_menu(x){ if (ns){ parent.frames["right"].document.layers[+x].visibility="show"; } else{ parent.frames["right"].document.all[x].style.visibility="visible"; } }