function sendcontact()
	{
		var nogo = false;
		$(".required").each(function() {
			if ($(this).val() == '') 
			{
				$("#emsg").html("please fill in all fields").slideDown("fast",null);
				$(".required").click(function() {
					$("#emsg").slideUp("fast",null);
				});
				nogo = true;
			}
		});
		
		if (!echeck($("#c_email").val())) 
  	    {
			$("#emsg").html("please enter a valid email address").slideDown("fast",null);
			nogo = true;
		}
		if (!nogo)
		{
			$(".required").unbind('click');
			$("#emsg").html("sending...").slideDown("fast",null);
			var str = $("input, textarea").serialize();
			$.ajax({
				type: "POST",
				url:  "/ajax/sendcontact.php",
				data: str,
				success: function(resp)
				{
					var contactformtext = "<div class='etitle'>your message has been sent - thank you!</div><div class='ebody'>we will get back to you as soon as possible, but in the meantime please read through our <a href='/faq' class='blue'>Frequently Asked Questions</a> section where we have compiled the questions we are most commonly asked regarding web site design, programming, hosting, and a variety of other technology related topics. enjoy! thanks again for taking the time to contact us. <img style='padding-left:100px; padding-top:0px;' src='/images/contact/sig.jpg' alt='' /></div>";
					$("#cform").slideUp("slow",function() {
						$("#emsg").slideUp("fast",null).html(contactformtext).slideDown("fast",null);
					});
					$("#consubmit a").css({"display":"none"});
					
				}
			});
		}
	}