// JavaScript Document
function go()
	{
		box = document.forms[0].quicklinks;
		destination = box.options[box.selectedIndex].value;
		if (destination) location.href = destination;
	}
	
	
function externalLinks() 
	{
		if (!document.getElementsByTagName) return;
		var anchors = document.getElementsByTagName("a");
		
		for (var i=0; i<anchors.length; i++) 
			{
				var anchor = anchors[i];
				if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external")
				anchor.target = "_blank";
			}
	}

function breakReplace(str)
	{
		var intIndexOfMatch = str.indexOf("\n");
		// Loop over the string value replacing out each matching
		 // substring.
		while (intIndexOfMatch != -1)
			{
				// Relace out the current instance.
				str = str.replace("\n","<br />");
				 
				 // Get the index of any next matching substring.
				 intIndexOfMatch = str.indexOf("\n");
			}
			
			return str;
		}


function checkTerms()
	{
		if(!document.getElementById('terms').checked)
			{
				alert('You must agree to the terms and conditions in order to book online');
				return false;
			}
		else
			{
				return true;
			}
	}
		
window.onload = function()
			{
				
			};