function markdept()
	{
	}

function isEmail(string) {
  if (!string) return false;
   var iChars = "*|,\"<:>[]{}`\';()&$#%";

   for (var i = 0; i < string.length; i++) {
      if (iChars.indexOf(string.charAt(i)) != -1)
         return false;
   }
	if (string.indexOf("@") != -1 )
		return true;
	else
		return false;
}

function emlValid(theForm)
{
  if (theForm.name.value == "")
  {
    alert("Please enter your name.");
    theForm.name.focus();
    return (false);
  }
  if (theForm.email.value == "")
  {
    alert("Please enter your e-mail address.");
    theForm.email.focus();
    return (false);
  }
  Validemail = isEmail(theForm.email.value)
  if (!Validemail)
  {
    alert("It appears that you have entered an invalid e-mail address.  Please check it.");
    theForm.email.focus();
    return (false);
  }
  return (true);
}

function clearemail() {
	if (document.eml1.email.value=="e-mail address?")
	{ document.eml1.email.value = "" }
	}

