function checkform(LongForm)
{

if (document.LongForm.fullname.value=="") {
alert("Please enter full name.");document.LongForm.fullname.focus();return false
}

if (document.LongForm.email.value=="") {
alert("Please enter your email address.");document.LongForm.email.focus();return false
}

if(document.LongForm.email.value.indexOf('@', 0) == -1){
alert("Please enter a valid email address.");document.LongForm.email.focus();return false
}

if(document.LongForm.email.value.indexOf('.', 0) == -1){
alert("Please enter a valid email address.");document.LongForm.email.focus();return false
}

if (document.LongForm.attnyname.value=="") {
alert("Please enter attorney name.");document.LongForm.attnyname.focus();return false
}




if (document.LongForm.hphone.value=="") {
alert("Please enter home phone.");document.LongForm.hphone.focus();return false
}


if (document.LongForm.signame.value=="") {
alert("Please enter signature name.");document.LongForm.signame.focus();return false
}


if (document.LongForm.sigdate.value=="") {
alert("Please enter signature date.");document.LongForm.sigdate.focus();return false
}




	if (!document.LongForm.authorize.checked) {
	// box is not checked
	alert("Please check the authorization checkbox at the bottom to continue.");
	return false;
}
	

	return true;
}