function authUser(form) {  
if (form.Password.value=="pass1") { 
    location="index.html" 
} else { 
    location="login2.html"
    } 
} 