//alert('new jquery');
$('response').innerHTML = "<center>here we are</center>";
$(document).ready(function(){
	$("form#testimonial_form").submit(function() {
 
	// we want to store the values from the form input box, then send via ajax below
	var testimonial     = $('#testimonial').attr('value');
	//var lname     = $('#lname').attr('value'); 
 
		$.ajax({
			type: "GET",
			url: "put_testimonial.php",
			data: "testimonial="+ testimonial ,
			success: function(del){
				//$('form#testimonial_form').hide();
				//$('div.response').fadeIn();
				//$('div.response').innerHTML = "<center><img src=\"images/loading.gif\"></center>";

document.getElementById('response').innerHTML = 'Thanks for your feedback!'; 
			}
		});
		
	return false;
	});
});
