	function add_goodbye() {
			document.getElementById("goodbye").innerHTML = "<button class='extended' onclick='goodbye()'>Goodbye</button>"
		}
		
		function set_name(name) {
			document.getElementById("character_name").innerHTML = name
		}
		
		function done_loading() {
			var desired_location = "byond://?done_loading=/menu/dialogue"
			window.location = desired_location
			add_goodbye()
		}		
		
		done_loading()

	</script>
	
</html>

