nn4=(document.layers)?true:false;
ie4=(document.all)?true:false;
ie5=navigator.appVersion.indexOf("MSIE 5")>0;

function showHideLayers() {
  var i, visStr, args, theObj;
  args = showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) {
    visStr   = args[i+2];
    if (navigator.appName == 'Netscape' && document.layers != null) {
      theObj = eval(args[i]);
      if (theObj) theObj.visibility = visStr;
    } 
	else if (document.all != null) { 
      if (visStr == 'show') visStr = 'visible'; 
      if (visStr == 'hide') visStr = 'hidden';
      theObj = eval(args[i+1]);
      if (theObj) theObj.style.visibility = visStr;
  } }
}
