$(document).ready(function() { 
	// bind form using ajaxForm 
	$('#friendly_contact_form').ajaxForm({ 
		// target identifies the element(s) to update with the server response 
		target: '#form_response', 
 
		// success identifies the function to invoke when the server response 
		// has been received; here we apply a fade-in effect to the new content 
		success: function() { 
					$('html,body').animate({scrollTop: 0}, 1000);

		} 
	}); 
});