// JavaScript Document
$(document).ready(function() {
	$("p.two").click(function() {
		$('#twoD').show()
		$(this).addClass('twoB'); 
		$('#threeD').hide();
		$('#sixD').hide();
		$('#eightD').hide();
		$('#elevenD').hide();
		$('#fourteenD').hide();
		$('#sixteenD').hide();
	});
	
	$("p.three").click(function() {
		$('#threeD').show()
		$(this).addClass('threeB'); 
		$('#twoD').hide();
		$('#sixD').hide();
		$('#eightD').hide();
		$('#elevenD').hide();
		$('#fourteenD').hide();
		$('#sixteenD').hide();
	});
	
	$("p.six").click(function() {
		$('#sixD').show()
		$(this).addClass('sixB'); 
		$('#threeD').hide();
		$('#twoD').hide();
		$('#eightD').hide();
		$('#elevenD').hide();
		$('#fourteenD').hide();
		$('#sixteenD').hide();
	});
	
	$("p.eight").click(function() {
		$('#eightD').show()
		$(this).addClass('eightB'); 
		$('#threeD').hide();
		$('#sixD').hide();
		$('#twoD').hide();
		$('#elevenD').hide();
		$('#fourteenD').hide();
		$('#sixteenD').hide();
	});
	
	$("p.eleven").click(function() {
		$('#elevenD').show()
		$(this).addClass('elevenB'); 
		$('#threeD').hide();
		$('#sixD').hide();
		$('#eightD').hide();
		$('#twoD').hide();
		$('#fourteenD').hide();
		$('#sixteenD').hide();
	});
	
	$("p.fourteen").click(function() {
		$('#fourteenD').show()
		$(this).addClass('fourteenB'); 
		$('#threeD').hide();
		$('#sixD').hide();
		$('#eightD').hide();
		$('#elevenD').hide();
		$('#twoD').hide();
		$('#sixteenD').hide();
	});
	
	$("p.sixteen").click(function() {
		$('#sixteenD').show()
		$(this).addClass('sixteenB'); 
		$('#threeD').hide();
		$('#sixD').hide();
		$('#eightD').hide();
		$('#elevenD').hide();
		$('#fourteenD').hide();
		$('#twoD').hide();
	});
});