• attendu

attendu

<script>

    // Get the URL parameter value

    function getURLParameter(name) {

      name = name.replace(/[\[]/, '\\[').replace(/[\]]/, '\\]');

      var regex = new RegExp('[\\?&]' + name + '=([^&#]*)');

      var results = regex.exec(location.search);

      return results === null ? '' : decodeURIComponent(results[1].replace(/\+/g, ' '));

    }

 

    // Redirect to the new URL

    function redirect() {

      var id = getURLParameter('id');

      var redirectURL = 'https://kb.attendu.com/event/b5410ab612b5d98f75ccf03f?g=' + id;

      window.location.href = redirectURL;

    }

 

    // Call the redirect function

    redirect();

  </script>