function checkForm(){
	

	
	
	if (document.book.dates.value==''){
		alert('Mango Booking Error\nWe require a date to be selected\nThanks')
		document.book.dates.focus()
		return false
	}
	
	if (document.book.adults.value==''){
		alert('Mango Booking Error\nPlease tell us how many are in your party\nThanks')
		document.book.adults.focus()
		return false
	}
	

	if (document.book.firstname.value==''){
		alert('Mango Booking Error\nWe require your firstname\nThanks')
		document.book.firstname.focus()
		return false
	}
	
	if (document.book.surname.value==''){
		alert('Mango Booking Error\nWe require your surname\nThanks')
		document.book.surname.focus()
		return false
	}
	
	if (document.book.address1.value==''){
		alert('Mango Booking Error\nWe require your address please')
		document.book.address1.focus()
		return false
	}
	
	if (document.book.town.value==''){
		alert('Mango Booking Error\nWe require your Town/City loction\nThanks')
		document.book.town.focus()
		return false
	}
	
	if (document.book.postcode.value==''){
		alert('Mango Booking Error\nWe require your postcode\nThanks')
		document.book.postcode.focus()
		return false
	}
	
	if (document.book.daytimetel.value==''){
		alert('Mango Booking Error\nWe require a telephone number\nThanks')
		document.book.daytimetel.focus()
		return false
	}
	
	if (document.book.email.value==''){
		alert('Mango Booking Error\nWe need your email for booking\nThanks')
		document.book.email.focus()
		return false
	}
	
	if (document.book.tcbox.value==false){
		alert('Mango Terms Error\nWe require you to accept the our terms and conditions\nThanks')
		document.book.tcbox.focus()
		return false
	}
	

	
	return true
	
}


//Check the contact form entries
function checkContact(){
	if (document.contactform.firstname.value==''){
		alert('Mango Contact Error\nWe require your name\nThanks')
		document.contactform.firstname.focus()
		return false
	}
	
	if (document.contactform.daytimetel.value==''){
		alert('Mango Contact Error\nWe need your phone number\nThanks')
		document.contactform.daytimetel.focus()
		return false
	}
	
	if (document.contactform.email.value==''){
		alert('Mango Contact Error\nWe need your email\nThanks')
		document.contactform.email.focus()
		return false
	}
	return true
}

//Check the booking form entries
function checkBook(){
	if (document.brochure.firstname.value==''){
		alert('Mailing List Error\nWe require your name\nThanks')
		document.brochure.firstname.focus()
		return false
	}
	if (document.brochure.email.value==''){
		alert('Mailing List Error\nWe need your email\nThanks')
		document.brochure.email.focus()
		return false
	}
	if (document.brochure.address.value==''){
		alert('Mailing List Error\nWe need your Address\nThanks')
		document.brochure.address.focus()
		return false
	}
	if (document.brochure.daytimetel.value==''){
		alert('Mailing List Error\nWe need your telephone number\nThanks')
		document.brochure.daytimetel.focus()
		return false
	}
	return true
}


$(document).ready(function(){

		$('.logo').find("img").hide();
		$('.logo').find("img").fadeIn(1000);

		
});

