	// Verify that required data exists prior
	// to submitting page back to server.
	function do_submit() {

    var buttonwaspressed = false;


    	// MUST ENTER NAME
		if( theform.name.value.length == 0) {
			alert( "Please enter your Name.");
			theform.name.focus();
			return;
		}

    	// WANTS E-MAIL CONTACT
		if (theform.contact_email.checked == true) {
    		if(theform.emailaddress.value.length == 0) {
    			alert("Please enter your E-mail Address.");
    			theform.emailaddress.focus();
    			return;
    		}
		}


    	// WANTS PHONE CONTACT
		if (theform.contact_phone.checked == true) {
    		if(theform.homephone.value.length == 0) {
        		if(theform.officephone.value.length == 0) {
        			alert("Please enter your Home Phone or Office Phone.");
        			theform.homephone.focus();
        			return;
        		}
    		}
		}

    	// WANTS U.S. MAIL CONTACT
		if (theform.contact_usmail.checked == true) {
    		if(theform.streetaddress.value.length == 0) {
    			alert("Please enter your Street Address.");
    			theform.streetaddress.focus();
    			return;
    		}
    		if(theform.city.value.length == 0) {
    			alert("Please enter your City.");
    			theform.city.focus();
    			return;
    		}
    		if(theform.zipcode.value.length == 0) {
    			alert("Please enter your Postal/Zip Code.");
    			theform.zipcode.focus();
    			return;
    		}
		}

    	// WANTS NO CONTACT
		if (theform.contact_phone.checked == false) {
    		if(theform.contact_email.checked == false) {
        		if(theform.contact_usmail.checked == false) {
    			alert("Please indicate at least one Contact Method.");
    			theform.contact_email.focus();
    			return;
        		}
            }
		}

    	// WANTS TO BE IN BIRTHDAY CLUB
		if ((theform.bday_club.checked == true) && (theform.yourbday.value.length == 0)) {
			alert("To be in the Birthday Club, we need to have your Birthday.");
			theform.yourbday.focus();
			return;
		}


    	// WANTS TO BE ON MAILING LIST
		if (theform.mailing_list.checked == true) {
       		if(theform.emailaddress.value.length == 0) {
           		if(theform.streetaddress.value.length == 0) {
       			alert("You have indicated that you would like to be added to our mailing list. Please enter either U.S. Mail or E-mail contact information.");
       			theform.streetaddress.focus();
       			return;
        		}
            }
    	}

		if (theform.mailing_list.checked == true) {
       		if(theform.emailaddress.value.length == 0) {
           		if(theform.city.value.length == 0) {
       			alert("Please enter your City.");
       			theform.city.focus();
       			return;
        		}
            }
    	}

		if (theform.mailing_list.checked == true) {
       		if(theform.emailaddress.value.length == 0) {
           		if(theform.zipcode.value.length == 0) {
       			alert("Please enter your Postal/Zip Code.");
       			theform.zipcode.focus();
       			return;
        		}
            }
    	}





	buttonwaspressed = true;
	theform.submit();

   	}

