function isReady(form)
{
if (document.theform.name.value == "")
{
window.alert('Please fill in your Name ');
result = false;
document.theform.name.focus();
return result;
}

if (document.theform.email.value == "")
{
window.alert('Please fill in your Email Address');
result = false;
document.theform.email.focus();
return result;
}

if (document.theform.telephone.value == "")
{
window.alert('Please fill in your Telephone Number');
result = false;
document.theform.telephone.focus();
return result;
}

var invalid = "@";
var sPeriod = ".";
if ((document.theform.email.value.indexOf(invalid) < 0) || (document.theform.email.value.indexOf(sPeriod) < 0))
{
window.alert("Invalid Email Address, please re-enter.");
document.theform.email.focus();
result = false;
return result;
}
}
