$(function(){

	$('#myForm')
	  .validate({
         submitHandler: function(form) {
           $(form).ajaxSubmit({
                success: function() {
                    $('#myForm').hide();
                    $('#form').append("<p class='thanks'>Your message has been sent.<br /> Please allow 3 working days for me to reply. Thanks! </p>")
                }
           });
         }
        });
});
