// Validation Check for Booking Form

function fullcheck()
{
  var str=document.bookingform.email.value;
//alert(str);

	if(!validate_text(document.bookingform.name,1,"Blank space not allowed. Please Enter Your Name."))
		return false;
		
	if(!validate_text(document.bookingform.phone,1,"Blank space not allowed. Please Enter Your Phone Number."))
		return false;
		
	if(!validate_email(document.bookingform.email,1))
		return false;
		
    if(!validate_text(document.bookingform.info,1,"Blank space not allowed. Please Enter Your Booking Enquiry."))
		return false;		
		
	if(document.bookingform.check_in_day.selectedIndex==0){
		alert("Please select Check In Day");	
		document.bookingform.check_in_day.focus();
		return false;
	}
	
	if(document.bookingform.check_in_month.selectedIndex==0){
		alert("Please select Check In Month");	
		document.bookingform.check_in_month.focus();
		return false;
	}
	
	if(document.bookingform.check_in_year.selectedIndex==0){
		alert("Please select Check In Year");	
		document.bookingform.check_in_year.focus();
		return false;
	}
	
	if(document.bookingform.check_out_day.selectedIndex==0){
		alert("Please select Check Out Day");	
		document.bookingform.check_out_day.focus();
		return false;
	}
	
	if(document.bookingform.check_out_month.selectedIndex==0){
		alert("Please select Check Out Month");	
		document.bookingform.check_out_month.focus();
		return false;
	}
	
	if(document.bookingform.check_out_year.selectedIndex==0){
		alert("Please select Check Out Year");	
		document.bookingform.check_out_year.focus();
		return false;
	}
	
	if(document.bookingform.total_nights.selectedIndex==0){
		alert("Please select Total number of Nights");	
		document.bookingform.total_nights.focus();
		return false;
	}
    
}



// Validation Check for Order Form

function fullcheck1()
{
  var str=document.orderform.email.value;
//alert(str);

	if(!validate_text(document.orderform.cust_name,1,"Blank space not allowed. Please Enter Your Name."))
		return false;
		
	if(!validate_text(document.orderform.phone,1,"Blank space not allowed. Please Enter Your Phone Number."))
		return false;
		
	if(!validate_email(document.orderform.email,1))
		return false;
		
    if(!validate_text(document.orderform.address,1,"Blank space not allowed. Please Enter Your Address."))
		return false;	
	
}


// Validation Check for Visit Form

function fullcheck2()
{
  var str=document.visitform.email.value;
//alert(str);

	if(!validate_text(document.visitform.name,1,"Blank space not allowed. Please Enter Your Name."))
		return false;
		
	if(!validate_text(document.visitform.phone,1,"Blank space not allowed. Please Enter Your Phone Number."))
		return false;
		
	if(!validate_email(document.visitform.email,1))
		return false;
		
    if(!validate_text(document.visitform.address,1,"Blank space not allowed. Please Enter Your Address."))
		return false;		
		
	
}