// code to call onSubmit="return researcher(this)"// link to .js:  <SCRIPT SRC="scripts.js" LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT"></script>// confirm all deletionsfunction confirmDeletion(form) {    if (confirm ("Are you sure that you want to delete this item?")) {        return true    }    else {        return false    }}// validate researcher profilesfunction validateStat(form) {		// required fields		if (form.county.value.length<1) {		alert("Please select a county.")		return false	}	if (form.holiday.value.length<1) {		alert("Please select a holiday.")		return false	}		if (form.year.value.length<1) {		alert("Please select a year.")		return false	}	}