
function verify_newuser(){
		if (document.new_user_form.new_email.value == ""){
					alert("You must enter an email address.");
					document.new_user_form.new_email.focus();
					return;
		}
		if (document.new_user_form.new_password.value == ""){
					alert("Please enter a password.");
					document.new_user_form.new_password.focus();
					return;
		}
		if (document.new_user_form.first.value == ""){
					alert("You must enter a name.");
					document.new_user_form.first.focus();
					return;
		}
		document.new_user_form.submit();
}

function verify_jobseekers(){
		if (document.jobseekers_form.tag_line.value == ""){
					alert("You must enter a tag line.");
					document.jobseekers_form.tag_line.focus();
					return;
		}
		if (document.jobseekers_form.location.value == ""){
					alert("Please enter your location.");
					document.jobseekers_form.location.focus();
					return;
		}
		if (document.jobseekers_form.bio.value == ""){
					alert("You must enter a brief description of your background / skills / objectives.");
					document.jobseekers_form.bio.focus();
					return;
		}
		document.jobseekers_form.submit();
}
function verify_jobs(){
		if (document.jobs_form.job_title.value == ""){
					alert("You must enter a job title or tag line.");
					document.jobs_form.job_title.focus();
					return;
		}
		if (document.jobs_form.location.value == ""){
					alert("Please enter your location.");
					document.jobs_form.location.focus();
					return;
		}
		if (document.jobs_form.description.value == ""){
					alert("You must enter a brief description of the job and the application process.");
					document.jobs_form.description.focus();
					return;
		}
		document.jobs_form.submit();
}

function CountLeft(field, count, max) {
 if (field.value.length > max)
 field.value = field.value.substring(0, max);
 else
 // calculate the remaining characters  
 count.value = max - field.value.length;
 }
