function hideSections()
	{
	$("#webDesignSection").css("display", "none");
	$("#eCommerceSection").css("display", "none");
	$("#seoSection").css("display", "none");
	$("#logoDesignSection").css("display", "none");
	}
	
function checkChecked()
	{
// Web Design
	if(document.getElementById('formail').webDesign.checked == true)
			{
				$("#webDesignSection").fadeIn("slow");
			}
	else	{
				$("#webDesignSection").fadeOut("slow");
			}

// E-Commerce
	if(document.getElementById('formail').eCommerce.checked == true)
			{
				$("#eCommerceSection").fadeIn("slow");
			}
	else	{
				$("#eCommerceSection").fadeOut("slow");
			}
	

// SEO
	if(document.getElementById('formail').seo.checked == true)
			{
				$("#seoSection").fadeIn("slow");
			}
	else	{
				$("#seoSection").fadeOut("slow");
			}
	

// Logo Design
	if(document.getElementById('formail').logoDesign.checked == true)
			{
				$("#logoDesignSection").fadeIn("slow");
			}
	else	{
				$("#logoDesignSection").fadeOut("slow");
			}
	}
	
///////////////////////
// Contact Form AJAX //
///////////////////////

 $(document).ready(function(){				// When Document Ready
	$("#sendmail").click(function(){		// When Element with ID #sendmail is clicked
		
		// Set Variables
		var valid = '';		// Set validation variable to empty
		var isr = ' is required.';		// Set 'is required' profix for errors
		var name = $("#name").val();	// Set 'name' variable as '#name' value
		var mail = $("#mail").val();	// Set 'mail' variable as '#mail' value
		var company = $("#company").val();		// Set 'company' variable as '#company' value
		var phone = $("#phone").val();		// Set 'phone' variable as '#phone' value
		var text = $("#text").val();		// Set 'text' variable as '#text' value
		var website = $("#website").val();	// Set 'website' variable as '#website' value
		var webDesignDesc = $("#webDesignDesc").val();
		var eCommerceDesc = $("#eCommerceDesc").val();
		var seoDesc = $("#seoDesc").val();
		var logoDesignDesc = $("#logoDesignDesc").val();
		var budget = $("#budget").val();
		var deadline = $("#deadline").val();
		var antispam = $("#enquiry").val();		// Set 'antispam' as '#enquiry' value (should be empty if spambot)
		
		 
		// Validation
		if (antispam.length>0)		// Check antispam (#enquiry) is empty
			{	
			valid += '<br /><b>WE DO NOT ACCEPT SPAM!</b>';		// Create error for field
			}
		if (name.length<1)	// If name length is less than 1, create error and highlight field in red
			{
			valid += '<br /><em><b>Full Name</b></em>'+isr;
			$("#name").css("border", "1px dotted red");
			}
		if (phone.length<1)	// If phone length is less than 1, create error and highlight field in red
			{
			valid += '<br /><em><b>Phone</b></em>'+isr;
			$("#phone").css("border", "1px dotted red");
			}
		if (!mail.match(/^([a-z0-9._-]+@[a-z0-9._-]+\.[a-z]{2,4}$)/i))	// If email format incorrect, create error and highlight field in red
			{
			valid +=