function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "bih.a001lak", tier: 1, color: "TMblue", system: "biha2", label: "BIH A1Lak" }; routeInfo[1] = { firstWaypoint: 6, root: "bih.a001x", tier: 1, color: "TMblue", system: "biha2", label: "BIH A1x" }; routeInfo[2] = { firstWaypoint: 33, root: "bih.a001xbub", tier: 1, color: "TMblue", system: "biha2", label: "BIH A1xBub" }; routeInfo[3] = { firstWaypoint: 38, root: "bih.a001xodz", tier: 1, color: "TMblue", system: "biha2", label: "BIH A1xOdz" }; routeInfo[4] = { firstWaypoint: 42, root: "bih.a001xrud", tier: 1, color: "TMblue", system: "biha2", label: "BIH A1xRud" }; routeInfo[5] = { firstWaypoint: 44, root: "bih.a002", tier: 1, color: "TMblue", system: "biha2", label: "BIH A2" }; waypoints = [ new Waypoint("1",45.114602,17.19208), new Waypoint("2",45.046177,17.213602), new Waypoint("+X932631",45.011176,17.226048), new Waypoint("3",44.96,17.277889), new Waypoint("4",44.919674,17.297244), new Waypoint("5",44.877616,17.281966), new Waypoint("12",44.241671,17.901793), new Waypoint("+X147995",44.192898,17.967153), new Waypoint("13",44.176264,17.972689), new Waypoint("+X366099",44.141196,17.968311), new Waypoint("14",44.133543,17.988245), new Waypoint("+X294750",44.135221,18.079548), new Waypoint("15",44.12333,18.09956), new Waypoint("+X194",44.105831,18.111134), new Waypoint("+X196",44.0555,18.1038), new Waypoint("+X197",44.009021,18.144693), new Waypoint("16",44.00487,18.166537), new Waypoint("+X198",43.990993,18.198338), new Waypoint("+X200",43.992105,18.220139), new Waypoint("17",43.969523,18.25151), new Waypoint("+X201",43.94769,18.255587), new Waypoint("+X202",43.938667,18.289833), new Waypoint("18",43.90696,18.324101), new Waypoint("+X764679",43.900645,18.326912), new Waypoint("19",43.874788,18.292623), new Waypoint("+X165499",43.863975,18.275864), new Waypoint("20",43.861267,18.249815), new Waypoint("+X779243",43.87915,18.18615), new Waypoint("21",43.863,18.144307), new Waypoint("+X622564",43.821957,18.091307), new Waypoint("22",43.79207,18.082252), new Waypoint("+X795176",43.742592,18.038006), new Waypoint("M17_Bra",43.74098,18.024745), new Waypoint("31",43.157391,17.660351), new Waypoint("+X327826",43.161492,17.647305), new Waypoint("+X977410",43.146495,17.596192), new Waypoint("32",43.129522,17.586622), new Waypoint("BIH/HRV",43.123101,17.56628), new Waypoint("HRV/BIH",45.105603,18.314606), new Waypoint("1",45.099639,18.299189), new Waypoint("+X163260",45.087521,18.282537), new Waypoint("2",45.025366,18.297182), new Waypoint("5",44.797262,18.075385), new Waypoint("6",44.761057,18.060751), new Waypoint("1",44.919674,17.297244), new Waypoint("*M16",44.918793,17.311642), new Waypoint("2",44.91899,17.324367), new Waypoint("3",44.871154,17.402623), new Waypoint("+X638238",44.868128,17.429209), new Waypoint("+X278638",44.854591,17.449636), new Waypoint("+X337307",44.867732,17.514911), new Waypoint("+X185467",44.883029,17.538729), new Waypoint("+X985892",44.894249,17.602544), new Waypoint("4",44.848248,17.678139), new Waypoint("+X123523",44.857238,17.705927), new Waypoint("+X513790",44.841751,17.801456), new Waypoint("+X855965",44.815637,17.824287), new Waypoint("+X370275",44.813323,17.88969), new Waypoint("+X912547",44.820082,17.921962), new Waypoint("+X562140",44.8381,17.939129), new Waypoint("+X666563",44.844794,17.96608), new Waypoint("+X932510",44.83177,18.002901), new Waypoint("5",44.810127,18.041696), new Waypoint("6",44.797262,18.075385) ]; traveler = ''; segments = [ 823868, 823869, 823870, 823871, 823872, 823838, 823839, 823840, 823841, 823842, 823843, 823844, 823845, 823846, 823847, 823848, 823849, 823850, 823851, 823852, 823853, 823854, 823855, 823856, 823857, 823858, 823859, 823860, 823861, 823862, 823863, 823864, 823865, 823866, 823867, 823834, 823835, 823836, 823837, 823873, 823874, 823875, 823876, 823877, 823878, 823879, 823880, 823881, 823882, 823883, 823884, 823885, 823886, 823887, 823888, 823889, 823890, 823891 ]; clinched = [ ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }