function sendForm()
{
	if(document.contact2.name.value == "") 
	{
		alert("Empty Name");
		document.contact2.name.focus();
		
		return false;
	}
	
	if(!checkMail()) 
	{
		alert("Invalid E-Mail address");
		document.contact2.email.focus();
		
		return false;
	} 
		
	if(document.contact2.phone.value == "") 
	{
		alert("Empty Telephone");
		document.contact2.phone.focus();
		
		return false;
	}
	
	if(document.contact2.type.value == "") 
	{
		alert("Empty Please describe briefly the type of help you need, and I’ll respond to you right away:");
		document.contact2.type.focus();
		
		return false;
	}
	
	return true;
}
  
function checkMail()
{
	var x = document.contact2.email.value;
	var filter  = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
	
	if (filter.test(x))  
		return true;
	else 
		return false;
}
