function mycarousel_initCallback(carousel)
{
    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};


jQuery().ready(function(){
	jQuery('#bannersIndex').jcarousel({
        scroll: 1,
		auto: 8,
        animation: 500,
		wrap: 'both',
		initCallback: mycarousel_initCallback
    });
});


$(document).ready(function(){
	$("a[@rel=external]").attr('target','_blank');

});
