function showDiv6(theDiv, theElement) {
		
		var selectedDiv = document.getElementById(theDiv);
		var theDiv1 = document.getElementById('div1');
		var theDiv2 = document.getElementById('div2');
		var theDiv3 = document.getElementById('div3');
		var theDiv4 = document.getElementById('div4');
		var theDiv5 = document.getElementById('div5');
		var theDiv6 = document.getElementById('div6');
		var thePane1 = document.getElementById('pane1');
		var thePane2 = document.getElementById('pane2');
		var thePane3 = document.getElementById('pane3');
		var thePane4 = document.getElementById('pane4');
		var thePane5 = document.getElementById('pane5');
		var thePane6 = document.getElementById('pane6');

		thePane1.className = 'unselectedFane';
		thePane2.className = 'unselectedFane';
		thePane3.className = 'unselectedFane';
		thePane4.className = 'unselectedFane';
		thePane5.className = 'unselectedFane';
		thePane6.className = 'unselectedFane';
		
		if (theDiv == 'div1') { thePane1.className = 'selectedFane'; }
		if (theDiv == 'div2') { thePane2.className = 'selectedFane'; }
		if (theDiv == 'div3') { thePane3.className = 'selectedFane'; }
		if (theDiv == 'div4') { thePane4.className = 'selectedFane'; }
		if (theDiv == 'div5') { thePane5.className = 'selectedFane'; }
		if (theDiv == 'div6') { thePane6.className = 'selectedFane'; }

		// Set all layers to none
		theDiv1.style.display = "none";
		theDiv2.style.display = "none";
		theDiv3.style.display = "none";
		theDiv4.style.display = "none";
		theDiv5.style.display = "none";
		theDiv6.style.display = "none";

		// Show the actual layer
		selectedDiv.style.display = "block";
}


