function MM_showHideLayers() 
{ var i, visStr, args, theObj;
  args = MM_showHideLayers.arguments;
  for (i=0; i<(args.length-1); i+=2)
   {
    visStr   = args[i+1];
    if (navigator.appName == 'Netscape' && document.layers != null)
     {
      theObj = eval(document.layers[args[i]]);
      if (theObj) theObj.visibility = visStr;
     } 
    else if (document.all != null)
     { 
      if (visStr == 'show') visStr = 'visible'; 
      if (visStr == 'hide') visStr = 'hidden';
      theObj = eval(document.all[args[i]]);
      if (theObj) theObj.style.visibility = visStr;
     }
   }
}

