lassList.remove("u-hide");
    window.scrollTo({top: 0, behavior: 'auto'});
    applicationForm.querySelector('input[type="text"]').focus();
  }

  function hide_application() {
    jobDetails.classList.remove("u-hide");
    backRoles.classList.remove("u-hide");
    applicationForm.classList.add("u-hide");
    backDetails.classList.add("u-hide");
  }

  function onApplicationScreen() {
    if(URLSplit[URLSplit.length - 1] === "application") {
      return true;
    }
    return false;
  }
</script>
{% endbl