	function mycarousel_initCallback(carousel)
	{
	    // Disable autoscrolling if the user clicks the prev or next button.

	    $('.link-next').click(function() {
		carousel.next();
			  return false;
	    });

	    $('.link-prev').click(function() {
		carousel.prev();
			  return false;
	    });

	    // Pause autoscrolling if the user moves with the cursor over the clip.

	    carousel.clip.hover(function() {
			carousel.stopAuto();
	    }, function() {
			carousel.startAuto();
	    });
	}
	
var update_cufon = function(carousel, li) {
var $ = jQuery;
if (!$.browser.msie) Cufon.refresh('.gallery-inf .box .title');
}
	$(function () {
		$('#newsslide').jcarousel({
			auto: 3,
			wrap: 'last',
			wrap: 'circular',
			scroll: 1,
			buttonNextHTML: null,
			buttonPrevHTML: null,
			initCallback: mycarousel_initCallback,
			itemVisibleInCallback: update_cufon
		});
	})

