Hola:
Con los nombres terminados en "[]", simplemente puedes usar la cadena del nombre (corchetes incluídos) a la vez entrecorchetada...
Código:
<html>
<head>
<title>
Prueba
</title>
<script type="text/javascript">
function validar(f, campo) {
var valida = false;
for (var i = 0, total = f[campo].length; i < total; i ++)
valida = valida || f[campo][i].checked;
if (!valida) alert('debe seleccionar al menos un checkbox');
return valida;
}
</script>
</head>
<body >
<form name="prueba" action="javascript: alert('validación Ok...')" onsubmit="return validar(this, 'muchos[]')" method="get" enctype="text/plain" >
<input type="checkbox" name="muchos[]" />
<input type="checkbox" name="muchos[]" />
<input type="checkbox" name="muchos[]" />
<input type="checkbox" name="muchos[]" />
<input type="checkbox" name="muchos[]" />
<input type="checkbox" name="muchos[]" />
<input type="checkbox" name="muchos[]" />
<button type="submit" >chequear y enviar</button>
</form>
</body>
</html>
Saludos