 	timedRefresh()
 ), 500
 
+reflown = []
+launch_state = 0
+
 new_date = new Date().getTime()
 unix_hour = 60 * 60
 unix_day = unix_hour * 24

				t_message = (t_minus / unix_day).toFixed(1) + "d"
		stream = [
			p.payloads[0].payload_id
			p.payloads[0].payload_type
			p.payloads[0].orbit
			p.launch_site.site_name.replace /(?=\D)\s(?=\d)/g, '-'
			p.landing_vehicle || 'expandible'

cb_spacex = (r) ->
	table = document.createElement 'table'
	for p in r
		core_reused = if p.reused then '*' else ''
		capsule_reused = if p.reuse.capsule then '*' else ''
		t_minus = p.launch_date_unix - (new_date / 1000)
		switch
			when (t_minus < 172800) # 2 days
				t_message = (t_minus / unix_hour).toFixed(1) + "h"
