var airports = []; var flights = []; airports[0] = {id: "CYYZ", lat: "43.676661", long: "-79.630645"}; airports[1] = {id: "OMDB", lat: "25.252778", long: "55.364445"}; airports[2] = {id: "CYUL", lat: "45.470464", long: "-73.740933"}; airports[3] = {id: "LIRF", lat: "41.800278", long: "12.238889"}; airports[4] = {id: "RKSI", lat: "37.462500", long: "126.439167"}; airports[5] = {id: "CYSJ", lat: "45.316158", long: "-65.890122"}; flights[0] = {lat: "45.0790294109", long: "-75.5805120668", pid: "VAC045719", name: "Taka Mukono", flt: "56", orig: "CYYZ", dest: "OMDB", type: "B788", alt: "35100", spd: "497 kts", hdg: "70", origlat: "43.676661", origlong: "-79.630645", destlat: "25.252778", destlong: "55.364445", acft: "ml", fstat: "In Flight", lastupdi: "03:19:11Z"}; flights[1] = {lat: "53.7682100865", long: "-31.4784453521", pid: "VAC035421", name: "Michael De Chantal", flt: "892", orig: "CYUL", dest: "LIRF", type: "B77W", alt: "35862", spd: "576 kts", hdg: "70", origlat: "45.470464", origlong: "-73.740933", destlat: "41.800278", destlong: "12.238889", acft: "ml", fstat: "In Flight", lastupdi: "03:19:21Z"}; flights[2] = {lat: "36.2634645225", long: "134.126240778", pid: "VAC005", name: "Jason Smith", flt: "68", orig: "RKSI", dest: "CYUL", type: "B789", alt: "35027", spd: "517 kts", hdg: "90", origlat: "37.462500", origlong: "126.439167", destlat: "45.470464", destlong: "-73.740933", acft: "ml", fstat: "In Flight", lastupdi: "03:19:22Z"}; flights[3] = {lat: "43.6961686396", long: "-79.3632751931", pid: "VAC047565", name: "John Brosnan ", flt: "1530", orig: "CYYZ", dest: "CYSJ", type: "A319", alt: "10450", spd: "326 kts", hdg: "120", origlat: "43.676661", origlong: "-79.630645", destlat: "45.316158", destlong: "-65.890122", acft: "ml", fstat: "In Flight", lastupdi: "03:19:29Z"}; var tabledata = '
VAC ID | Pilot Name | Flight | From | To | Aircraft | Departure | Arrival | Status |
045719 | Taka Mukono | VAC 56 | CYYZ | OMDB | B788 | 02:46Z | --- | In Flight |
035421 | Michael De Chantal | VAC 892 | CYUL | LIRF | B77W | 23:52Z | --- | In Flight |
000005 | Jason Smith | VAC 68 | RKSI | CYUL | B789 | 02:11Z | --- | In Flight |
047565 | John Brosnan | VAC 1530 | CYYZ | CYSJ | A319 | 02:55Z | --- | In Flight |