function checkBookingForm() {
	
	return 1;
	
	msg = new Array();
	
	prebooking = 0;
	if(typeof(document.getElementById('PreBooking')) == 'object') {
		check = document.getElementById('PreBooking');
		if(check != null) {
			if(check.value > 0) prebooking = 1;
		}
	}
	
	//PeriodBegin
	if(typeof(document.getElementById('PeriodBegin')) == 'object') {
		check = document.getElementById('PeriodBegin');
		if(typeof(check.options) != 'undefined') {
			if(check.options.length > 1 && !check.selectedIndex) {
				msg.push('Please specify your desired arrival date.');
			}
		}
	}
	
	//ChildrenDetails
	if(typeof(document.getElementById('Children')) == 'object') {
		check = document.getElementById('Children').value;
		if(check > 0) {
			if(typeof(document.getElementById('ChildrenDetails')) == 'object') {
				check = document.getElementById('ChildrenDetails').value;
				if(trim(check) == '') {
					msg.push('Please specify the ages of the children.');
				}
			}
		}
	}

	//PetsDetails
	if(typeof(document.getElementById('Pets')) == 'object') {
		check = document.getElementById('Pets').value;
		if(check > 0) {
			if(typeof(document.getElementById('PetsDetails')) == 'object') {
				check = document.getElementById('PetsDetails').value;
				if(trim(check) == '') {
					msg.push('Please specify the size/breed of the pets.');
				}
			}
		}
	}

	//FirstName
	check = null;
	if(typeof(document.getElementById('FirstName')) == 'object') {
		check = document.getElementById('FirstName').value;
	}
	if(check == null || trim(check) == '') {
		msg.push('Please enter your first name.');
	}
	
	//Name
	check = null;
	if(typeof(document.getElementById('Name')) == 'object') {
		check = document.getElementById('Name').value;
	}
	if(check == null || trim(check) == '') {
		msg.push('Please enter your surname.');
	}
	
	//Street
	check = null;
	if(typeof(document.getElementById('Street')) == 'object') {
		check = document.getElementById('Street').value;
	}
	if(check == null || trim(check) == '') {
		msg.push('Please enter the name of your street.');
	}
	
	//StreetNumber
	check = null;
	if(typeof(document.getElementById('StreetNumber')) == 'object') {
		check = document.getElementById('StreetNumber').value;
	}
	if(check == null || trim(check) == '') {
		msg.push('Please enter your house number.');
	}
	
	//Zipcode
	check = null;
	if(typeof(document.getElementById('Zipcode')) == 'object') {
		check = document.getElementById('Zipcode').value;
	}
	if(check == null || trim(check) == '') {
		msg.push('Please enter your postal (ZIP) code.');
	}
	
	//City
	check = null;
	if(typeof(document.getElementById('City')) == 'object') {
		check = document.getElementById('City').value;
	}
	if(check == null || trim(check) == '') {
		msg.push('Please enter the name of your town.');
	}
	
	//Email
	check = null;
	if(typeof(document.getElementById('Email')) == 'object') {
		check = document.getElementById('Email').value;
	}
	if(check == null || trim(check) == '' || !checkEmail(check)) {
		msg.push('Please enter your email address.');
	}
	
	//Phone / Workphone
	phone = 0;
	check = null;
	if(typeof(document.getElementById('Phone')) == 'object') {
		check = document.getElementById('Phone').value;
	}
	if(check == null || trim(check) == '') {
		phone++;
	}
	
	check = null;
	if(typeof(document.getElementById('Workphone')) == 'object') {
		check = document.getElementById('Workphone').value;
	}
	if(check == null || trim(check) == '') {
		phone++;
	}
	if(phone == 2) {
		msg.push('Please provide at least one telephone number.');
	}
	
	//Payment
	if(!prebooking && typeof(document.getElementById('Payment')) == 'object') {
		check = document.getElementById('Payment');
		if(check.options.length > 1 && !check.selectedIndex) {
			msg.push('Please specify the method of payment desired.');
		}
		
		if(check.value == 'creditcard') {

			//CreditCardType
			check = null;
			if(typeof(document.getElementById('CreditCardType')) == 'object') {
				check = document.getElementById('CreditCardType').value;
			}
			if(check == null || !check) {
				msg.push('Please specify the type of credit card.');
			}
		
			//CreditCardFirstname
			check = null;
			if(typeof(document.getElementById('CreditCardFirstname')) == 'object') {
				check = document.getElementById('CreditCardFirstname').value;
			}
			if(check == null || trim(check) == '') {
				msg.push('Please enter the first name of the credit card owner.');
			}
			
			//CreditCardLastname
			check = null;
			if(typeof(document.getElementById('CreditCardLastname')) == 'object') {
				check = document.getElementById('CreditCardLastname').value;
			}
			if(check == null || trim(check) == '') {
				msg.push('Please enter the surname of the credit card owner.');
			}
			
			//CreditCardNumber
			check = null;
			if(typeof(document.getElementById('CreditCardNumber')) == 'object') {
				check = document.getElementById('CreditCardNumber').value;
			}
			if(check == null || trim(check) == '') {
				msg.push('Please enter the credit card number.');
			}
			
			//CreditCardCvc
			check = null;
			if(typeof(document.getElementById('CreditCardCvc')) == 'object') {
				check = document.getElementById('CreditCardCvc').value;
			}
			if(check == null || trim(check) == '') {
				msg.push('Please enter the security code on the credit card.');
			}
			
			//CreditCardExpiryMonth
			expiry = 0;
			check = null;
			if(typeof(document.getElementById('CreditCardExpiryMonth')) == 'object') {
				check = document.getElementById('CreditCardExpiryMonth');
			}
			if(check == null || !check.selectedIndex) {
				msg.push('Please enter the expiration date.');
				expiry++;
			}
			
			//CreditCardExpiryYear
			check = null;
			if(typeof(document.getElementById('CreditCardExpiryYear')) == 'object') {
				check = document.getElementById('CreditCardExpiryYear');
			}
			if(check == null || !check.selectedIndex) {
				if(expiry < 1) msg.push('Please enter the expiration date.');
			}
		} else if(check.value == 'bankcollection') {

			//AccountOwner
			check = null;
			if(typeof(document.getElementById('AccountOwner')) == 'object') {
				check = document.getElementById('AccountOwner').value;
			}
			if(check == null || trim(check) == '') {
				msg.push('Please enter the name of the account owner.');
			}
			
			//AccountNumber
			check = null;
			if(typeof(document.getElementById('AccountNumber')) == 'object') {
				check = document.getElementById('AccountNumber').value;
			}
			if(check == null || trim(check) == '') {
				msg.push('Please enter the account number.');
			}
			
			//BLZ
			check = null;
			if(typeof(document.getElementById('BLZ')) == 'object') {
				check = document.getElementById('BLZ').value;
			}
			if(check == null || trim(check) == '') {
				msg.push('Please enter the bank routing number.');
			}
			
			//Bank
			check = null;
			if(typeof(document.getElementById('Bank')) == 'object') {
				check = document.getElementById('Bank').value;
			}
			if(check == null || trim(check) == '') {
				msg.push('Please specify the name of the bank.');
			}

		}
	}
	
	//RentalAgreements
	if (document.getElementById('RentalAgreements').checked == false) {
		msg.push('Please confirm that you agree to our terms of use.');
	}
	
	if(msg.length > 0) {
		txt = '';
		for(i=0;i<msg.length;i++) {
			txt += msg[i]+"\n";
		}
		alert(txt)
		unbusy('busy');
		window.scrollTo(0, 2000);
		return false;
	} else {
		return 1;
	}
}


function getMonthName(month) {
	
	switch(month) {
	case 0:
		return 'January';
		break;
	case 1:
		return 'February';
		break;
	case 2:
		return 'March';
		break;
	case 3:
		return 'April';
		break;
	case 4:
		return 'May';
		break;
	case 5:
		return 'June';
		break;
	case 6:
		return 'July';
		break;
	case 7:
		return 'August';
		break;
	case 8:
		return 'September';
		break;
	case 9:
		return 'October';
		break;
	case 10:
		return 'November';
		break;
	case 11:
		return 'December';
		break;
	}
}

function getDayName(day) {

	switch(day) {
	case 0:
		return 'Sun.';
		break;
	case 1:
		return 'Mon.';
		break;
	case 2:
		return 'Tue.';
		break;
	case 3:
		return 'Wed.';
		break;
	case 4:
		return 'Thu.';
		break;
	case 5:
		return 'Fri.';
		break;
	case 6:
		return 'Sat.';
		break;
	}
}