Okay, if I'm not mistaken, all input elements with the same name, will become an array in the DOM.

In other words...

Code:
<html>
  <body>
    <form name='myForm'>
      <input name='myInput'>
      <input name='myInput'>
    </form>
    <script language='JavaScript'>
      function myFunc() {
        alert document.myForm.myInput[0].value;
        alert document.myForm.myInput[1].value;
      }
    </script>
  </body>
</html>
I could be wrong.