function contactmail() {

  if ( checkform() == true ) {
   jQuery.post("/includes/contactmail.php", {
      naam: jQuery("#naam").val(),
      email: jQuery("#email").val() ,
      bericht: jQuery("#bericht").val()
   }, function (data) {
	jQuery.popup.show("Bericht",data);
   }
   );

}}

function checkform() {
        if ( document.getElementById('naam').value == '' ||
          document.getElementById('bericht').value == '' ||
           document.getElementById('email').value.indexOf('@')<= 0 || document.getElementById('email').value.length <= 5 ) {
			jQuery.popup.show("Bericht","Vul a.u.b. alle velden correct in.");
                        return false;
           } else {
                        return true;
           }
}

