function validate()
{
	if(document.form_index.email.value == "")
	{
		alert("Email can not be blank");
		document.form_index.email.focus();
		return false;
	}
	else if (form_index.email.value.indexOf("@")==-1 || form_index.email.value.indexOf(".")==-1 ) 
	{ 
       alert("The specified Email Address seems to be invalid")
   	   form_index.email.select()
	   return false
	}
	else if(document.form_index.phone.value == "")
	{
		alert("Phone No. can not be blank");
		document.form_index.phone.focus();
		return false;
	}
	else if(document.form_index.company.value == "")
	{
		alert("Comapany name can not be blank");
		document.form_index.company.focus();
		return false;
	}
	else if(document.form_index.requirement.value == "")
	{
		alert("Requirement can not be blank");
		document.form_index.requirement.focus();
		return false;
	}

	document.form_index.submit();
}
