function validate_quick()
	{
	
	
	if (document.forms.quickform.Full_name.value == "" || document.forms.quickform.Full_name.value == "Full name")
		{
		alert("Please enter your name");
		document.forms.quickform.Full_name.focus();
		return false;
		}
	var checkQuick = document.forms.quickform.Email.value;
	if (document.forms.quickform.Email.value == "" || document.forms.quickform.Email.value == "Email")
		{
		alert("Please enter a valid Email address \nWithout one, we will not be able to contact you");
		document.forms.quickform.Email.focus();
		return false;
		}
	if (document.forms.quickform.Email.value.length < 6)
  {
    alert("The Email address you entered is invalid");
    document.forms.quickform.Email.focus();
    return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzfSOZsozYÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789-@_-.";
  var checkStr = document.forms.quickform.Email.value;
  var allValid = true;
  var validGroups = true;
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
  }
  if (!allValid)
  {
    alert("Please enter only letter, digit and \"@_-.\" characters in the Email field.");
    document.forms.quickform.Email.focus();
    return (false);
  }

 if ((checkQuick.indexOf('@') < 0) || ((checkQuick.charAt(checkQuick.length-4) != '.') && (checkQuick.charAt(checkQuick.length-3) != '.')))
{alert("You have entered an invalid email address. Please try again.");
document.forms.quickform.Email.focus();
return false;
} 

if (document.forms.quickform.Phone.value == "" || document.forms.quickform.Phone.value == "Int code + area + num")
		{
		alert("Please enter your contact number");
		document.forms.quickform.Phone.focus();
		return false;
		}
		
if (document.forms.quickform.Country_of_origin.selectedIndex < 1)
  {
    alert("Please select one of the \"Country of origin\" options.");
    document.forms.quickform.Country_of_origin.focus();
    return (false);
  }
/*var currentTime = new Date()
var thisMonth = currentTime.getMonth()+1;
var thisYear = currentTime.getYear();
var thisDay = currentTime.getDate();

if(thisDay < 10)
	{
	thisDay = "0" + thisDay
	}
if(thisMonth < 10)
	{
	thisMonth = "0" + thisMonth
	}
	
checkDate = (thisYear + '' +thisMonth + '' + thisDay);
*/
if (document.forms.quickform.StartDate.value =="Select Here" )
{
alert ( " Please enter a start date" );
document.forms.quickform.StartDate.focus();
return false;
}
if (document.forms.quickform.EndDate.value =="Select Here" )
{
alert ( " Please enter an end date" );
document.forms.quickform.EndDate.focus();
return false;
}

/*startCheck = document.forms.quickform.StartDate.value;
endCheck = document.forms.quickform.EndDate.value;

endCheck = (endCheck.replace(/-/, ""));
endCheck = (endCheck.replace(/-/, ""));

startCheck = (startCheck.replace(/-/, ""));
startCheck = (startCheck.replace(/-/, ""));

if (startCheck > endCheck)
{
alert ( "Your end date is before your start date" );
document.forms.quickform.EndDate.focus();
return false;
}
if (startCheck < checkDate)
{
alert ("Your start date is in the past");
document.forms.quickform.EndDate.focus();
return false;
}*/

if (document.forms.quickform.SpamCheck.value == "" || document.forms.quickform.SpamCheck.value == "Red Number")
		{
		alert("Please enter the red number");
		document.forms.quickform.SpamCheck.focus();
		return false;
		}

	}
	
	////////////////////////////////////////////
function validate_tour()
	{
	if (document.forms.tourForm.Full_name.value == "")
		{
		alert("Please enter your name");
		document.forms.tourForm.Full_name.focus();
		return false;
		}
	var checkEmail = document.forms.tourForm.Email.value;
	if (document.forms.tourForm.Email.value == "")
		{
		alert("Please enter your Email address");
		document.forms.tourForm.Email.focus();
		return false;
		}
	if (document.forms.tourForm.Email.value.length < 6)
  {
    alert("The Email address you entered is invalid");
    document.forms.tourForm.Email.focus();
    return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzfSOZsozYÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789-@_-.";
  var checkStr = document.forms.tourForm.Email.value;
  var allValid = true;
  var validGroups = true;
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
  }
  if (!allValid)
  {
    alert("Please enter only letter, digit and \"@_-.\" characters in the Email field.");
    document.forms.tourForm.Email.focus();
    return (false);
  }

 if ((checkEmail.indexOf('@') < 0) || ((checkEmail.charAt(checkEmail.length-4) != '.') && (checkEmail.charAt(checkEmail.length-3) != '.')))
{alert("You have entered an invalid email address. Please try again.");
document.forms.tourForm.Email.focus();
return false;
} 
	if (document.forms.tourForm.Confirm_email.value =="")
		{
		alert("Please confirm your Email address");
		document.forms.tourForm.Confirm_email.focus();
		return false;
		}
	if (document.forms.tourForm.Email.value != document.forms.tourForm.Confirm_email.value)
		{
		alert("Your Email addresses do not match");
		document.forms.tourForm.Email.focus();
		return false;
		}
		
	if (document.forms.tourForm.Email.value.length < 6)
  {
    alert("The Email address you entered is invalid");
    document.forms.tourForm.Email.focus();
    return (false);
  }
 if (document.forms.tourForm.Phone.value =="")
		{
		alert("Please enter your phone number");
		document.forms.tourForm.Phone.focus();
		return false;
		}
 if (document.forms.tourForm.Country_of_origin.selectedIndex < 1)
		{
		alert("Please choose your country of origin");
		document.forms.tourForm.Country_of_origin.focus();
		return false;
		}
 if (document.forms.tourForm.Number_of_adults.selectedIndex < 1)
		{
		alert("Please choose the number of adults");
		document.forms.tourForm.Number_of_adults.focus();
		return false;
		}
 if (document.forms.tourForm.Number_of_children.selectedIndex >0 && document.forms.tourForm.Childrens_ages.value == "")
		{
		alert("Please enter the childrens ages");
		document.forms.tourForm.Childrens_ages.focus();
		return false;
		}
		
	if (document.forms.tourForm.Arrive_day.selectedIndex < 1)
		{
		alert("Please select one of the \"Arrival Day\" options.");
		document.forms.tourForm.Arrive_day.focus();
		return false;
		}
		
	 if (document.forms.tourForm.Arrive_day.selectedIndex == 0)
		{
		alert("The first \"Arrival Day\" option is not a valid selection.  Please choose one of the other options.");
		document.forms.tourForm.Arrive_day.focus();
		return false;
		}	
		
			if (document.forms.tourForm.Arrive_month.selectedIndex < 1)
		{
		alert("Please select one of the \"Arrival Month\" options.");
		document.forms.tourForm.Arrive_month.focus();
		return false;
		}
		
	 if (document.forms.tourForm.Arrive_month.selectedIndex == 0)
		{
		alert("The first \"Arrival Month\" option is not a valid selection.  Please choose one of the other options.");
		document.forms.tourForm.Arrive_month.focus();
		return false;
		}	
		
		
			if (document.forms.tourForm.Arrive_year.selectedIndex < 1)
		{
		alert("Please select one of the \"Arrival Year\" options.");
		document.forms.tourForm.Arrive_year.focus();
		return false;
		}
		
	 if (document.forms.tourForm.Arrive_year.selectedIndex == 0)
		{
		alert("The first \"Arrival Year\" option is not a valid selection.  Please choose one of the other options.");
		document.forms.tourForm.Arrive_year.focus();
		return false;
		}	
		
		
if (document.forms.tourForm.SpamCheck.value == "" || document.forms.tourForm.SpamCheck.value == "Red Number")
		{
		alert("Please enter the red number");
		document.forms.tourForm.SpamCheck.focus();
		return false;
		}

	
	}

