$(function() {

  $("#submit").click(function() {
		
		var dataString = $("#contact_form form").serialize() + '&submit=';
		//alert (dataString);return false;
		
		$.ajax({
      type: "POST",
      url: "contact.php",
      data: dataString,
      success: function() {
        $('#contact_form').html("<h2>Thanks for contacting us!</h2>")
        .append("<p>We will be in touch soon</p>")
        .hide()
        .fadeIn(1500, function() {});
      }
     });
    return false;
	});
});
