
<!-- Hide from older browsers
	
//Check the enquiry form is filled in correctly
function CheckForm () { 

	//Initialise variables
	var errorMsg = "";

	//Check for a first name
	if (document.frmEnquiry.firstname.value == ""){
		errorMsg += "\n\tFirst Name \t- Enter your First Name";	
	}
	
	//Check for a last name
	if (document.frmEnquiry.lastname.value == ""){
		errorMsg += "\n\tLast Name \t- Enter your Last Name";
	}
	
		
	//Check for a telephone
	if (document.frmEnquiry.telephone.value == ""){
		errorMsg += "\n\tTelephone Number \t- Enter your Telephone Number";
	}
	 	
	//Check for an e-mail address and that it is valid
	if ((document.frmEnquiry.email.value == "") || (document.frmEnquiry.email.value.length > 0 && (document.frmEnquiry.email.value.indexOf("@",0) == - 1 || document.frmEnquiry.email.value.indexOf(".",0) == - 1))) { 
		errorMsg += "\n\tE-mail Address \t- Enter your valid e-mail address";
	}
			
	//Check for an enquiry
	if (document.frmEnquiry.enquiry.value == "") { 
 		errorMsg += "\n\tEnquiry \t\t- Enter an Enquiry";
	}
			
	//Check for where heard about
	if (document.frmEnquiry.heardabout.value == "") { 
 		errorMsg += "\n\tReason \t\t- Please tell us where you heard about us";
	}
		
	//If there is aproblem with the form then display an error
	if (errorMsg != ""){
		msg = "______________________________________________________________\n\n";
		msg += "Your enquiry has not been sent because there are problem(s) with the form.\n";
		msg += "Please correct the problem(s) and re-submit the form.\n";
		msg += "______________________________________________________________\n\n";
		msg += "The following field(s) need to be corrected: -\n";
		
		errorMsg += alert(msg + errorMsg + "\n\n");
		return false;
	}
	
	return true;
}                              
// -->


//Check the enquiry form is filled in correctly
function CheckFormBrochure () { 

	//Initialise variables
	var errorMsg = "";

	//Check for a first name
	if (document.frmEnquiry.firstname.value == ""){
		errorMsg += "\n\tFirst Name \t- Enter your First Name";	
	}
	
	//Check for a last name
	if (document.frmEnquiry.lastname.value == ""){
		errorMsg += "\n\tLast Name \t- Enter your Last Name";
	}
	
		
	//Check for a house name/no.
	if (document.frmEnquiry.house.value == ""){
		errorMsg += "\n\tHouse Number \t- Enter your House Name/Number";
	}
	
	//Check for a street name.
	if (document.frmEnquiry.street.value == ""){
		errorMsg += "\n\tStreet Name \t- Enter your Street Name";
	}
	
	//Check for a town.
	if (document.frmEnquiry.town.value == ""){
		errorMsg += "\n\tTown Name \t- Enter your Town Name";
	}
	
	//Check for a postcode.
	if (document.frmEnquiry.postcode.value == ""){
		errorMsg += "\n\tPostcode \t- Enter your Postcode";
	}
	
	//Check for a country.
	if (document.frmEnquiry.country.value == ""){
		errorMsg += "\n\tCountry \t- Enter your Country";
	}
	
	//Check for an e-mail address and that it is valid
	if ((document.frmEnquiry.email.value == "") || (document.frmEnquiry.email.value.length > 0 && (document.frmEnquiry.email.value.indexOf("@",0) == - 1 || document.frmEnquiry.email.value.indexOf(".",0) == - 1))) { 
		errorMsg += "\n\tE-mail Address \t- Enter your valid e-mail address";
	}
					
	//Check for where heard about
	if (document.frmEnquiry.heardabout.value == "") { 
 		errorMsg += "\n\tHeard About \t\t- Please tell us where you heard about us";
	}
	
	//Check for brochure request
	if (document.frmEnquiry.brochure.value == "") { 
 		errorMsg += "\n\tHeard About \t\t- Please tell us where you heard about us";
	}
	
	// C
    var checkSelected = false;
    for (i = 0;  i < frmEnquiry.brochure.length;  i++)
    {
    if (frmEnquiry.brochure[i].checked)
    checkSelected = true;
    }
    if (!checkSelected)
    {
    alert("Please select at least one of the \"Brochure\" options.");
    return (false);
    }


		
	//If there is aproblem with the form then display an error
	if (errorMsg != ""){
		msg = "______________________________________________________________\n\n";
		msg += "Your enquiry has not been sent because there are problem(s) with the form.\n";
		msg += "Please correct the problem(s) and re-submit the form.\n";
		msg += "______________________________________________________________\n\n";
		msg += "The following field(s) need to be corrected: -\n";
		
		errorMsg += alert(msg + errorMsg + "\n\n");
		return false;
	}
	
	return true;
}                              
// -->




function JDL_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=JDL_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function JDL_showHideLayers() { //v6.0
  var i,p,v,obj,args=JDL_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=JDL_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function JDL_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=JDL_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function JDL_showHideLayers() { //v6.0
  var i,p,v,obj,args=JDL_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=JDL_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

//-->

<!--
function MM_displayStatusMsg(msgStr)  { //v3.0
	status=msgStr; document.MM_returnValue = true;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

//-->
<!--
var MenuItems = Array	(
					
					
					
					Array	("Ski", "/HOD/SKI", 
									Array	(
											Array("Hotels", "/HOD/SKI/HFA"), 
											Array("Chalets", "/HOD/SKI/ALC"), 
											Array("Apartments", "/HOD/SKI/APT")
										)
						), 
					Array	("Theme Parks", "/HOD/DIS", 
									Array	(
											Array("DisneylandŽ Resort", "/HOD/DIS"), 
											Array("LegolandŽ", "/HOD/UKB/LEG")
										)
						), 
					Array	("Ferries", "/FERRY/INDEX.HTM", 
									Array	(
											Array("Ferry-only", "/FERRY/INDEX.HTM")
										)
						), 
					Array	("Flights", "/HOD/CIT", 
									Array	(
											Array("City breaks by Air", "/HOD/CIT")
										)
						), 
					Array	("Eurostar", "/HOD/CBE", 
									Array	(
											Array("City breaks by Eurostar", "/HOD/CBE")
										)
						), 
					Array	("Special Offers", "/HOD/LPR", 
									Array	(
											Array("Special Offers", "/HOD/LPR")
										)
						)

			)

//-->
<!--
	var PageParameters	=	"";
	var PageUrl					=	"";

	if (PageUrl.length == 0) PageUrl = "/INDEX.HTM";
//-->

