function Validate()
{
	var Msg="";

	if (document.getElementById("companyname").value.length == 0)
	{ Msg=Msg + "* Your Company Name\n"; }

	if (document.getElementById("firstname").value.length == 0)
	{ Msg=Msg + "* Your First Name\n"; }

	if (document.getElementById("lastname").value.length == 0)
	{ Msg=Msg + "* Your Last Name\n"; }

	if (document.getElementById("address").value.length == 0)
	{ Msg=Msg + "* Your Address\n"; }

	if(document.getElementById("city").value.length == 0)
	{ Msg=Msg + "* Your City\n"; }

	if (((document.getElementById("country").options[document.getElementById("country").selectedIndex].value == 217) ||
	(document.getElementById("country").options[document.getElementById("country").selectedIndex].value == 33)) &&
	(document.getElementById("state").options[document.getElementById("state").selectedIndex].value == ""))
	{ Msg=Msg + "* Your U.S. State / Canadian Province\n"; }

	if (document.getElementById("country").options[document.getElementById("country").selectedIndex].value == "")
	{ Msg=Msg + "* Your Country\n"; }

	if (document.getElementById("postalcode").value.length == 0)
	{ Msg=Msg + "* Your Zip / Postal Code\n"; }

	if (document.getElementById("phone").value.length == 0)
	{ Msg=Msg + "* Your Phone Number\n"; }

	if (document.getElementById("email").value.length == 0)
	{ Msg=Msg + "* Your Email Address\n"; }

	if (Msg == "")
	{
		if ((Msg == "") && (document.getElementById("email").value.indexOf("@") == -1))
		{ Msg=Msg + "* Your Email Address\n"; }

		else if ((Msg == "") && (document.getElementById("email").value.indexOf(".") == -1))
		{ Msg=Msg + "* Your Email Address\n"; }

		else if ((Msg == "") && (document.getElementById("email").value.length < 7))
		{ Msg=Msg + "* Your Email Address\n"; }
	}

	if (document.getElementById("taxid").value.length == 0)
	{ Msg=Msg + "* Your U.S. Tax ID\n"; }

	if (document.getElementById("bankname").value.length == 0)
	{ Msg=Msg + "* Your Bank Name\n"; }

	if (document.getElementById("currentdistributor").value.length == 0)
	{ Msg=Msg + "* Your Current Primary Pet Products Distributor\n"; }

	if (document.getElementById("accountpassword").value.length == 0)
	{ Msg=Msg + "* Your Desired Account Password\n"; }

	else if (document.getElementById("accountpassword").value.length < 6)
	{ Msg=Msg + "* Your Account Password Must Have Six Characters Minimum\n"; }

	if (Msg != "")
	{ alert('Sorry, but before proceeding, you\nmust fill-in the following field(s):\n\n' + Msg); }

	else
     { return true; }

	return false;
}

document.getElementById("signupfrm").onsubmit=Validate;