function valbutton(thisform) 
{
	// place any other field validations that you require here
	// validate myradiobuttons
	myOption = -1;
	for (i=thisform.NearestStore.length-1; i > -1; i--) 
	{
		if (thisform.NearestStore[i].checked) 
		{
			myOption = i; i = -1;
		}
	}
	if (myOption == -1) 
	{
		alert("Please select your nearest store.");
		return false;
	}
	else
	{
		return true;
	}
}

  function validate_Form(formName)
  {
	if (formName.Name.value.length < 1)
	{
		alert ("You must fill out your name");
		return false;
	}
	if (formName.Address.value.length < 1)
	{
		alert ("You must fill out your address.");
		return false;
	}
	else if (document.getElementById("phone2").value.length < 1)
	{
		alert ("You must fill out your phone number.");
		return false;
	}
	else if (document.getElementById("dob2").value.length < 1)
	{
		alert ("You must fill out your date of birth.");
		return false;
	}
	else if (document.getElementById("amount2").value.length < 1)
	{
		alert ("You must fill out the requested loan amount.");
		return false;
	}
	//else if (!echeck(document.getElementById("Email Address").value))
	//{
	//	return false;
	//}
	
	return valbutton(formName);
  }
						  
						  
			  
