
function CALL(theForm)
{if (theForm.fullname.value == "")
{
document.getElementById("span_name").innerHTML="<p class=warning>Please type your name.</p>";
theForm.fullname.focus();
return (false);}


if (theForm.phone.value == "")
{
document.getElementById("span_phone").innerHTML="<p class=warning>Please type your phone number.</p>";
theForm.phone.focus();
return (false);}



if (theForm.email.value == "")
{
document.getElementById("span_email").innerHTML="<p class=warning>Please type your email address.</p>";
theForm.email.focus();
return (false);}











if (!isEmailAddr(theForm.email.value))
{ alert("Sorry, the email address you entered is invalid!\n\ne.g.: yourname@yourdomain.com");
theForm.email.focus();
return (false);}

if (theForm.besttime.value == "")
{
document.getElementById("span_besttime").innerHTML="<p class=warning>Please select the best time to reach you.</p>";
theForm.besttime.focus();
return (false);}

return (true);
}

