function checkEmail(fld)
{ // simple email check
  var emailfmt= /^\w+([.-]\w+)*@\w+([.-]\w+)*\.\w{2,8}$/;
  if(!emailfmt.test(fld.value))
  { //status= 'The '+fieldname(fld)+' field must contain a valid email address.'; return false; 
	alert('The E-mail Address field must contain a valid email address.'); fld.focus(); 
		return false;
  }
  return true;
}