function request_copy_onSuccess(t) {
  var result = t.responseJSON;

  // commenting didn't work?
  if(!result.success)
  {
    var errors = {};
    vailidation_failed(errors,'request_copy.email',result.error_code);
    display_errors(errors,'','request_copy');
  } 
  else 
  {
    $('request_copy').reset();
    display_notification('Thank you for contacting Understanding Animal Research. We will reply as soon as possible.',true);  
  }  

}

function request_copy_onFailure() {
  display_notification('Sorry, there was a problem requesting a copy.');

	// re-enable the form
	Form.enable('request_copy');
}

