jQuery(document).ready(function() {
    jQuery("[id^='category_link_']").click(function() {
        id_value = jQuery(this).attr("id").split("_");
        //This is set to synchronous because it's triggered when clicking a link..
        //when asynchronous, sometimes the link's page loads too quickly and cancels this execution
        jQuery.ajax({
            type: "GET",
            url: "/ajax/increment.html",
            data: "_t=c&_v=" + id_value[3],
            dataType: "text",
            async: false,
            success: function(data) { }
        });
    });   
});