// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

function validateApplication() {
  if ($('name').value == "") {
    alert("Error!  Name cannot be blank.");
    $('name').focus();
    return false;
   } else if ($('email') == null || $('email').value == "") {
    alert("Error!  E-mail Address cannot be blank.");
    $('email').focus();
    return false;
  } else {
    return true;
  }
}