
	function bValidationCheck(){
		if (
			(bCheckMandatory(document.forms[1].sPosition,'Job Title')) &&
			(bCheckMandatory(document.getElementById('sGiven'),'Given Name')) &&
			(bCheckMandatory(document.forms[1].sSurname,'Surname')) &&		
			(bCheckMandatory(document.forms[1].sAddress,'Street Address')) &&
			(bCheckMandatory(document.forms[1].sSuburb,'Suburb')) &&
			(bCheckMandatory(document.forms[1].sState,'State')) &&
			(bCheckMandatory(document.forms[1].sPostcode,'Postcode')) &&
			(bCheckMandatory(document.forms[1].sDayPhone,'Phone Number')) &&
			(bCheckMandatory(document.forms[1].sEmail,'Email')) &&
			(bCheckEmail(document.forms[1].sEmail,'Email')) &&
			(bCheckRadio(document.forms[1].sCitizen,'Are you an Australian Citizen?')) &&
			(bCheckRadio(document.forms[1].sAb,'Do you identify as an Aboriginal or Torres Strait Islander?')) &&
			(bCheckMandatory(document.forms[1].sCoverNote,'CoverNote/Introductory Letter')) &&
			(bCheckMandatory(document.forms[1].sFile,'Resume File'))
		)
		{
			return true;
		}else
		{
			return false;
		}
	}
	
	function SelectAllLink(){
		document.write('<p><a href="#" onclick="doNow(); return false;">-&gt;Select All Resorts</a></p>');
	}
	
	function doNow()
	{
		document.forms[1].sBedarra.checked = 1;
		document.forms[1].sSilky.checked = 1;
		document.forms[1].sBrampton.checked = 1;
		document.forms[1].sDunk.checked = 1;
		document.forms[1].sHeron.checked = 1;
		document.forms[1].sLizard.checked = 1;
		document.forms[1].sSails.checked = 1;
		document.forms[1].sWilson.checked = 1;
		document.forms[1].sDesert.checked = 1;
		document.forms[1].sEmu.checked = 1;
		document.forms[1].sCradle.checked = 1;
		document.forms[1].sCamel.checked = 1;
		document.forms[1].sOutback.checked = 1;
		document.forms[1].sHeadOffice.checked = 1;
		document.forms[1].sKings.checked = 1;
		document.forms[1].sWrotham.checked = 1;
		document.forms[1].sAlice.checked = 1;
		document.forms[1].sLongitude.checked = 1;
		document.forms[1].sOdyssey.checked = 1;
		document.forms[1].sElQuestro.checked = 1;
	}
	
	function ShowHideOtherSource(){
		
		if(document.getElementById){

			if(document.getElementById('sHeard')[document.getElementById('sHeard').selectedIndex].value == 'Other'){
				showHideElement("OtherSource", 1);				
			}else{
				showHideElement("OtherSource", 0);
			}
		}
		
	}
	
	
	function ShowHideWorkingVisa(){
		
		if(document.getElementById){

			if(document.getElementById('sCitizen1').checked == 1){
				showHideElement("Working-Visa", 0);
				showHideElement("Visa-Type", 0);
			}else{
				showHideElement("Working-Visa", 1);
			}
		}
		
	}
	
	function ShowHideVisaType(){
		
		if(document.getElementById){

			if(document.getElementById('sVisa1').checked == 1){
				showHideElement("Visa-Type", 1);
				document.getElementById('sVisaType').focus();
			}else{
				showHideElement("Visa-Type", 0);
				document.getElementById('sVisaType').blur();
			}
		}
		
	}
	
	
	function ShowHideIdgProg(){
		
		if(document.getElementById){

			if(document.getElementById('sAb1').checked == 1){
				showHideElement("Indig", 1);
			}else{
				showHideElement("Indig", 0);
			}
		}
		
	}
