
	function validateQQ() {
		if ($('#quoteName').val() == '') {
			$('#quoteName').focus();
			alert('Please fill in your name');
			return false;
		}
	
		if (!checkEmail($('#quoteEmail').val())) {
			$('#quoteEmail').focus();
			alert('Please enter a valid email address');
			return false;
		}

		if ($('#quoteDescription').val() == '') {
			$('#quoteDescription').focus();
			alert('Please fill in a brief description');
			return false;
		}


	}

	function validateQuote() {
		if ($('#quoteName-form').val() == '') {
			$('#quoteName-form').focus();
			alert('Please fill in your name');
			return false;
		}
	
		if (!checkEmail($('#quoteEmail-form').val())) {
			$('#quoteEmail-form').focus();
			alert('Please enter a valid email address');
			return false;
		}

		if ($('#quoteDescription-form').val() == '') {
			$('#quoteDescription-form').focus();
			alert('Please fill in a brief description');
			return false;
		}

	}

	function validateContact() {
		if ($('#contactName').val() == '') {
			$('#contactName').focus();
			alert('Please fill in your name');
			return false;
		}
	
		if (!checkEmail($('#contactEmail').val())) {
			$('#contactEmail').focus();
			alert('Please enter a valid email address');
			return false;
		}

		if ($('#contactMessage').val() == '') {
			$('#contactMessage').focus();
			alert('Please fill in your message');
			return false;
		}

	}

	function checkEmail(strEmail) {
		var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
		if (!filter.test(strEmail)) {
			return false;
		}
		return true;
	}
