
// Check Registration Form
function checkRenewal(theForm)
{
if (!checkPullDown(theForm.sMembershipType,"Please select a Membership Type", "yes"))	{
	return false;
}
if (!checkEmail(theForm.sUsername,"Please use a properly formatted email!", "yes"))	{
	return false;
}
return true;
}
// Check Registration Form


// Check Registration Form
function checkRegisterEdit(theForm)
{

if (theForm.sPassword.value != "" || theForm.sPassword2.value != "")
{
if (!checkText(theForm.sPassword,"Please fill in the \"Password\" field!", "yes"))	{
	return false;
}
if (!checkText(theForm.sPassword2,"Please fill in the \"Confirm Password\" field!", "yes"))	{
	return false;
}
 	  if (theForm.sPassword.value != theForm.sPassword2.value)
 	 {
  	  alert("Your passwords do not match.  Please re-confirm your password.");
  	  theForm.sPassword2.focus();
  	  return (false);
 	 }
}
	 
if (!checkText(theForm.sName,"Please fill in the \"Full Name\" field!", "yes"))	{
	return false;
}
if (!checkText(theForm.sAddress,"Please fill in the \"Address - 1\" field!", "yes"))	{
	return false;
}
if (!checkText(theForm.sCity,"Please fill in the \"City\" field!", "yes"))	{
	return false;
}
if (!checkText(theForm.sState,"Please fill in the \"State\" field!", "yes"))	{
	return false;
}
if (!checkText(theForm.sZip,"Please fill in the \"Zip\" field!", "yes"))	{
	return false;
}
if (!checkText(theForm.sPhone,"Please fill in the \"Phone\" field!", "yes"))	{
	return false;
}
if (!checkDate(theForm.dDob,"Please fill in the \"DOB\" field!", "no"))	{
	return false;
}
return true;
}
// Check Registration Form


// Check Registration Form
function checkRegister(theForm)
{
if (!checkPullDown(theForm.sMembershipType,"Please select a Membership Type", "yes"))	{
	return false;
}
if (!checkEmail(theForm.sUsername,"Please use a properly formatted email!", "yes"))	{
	return false;
}
if (!checkText(theForm.sForumUsername,"Please fill in the \"Forum Username\" field!", "yes"))	{
	return false;
}
if (!checkText(theForm.sPassword,"Please fill in the \"Password\" field!", "yes"))	{
	return false;
}
if (!checkText(theForm.sPassword2,"Please fill in the \"Confirm Password\" field!", "yes"))	{
	return false;
}
 	  if (theForm.sPassword.value != theForm.sPassword2.value)
 	 {
  	  alert("Your passwords do not match.  Please re-confirm your password.");
  	  theForm.sPassword2.focus();
  	  return (false);
 	 }
if (!checkText(theForm.sName,"Please fill in the \"Full Name\" field!", "yes"))	{
	return false;
}
if (!checkText(theForm.sAddress,"Please fill in the \"Address - 1\" field!", "yes"))	{
	return false;
}
if (!checkText(theForm.sCity,"Please fill in the \"City\" field!", "yes"))	{
	return false;
}
if (!checkText(theForm.sState,"Please fill in the \"State\" field!", "yes"))	{
	return false;
}
if (!checkText(theForm.sZip,"Please fill in the \"Zip\" field!", "yes"))	{
	return false;
}
if (!checkText(theForm.sPhone,"Please fill in the \"Phone\" field!", "yes"))	{
	return false;
}
if (!checkDate(theForm.dDob,"Please fill in the \"DOB\" field!", "no"))	{
	return false;
}
return true;
}
// Check Registration Form

