//NEW CODE !!!

function mycarousel_itemLoadCallback(carousel, state){
    for (var i = 0; i < mycarousel_itemList.length; i++) {
        carousel.add(i+1, mycarousel_getItemHTML(mycarousel_itemList[i]));
        if(hasThumb){
        	elemScrollable = myscrollable_getItemHTML(mycarousel_itemList[i], i);
       		$("#makeMeScrollable .scrollableArea").append(elemScrollable)
        } 
    }
    $("#carouselLoading").remove();
    carousel.size(i);
    initProducts();
    if(hasThumb) $("#makeMeScrollable").smoothDivScroll();
};


