<!--
function validate_form(theForm)
{
	if (theForm.Name.value.length < 5 || theForm.Name.value.length > 45)
	{
		alert("Please enter a valid Name (4-45 characters)");
		theForm.Name.focus();
		return false;
	}

	else
	if (theForm.DeliveryMethod.selectedIndex==0)
	{
		alert("Please select the delivery method");
		theForm.DeliveryMethod.focus();
		return false;
	}
	
	else
	if (theForm.RefillOne.value.length != 6)
	{
		alert("Please enter enter the 6 character Rx number in the First Refill box.");
		theForm.RefillOne.focus();
		return false;
	}

	else
	if (theForm.RefillTwo.value!='' && theForm.RefillTwo.value.length != 6)
	{
		alert("Please enter enter the 6 character Rx number in the Second Refill box.");
		theForm.RefillTwo.focus();
		return false;
	}

	else
	if (theForm.RefillTwo.value!='' && theForm.RefillTwo.value.length != 6)
	{
		alert("Please enter enter the 6 character Rx number in the Second Refill box.");
		theForm.RefillTwo.focus();
		return false;
	}

	else
	if (theForm.RefillThree.value!='' && theForm.RefillThree.value.length != 6)
	{
		alert("Please enter enter the 6 character Rx number in the Third Refill box.");
		theForm.RefillThree.focus();
		return false;
	}

	else
	if (theForm.RefillFour.value!='' && theForm.RefillFour.value.length != 6)
	{
		alert("Please enter enter the 6 character Rx number in the Fourth Refill box.");
		theForm.RefillFour.focus();
		return false;
	}

	else
	if (theForm.RefillFive.value!='' && theForm.RefillFive.value.length != 6)
	{
		alert("Please enter enter the 6 character Rx number in the Fifth Refill box.");
		theForm.RefillFive.focus();
		return false;
	}

	else
	if (theForm.RefillSix.value!='' && theForm.RefillSix.value.length != 6)
	{
		alert("Please enter enter the 6 character Rx number in the Sixth Refill box.");
		theForm.RefillSix.focus();
		return false;
	}
	
	else
	if (theForm.RefillSeven.value!='' && theForm.RefillSeven.value.length != 6)
	{
		alert("Please enter enter the 6 character Rx number in the Seventh Refill box.");
		theForm.RefillSeven.focus();
		return false;
	}

	else return true;
}
//-->
