<!--
function Form(appoint) {

if(appoint.fname.value=="") {
alert("Please provide your First Name")
appoint.fname.focus()

return false
}

if(appoint.sname.value=="") {
alert("Please provide your Surname")
appoint.sname.focus()

return false
}

if (appoint.income.options[appoint.income.selectedIndex].value=="0")
{

alert("Please Indicate Your Family Income");
appoint.income.focus()

return false;

}
if(appoint.street.value=="") {
alert("Please provide your Street ")
appoint.street.focus();

return false
}

if(appoint.suburb.value=="") {
alert("Please provide your Suburb ")
appoint.suburb.focus();

return false
}

if (appoint.state.options[appoint.state.selectedIndex].value=="0")
{

alert("Please select your State.");
appoint.state.focus()

return false;

}

if(appoint.pcode.value=="") {
alert("Please provide your Post Code ")
appoint.pcode.focus();

return false
}



if(appoint.hphone.value=="") {
alert("Please provide your Home Telephone Number ")
appoint.hphone.focus()

return false
}

if(appoint.email.value=="") {
alert("Please enter your Contact Email")
appoint.email.focus()

return false
}
var mail=appoint.email.value
   if (( mail.indexOf("@") == -1)||(mail.indexOf(".") == -1))
    {
        alert("Please type a valid Email:");
        appoint.email.focus() 
        return false
    }




if (appoint.contactTime.options[appoint.contactTime.selectedIndex].value=="0")
{

alert("Please Indicate Contact Time");
appoint.contactTime.focus()

return false;

}

if (appoint.ContactDay.options[appoint.ContactDay.selectedIndex].value=="0")
{

alert("Please Indicate Contact Day");
appoint.ContactDay.focus()

return false;

}


return true
}



//-->