$(document).ready(function() {

  var options = { 
  target:        '#response',
  success:       updateResponse,
  failure:       failure
  }; 
  
  $('#feedbackForm').ajaxForm(options); 
  
});

function failure() { alert("There was a problem with your submission, please try again."); }
function updateResponse() {
  
  
  $("#sendinfo").hide();
  $("#response").fadeIn("fast");
  

}

function submitme() {

  $('#theform').hide();
  $('#finfo').hide();          
  $('#title').hide();
  $("#sendinfo").fadeIn("fast");

}
