// Verify monthly charge account form
function verifyCharge() {
    try {
	    if (document.getElementById('billing').value == "") {
            alert("The Paymnet Method field is required.");
	        document.getElementById('billing').focus();
	        return false;
	    }
		if (document.getElementById('fullname').value == "") {
            alert("The Full Name field is required.");
	        document.getElementById('fullname').focus();
	        return false;
	    }
		if (document.getElementById('address').value == "") {
            alert("The address field is required.");
	        document.getElementById('address').focus();
	        return false;
	    }
		if (document.getElementById('city').value == "") {
            alert("The city field is required.");
	        document.getElementById('city').focus();
	        return false;
	    }
		if (document.getElementById('zip').value == "") {
            alert("The zip code field is required.");
	        document.getElementById('zip').focus();
	        return false;
	    }
		if (document.getElementById('hphone').value == "") {
            alert("The home phone field is required.");
	        document.getElementById('hphone').focus();
	        return false;
	    }
		if (document.getElementById('wphone').value == "") {
            alert("The work phone field is required.");
	        document.getElementById('wphone').focus();
	        return false;
	    }
		if (document.getElementById('store').value == "") {
            alert("The store field is required.");
	        document.getElementById('store').focus();
	        return false;
	    }
		if (document.getElementById('card_type').value == "") {
            alert("The card type field is required.");
	        document.getElementById('card_type').focus();
	        return false;
	    }
		if (document.getElementById('card_number').value == "") {
            alert("The card number field is required.");
	        document.getElementById('card_number').focus();
	        return false;
	    }
		if (document.getElementById('exp_month').value == "") {
            alert("The expiration month field is required.");
	        document.getElementById('exp_month').focus();
	        return false;
	    }
		if (document.getElementById('exp_year').value == "") {
            alert("The expiration year field is required.");
	        document.getElementById('exp_year').focus();
	        return false;
	    }
		if (document.getElementById('card_name').value == "") {
            alert("The card name field is required.");
	        document.getElementById('card_name').focus();
	        return false;
	    }
	    return true;
	}
	catch(e) {
		alert(e.message);
		return false;
	}
}


// Verify employment form
function verifyEmploy() {
    try {
		if (document.getElementById('fullname').value == "") {
            alert("Your Full Name is required.");
	        document.getElementById('fullname').focus();
	        return false;
	    }
		if (document.getElementById('ssn').value == "") {
            alert("The Social Security Number is required.");
	        document.getElementById('ssn').focus();
	        return false;
	    }
		if (document.getElementById('present_address').value == "") {
            alert("Your present address is required.");
	        document.getElementById('present_address').focus();
	        return false;
	    }
		if (document.getElementById('phone').value == "") {
            alert("Your phone number is required.");
	        document.getElementById('phone').focus();
	        return false;
	    }
		if (!(document.employment.over_18[0].checked) && !(document.employment.over_18[1].checked)) {
            alert("You must indicate if you are over 18 years old.");
	        document.employment.over_18[0].focus();
	        return false;
	    }
		if (document.getElementById('email').value == "") {
            alert("Your email address is required.");
	        document.getElementById('email').focus();
	        return false;
	    }
		if (!(document.employment.felony[0].checked) && !(document.employment.felony[1].checked)) {
            alert("You must indicate if you have been convicted of a felony.");
	        document.employment.felony[0].focus();
	        return false;
	    }
		if (document.getElementById('date').value == "") {
            alert("you must enter a date.");
	        document.getElementById('date').focus();
	        return false;
	    }
		if (document.getElementById('initials').value == "") {
            alert("You must enter your initials.");
	        document.getElementById('initials').focus();
	        return false;
	    }
	    return true;
	}
	catch(e) {
		alert(e.message);
		return false;
	}
}

// Verify newsletter
function verifyNews() {
    try {
	    if (document.getElementById('name').value == "") {
            alert("The name field is required.");
	        document.getElementById('name').focus();
	        return false;
	    }
		if (document.getElementById('email').value == "") {
            alert("The Email field is required.");
	        document.getElementById('email').focus();
	        return false;
	    }
	    return true;
	}
	catch(e) {
		alert(e.message);
		return false;
	}
}


// Verify VIP express
function verifyVIP() {
    try {
	    if (document.getElementById('name').value == "") {
            alert("The name field is required.");
	        document.getElementById('name').focus();
	        return false;
	    }
		if (document.getElementById('address1').value == "") {
            alert("The Address field is required.");
	        document.getElementById('address1').focus();
	        return false;
	    }
		if (document.getElementById('address2').value == "") {
            alert("The City, State, and Zip are required.");
	        document.getElementById('address2').focus();
	        return false;
	    }
		if (document.getElementById('hphone').value == "") {
            alert("The Home Phone field is required.");
	        document.getElementById('hphone').focus();
	        return false;
	    }
		if (document.getElementById('wphone').value == "") {
            alert("The Work Phone field is required.");
	        document.getElementById('wphone').focus();
	        return false;
	    }
		if (document.getElementById('email').value == "") {
            alert("The Email field is required.");
	        document.getElementById('email').focus();
	        return false;
	    }
		if (document.getElementById('store').value == "") {
            alert("You must select a store.");
	        document.getElementById('store').focus();
	        return false;
	    }
	    return true;
	}
	catch(e) {
		alert(e.message);
		return false;
	}
}


// Verify Contact form
function verifyContact() {
    try {
	    if (document.getElementById('name').value == "") {
            alert("The name field is required.");
	        document.getElementById('name').focus();
	        return false;
	    }
		if (document.getElementById('email').value == "") {
            alert("The Email field is required.");
	        document.getElementById('email').focus();
	        return false;
	    }
	    return true;
	}
	catch(e) {
		alert(e.message);
		return false;
	}
}

// Verify pickup form
function verifyPickup() {
    try {
	    if (document.getElementById('name').value == "") {
            alert("The name field is required.");
	        document.getElementById('name').focus();
	        return false;
	    }
		if (document.getElementById('address1').value == "") {
            alert("The Address field is required.");
	        document.getElementById('address1').focus();
	        return false;
	    }
		if (document.getElementById('address2').value == "") {
            alert("The City, State, and Zip field is required.");
	        document.getElementById('address2').focus();
	        return false;
	    }
		if (document.getElementById('email').value == "") {
            alert("The Email field is required.");
	        document.getElementById('email').focus();
	        return false;
	    }
	    return true;
	}
	catch(e) {
		alert(e.message);
		return false;
	}
}

// Verify wedding form
function verifyWedding() {
    try {
	    if (document.getElementById('name').value == "") {
            alert("The name field is required.");
	        document.getElementById('name').focus();
	        return false;
	    }
		if (document.getElementById('address1').value == "") {
            alert("The Address field is required.");
	        document.getElementById('address1').focus();
	        return false;
	    }
		if (document.getElementById('address2').value == "") {
            alert("The City, State, and Zip field is required.");
	        document.getElementById('address2').focus();
	        return false;
	    }
		if (document.getElementById('email').value == "") {
            alert("The Email field is required.");
	        document.getElementById('email').focus();
	        return false;
	    }
		if (document.getElementById('wedding_date').value == "") {
            alert("The wedding date field is required.");
	        document.getElementById('wedding_date').focus();
	        return false;
	    }
	    return true;
	}
	catch(e) {
		alert(e.message);
		return false;
	}
}

