var gbIsIE;
var gDoc;
var gFrm;

function body_onLoad()
{
	if (document.all != null)
		{
 		gbIsIE = true;
 		gDoc = document.all;
		}
	else
		{
 		gbIsIE = false;
 		gDoc = document;
		}
	if (gDoc.frmFormEmail != null)
 		gFrm = gDoc.frmFormEmail;
}

function verify(x)
{
 if (x.hidRoute1.value == ""){
 alert("You must enter an outward Journey");
 document.frmform.hidRoute1.focus ()
 return false;
 }

 if (x.hidNoPax.value == "")
	{
 	alert("You must specify the number of passengers");
 	document.frmform.hidNoPax.focus ()
 	return false;
 	}
	return true;
}

function make_return(x)
{
	arr = x.hidRoute1.value.split(" - ");
	x.hidRoute2.value = arr[1]+" - "+arr[0];
}

function delRoute(id)
{
	id.selectedIndex = 0;
	return;
}

