[jQuery] jcarousel and load

[jQuery] jcarousel and load


I am using jcarousel for a gallery of thumbnails when one is clicked I
want the content in a main div to be loaded based off of the thumb
that is clicked. The following is the js for the html from jcarousel:
function mycarousel_getItemHTML(url)
{
return '<a href="#" class="img_click"><img src="' + url + '"
width="200" height="125" alt="" /></a>';
};
The images appear, but when I add this to my jquery nothing works on
click:
$(".img_click").click(function () {
        $("#maincontent-html").load("index-image-load.php",{thumbindex:1} );
});
I even tried somthing simple like:
$(".img_click").click(function () {
        alert("works");
});
But I dont get anything, it like the links arent even being passes to
the DOM cause it wont do anything when clicking on the thumbs. Any
clues?