function reqform()
{
	if(document.prfirm.firstname.value=="")
	{
		alert("Please Enter First Name.");
		document.prfirm.firstname.focus();
		return false;
	}
	if(document.prfirm.lastname.value=="")
	{
		alert("Please Enter Last Name.");
		document.prfirm.lastname.focus();
		return false;
	}
	if(document.prfirm.title.value=="")
	{
		alert("Please Enter Job Title.");
		document.prfirm.title.focus();
		return false;
	}
	if(document.prfirm.company.value=="")
	{
		alert("Please Enter Company.");
		document.prfirm.company.focus();
		return false;
	}
	if (document.prfirm.phone.value=="")
	{
		alert ("Please Enter Phone.")
		document.prfirm.phone.focus()
		return false;
	}
	var checkOK = "0123456789-,+";
	var checkStr = document.prfirm.phone.value;
	var allValid = true;
	var decPoints = 0;
	var allNum = "";
	for (i = 0;  i < checkStr.length;  i++)
	{
	ch = checkStr.charAt(i);
	for (j = 0;  j < checkOK.length;  j++)
	if (ch == checkOK.charAt(j))
	break;
	if (j == checkOK.length)
	{
	allValid = false;
	break;
	}
	if (ch != ",")
	allNum += ch;
	}
	if (!allValid)
	{
	alert("Please enter only digits in Phone.");
	document.prfirm.phone.focus();
	document.prfirm.phone.select();
	return false;
	}
if (document.prfirm.email.value=="")
	{
		alert ("Please Enter Email.")
		document.prfirm.email.focus()
		return false
	}
if(document.prfirm.email.value.indexOf("@")==-1)
	{
			alert (" Email Address should be in the form of xyz@domainname ");
			document.prfirm.email.focus()
			return false;
	}
if(document.prfirm.email.value.indexOf(".")==-1)
	{
		alert (" Email Address should be in the form of xyz@domainname.com ");
		document.prfirm.email.focus()
		return false;
	}
	if(document.prfirm.questions.value=="")
	{
		alert("Please Enter Comments.");
		document.prfirm.questions.focus();
		return false;
	}
	return true;
}