hi all,

I am using simple show/hide layers for menus, what I want is to use cookie so that if any menu is open it should remain open if a visitor goes to another page, and the open link text should be in BOLD, I tried a couple things, but I cant get it work, here I need your help please..

please download my menu.html files here

below is the function I am using for show / hide layer..

function showhide(id){
if (document.getElementById){
obj = document.getElementById(id);
if (obj.style.display == "none"){
obj.style.display = "";
} else {
obj.style.display = "none";
thanks for looking at this thread.