loginForm.setAttribute("class", "loginarea");
}
}
+ var cancelAuth = document.getElementById("cancelauth");
+ if (cancelAuth) {
+ cancelAuth.onclick = function() {
+ document.getElementById("isauthorized").value = "no";
+ document.getElementById("loginauthform").submit();
+ }
+ }
+ var addAnotherEmail = document.getElementById("addanotheremail");
+ if (addAnotherEmail) {
+ addAnotherEmail.onclick = function() {
+ location.href = "./?addemail";
+ }
+ }
+ var isNotMe = document.getElementById("isnotme");
+ if (isNotMe) {
+ isNotMe.onclick = function() {
+ location.href = location.href + "&logout=1";
+ }
+ }
}