// COPYRIGHT 2003 - LogixMedia.
function InitParentForm() {
	objWhichForm=document.Questionaire;
	OPTDependants(objWhichForm);
	OPTChildrenInfo(objWhichForm);
}
function ValidateResults(objForm) {
	if (RequestDataB(objForm.Country1,"Please select your nationality from the list of countries.","-1")){return false;}
	if (RequestDataA(objForm.Gender1,"Please select your gender.")){return false;}
	if (RequestDataA(objForm.Gender2,"Please select your de-facto or spouse's gender.")){return false;}
	if (RequestDataB(objForm.AgeGroup1,"Please select your age group.","-1")){return false;}
	if (RequestDataB(objForm.AgeGroup2,"Please select your de-facto or spouse's age group.","-1")){return false;}
	if (RequestDataA(objForm.Dependants,"Please indicate if you're including additional financially dependent family members.")) {
		return false;
	} else {
		if (objForm.Dependants[0].checked == true) {
			if (RequestDataB(objForm.DependantRel,"Please indicate their relationship with you.","-1")){return false;}
		}
	}
	if (RequestDataA(objForm.AustChild,"Please indicate if you have an Australian child living in Australia who can sponsor you.")) {
		return false;
	} else {
		if (objForm.AustChild[0].checked == true) {
			if (RequestDataB(objForm.ChildAgeGroup,"Please indicate your child's age group.","-1")){return false;}
			if (RequestDataB(objForm.ChildResType,"Please indicate your child's residency type.","-1")){return false;}
			if (RequestDataB(objForm.ChildState,"Please provide the State where your child lives.","")){return false;}
		}
	}
	if (RequestDataA(objForm.GoodHealth1,"Please indicate your good health status.")){return false;}
	if (RequestDataA(objForm.GoodHealth2,"Please indicate the other family member's good health status.")){return false;}
	if (RequestDataA(objForm.Criminal1,"Please indicate if you have a criminal record.")){return false;}
	return true;
}