
		function resetForms() {

			// Clear highlighted fields
			clearHighlightedFields1();
			clearHighlightedFields2();

			// Clear field values
			clearFieldValues();

			// Go to top of page
			//scroll(0,0);

		}

		function clearFieldValues() {

			var form=document.Form001_BookAViking;
			form.Field001_Name.value='';
			form.Field002_Email.value='';
			form.Field003_Phone.value='';
			form.Field004_TypeOfEvent.value='';
			form.Field005_DateOfEvent.value='';
			form.Field006_FavoriteViking.selectedIndex=0;
			form.Field007_Comments.value='';

			form=document.Form002_ContactTheVikings;
			form.Field001_Name.value='';
			form.Field002_Email.value='';
			form.Field003_OrderNumber.value='';
			form.Field004_Comments.value='';

		}

		function clearHighlightedFields1() {

			var form=document.Form001_BookAViking;
			// Clear highlighted field backgrounds
			form.Field001_Name.style.backgroundColor='white';
			form.Field002_Email.style.backgroundColor='white';
			form.Field004_TypeOfEvent.style.backgroundColor='white';
			form.Field005_DateOfEvent.style.backgroundColor='white';

		}

		function clearHighlightedFields2() {

			var form=document.Form002_ContactTheVikings;
			// Clear highlighted field backgrounds
			form.Field001_Name.style.backgroundColor='white';
			form.Field002_Email.style.backgroundColor='white';
			form.Field004_Comments.style.backgroundColor='white';

		}

		function validateForm1() {
			var blnFormIsValid=true;
			var strTotalValidationError="There were problems with your form submission...\n\n";
			var strValidationErrorsReqFields="";
			var blnVolunteer1FieldsFilled=true;
			var strVolunteer1ReqFields="";
			var form=document.Form001_BookAViking;

			// Clear highlighted fields
			clearHighlightedFields1();

			// Check required fields
			if (form.Field001_Name.value.length==0) {blnFormIsValid=false; strValidationErrorsReqFields += "    - Your Name\n"; form.Field001_Name.style.backgroundColor='#ffff66';}
			if (form.Field002_Email.value.length==0) {blnFormIsValid=false; strValidationErrorsReqFields += "    - Your E-mail Address\n"; form.Field002_Email.style.backgroundColor='#ffff66';}
			if (form.Field004_TypeOfEvent.value.length==0) {blnFormIsValid=false; strValidationErrorsReqFields += "    - Type of Event\n"; form.Field004_TypeOfEvent.style.backgroundColor='#ffff66';}
			if (form.Field005_DateOfEvent.value.length==0) {blnFormIsValid=false; strValidationErrorsReqFields += "    - Date of Event\n"; form.Field005_DateOfEvent.style.backgroundColor='#ffff66';}

			// Check overall form validity and alert user if necessary
			//blnFormIsValid=true;
			if (!blnFormIsValid) {
				if (strValidationErrorsReqFields!="") {
					strTotalValidationError += "  * The following required fields were empty:\n" + strValidationErrorsReqFields + "\n";
				}

				strTotalValidationError += "Please make the necessary corrections and submit the form again."
				alert(strTotalValidationError);

			} else {

				// Submit the form
				form.submit();

				// Alert the user
				alert("Thank you very much for contacting us for your event!\n\nWe will be back in touch with you as soon as possible!");

			}
		}

		function validateForm2() {
			var blnFormIsValid=true;
			var strTotalValidationError="There were problems with your form submission...\n\n";
			var strValidationErrorsReqFields="";
			var blnVolunteer1FieldsFilled=true;
			var strVolunteer1ReqFields="";
			var form=document.Form002_ContactTheVikings;

			// Clear highlighted fields
			clearHighlightedFields2();

			// Check required fields
			if (form.Field001_Name.value.length==0) {blnFormIsValid=false; strValidationErrorsReqFields += "    - Your Name\n"; form.Field001_Name.style.backgroundColor='#ffff66';}
			if (form.Field002_Email.value.length==0) {blnFormIsValid=false; strValidationErrorsReqFields += "    - Your E-mail Address\n"; form.Field002_Email.style.backgroundColor='#ffff66';}
			if (form.Field004_Comments.value.length==0) {blnFormIsValid=false; strValidationErrorsReqFields += "    - Questions/Comments\n"; form.Field004_Comments.style.backgroundColor='#ffff66';}

			// Check overall form validity and alert user if necessary
			//blnFormIsValid=true;
			if (!blnFormIsValid) {
				if (strValidationErrorsReqFields!="") {
					strTotalValidationError += "  * The following required fields were empty:\n" + strValidationErrorsReqFields + "\n";
				}

				strTotalValidationError += "Please make the necessary corrections and submit the form again."
				alert(strTotalValidationError);

			} else {

				// Submit the form
				form.submit();

				// Alert the user
				alert("Thank you very much for contacting us!\n\nWe will be back in touch with you as soon as possible!");

			}
		}


