$(document).ready(function() {

	//hide the transcript on load
	$("#transcript").hide();
	//append the link to the document
	$('#speaker-transcript').append('<a id="show-hide" href="#">Show transcript</a>');
	
	//toggle show/hide link
	$('#show-hide').toggle(
		function() {
			$('#transcript').show('slow');
			$(this).html('Hide Transcript');
		},
		function() {
			$('#transcript').hide('slow');
			$(this).html('Show Transcript');
		}
	);
});
