// JavaScript Document

function Checkdata()
{
	//alert("I am here");
	if(document.contactform.name.value < "4")
	{
		alert("Please enter your full name.");
		document.contactform.name.focus()
	} 
	
	else if(document.contactform.email.value < 5)
	{
		alert("Please provide your email address.");
		document.contactform.email.focus()
	} 	
	
	else if(document.contactform.phone.value < 6)
	{
		alert("Please provide a correct phone number, including area code. e.i: (###)-###-####");
		document.contactform.phone.focus()
	} 
	
	else 
	{
		submitForm();
	}
}

function submitForm()
{
	document.contactform.submit();
}