$(function() {
	
	$('.options input.PHPurchaseButtonPrimary').hover(function() {
		// enter
		var text = $(this).attr('value'),
		    x = $(this).offset().left,
		    y = $(this).offset().top;
		$('<p class="tooltip rounded">'+text+'</p>').css({
			opacity: 0,
			left: x,
			top: y - 26,
		}).appendTo($('body')).animate({ top: '-=10', opacity: '1'}, 250, 'easeOutBack');
	}, function() {
		// leave
		$('.tooltip').remove();
	});
	
});
