$(document).ready(function() {
	// Camp Baco Functions
	$("#baco-map-content .map-button").click(function(){
		var location = $(this).data("location");
		//alert(location);
		$("#baco-map-img").hide();
		$("#baco-map-content .individual-slideshow").hide();
		$(location).show();
		$("#baco-map-content #return-to-cb-map").show();
		$("#baco-map-content .map-button").removeClass("selected");
		$(this).addClass("selected");
	});
	
	$("#baco-map-content .marker").click(function(){
		var location = $(this).data("location");
		var marker = $(this).data("marker");
		$("#baco-map-img").hide();
		$(marker).addClass("selected");
		$("#baco-map-content .individual-slideshow").hide();
		$(location).show();
		$("#baco-map-content #return-to-cb-map").show();
	});
	
	$("#return-to-cb-map").click(function(){
		$("#baco-map-content .individual-slideshow").hide();
		$("#baco-map-content .map-button").removeClass("selected");
		$("#baco-map-img").show();
		$("#baco-map-content #return-to-cb-map").hide();
	});
	
	// Camp Che-Nah-Wah Functions
	$("#che-map-content .map-button").click(function(){
		var location = $(this).data("location");
		//alert(location);
		$("#che-map-img").hide();
		$("#che-map-content .individual-slideshow").hide();
		$(location).show();
		$("#che-map-content #return-to-ch-map").show();
		$("#che-map-content .map-button").removeClass("selected");
		$(this).addClass("selected");
	});
	
	$("#che-map-content .marker").click(function(){
		var location = $(this).data("location");
		var marker = $(this).data("marker");
		$("#che-map-img").hide();
		$(marker).addClass("selected");
		$("#che-map-content .individual-slideshow").hide();
		$(location).show();
		$("#che-map-content #return-to-ch-map").show();
	});
	
	$("#return-to-ch-map").click(function(){
		$("#che-map-content .individual-slideshow").hide();
		$("#che-map-content .map-button").removeClass("selected");
		$("#che-map-img").show();
		$("#che-map-content #return-to-ch-map").hide();
	});
})	





















