// is what swaps the gallerys out. Param is src
// html file that contains this particular gallery
function swapGallery(_galSrc, api)
{
	$("#gal_container").fadeOut('fast',function(){
		
		/*
		$.get(_galSrc, function(e){
					$("#gal_container").html(e);
					$("#gal_container").fadeIn();
					$('#gal_container a.thumb').lightBox(); 
				});	*/
		
		
		
		api.getContentPane().load(_galSrc,		
		function()
		{
			
			$("#gal_container").fadeIn();
			$('#gal_container a.thumb').lightBox(); 
			api.reinitialise();
		}
		)
		
	});
		

	

}



