function checkForm()
{
	var Name = document.getElementById('Name').value
	var Telephone = document.getElementById('Telephone').value
	var Comment = document.getElementById('Comment').value
	
	if((Name != '') && (Telephone != '') && (Comment != ''))
	{
		document.getElementById('Send').disabled = false;
	}
}

function sendMail()
{
	$.post("sendmail.php", $("#MailForm").serialize());
	alert('Thank you.  Your message has been sent.');
	
	document.getElementById('Name').value='';
	document.getElementById('Telephone').value='';
	document.getElementById('Email').value='';
	document.getElementById('Comment').value='';
	
	hideDiv('Contact');
	
	document.getElementById('Send').disabled = true;
}
