$(".views").click (function (
var $this = $(this);
$.ajax({
type: "post",
url: "includes/ajax.php",
success: function() {
window.location.href = $this.find('img').attr('src');
}
});
return false;
));