$(document).ready(function () {
	
	$(".carousel2").jCarouselLite({
		visible: 3,
		start: 0,
		btnNext: ".next",
		btnPrev: ".prev"
	});
	// Initally hide all but show the first
	$(".my_images2").hide();
	$(".my_images").show();
	
	// Mark the first link as 'current'
	$(".my_links2").addClass('current');
	
	// hide associated link and highlight the nearby Images one
		$('.my_links').hide();
		$('.my_links2').show();
	
	// Hook up the links to the descriptions
	$('.my_links').click(function(){
		
		// This is the id of the link just clicked (A_ prefix)
		var link_id = $(this);
		
		
		// Hide all descriptions and show the new current one
		$(".my_images2").hide();
		$(".my_images").show();
		
		// Un-highlight all links and highlight the current one
		$('.my_links').removeClass('current');
		$('.my_links2').addClass('current');
		// hide all links and highlight the current one
		$('.my_links').hide();
		$('.my_links2').show();
		
		return false; // stop browser adding # to the URL 
	});
	
	$('.my_links2').click(function(){
		 
		
		// This is the id of the link just clicked (A_ prefix)
		var link_id2 = $(this).attr;
		
		// Hide all descriptions and show the new current one
		$(".my_images").hide();
		$(".my_images2").show();
		
		// Un-highlight all links and highlight the current one
		$('.my_links2').removeClass('current');
		$('.my_links').addClass('current');
		
		// hide all links and highlight the current one
		$('.my_links').show();
		$('.my_links2').hide();
		
		
		return false; // stop browser adding # to the URL 
	});
});

