Clone Colorbox Image Link with JQuery
I found this solution:

        $('#main-stuff').append('&lt;div id="bgImgOverlay"&gt;&lt;/div&gt;').css("cursor","pointer");
        $('#bgImgOverlay').click(function() {
            $("a[rel='gallery-all']").colorbox({open:true});
         });