Separate names with a comma.
А если вот такой код: <script type="text/javascript"> <!-- function process_form(the_form) { var element_names = new Object()...