<!--
	function getWindowHeight() 
	{
		var windowHeight = 0;
		if (typeof(window.innerHeight) == 'number') 
			windowHeight = window.innerHeight;
		else 
		{
			if (document.documentElement && document.documentElement.clientHeight) 
				windowHeight = document.documentElement.clientHeight;
			else 
				if (document.body && document.body.clientHeight) 
					windowHeight = document.body.clientHeight;
		}
		return windowHeight;
	}
	
	function setFooter() 
	{
		if (document.getElementById) 
		{
			var windowHeight = getWindowHeight();
			if (windowHeight > 0) 
			{
				var logo = 60;
				var pgeHdr = document.getElementById('page_hdr').offsetHeight;

				var contentHeight = document.getElementById('content').offsetHeight;
				contentHeight = contentHeight + logo + pgeHdr;


				var footerElement = document.getElementById('footer');						
				var footerHeight  = footerElement.offsetHeight;

				if (windowHeight - (contentHeight + footerHeight) >= 0) 
				{
					footerElement.style.position = 'absolute';
					footerElement.style.top = (windowHeight - footerHeight) + 'px';
				}
				else 
					footerElement.style.position = 'static';
			}
		}
	}
	
	window.onload = function() 
	{
		setFooter();
	}
	
	window.onresize = function() 
	{
		setFooter();
	}
	
	function validateForm()
	{
		var frm = document.bookingForm;		
		var FieldList = "";
	
		// Field1 validation.
		if (frm.name.value == "")
			FieldList = "Name\n"; // Message to user.
	
		// Field2 validation.
		if (frm.places.selectedIndex == 0)
			FieldList += "Places\n"; // Message to user.
	
		// Field1 validation.
		if (frm.phone.value == "")
			FieldList += "Phone\n"; // Message to user.
		
		// Field2 validation.
		if (frm.email.value == "")
			FieldList += "Email Address\n"; // Message to user.
		
		// Submit form or display message.
		if (FieldList == "")
			frm.submit();
		else
			alert("We did not get all the information we need from you.\n\nPlease fill in the following field(s):\n\n" + FieldList);
	}
//-->