Is there a template for the comment links field?
Why don't you use the default selectors to get the url? some thing like this:

(function($) {
    $(document).ready(function() {
        $("YOUR-COMMENTS-WRAPPER").find('a').click(function(){
             var url = $(this).attr('href');
        });
    )
    });
})(jQuery);


then use the url to load the DIV