$(function() {
	
	$('a').bind('click', function() {
		
		var page = encodeURIComponent(document.location.href);
		var link = encodeURIComponent($(this).attr('href'));
		var anchor = $(this).text();
		
		$.ajax({
			type: "POST",
			cache: false,
			url: "http://rismedia.com/tracking.php",
			data: "page=" + page + "&link=" + link + "&anchor=" + anchor,
		});

	});

});
