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 = 'michih'; segments = [ 820848, 820849, 820850, 820851, 820852, 820818, 820819, 820820, 820821, 820822, 820823, 820824, 820825, 820826, 820827, 820828, 820829, 820830, 820831, 820832, 820833, 820834, 820835, 820836, 820837, 820838, 820839, 820840, 820841, 820842, 820843, 820844, 820845, 820846, 820847, 820814, 820815, 820816, 820817, 820853, 820854, 820855, 820856, 820857, 820858, 820859, 820860, 820861, 820862, 820863, 820864, 820865, 820866, 820867, 820868, 820869, 820870, 820871 ]; clinched = [ 820848, 820849, 820850, 820851, 820852, 820820, 820821, 820822, 820823, 820824, 820825, 820826, 820827, 820828, 820829, 820830, 820831, 820832, 820833, 820834, 820835, 820844, 820845, 820846, 820847, 820853, 820854, 820855, 820862, 820863, 820864, 820865, 820866, 820867, 820868, 820869, 820870 ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }