document.write('<BODY onKeyUp="checkkeycode();"><INPUT TYPE="hidden" NAME="code" VALUE=""/>');

function redirect(url)
{
  window.location=url;
}

function checkkeycode()
{
  var x=event.keyCode;
  if (x==109) { document.getElementById('code').value=''; }
  else if ((x>=96) && (x<=105)) { document.getElementById('code').value=document.getElementById('code').value.toString()+(x-96).toString(); }
  if (document.getElementById('code').value=='6615043274228794') { alert("Booking system designed and implemented by Matt Ward\nSystem last updated 27th April."); document.getElementById('code').value='';  }
}

function checklink(targeturl,message)
{
  if (confirm(message))
  {
    window.location=targeturl;
  }
}