<html> <script> <!-- function showArgs(a, b, c) { var argList = ""; for (var n=0; n <= arguments.length; n++) { argList += n + ". " + arguments[n] + "\n"; } alert(argList); } showArgs("java", "script"); //--> </script> </html>