var LoadingOn=0;

function init(){
  LoadingOn=1;
  if (navigator.appName == "Netscape") {
    layerStyleRef="layer.";
    layerRef="document.layers";
    styleSwitch="";
  }else{
    layerStyleRef="layer.style.";
    layerRef="document.all";
    styleSwitch=".style";
  }
}
 
function showMenu(layerName){
  if (LoadingOn)
  eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
}
        
function hideMenu(layerName){
  if (LoadingOn)
  eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');
}

