favoritos = function(id,tipo) {
	new Ajax.Request('/ajax_resp/actions.php',{method:'post',parameters:'action=favoritos&id=' + id + '&tipo=' + tipo,onComplete: function() {alert("Ha sido agregado el item a tus favoritos")}});	
}