function validate_form() {
  var okSoFar=true //-- Changes to false when bad field found.
  //-- Check the userName field, reject if blank.
  if ((document.contact_form.name.value=="") ||
  (document.contact_form.phone.value=="") ||
  (document.contact_form.email.value=="")||
  (document.contact_form.send_random_number.value=="")) {
    okSoFar=false
    alert("Please fill in your name, phone, email and random code")
    document.contact_form.name.focus()
  }
  //-- If all fields OK go ahead and submit the form and put up a message.
  if (okSoFar==true) {
    //-- The statement below actually submits the form, if all OK.
    document.contact_form.submit()
}
}

window.defaultStatus = "buy-fast.co.uk - <?php echo $this_page ?>"

function bookmark()
{
window.external.AddFavorite("http://www.buy-fast.co.uk","buy-fast.co.uk")
}
