function list_btn() { var form = document.sub_form; form.mode.value = "list"; form.submit(); }