     $(function() {  

			$('.error').hide();
			$(".button").click(function() {
			  // validate and process form here
		
			  $('.error').hide();
				var email = $("input#email").val();
				var emailReg = /^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*(\+[a-zA-Z0-9-]+)?@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*$/;
				if (email == "" || !emailReg.test(email)) {
				$("label#email_error").show();
				$("input#email").focus();
				return false;
			  }
				var zip = $("input#zip").val();
				var re = /^\d{5}([\-]\d{4})?$/;
				if (!(re.test(zip))) {
				$("label#zip_error").show();
				$("input#zip").focus();
				return false;
			  }
			  email = encodeURIComponent(email);
			  var dataString = 'email=' + email + '&zip=' + zip;
		  //alert (dataString);return false;
		  $.ajax({
			type: "POST",
			url: "/scripts/process.php",
			data: dataString,
			success: function() {
			  $('#contact_form').html("<div id='message'></div>");
			  $('#message').html("<h2>Email signup submitted!</h2>")
			  .append("<p>We will be in touch soon.</p>")
			}
		  });
		  return false;
		
			});

      });  
