/* JS for hidden admin boxes that toggle on and off */

	$(document).ready (function() {
	
		//hides the slickboxes as soon as the DOM is ready (a little sooner than page load)
		$('#slickbox').hide();
		$('#addbox1').hide();
		$('#addbox2').hide();
		$('#editbox1').hide();
		$('#editbox2').hide();
		$('#delbox1').hide();
		$('#delbox2').hide();
		
		//shows the slickbox on clicking noted link
		$('#slick').click(function() {
			$('#slickbox').slideToggle('slow');
			$('.intro').slideToggle('slow');
			return false;
		});
		
		//shows the slickbox on clicking noted link
		$('#add1').click(function() {
			$('#addbox1').slideToggle('slow');
			return false;
		});
		
		//shows the slickbox on clicking noted link
		$('#add2').click(function() {
			$('#addbox2').slideToggle('slow');
			return false;
		});
		
		//shows the slickbox on clicking noted link
		$('#edit1').click(function() {
			$('#editbox1').slideToggle('slow');
			return false;
		});
		
		//shows the slickbox on clicking noted link
		$('#edit2').click(function() {
			$('#editbox2').slideToggle('slow');
			return false;
		});
		
		//shows the slickbox on clicking noted link
		$('#del1').click(function() {
			$('#delbox1').slideToggle('slow');
			return false;
		});
		
		//shows the slickbox on clicking noted link
		$('#del2').click(function() {
			$('#delbox2').slideToggle('slow');
			return false;
		});
		
		
	});