function getargs(form) { var list = {}; for (var i=1; i