// Only script specific to this form goes here.
// General-purpose routines are in a separate file.
  function validateOnSubmit() {
    var elem;
    var errs=0;
    // execute all element validations in reverse order, so focus gets
    // set to the first one in error.
    if (!validatePresent(document.forms.txt_country.country, 'inf_country', true)) errs += 1; 

	if (errs==1) {
	alert('Please select a country first.');
	return false;
	}
	return (errs==0);
  };
