var $alreadyasked = 0 ;
function checkemail(){
var televal=document.getElementById("Telephone");
var emailval=document.getElementById("username");


var findval=document.getElementById("How_Did_You_Find_Us");
var findvalother=document.getElementById("How_Did_You_Find_Us_other");


if (televal.value == "")

{ 
alert("We Require a Telephone Number in Order to Confirm Your Reservation");
return false;
}
if (findval.value == ""  && findvalother.value == "")
{ 

////////////so we don't keep perstering them asking
if ($alreadyasked !=1){
alert("So that we can better understand our customers we would really appreciate if you could briefly tell us how you found us");
$alreadyasked =1;
return false;
}
}

if (emailval.value.indexOf('@') <=1 )
{ 
alert("We Require a valid email address in Order to Confirm Your Reservation");
return false;
}

}  //function




function UpdDate2(themonth,theday,theyear){
document.ReservationRequest.Date.options[theday - 1].selected = true;
document.ReservationRequest.Month.options[themonth-1].selected = true;
document.ReservationRequest.Year.options[theyear].selected = true;
}

