var airports = []; var flights = []; airports[0] = {id: "ZBAA", lat: "40.073333", long: "116.598333"}; airports[1] = {id: "CYVR", lat: "49.194694", long: "-123.183967"}; airports[2] = {id: "CYYT", lat: "47.618620", long: "-52.752420"}; airports[3] = {id: "CYYZ", lat: "43.676661", long: "-79.630645"}; airports[4] = {id: "SKBO", lat: "4.701603", long: "-74.146956"}; airports[5] = {id: "CYQB", lat: "46.791195", long: "-71.393314"}; airports[6] = {id: "CYUL", lat: "45.470464", long: "-73.740933"}; airports[7] = {id: "CYHZ", lat: "44.881186", long: "-63.508708"}; airports[8] = {id: "VTBS", lat: "13.685833", long: "100.748889"}; flights[0] = {lat: "58.0547429131", long: "-167.09594939", pid: "VAC036798", name: "William Tang", flt: "30", orig: "ZBAA", dest: "CYVR", type: "B77L", alt: "35773", spd: "491 kts", hdg: "80", origlat: "40.073333", origlong: "116.598333", destlat: "49.194694", destlong: "-123.183967", acft: "ml", fstat: "In Flight", lastupdi: "01:42:44Z"}; flights[1] = {lat: "44.8983208804", long: "-77.8675339387", pid: "VAC036309", name: "John Callum", flt: "687", orig: "CYYT", dest: "CYYZ", type: "B38M", alt: "36198", spd: "430 kts", hdg: "240", origlat: "47.618620", origlong: "-52.752420", destlat: "43.676661", destlong: "-79.630645", acft: "ml", fstat: "In Flight", lastupdi: "01:43:00Z"}; flights[2] = {lat: "39.949397809", long: "-77.9415182609", pid: "VAC043607", name: "Rishon Banton", flt: "95", orig: "SKBO", dest: "CYYZ", type: "A333", alt: "39968", spd: "456 kts", hdg: "350", origlat: "4.701603", origlong: "-74.146956", destlat: "43.676661", destlong: "-79.630645", acft: "ml", fstat: "In Flight", lastupdi: "01:42:57Z"}; flights[3] = {lat: "46.8610437414", long: "-104.728974776", pid: "VAC047649", name: "Matheus Ferreira", flt: "395", orig: "CYQB", dest: "CYVR", type: "B38M", alt: "28504", spd: "351 kts", hdg: "280", origlat: "46.791195", origlong: "-71.393314", destlat: "49.194694", destlong: "-123.183967", acft: "ml", fstat: "In Flight", lastupdi: "01:42:57Z"}; flights[4] = {lat: "44.887583", long: "-63.512766", pid: "VAC021238", name: "Christoph Sturm", flt: "668", orig: "CYUL", dest: "CYHZ", type: "A321", alt: "451", spd: "0 kts", hdg: "350", origlat: "45.470464", origlong: "-73.740933", destlat: "44.881186", destlong: "-63.508708", acft: "ml", fstat: "Landed", lastupdi: "01:43:03Z"}; flights[5] = {lat: "50.5467261229", long: "-126.37597931", pid: "VAC047401", name: "Mickey Bodog", flt: "65", orig: "CYVR", dest: "VTBS", type: "B77L", alt: "24260", spd: "405 kts", hdg: "310", origlat: "49.194694", origlong: "-123.183967", destlat: "13.685833", destlong: "100.748889", acft: "ml", fstat: "In Flight", lastupdi: "01:42:41Z"}; flights[6] = {lat: "45.3491201203", long: "-74.8310081415", pid: "VAC041673", name: "Brett Shearer", flt: "421", orig: "CYUL", dest: "CYYZ", type: "B77L", alt: "27265", spd: "426 kts", hdg: "260", origlat: "45.470464", origlong: "-73.740933", destlat: "43.676661", destlong: "-79.630645", acft: "ml", fstat: "In Flight", lastupdi: "01:42:52Z"}; flights[7] = {lat: "47.613924", long: "-52.743212", pid: "VAC047673", name: "Antonio Catao", flt: "1523", orig: "CYYT", dest: "CYUL", type: "A320", alt: "448", spd: "0 kts", hdg: "210", origlat: "47.618620", origlong: "-52.752420", destlat: "45.470464", destlong: "-73.740933", acft: "ml", fstat: "Boarding", lastupdi: "01:42:41Z"}; var tabledata = '
| VAC ID | Pilot Name | Flight | From | To | Aircraft | Departure | Arrival | Status |
| 036798 | William Tang | VAC 30 | ZBAA | CYVR | B77L | 18:11Z | --- | In Flight |
| 036309 | John Callum | VAC 687 | CYYT | CYYZ | B38M | 19:48Z | --- | In Flight |
| 043607 | Rishon Banton | VAC 95 | SKBO | CYYZ | A333 | 20:37Z | --- | In Flight |
| 047649 | Matheus Ferreira | VAC 395 | CYQB | CYVR | B38M | 21:52Z | --- | In Flight |
| 021238 | Christoph Sturm | VAC 668 | CYUL | CYHZ | A321 | 00:11Z | 01:37Z | Arriving |
| 047401 | Mickey Bodog | VAC 65 | CYVR | VTBS | B77L | 00:59Z | --- | In Flight |
| 041673 | Brett Shearer | VAC 421 | CYUL | CYYZ | B77L | 01:24Z | --- | In Flight |
| 047673 | Antonio Catao | VAC 1523 | CYYT | CYUL | A320 | --- | --- | Boarding |