function  verify(theForm)
{

	//Verify First Name has a value
	var x = 0;
	if  (document.theForm.Ship_Name.value.length==0)
	{
		x += 1;
  		alert("Ship To Name is required.");
		return (false);
	}


	//Verify Last Name has a value
	if  (document.theForm.Ship_Address.value.length==0)
	{
		x+=1;
   		alert("Ship To Address is required.");
		return (false);
	}



	return(true);
}




function  verify2(theForm)
{

	//Verify Name has a value
	var x = 0;
	if  (document.theForm.FirstName.value.length==0)
	{
		x += 1;
  		alert("Name is required.");
		return (false);
	}


	//Verify Phone has a value
	if  (document.theForm.Phone1.value.length==0&&document.theForm.Phone2.value.length==0&&document.theForm.Phone3.value.length==0)
	{
		x+=1;
		alert("Phone is required.");
		return (false);
	}
	else
	{
	//Verify Phone Format
		if  (document.theForm.Phone1.value.length!=3||document.theForm.Phone2.value.length!=3||document.theForm.Phone3.value.length!=4)
		{
			x+=1;
			alert("Phone Number is invalid.");
			return (false);
		}
	}


	return(true);
}

