function validate(form) {
	//var theForm = document.getElementById(form);
	var enteredPromo = document.getElementById('promo').value.toUpperCase();
	var req = Spry.Widget.Form.validate(form);
	if(req) {
		//check promo code
		if(enteredPromo == "FWPRM" || enteredPromo == "FWPSH" || enteredPromo == "GRAVE" || enteredPromo == "FWPPW") {
			form.submit();
			return false;
		} else {
			document.getElementById('wrongPromo').innerHTML = 'Please enter a correct promotional code and try again. If you are trying to submit one for Gravesend type: GRAVE';
			return false;
		}
	} else {
		return false;
	}
	return false;
}