function Display(client)
{
  Effect.Appear($(client), {delay: 0, duration: .3});
}

function Hide(client)
{
  Effect.Fade($(client), {delay: 0, duration: .3});
}

function ValidateContact()
{
	var emailFilter = /^.+@.+\..{2,3}$/;

  if (document.frmContact.name.value == "")
  {
    alert('Please Enter a Contact Name');

    document.frmContact.name.focus();

    return false;
  }
  else if (document.frmContact.email.value == "")
  {
    alert('Please Enter an Email Address');

    document.frmContact.email.focus();

    return false;
  }
  if (!(emailFilter.test(document.frmContact.email.value)))
  {
    alert('That Email Is Not Valid, Please Enter A Valid Email');

    document.frmContact.email.focus();

    return false;
  }
  else if (document.frmContact.number.value == "")
  {
    alert('Please Enter a Contact Telephone Number');

    document.frmContact.number.focus();

    return false;
  }
  else if (document.frmContact.comment.value == "")
  {
    alert('Please Enter Any Comments You Have');

    document.frmContact.comment.focus();

    return false;
  }
  else if (document.frmContact.captcha_code.value == "")
  {
    alert('Please Enter The Text In The Image');

    document.frmContact.captcha_code.focus();

    return false;
  }


  return true;
}
