function submitBooking(){var _af5=document.BookingForm;if(!checkRequiredField(_af5.eventName,"Please enter the name of the Event or Organization.")){return;}if(!checkRequiredField(_af5.fname,"Please enter the contact's first name.")){return;}if(!checkRequiredField(_af5.lname,"Please enter the contact's last name.")){return;}if(!checkRequiredField(_af5.address1,"Please enter the address information.")){return;}if(!checkRequiredField(_af5.city,"Please enter the city.")){return;}if(!checkRequiredField(_af5.state,"Please select the state.")){return;}if(!checkRequiredField(_af5.zip,"Please enter the zip.")){return;}if(!checkRequiredField(_af5.phone1,"Please enter the phone information.")){return;}if(!checkRequiredField(_af5.email,"Please enter the email address.")){return;}if(!isValidEmail(_af5.email,"Please enter a valid email address.")){return;}if(!checkRequiredField(_af5.date1,"Please enter your first date preference.")){return;}if(!isValidDate(_af5.date1,"Invalid date for date preference 1.")){return;}if(!isEmpty(_af5.date2.value)){if(!isValidDate(_af5.date2,"Invalid date for date preference 2.")){return;}}if(!checkRequiredField(_af5.attendance,"Please enter the expected attendance.")){return;}if(parseInt(_af5.attendance.value)<=0){warnInvalid(_af5.attendance,"Please enter a valid value for the expected attendance.");return;}_af5.postBack.value="true";_af5.submit();}