<!-- hide javascript from old browsers

function checkForm()
{
  var name = document.contact_form.name;
	var tel = document.contact_form.tel;
	var email = document.contact_form.email;
	var message = document.contact_form.message;
	var magazine = document.contact_form.magazine;
	var magazineAnswer = document.contact_form.magazineAnswer;
	var other = document.contact_form.other;
	var otherAnswer = document.contact_form.otherAnswer;

	ok = false;
  ok = entryExist(name, "Please enter the your name");

  if(ok)
  {
    if(!emailCheck(email.value))
    {
      email.value="";
      email.focus();
      return false;
    }
    else
      ok = true;
  }

  if(ok)
    ok = entryExist(tel, "Please provide a contact number") && isNumWithSp(tel, "Your contact number appeared to be invalid");

  if(ok)
    ok = entryExist(message, "Please enter your message");

  if(ok && (magazine.checked) && ((magazineAnswer.value=='Please Specify') || (magazineAnswer.value=='')))
	{
    alert("We would appreciate if you could specify the magazine you saw about us");
		ok = false;
		return false;
	}

  if(ok && (other.checked) && ((otherAnswer.value=='Please Specify') || (otherAnswer.value=='')))
	{
    alert("We would appreciate if you could specify the other means by which you knew about us");
		ok = false;
		return false;
	}

  if(ok)
    return true;
  else
    return false;
}
//-->