function helpyouvalidate(contact)
{
	if(contact.firstname.value=="")
	{
		alert("Please enter First Name");
		contact.firstname.focus();
		return false;
	}
	if(contact.lastname.value=="")
	{
		alert("Please enter Last Name");
		contact.lastname.focus();
		return false;
	}
	if(contact.email.value=="")
	{
		alert("Please enter Email");
		contact.email.focus();
		return false;
	}
	if(!isEmail(contact.email))
	{
		alert("Please enter valid Email");
		contact.email.focus();
		return false;
	}
	if(contact.lastname.value=="")
	{
		alert("Please enter Last Name");
		contact.lastname.focus();
		return false;
	}
	if(contact.company.value=="")
	{
		alert("Please enter Company");
		contact.company.focus();
		return false;
	}
	if(contact.title.value=="")
	{
		alert("Please enter Title");
		contact.title.focus();
		return false;
	}
	if(contact.industry.value=="")
	{
		alert("Please enter Industry");
		contact.industry.focus();
		return false;
	}
	if(contact.headquater.value=="")
	{
		alert("Please enter Headquater's location");
		contact.headquater.focus();
		return false;
	}

	if (contact.txtenter.value=="")
	{
		alert("Please enter your Message");
		contact.txtenter.focus();
		return false;
	}
	
	}

	function isEmail(eltObj)
{
	strValue	=	eltObj.value;
	var objRE	=	/^[a-z0-9]([a-z0-9_\-\.]*)@([a-z0-9_\-\.]*)(\.[a-z]{2,3}(\.[a-z]{2}){0,2})$/i;
	if(!objRE.test(strValue))
	{
		return false;
	}
	return true;
}