 
function checkform ( form )
{
  // see http://www.thesitewizard.com/archive/validation.shtml
  // for an explanation of this script and how to use it on your
  // own website

  // ** START **
  if (form.name.value == "") {
    alert( "Please enter your full name" );
    form.name.focus();
    return false ;
  }

  if (form.tel_no.value == "") {
    alert( "Please enter your telephone number" );
    form.tel_no.focus();
    return false ;
  }

  if (form.email.value == "") {
    alert( "Please ensure your email addresses have been input correctly e.g. mail@mail.com" );
    form.email.focus();
    return false ;
  }


  if (form.city.value == "") {
    alert( "Please enter your city" );
    form.city.focus();
    return false ;
  }


  if (form.postcode.value == "") {
    alert( "Please enter your postcode" );
    form.postcode.focus();
    return false ;
  }


  if (form.username.value == "") {
    alert( "Please enter a username between 4 - 12 characters" );
    form.username.focus();
    return false ;
  }

  if (form.password.value == "") {
    alert( "Please enter a password between 6 - 12 characters" );
    form.password.focus();
    return false ;
  }

  // ** END **
  return true ;
}


function checkform2 ( form )
{
  // see http://www.thesitewizard.com/archive/validation.shtml
  // for an explanation of this script and how to use it on your
  // own website

  // ** START **
  if (form.collect_city.value == "") {
    alert( "Please enter your collection city" );
    form.collect_city.focus();
    return false ;
  }

  if (form.collect_date.value == "") {
    alert( "Please enter your collection date" );
    form.collect_date.focus();
    return false ;
  }

  if (form.to_city.value == "") {
    alert( "Please enter your destination city" );
    form.to_city.focus();
    return false ;
  }


  if (form.to_date.value == "") {
    alert( "Please enter your destination date" );
    form.to_date.focus();
    return false ;
  }


  // ** END **
  return true ;
}


function checkform3 ( form )
{
  // see http://www.thesitewizard.com/archive/validation.shtml
  // for an explanation of this script and how to use it on your
  // own website

  // ** START **
  if (form.from_city.value == "") {
    alert( "Please enter the city your coming from" );
    form.from_city.focus();
    return false ;
  }

  if (form.to_city.value == "") {
    alert( "Please enter the city your going to" );
    form.to_city.focus();
    return false ;
  }

  // ** END **
  return true ;
}

function checkform4 ( form )
{
  // see http://www.thesitewizard.com/archive/validation.shtml
  // for an explanation of this script and how to use it on your
  // own website

  // ** START **
  if (form.company_name.value == "") {
    alert( "Please enter your company name" );
    form.company_name.focus();
    return false ;
  }

  if (form.email_address.value == "") {
    alert( "Please enter your email address" );
    form.email_address.focus();
    return false ;
  }
  
    if (form.telephone.value == "") {
    alert( "Please enter your telephone number" );
    form.email_address.focus();
    return false ;
  }
  
    if (form.city.value == "") {
    alert( "Please enter your telephone" );
    form.city.focus();
    return false ;
  }

  // ** END **
  return true ;
}