
				var chosen_topic = global_stored_topics[i]
				if(chosen_topic.substring(0,1) != "*") {
					var formatted_link = "<a href=\"byond://?src="+global_reference+";topic="+encodeURIComponent(chosen_topic)+"\">"+chosen_topic+"</a>"
					topics_html = topics_html+formatted_link+"<br>"
				}
			}
			document.getElementById("topics").innerHTML = topics_html
		
		}	
		
		function goodbye() {
			var desired_location = "byond://?src="+global_reference+";topic=goodbye"
			window.location = desired_location
		}
		
	