function trimString2 (str) {
  str = this != window? this : str;
  return str.replace(/^\s+/g, '').replace(/\s+$/g, '');
}

function subcheck3(){
	var jtype=document.jobsearch2.job_type.value;
 	var ind=document.jobsearch2.industry.value;
 	var loca=document.jobsearch2.loca.value;
	var sal=document.jobsearch2.salary.value;
 	var errmsg="";
 	if ((jtype=="")&&(ind=="")&&(loca=="")&&(sal=="")){
 		alert("Please make at least one selection from the search criteria.");
		return false;
	}
	document.jobsearch2.submit();
}