function showHideLayers() 
	{
	var i, visStr, args, theObj;
		args = showHideLayers.arguments;
		for (i=0; i<(args.length-1); i+=2)
		{ //with arg doubles (obj,visStr)
		visStr = args[i+1];
		
		if (document.all) theObj = eval("document.all[\'"+args[i]+"\']");
		else if (document.layers) theObj = eval("document.layers[\'"+args[i]+"\']");
		else if (document.getElementById) theObj = eval("document.getElementById(\'"+args[i]+"\')");
		
		if (visStr == 'show' && (document.all || document.getElementById)) visStr = 'visible'; 
		if (visStr == 'hide' && (document.all || document.getElementById)) visStr = 'hidden';
		if (theObj && document.all || document.getElementById) theObj.style.visibility = visStr;
		if (theObj && document.layers) theObj.visibility = visStr; 
		}
	}