function chkForm(form) { for (var i=0; i