		function changePostocdeAnywhereFields()
		{
			if(document.getElementById('yesPostcodeAnywhere').checked)
			{
				showPostocdeAnywhereFields();
			}
			else
			{
				hidePostocdeAnywhereFields();
			}
		}

		function hidePostocdeAnywhereFields()
		{			
			// Hide the postcode selector div
			var elPostcodeLookUpDiv = document.getElementById('postcodeLookUpDiv');
			elPostcodeLookUpDiv.style.display = 'none';
			
			// Hide the free text country field div
			var elCountryFreeTextDiv = document.getElementById('countryFreeTextDiv');
			elCountryFreeTextDiv.style.display = 'none';
			
			// Hide the county label div
			var elCountyLabelDiv = document.getElementById('countyLabelDiv');
			elCountyLabelDiv.style.display = 'none';
			
			// Clear free text country field value
			var elCountry = document.getElementById('country');
			elCountry.value= "";
			
			// Make the free text country field value no required
			unset_required(['country']);
								
			// Show the selectable country field div
			var elCountrySelectDiv = document.getElementById('countrySelectDiv');
			elCountrySelectDiv.style.display = 'block';
			
			// Show the state label div
			var elStateLabelDiv = document.getElementById('stateLabelDiv');
			elStateLabelDiv.style.display = 'block';
			
			// Make the selectable country field required
			set_required(['countrySelect']);
		}
						
		
		function showPostocdeAnywhereFields()
		{
			// Show the postcode lookup field div
			var elPostcodeLookUpDiv = document.getElementById('postcodeLookUpDiv');
			elPostcodeLookUpDiv.style.display = 'block';
					
			// Show the free text country field div
			var elCountryFreeTextDiv = document.getElementById('countryFreeTextDiv');
			elCountryFreeTextDiv.style.display = 'block';
			
			// Show the county label div
			var elCountyLabelDiv = document.getElementById('countyLabelDiv');
			elCountyLabelDiv.style.display = 'block';
			
			// Make the free text country field required
			set_required(['country']);			
			
			// Hide the selectable country field div
			var elCountrySelectDiv = document.getElementById('countrySelectDiv');
			elCountrySelectDiv.style.display = 'none';
			
			// Hide the state label div
			var elStateLabelDiv = document.getElementById('stateLabelDiv');
			elStateLabelDiv.style.display = 'none';
			
			// Clear the selectable country field 
			var elCountry = document.getElementById('country');
			elCountry.value= "";
			
			// Make the selectable country field not required
			unset_required(['countrySelect']);
			
		}
		
		function changeDestinationOtherFields()
		{
			if(document.getElementById('destinationOther').checked)
			{
				showDestinationOther();
			}
			else
			{
				hideDestinationOther();
			}
		}
		
		function hideDestinationOther()
		{			
			// Hide the destination other div
			var elDestinationOtherDiv = document.getElementById('destinationOtherDiv');
			elDestinationOtherDiv.style.display = 'none';
						
			// Clear destination other field value
			var elDestinationOtherInput = document.getElementById('destinationOtherInput');
			elDestinationOtherInput.value= "";
			
			// Make destination other field not required
			unset_required(['destinationOtherInput']);								
		}
		
		function showDestinationOther()
		{
			// Show the destination other div
			var elDestinationOtherDiv = document.getElementById('destinationOtherDiv');
			elDestinationOtherDiv.style.display = 'block';
						
			// Make destination other field required
			set_required(['destinationOtherInput']);											
		}
		
		
		
		function changeHolidayTypeOtherFields()
		{
			if(document.getElementById('holidayTypeOther').checked)
			{
				showHolidayTypeOther();
			}
			else
			{
				hideHolidayTypeOther();
			}
		}
		
		function hideHolidayTypeOther()
		{			
			// Hide the holidayType other div
			var elHolidayTypeOtherDiv = document.getElementById('holidayTypeOtherDiv');
			elHolidayTypeOtherDiv.style.display = 'none';
						
			// Clear holidayType other field value
			var elHolidayTypeOtherInput = document.getElementById('holidayTypeOtherInput');
			elHolidayTypeOtherInput.value= "";
			
			// Make holidayType other field not required
			unset_required(['holidayTypeOtherInput']);								
		}
		
		function showHolidayTypeOther()
		{
			// Show the holidayType other div
			var elHolidayTypeOtherDiv = document.getElementById('holidayTypeOtherDiv');
			elHolidayTypeOtherDiv.style.display = 'block';
						
			// Make holidayType other field required
			set_required(['holidayTypeOtherInput']);											
		}
		
		
		function changeTravellersClubFields()
		{
			if(document.getElementById('joinClub').checked)
			{
				travellersClubChecked();
			}
			else
			{
				travellersClubUnChecked();
			}
		}
		
		function travellersClubUnChecked()
		{						
			unset_required(['emailAddr']);								
		}
		
		function travellersClubChecked()
		{						
			set_required(['emailAddr']);								
		}
