function sayThankYou(){

Effect.Fader('theLayer');
setTimeout("Effect.Fader('theLayer')",3000);


}


function stringTrim(strToTrim) {
	return(strToTrim.replace(/^\s+|\s+$/g, ''));
}

function validateFareReq(theFareReq){
if((stringTrim(theFareReq.origin.value)=="") ||
(stringTrim(theFareReq.onwarddate.value)=="")||
(stringTrim(theFareReq.destination.value)=="") )
{
Effect.Fader('theError');
setTimeout("Effect.Fader('theError')",3000);
return ;
}
if(((theFareReq.triptype.value)=="1") &&
(stringTrim(theFareReq.returndate.value)==""))
{
Effect.Fader('theError');
setTimeout("Effect.Fader('theError')",3000);
return ;
}
if((stringTrim(theFareReq.email.value)=="") &&
((theFareReq.phone.value)==""))
{
Effect.Fader('theError');
setTimeout("Effect.Fader('theError')",3000);
return;
}
theFareReq.action="insertfqreq.php";
theFareReq.method="post";
theFareReq.submit();
return ;
}

isIE=document.all;
isNN=!document.all&&document.getElementById;
isN4=document.layers;

function hideMe( divName){
Effect.FadeOut (divName);
  }

