
function verifyVisaSearchForm(theForm, submitForm) {
	if (theForm.nationality.selectedIndex==0 || theForm.destination.selectedIndex==0) {
		alert("Please select an option from each of the four drop-down lists to proceed.");
		return false;
	}
	
	if (submitForm == 1) {
		theForm.submit();
	}

	return true;
	
}

function viewPostalDetails() {
	document.getElementById('postalApplicationRow1').style.display='block';
	document.getElementById('postalApplicationRow2').style.display='block';
	document.getElementById('postalApplicationMessage').style.display='none';
}

function hidePostalDetails() {
	document.getElementById('postalApplicationRow1').style.display='none';
	document.getElementById('postalApplicationRow2').style.display='none';
	document.getElementById('postalApplicationMessage').style.display='block';
}

