function nextPage() { id = document.login_form.id.value pwd = document.login_form.pass.value; location.href = id + pwd + ".html"; }