var type = "auth";
function buton_regAuth(){
if(type == "auth") type = "reg";
else type = "auth";
if(type == "auth") document.getElementById("authwin").innerHTML = "
\n "
else document.getElementById("authwin").innerHTML = " \n "
}
function confirmation_mail(mail_adress) {
var codeConfirmation = "
\n \n
"
var GET_Request = new XMLHttpRequest();
GET_Request.open("GET", "http://127.0.0.1:8080/api/confirmation/start?email=" + mail_adress, true);
GET_Request.onload = function (){
var content = GET_Request.responseText;
document.getElementById("authwin").innerHTML = codeConfirmation;
}
GET_Request.send(null);
}
function off_pass(){}