function showhide(which,hide) { var hide=hide||0; if (document.getElementById(which)) { if (hide==1) document.getElementById(which).style.display='none'; else { if (document.getElementById(which).style.display=='none') document.getElementById(which).style.display=''; else document.getElementById(which).style.display='none'; } } } function hideallmenus() { for (i=0;i