for (i = 0; i < document.checks.user.length; i++) //for all check boxes { if (document.checks.user[i].checked == true ) { document.checks.submit()
jQuery is your friend:
$("input[type='checkbox']").attr('checked', false);
(... if jQuery is available to you?)