// COPYRIGHT 2003 - LogixMedia.
function InitSkilledForm() {
	objWhichForm=document.Questionaire;
	OPTChildren(objWhichForm);
	OPTDependants(objWhichForm);
	OPTRelatives(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 (RequestDataB(objForm.AgeGroup1,"Please select your age group.","-1")){return false;}
	if (RequestDataB(objForm.Address1,"Please enter your residential address.","")){return false;}
	if (RequestDataA(objForm.Children,"Please indicate if you are bringing children into Australia.")) {
		return false;
	} else {
		if (objForm.Children[0].checked == true) {
			if (RequestDataB(objForm.Children1,"Please indicate the number of children you are bringing into Australia.","-1")){return false;}
			if (RequestDataB(objForm.Children2,"Please indicate the number of children from you and your Australian partner.","-1")){return false;}
		}
	}
	if (RequestDataA(objForm.Dependants,"Please indicate if you are bringing other financially dependent family members.")) {
		return false;
	} else {
		if (objForm.Dependants[0].checked == true) {
			if (RequestDataB(objForm.Dependants1,"Please indicate the relationship with the Dependant.","-1")){return false;}
		}
	}
	if (RequestDataA(objForm.GoodHealth1,"Please indicate your good health status.")){return false;}
	if (RequestDataA(objForm.GoodHealth2,"Please indicate the other family members good health status.")){return false;}
	if (RequestDataA(objForm.Criminal1,"Please indicate if you have a criminal record.")){return false;}
	if (RequestDataA(objForm.RelativeSpon,"Please indicate if you have an Australian relative who will sponsor you in Ausralia.")) {
		return false;
	} else {
		if (objForm.RelativeSpon[0].checked == true) {
			if (RequestDataB(objForm.RelativeRel,"Please indicate the relationship with the Relative.","-1")){return false;}
		}
	}
	if (RequestDataA(objForm.Skilled1,"Please indicate if you have any skills or an apprenticeship.")){return false;}
	return true;
}
