$("document").ready(function() {

	$("a[rel='delete']").click(function() {
		if(confirm('Are you sure you want to delete this entry ?')) {
			$url = $(this).attr("href");
			$.post($url,null,function() {
				location.reload();
			});
		}
		return false;
	});

});
