

//function sendFeedback(response, aMsg) {
function sendFeedback(response, aEmail, aMsg, aCV, aAV) {
	var peticion = $.ajax({
		url:  'index.php?c=Contact&a=sendFeedbackAJAX',
		type: 'POST',
		data: { msg: aMsg,
				email: aEmail,
				cv: aCV,
				av: aAV },
		beforeSend: function() {
			$('#'+response).html("Cargando...");
		},
		success: function(data) {
			$('#'+response).html(data);
		}, 
		error: function() { $('#'+response).html('Se ha producido un error'); }
	  });
}

