
function checkform ( form )
{
  var error_msg = "";

  if (!form.t_and_c1.checked) {
    error_msg = error_msg + "Please accept the terms and conditions.\n";
  }

  if (!form.t_and_c2.checked) {
    error_msg = error_msg + "Please accept the terms and conditions.\n";
  }

  if (!form.t_and_c3.checked) {
    error_msg = error_msg + "Please accept the terms and conditions.\n";
  }
  if (form.vision_statement.value == "") {
    error_msg = error_msg + "Please tell us your vision statement.\n";
    form.vision_statement.focus();
  }
  if (form.special_info.value == "") {
    error_msg = error_msg + "Please tell us of any other special information.\n";
    form.special_info.focus();
  }
  if (form.closest_airport.value == "") {
    error_msg = error_msg + "Please tell us the closest airport.\n";
    form.closest_airport.focus();
  }
  if (form.expectations.value == "") {
    error_msg = error_msg + "Please tell us your expectations.\n";
    form.expectations.focus();
  }
  if (form.worship_style.value == "") {
    error_msg = error_msg + "Please tell us your worship style.\n";
    form.worship_style.focus();
  }
  if (form.referral.value == "") {
    error_msg = error_msg + "Please tell us if you can provide a referral.\n";
    form.referral.focus();
  }
  if (form.hear_about_kari.value == "") {
    error_msg = error_msg + "Please tell us how you heard about Kari.\n";
    form.hear_about_kari.focus();
  }
  if (form.previous_guests.value == "") {
    error_msg = error_msg + "Please tell us of the previous guests you have hosted.\n";
    form.previous_guests.focus();
  }
  
  if (form.event_participants.value == "") {
    error_msg = error_msg + "Please tell us if there are any other event participants.\n";
    form.event_participants.focus();
  }
  
  if (!form.ticketed_event[0].checked && !form.ticketed_event[1].checked) {
    error_msg = error_msg + "Please tell us if this is a ticketed event.\n";
  }
  
  if (!form.public_meeting[0].checked && !form.public_meeting[1].checked) {
    error_msg = error_msg + "Please tell us if this is a public meeting.\n";
  }
  
  if (form.number_of_presentations.value == "") {
    error_msg = error_msg + "Please enter the number of presentations.\n";
    form.number_of_presentations.focus();
  }
  
  if (form.attendance.value == "") {
    error_msg = error_msg + "Please estimate the attendance.\n";
    form.attendance.focus();
  }

  if (form.theme.value == "") {
    error_msg = error_msg + "Please enter your event's theme.\n";
    form.theme.focus();
  }

  if (form.church_website.value == "") {
    error_msg = error_msg + "Please enter your Church or Ministry's website.\n";
    form.church_website.focus();
  }

  if (form.church_fax.value == "") {
    error_msg = error_msg + "Please enter your Church or Ministry's fax number.\n";
    form.church_fax.focus();
  }
  
  if (form.church_phone.value == "") {
    error_msg = error_msg + "Please enter your Church or Ministry's phone number.\n";
    form.church_phone.focus();
  }
  
  if (form.church_zip.value == "") {
    error_msg = error_msg + "Please enter your Church or Ministry's zip code.\n";
    form.church_zip.focus();
  }
  
  if (form.church_state.value == "") {
    error_msg = error_msg + "Please enter your Church or Ministry's state.\n";
    form.church_state.focus();
  }
  
  if (form.church_city.value == "") {
    error_msg = error_msg + "Please enter your Church or Ministry's city.\n";
    form.church_city.focus();
  }

  if (form.church_address.value == "") {
    error_msg = error_msg + "Please enter your Church or Ministry's address.\n";
    form.church_address.focus();
  }

  if (form.church_ministry.value == "") {
    error_msg = error_msg + "Please enter your Church or Ministry's name.\n";
    form.church_ministry.focus();
  }

  if (form.email.value == "") {
    error_msg = error_msg + "Please enter your email address.\n";
    form.email.focus();
  }

  if (form.phone.value == "") {
    error_msg = error_msg + "Please enter your phone number.\n";
    form.phone.focus();
  }

  if (form.title.value == "") {
    error_msg = error_msg + "Please enter your title.\n";
    form.title.focus();
  }

  if (form.fullname.value == "") 
  {
    error_msg = error_msg + "Please enter your name.\n";
    form.fullname.focus();
  }
  

  if (!error_msg == '')
  {
  	error_msg = "ONE OR MORE FIELDS NEED TO BE FIXED:\n" + error_msg;
  	alert(error_msg);
  	return false;
  }

  if (!error_msg == '')
  {
  	error_msg = "ONE OR MORE FIELDS NEED TO BE FIXED:\n" + error_msg;
  	alert(error_msg);
  	return false;
  }

  return true ;
}