function checkForm()
{
  var conference_name = document.enquiry.conference_name;
  var contact_name = document.enquiry.contact_name;
  var contact_phone = document.enquiry.contact_phone;
	var contact_email = document.enquiry.contact_email;
	var no_of_delegates = document.enquiry.no_of_delegates;
  var requirements = document.enquiry.requirements;
  var start_date = document.enquiry.start_date;
  var no_of_days = document.enquiry.no_of_days;
  var arrival_time = document.enquiry.arrival_time;
  var departure_time = document.enquiry.departure_time;
  
  
  
	var SafeCode = document.enquiry.SafeCode;

	ok = false;
	
  ok = entryExist(conference_name, "The following field is required: Conference name");
  
  if(ok)
  	ok = entryExist(contact_name, "The following field is required: Main contact name");
  
  if(ok)
  	ok = entryExist(contact_phone, "The following field is required: Main contact phone") && isNumWithSp(contact_phone, "The phone number can only contain numbers and spaces");

  if(ok)
  {
    if(!emailCheck(contact_email.value))
    {
      contact_email.value="";
      contact_email.focus();
      return false;
    }
    else
      ok = true;
  }

  if(ok)
  	ok = entryExist(no_of_delegates, "The following field is required: Number of delegates");

	if(ok)
  	ok = entryExist(requirements, "The following field is required: Requirements");

	if(ok)
  	ok = entryExist(start_date, "The following field is required: Start date");

	if(ok)
  	ok = entryExist(no_of_days, "The following field is required: Number of days");

	if(ok)
  	ok = entryExist(arrival_time, "The following field is required: Arrival time");

	if(ok)
  	ok = entryExist(departure_time, "The following field is required: Departure time");


  if(ok)
    ok = entryExist(SafeCode, "Please enter the validation code\nThe validation code is to prevent automatic submissions");

/*

  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 Vincona/Fashion Statement");
		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 Vincona/Fashion Statement");
		ok = false;
		return false;
	}
	


*/
  if(ok)
    return true;
  else
    return false;
}