function mycarousel_initCallback(carousel){    // Disable autoscrolling if the user clicks the prev or next button.
    carousel.buttonNext.bind('click', function() {
        carousel.startAuto(0);
    });

    carousel.buttonPrev.bind('click', function() {
        carousel.startAuto(0);
    });

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



jQuery(document).ready(function() {
jQuery('#mycarousel').jcarousel();
	$('.p7ABtrig h3 a').css('color', '#bac1d1');
//	fleXenv.fleXcrollInit();
});

window.onload = function() {

	fleXenv.globalInit();
/*	fleXenv.globalInit();
	if ($("#carasoul")) {
		var wth = $("#carasoul").css('width');
		$("#carasoul").css('width', '0px');
	}

	$("#flexcrollID").hide();
	$("#rightImageContainer div").hide();
	$("#rightImageContainer div").css('width', '0px');
	$("#flexcrollID").children(':last').hide();
	//$("#flexcrollID").css('width', '10px');
	$("#flexcrollID").children(':first').children(':first').css('width','0%');
	//$(".flexcroll").css('width', '98%');

	$("#flexcrollID").show();
	$("#flexcrollID").children(':first').children(':first').animate({
			width: "357px"
		},1000,"linear", function() {
			$("#flexcrollID").children(':last').show();
			$("#rightImageContainer div").animate({
			width: "340px"
		  }, 1000 );
		} );
	if ($("#carasoul")) {
		$("#carasoul").animate({
			width: "340px"
		}, 1000 );
	}
*/


};

