/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
@module Trains-Editor
*/
/**@inner*/
var TrainStations =[new google.maps.LatLng(45.886277,13.902437),
new google.maps.LatLng(46.05809,13.617254),
new google.maps.LatLng(46.156881,15.609179),
new google.maps.LatLng(46.108026,13.68444),
new google.maps.LatLng(45.886655,13.772048),
new google.maps.LatLng(45.757921,15.148072),
new google.maps.LatLng(46.557728,15.554211),
new google.maps.LatLng(45.989894,15.3959),
new google.maps.LatLng(46.368318,14.082341),
new google.maps.LatLng(46.338409,14.060491),
new google.maps.LatLng(46.274228,13.959138),
new google.maps.LatLng(45.921493,14.368234),
new google.maps.LatLng(46.006261,15.289696),
new google.maps.LatLng(45.855942,13.784187),
new google.maps.LatLng(46.041665,15.235598),
new google.maps.LatLng(45.987397,15.470062),
new google.maps.LatLng(46.021296,14.426501),
new google.maps.LatLng(45.92382,15.589954),
new google.maps.LatLng(46.22856,15.268184),
new google.maps.LatLng(46.237145,15.244981),
new google.maps.LatLng(45.886842,13.865313),
new google.maps.LatLng(46.65419,15.660148),
new google.maps.LatLng(46.40091,15.720264),
new google.maps.LatLng(45.580023,15.191035),
new google.maps.LatLng(45.55199,13.891456),
new google.maps.LatLng(45.681549,13.96494),
new google.maps.LatLng(45.898488,15.655031),
new google.maps.LatLng(46.217522,15.754941),
new google.maps.LatLng(45.63227,15.269847),
new google.maps.LatLng(45.88254,13.845293),
new google.maps.LatLng(46.550612,14.986686),
new google.maps.LatLng(46.277533,15.498065),
new google.maps.LatLng(46.139598,14.59238),
new google.maps.LatLng(45.885798,13.734249),
new google.maps.LatLng(45.88996,13.736135),
new google.maps.LatLng(46.586957,15.026938),
new google.maps.LatLng(46.206644,14.594519),
new google.maps.LatLng(45.76491,13.826212),
new google.maps.LatLng(46.548045,15.451641),
new google.maps.LatLng(46.381179,15.029934),
new google.maps.LatLng(46.394954,16.194658),
new google.maps.LatLng(45.940484,14.909246),
new google.maps.LatLng(46.323322,14.208416),
new google.maps.LatLng(45.934792,15.0449),
new google.maps.LatLng(45.666414,14.072221),
new google.maps.LatLng(46.800756,16.218395),
new google.maps.LatLng(45.616419,15.241368),
new google.maps.LatLng(46.151409,13.856859),
new google.maps.LatLng(46.557114,16.174182),
new google.maps.LatLng(46.213068,15.439528),
new google.maps.LatLng(45.955927,14.652222),
new google.maps.LatLng(46.403156,15.855077),
new google.maps.LatLng(46.50104,15.662881),
new google.maps.LatLng(46.820372,16.329209),
new google.maps.LatLng(46.56636,14.841371),
new google.maps.LatLng(46.179934,14.590739),
new google.maps.LatLng(46.122584,15.093456),
new google.maps.LatLng(45.501064,13.90924),
new google.maps.LatLng(45.603695,13.935268),
new google.maps.LatLng(46.179737,13.919812),
new google.maps.LatLng(45.833904,15.136128),
new google.maps.LatLng(45.569168,14.23591),
new google.maps.LatLng(46.127051,15.601205),
new google.maps.LatLng(45.937952,14.803037),
new google.maps.LatLng(46.458597,16.156727),
new google.maps.LatLng(46.165655,14.59398),
new google.maps.LatLng(45.989162,15.239862),
new google.maps.LatLng(46.436091,14.054512),
new google.maps.LatLng(46.084182,14.736674),
new google.maps.LatLng(46.220804,14.603573),
new google.maps.LatLng(46.228877,14.609531),
new google.maps.LatLng(46.224896,14.609239),
new google.maps.LatLng(45.876996,13.817489),
new google.maps.LatLng(46.083732,13.631619),
new google.maps.LatLng(46.400639,15.800705),
new google.maps.LatLng(45.615694,14.185938),
new google.maps.LatLng(46.423821,14.078622),
new google.maps.LatLng(45.539017,13.738405),
new google.maps.LatLng(45.784866,13.831707),
new google.maps.LatLng(46.5758292,15.6595003),
new google.maps.LatLng(45.670445,14.105562),
new google.maps.LatLng(46.238954,14.348111),
new google.maps.LatLng(45.74212,13.827285),
new google.maps.LatLng(46.103009,14.791677),
new google.maps.LatLng(45.956163,15.493385),
new google.maps.LatLng(46.154854,15.231927),
new google.maps.LatLng(46.088282,14.68758),
new google.maps.LatLng(46.360441,14.158052),
new google.maps.LatLng(45.945432,15.540307),
new google.maps.LatLng(46.558818,15.583116),
new google.maps.LatLng(46.6233702,16.2098035),
new google.maps.LatLng(46.058166,14.825078),
new google.maps.LatLng(46.076961,14.490101),
new google.maps.LatLng(46.05873,14.512684),
new google.maps.LatLng(46.076761,14.503153),
new google.maps.LatLng(46.100918,14.52638),
new google.maps.LatLng(46.0887,14.506983),
new google.maps.LatLng(46.063403,14.548422),
new google.maps.LatLng(46.059582,14.583202),
new google.maps.LatLng(46.036579,14.51946),
new google.maps.LatLng(46.08685,14.479902),
new google.maps.LatLng(46.049896,14.493342),
new google.maps.LatLng(46.100416,14.464463),
new google.maps.LatLng(46.055794,14.52913),
new google.maps.LatLng(46.059613,14.615184),
new google.maps.LatLng(46.528775,16.189286),
new google.maps.LatLng(46.52102,16.199733),
new google.maps.LatLng(45.917704,14.235808),
new google.maps.LatLng(46.053544,15.205502),
new google.maps.LatLng(46.783185,16.164632),
new google.maps.LatLng(46.562187,15.658451),
new google.maps.LatLng(46.5563298,15.6246441),
new google.maps.LatLng(46.554208,15.634777),
new google.maps.LatLng(46.5511361,15.6442662),
new google.maps.LatLng(46.538889,15.651183),
new google.maps.LatLng(46.5584438,15.6013341),
new google.maps.LatLng(46.1223194,14.4399969),
new google.maps.LatLng(46.137875,14.412237),
new google.maps.LatLng(46.500882,16.155374),
new google.maps.LatLng(46.235031,15.564445),
new google.maps.LatLng(45.642425,15.323122),
new google.maps.LatLng(45.94921,15.062455),
new google.maps.LatLng(45.866797,15.091448),
new google.maps.LatLng(45.940336,14.68519),
new google.maps.LatLng(45.958007,15.121487),
new google.maps.LatLng(46.146415,13.75929),
new google.maps.LatLng(46.423316,15.983648),
new google.maps.LatLng(46.659244,16.171802),
new google.maps.LatLng(45.641256,14.198142),
new google.maps.LatLng(46.289028,14.002718),
new google.maps.LatLng(45.987616,14.402554),
new google.maps.LatLng(45.955178,13.635652),
new google.maps.LatLng(45.810802,15.155606),
new google.maps.LatLng(45.804706,15.162038),
new google.maps.LatLng(45.799872,15.160582),
new google.maps.LatLng(46.391067,16.22575),
new google.maps.LatLng(45.899112,13.6902),
new google.maps.LatLng(46.473352,15.663466),
new google.maps.LatLng(46.403079,16.156125),
new google.maps.LatLng(46.419535,16.047974),
new google.maps.LatLng(46.26397,15.473323),
new google.maps.LatLng(46.311027,14.232447),
new google.maps.LatLng(45.598881,15.161531),
new google.maps.LatLng(46.574877,15.406425),
new google.maps.LatLng(46.34147,15.019656),
new google.maps.LatLng(46.426518,16.17912),
new google.maps.LatLng(46.609892,15.68047),
new google.maps.LatLng(46.246117,15.189757),
new google.maps.LatLng(45.9682,15.163338),
new google.maps.LatLng(45.675549,14.191377),
new google.maps.LatLng(45.861766,14.274974),
new google.maps.LatLng(46.046084,13.589716),
new google.maps.LatLng(46.209189,13.966951),
new google.maps.LatLng(46.150194,15.599185),
new google.maps.LatLng(46.165885,15.60471),
new google.maps.LatLng(45.534473,13.942895),
new google.maps.LatLng(46.38748,14.094283),
new google.maps.LatLng(46.573697,15.02088),
new google.maps.LatLng(46.159368,13.813947),
new google.maps.LatLng(46.293956,14.258424),
new google.maps.LatLng(46.244012,15.572933),
new google.maps.LatLng(46.590606,15.330573),
new google.maps.LatLng(46.313778,15.576328),
new google.maps.LatLng(46.282384,15.066191),
new google.maps.LatLng(45.94074,14.779137),
new google.maps.LatLng(46.2480643,15.430381),
new google.maps.LatLng(45.897761,15.042735),
new google.maps.LatLng(45.773099,14.22173),
new google.maps.LatLng(45.699366,13.930478),
new google.maps.LatLng(46.39514,15.6621),
new google.maps.LatLng(45.965688,14.396091),
new google.maps.LatLng(45.728541,14.185466),
new google.maps.LatLng(45.56416,13.942151),
new google.maps.LatLng(46.549994,14.921771),
new google.maps.LatLng(46.193635,15.59408),
new google.maps.LatLng(45.88751,13.722667),
new google.maps.LatLng(46.422379,15.878686),
new google.maps.LatLng(46.703363,16.153704),
new google.maps.LatLng(46.409809,16.1762),
new google.maps.LatLng(46.454027,15.66381),
new google.maps.LatLng(46.071893,15.182866),
new google.maps.LatLng(45.943228,14.873156),
new google.maps.LatLng(46.340443,14.17374),
new google.maps.LatLng(45.815698,14.312776),
new google.maps.LatLng(45.466104,13.9551293),
new google.maps.LatLng(46.547065,14.963377),
new google.maps.LatLng(46.156531,14.37114),
new google.maps.LatLng(46.125498,15.199229),
new google.maps.LatLng(46.223032,15.661281),
new google.maps.LatLng(46.14909,14.592465),
new google.maps.LatLng(45.627163,13.975224),
new google.maps.LatLng(46.231842,15.63851),
new google.maps.LatLng(46.224441,15.697905),
new google.maps.LatLng(45.648808,15.336157),
new google.maps.LatLng(45.681987,15.148252),
new google.maps.LatLng(46.5408362,15.5039012),
new google.maps.LatLng(46.54744,15.521361),
new google.maps.LatLng(46.563019,15.431667),
new google.maps.LatLng(46.089084,14.899851),
new google.maps.LatLng(45.643204,15.162177),
new google.maps.LatLng(46.009446,15.301167),
new google.maps.LatLng(45.704055,13.863369),
new google.maps.LatLng(46.363124,15.598131),
new google.maps.LatLng(46.427177,14.089081),
new google.maps.LatLng(46.175949,15.602106),
new google.maps.LatLng(45.972656,13.646248),
new google.maps.LatLng(46.389075,16.277242),
new google.maps.LatLng(45.875994,13.757519),
new google.maps.LatLng(46.217349,15.56028),
new google.maps.LatLng(46.400761,15.765816),
new google.maps.LatLng(46.602902,15.078368),
new google.maps.LatLng(46.208768,15.760079),
new google.maps.LatLng(46.603957,15.194849),
new google.maps.LatLng(46.82103,16.281478),
new google.maps.LatLng(45.928226,13.646864),
new google.maps.LatLng(46.260612,15.11222),
new google.maps.LatLng(46.674419,15.657937),
new google.maps.LatLng(46.213018,15.396008),
new google.maps.LatLng(45.938005,14.940999),
new google.maps.LatLng(45.959464,15.087687),
new google.maps.LatLng(46.227446,15.470345),
new google.maps.LatLng(45.940791,14.850092),
new google.maps.LatLng(46.40098,15.69725),
new google.maps.LatLng(46.174622,14.334612),
new google.maps.LatLng(45.98433,14.572723),
new google.maps.LatLng(46.192575,14.588162),
new google.maps.LatLng(46.230816,15.516333),
new google.maps.LatLng(45.975141,14.61757),
new google.maps.LatLng(46.328052,15.037867),
new google.maps.LatLng(46.376874,15.04965),
new google.maps.LatLng(45.817985,13.848144),
new google.maps.LatLng(45.911445,14.980858),
new google.maps.LatLng(46.221546,15.321421),
new google.maps.LatLng(46.239947,15.61816),
new google.maps.LatLng(46.605264,15.110742),
new google.maps.LatLng(46.594048,15.125922),
new google.maps.LatLng(46.126292,15.036798),
new google.maps.LatLng(45.906719,15.00864),
new google.maps.LatLng(45.906112,15.024518),
new google.maps.LatLng(46.132759,14.567711),
new google.maps.LatLng(46.1188729,14.55082),
new google.maps.LatLng(46.128708,14.559881),
new google.maps.LatLng(45.966438,15.190824),
new google.maps.LatLng(45.714637,15.127814),
new google.maps.LatLng(46.363498,15.104295),
new google.maps.LatLng(46.368116,15.081389),
new google.maps.LatLng(45.932117,14.969274),
new google.maps.LatLng(46.415185,16.105162),
new google.maps.LatLng(45.94797,14.303944),
new google.maps.LatLng(46.574282,16.182117),
new google.maps.LatLng(46.219324,15.735745),
new google.maps.LatLng(46.410378,14.098658),
new google.maps.LatLng(45.958124,14.742414),
new google.maps.LatLng(45.905776,13.675595),
new google.maps.LatLng(46.596539,15.236013),
new google.maps.LatLng(46.586526,15.279936),
new google.maps.LatLng(46.593639,15.158475),
new google.maps.LatLng(46.12059,14.991078),
new google.maps.LatLng(46.420344,16.034259),
new google.maps.LatLng(45.498395,13.94394),
new google.maps.LatLng(46.085593,15.170193),
new google.maps.LatLng(46.249441,15.167059),
new google.maps.LatLng(45.939606,14.707552),
new google.maps.LatLng(46.401931,14.135639)];
/*
var Stations =[new google.maps.LatLng(45.8985,15.655),new google.maps.LatLng(45.9238,15.59),new google.maps.LatLng(45.9454,15.5403),new google.maps.LatLng(45.9562,15.4934),new google.maps.LatLng(45.9874,15.4701),new google.maps.LatLng(45.9899,15.3959),new google.maps.LatLng(46.0094,15.3012),new google.maps.LatLng(46.0417,15.2356),new google.maps.LatLng(46.0535,15.2055),new google.maps.LatLng(46.0719,15.1829),new google.maps.LatLng(46.0856,15.1702),new google.maps.LatLng(46.1226,15.0935),new google.maps.LatLng(46.1263,15.0368),new google.maps.LatLng(46.1206,14.9911),new google.maps.LatLng(46.0891,14.8999),new google.maps.LatLng(46.0582,14.8251),new google.maps.LatLng(46.103,14.7917),new google.maps.LatLng(46.0842,14.7367),new google.maps.LatLng(46.0883,14.6876),new google.maps.LatLng(46.0596,14.5832),new google.maps.LatLng(46.0596,14.6152),new google.maps.LatLng(46.0587,14.5127),new google.maps.LatLng(46.1004,14.4645),new google.maps.LatLng(46.1223,14.44),new google.maps.LatLng(46.1379,14.4122),new google.maps.LatLng(46.1565,14.3711),new google.maps.LatLng(46.1746,14.3346),new google.maps.LatLng(46.239,14.3481),new google.maps.LatLng(46.294,14.2584),new google.maps.LatLng(46.311,14.2324),new google.maps.LatLng(46.3233,14.2084),new google.maps.LatLng(46.3404,14.1737),new google.maps.LatLng(46.3604,14.1581),new google.maps.LatLng(46.4019,14.1356),new google.maps.LatLng(46.4272,14.0891),new google.maps.LatLng(46.077,14.4901),new google.maps.LatLng(46.0868,14.4799),new google.maps.LatLng(46.1009,14.5264),new google.maps.LatLng(46.1396,14.5924),new google.maps.LatLng(46.1657,14.594),new google.maps.LatLng(46.2208,14.6036),new google.maps.LatLng(46.2249,14.6092),new google.maps.LatLng(46.2289,14.6095),new google.maps.LatLng(46.0768,14.5032),new google.maps.LatLng(46.1287,14.5599),new google.maps.LatLng(46.1328,14.5677),new google.maps.LatLng(46.1491,14.5925),new google.maps.LatLng(46.1799,14.5907),new google.maps.LatLng(46.1926,14.5882),new google.maps.LatLng(46.2066,14.5945),new google.maps.LatLng(46.0887,14.507),new google.maps.LatLng(46.1189,14.5508),new google.maps.LatLng(46.4361,14.0545),new google.maps.LatLng(45.6488,15.3362),new google.maps.LatLng(45.6424,15.3231),new google.maps.LatLng(45.6323,15.2698),new google.maps.LatLng(45.6164,15.2414),new google.maps.LatLng(45.58,15.191),new google.maps.LatLng(45.5989,15.1615),new google.maps.LatLng(45.6432,15.1622),new google.maps.LatLng(45.682,15.1483),new google.maps.LatLng(45.7146,15.1278),new google.maps.LatLng(45.7579,15.1481),new google.maps.LatLng(45.7999,15.1606),new google.maps.LatLng(45.8047,15.162),new google.maps.LatLng(45.8108,15.1556),new google.maps.LatLng(45.8668,15.0914),new google.maps.LatLng(45.8978,15.0427),new google.maps.LatLng(45.8339,15.1361),new google.maps.LatLng(45.9067,15.0086),new google.maps.LatLng(45.9114,14.9809),new google.maps.LatLng(45.9321,14.9693),new google.maps.LatLng(45.938,14.941),new google.maps.LatLng(45.9405,14.9092),new google.maps.LatLng(45.9432,14.8732),new google.maps.LatLng(45.9408,14.8501),new google.maps.LatLng(45.938,14.803),new google.maps.LatLng(45.9407,14.7791),new google.maps.LatLng(45.9581,14.7424),new google.maps.LatLng(45.9396,14.7076),new google.maps.LatLng(45.9403,14.6852),new google.maps.LatLng(45.9559,14.6522),new google.maps.LatLng(45.9751,14.6176),new google.maps.LatLng(45.9843,14.5727),new google.maps.LatLng(46.0366,14.5195),new google.maps.LatLng(46.0558,14.5291),new google.maps.LatLng(46.0063,15.2897),new google.maps.LatLng(45.9892,15.2399),new google.maps.LatLng(45.9664,15.1908),new google.maps.LatLng(45.9682,15.1633),new google.maps.LatLng(45.958,15.1215),new google.maps.LatLng(45.9595,15.0877),new google.maps.LatLng(45.9492,15.0625),new google.maps.LatLng(45.9348,15.0449),new google.maps.LatLng(45.9061,15.0245),new google.maps.LatLng(46.1255,15.1992),new google.maps.LatLng(46.1549,15.2319),new google.maps.LatLng(46.2286,15.2682),new google.maps.LatLng(46.2215,15.3214),new google.maps.LatLng(46.213,15.396),new google.maps.LatLng(46.2131,15.4395),new google.maps.LatLng(46.2481,15.4304),new google.maps.LatLng(46.2775,15.4981),new google.maps.LatLng(46.3138,15.5763),new google.maps.LatLng(46.3631,15.5981),new google.maps.LatLng(46.264,15.4733),new google.maps.LatLng(46.2274,15.4703),new google.maps.LatLng(46.2308,15.5163),new google.maps.LatLng(46.3951,15.6621),new google.maps.LatLng(46.454,15.6638),new google.maps.LatLng(46.4734,15.6635),new google.maps.LatLng(46.501,15.6629),new google.maps.LatLng(46.5389,15.6512),new google.maps.LatLng(46.4009,15.7203),new google.maps.LatLng(46.4008,15.7658),new google.maps.LatLng(46.4006,15.8007),new google.maps.LatLng(46.4032,15.8551),new google.maps.LatLng(46.4224,15.8787),new google.maps.LatLng(46.4233,15.9836),new google.maps.LatLng(46.4195,16.048),new google.maps.LatLng(46.4152,16.1052),new google.maps.LatLng(46.4203,16.0343),new google.maps.LatLng(46.401,15.6973),new google.maps.LatLng(46.5622,15.6585),new google.maps.LatLng(46.5542,15.6348),new google.maps.LatLng(46.5588,15.5831),new google.maps.LatLng(46.5577,15.5542),new google.maps.LatLng(46.5408,15.5039),new google.maps.LatLng(46.548,15.4516),new google.maps.LatLng(46.563,15.4317),new google.maps.LatLng(46.5749,15.4064),new google.maps.LatLng(46.5906,15.3306),new google.maps.LatLng(46.5865,15.2799),new google.maps.LatLng(46.5965,15.236),new google.maps.LatLng(46.5936,15.1585),new google.maps.LatLng(46.6053,15.1107),new google.maps.LatLng(46.5511,15.6443),new google.maps.LatLng(46.5584,15.6013),new google.maps.LatLng(46.5474,15.5214),new google.maps.LatLng(46.594,15.1259),new google.maps.LatLng(46.6029,15.0784),new google.maps.LatLng(46.604,15.1948),new google.maps.LatLng(46.5563,15.6246),new google.maps.LatLng(46.6099,15.6805),new google.maps.LatLng(46.6542,15.6601),new google.maps.LatLng(46.6744,15.6579),new google.maps.LatLng(46.5758,15.6595),new google.maps.LatLng(46.587,15.0269),new google.maps.LatLng(46.5471,14.9634),new google.maps.LatLng(46.55,14.9218),new google.maps.LatLng(46.5664,14.8414),new google.maps.LatLng(46.5737,15.0209),new google.maps.LatLng(46.5506,14.9867),new google.maps.LatLng(46.4031,16.1561),new google.maps.LatLng(46.4098,16.1762),new google.maps.LatLng(46.4265,16.1791),new google.maps.LatLng(46.4586,16.1567),new google.maps.LatLng(46.5009,16.1554),new google.maps.LatLng(46.521,16.1997),new google.maps.LatLng(46.3911,16.2257),new google.maps.LatLng(46.3891,16.2772),new google.maps.LatLng(46.395,16.1947),new google.maps.LatLng(46.5288,16.1893),new google.maps.LatLng(46.5743,16.1821),new google.maps.LatLng(46.5571,16.1742),new google.maps.LatLng(46.6234,16.2098),new google.maps.LatLng(46.6592,16.1718),new google.maps.LatLng(46.7034,16.1537),new google.maps.LatLng(46.7832,16.1646),new google.maps.LatLng(46.8008,16.2184),new google.maps.LatLng(46.821,16.2815),new google.maps.LatLng(46.8204,16.3292),new google.maps.LatLng(46.2174,15.5603),new google.maps.LatLng(46.235,15.5644),new google.maps.LatLng(46.244,15.5729),new google.maps.LatLng(46.2318,15.6385),new google.maps.LatLng(46.2244,15.6979),new google.maps.LatLng(46.2175,15.7549),new google.maps.LatLng(46.2088,15.7601),new google.maps.LatLng(46.2399,15.6182),new google.maps.LatLng(46.223,15.6613),new google.maps.LatLng(46.2193,15.7357),new google.maps.LatLng(46.1936,15.5941),new google.maps.LatLng(46.1759,15.6021),new google.maps.LatLng(46.1502,15.5992),new google.maps.LatLng(46.1271,15.6012),new google.maps.LatLng(46.1659,15.6047),new google.maps.LatLng(46.1569,15.6092),new google.maps.LatLng(46.2461,15.1898),new google.maps.LatLng(46.2494,15.1671),new google.maps.LatLng(46.2606,15.1122),new google.maps.LatLng(46.2824,15.0662),new google.maps.LatLng(46.3281,15.0379),new google.maps.LatLng(46.3415,15.0197),new google.maps.LatLng(46.3769,15.0497),new google.maps.LatLng(46.3681,15.0814),new google.maps.LatLng(46.3635,15.1043),new google.maps.LatLng(46.2371,15.245),new google.maps.LatLng(46.3812,15.0299),new google.maps.LatLng(46.0213,14.4265),new google.maps.LatLng(45.9876,14.4026),new google.maps.LatLng(45.9657,14.3961),new google.maps.LatLng(45.9215,14.3682),new google.maps.LatLng(45.948,14.3039),new google.maps.LatLng(45.9177,14.2358),new google.maps.LatLng(45.8618,14.275),new google.maps.LatLng(45.8157,14.3128),new google.maps.LatLng(45.7731,14.2217),new google.maps.LatLng(45.7285,14.1855),new google.maps.LatLng(46.0499,14.4933),new google.maps.LatLng(45.6755,14.1914),new google.maps.LatLng(45.6704,14.1056),new google.maps.LatLng(45.6664,14.0722),new google.maps.LatLng(45.6815,13.9649),new google.maps.LatLng(45.6272,13.9752),new google.maps.LatLng(45.6037,13.9353),new google.maps.LatLng(45.6994,13.9305),new google.maps.LatLng(45.5642,13.9422),new google.maps.LatLng(45.5345,13.9429),new google.maps.LatLng(45.4984,13.9439),new google.maps.LatLng(45.4661,13.9551),new google.maps.LatLng(45.539,13.7384),new google.maps.LatLng(45.552,13.8915),new google.maps.LatLng(45.5011,13.9092),new google.maps.LatLng(45.7041,13.8634),new google.maps.LatLng(45.7421,13.8273),new google.maps.LatLng(45.7849,13.8317),new google.maps.LatLng(45.818,13.8481),new google.maps.LatLng(45.8559,13.7842),new google.maps.LatLng(45.876,13.7575),new google.maps.LatLng(45.8858,13.7342),new google.maps.LatLng(45.8875,13.7227),new google.maps.LatLng(45.8991,13.6902),new google.maps.LatLng(45.9058,13.6756),new google.maps.LatLng(45.9282,13.6469),new google.maps.LatLng(45.8867,13.772),new google.maps.LatLng(45.8863,13.9024),new google.maps.LatLng(45.89,13.7361),new google.maps.LatLng(45.877,13.8175),new google.maps.LatLng(45.8825,13.8453),new google.maps.LatLng(45.8868,13.8653),new google.maps.LatLng(45.9552,13.6357),new google.maps.LatLng(45.9727,13.6462),new google.maps.LatLng(46.0461,13.5897),new google.maps.LatLng(46.0581,13.6173),new google.maps.LatLng(46.0837,13.6316),new google.maps.LatLng(46.108,13.6844),new google.maps.LatLng(46.1464,13.7593),new google.maps.LatLng(46.1594,13.8139),new google.maps.LatLng(46.1514,13.8569),new google.maps.LatLng(46.1797,13.9198),new google.maps.LatLng(46.2092,13.967),new google.maps.LatLng(46.2742,13.9591),new google.maps.LatLng(46.289,14.0027),new google.maps.LatLng(46.3384,14.0605),new google.maps.LatLng(46.3683,14.0823),new google.maps.LatLng(46.3875,14.0943),new google.maps.LatLng(46.4104,14.0987),new google.maps.LatLng(46.4238,14.0786),new google.maps.LatLng(45.7649,13.8262),new google.maps.LatLng(45.6413,14.1981),new google.maps.LatLng(45.6157,14.1859),new google.maps.LatLng(45.5692,14.2359),new google.maps.LatLng(46.0634,14.5484 )];
var StationsData=
[['44652','Ajdovščina'],
['44704','Anhovo'],
['43856','Atomske Toplice hotel'],
['44706','Avče'],
['44651','Batuje'],
['42510','Birčna vas'],
['43403','Bistrica ob Dravi'],
['42006','Blanca'],
['44716','Bled Jezero'],
['44715','Bohinjska Bela'],
['44712','Bohinjska Bistrica'],
['44004','Borovnica'],
['42901','Boštanj'],
['44504','Branik'],
['42101','Breg'],
['42005','Brestanica'],
['44001','Brezovica'],
['42002','Brežice'],
['43100','Celje'],
['43911','Celje Lava'],
['44656','Cesta'],
['43452','Cirknica'],
['43351','Cirkovce'],
['42505','Črnomelj'],
['44356','Črnotiče'],
['44200','Divača'],
['42001','Dobova'],
['43805','Dobovec'],
['42503','Dobravice'],
['44655','Dobravlje'],
['43506','Dobrije'],
['43202','Dolga Gora'],
['42352','Domžale'],
['44506','Dornberk'],
['44653','Dornberk vas'],
['43500','Dravograd'],
['42363','Duplica-Bakovnik'],
['44800','Dutovlje'],
['43405','Fala'],
['43912','Florjan'],
['43653','Frankovci'],
['42704','Gaber'],
['42311','Globoko'],
['42908','Gomila'],
['44102','Gornje Ležeče'],
['43775','Gornji Petrovci'],
['42504','Gradac'],
['44709','Grahovo'],
['43702','Grlava'],
['43200','Grobelno'],
['42800','Grosuplje'],
['43354','Hajdina'],
['43303','Hoče'],
['43777','Hodoš'],
['43503','Holmec'],
['42361','Homec pri Kamniku'],
['42201','Hrastnik'],
['44357','Hrastovlje'],
['44202','Hrpelje-Kozina'],
['44710','Hudajužna'],
['42603','Hudo'],
['44903','Ilirska Bistrica'],
['43854','Imeno'],
['42707','Ivančna Gorica'],
['43603','Ivanjkovci'],
['42353','Jarše-Mengeš'],
['42902','Jelovec'],
['42400','Jesenice'],
['42209','Jevnica'],
['42354','Kamnik'],
['42356','Kamnik Graben'],
['42355','Kamnik mesto'],
['44654','Kamnje'],
['44705','Kanal'],
['43353','Kidričevo'],
['44902','Kilovče'],
['44719','Kočna'],
['44352','Koper'],
['44502','Kopriva'],
['43455','Košaki'],
['44101','Košana'],
['42307','Kranj'],
['44501','Kreplje'],
['42208','Kresnice'],
['42004','Krško'],
['43002','Laško'],
['42210','Laze'],
['42313','Lesce-Bled'],
['42003','Libna'],
['43402','Limbuš'],
['43703','Lipovci'],
['42207','Litija'],
['42316','Litostroj'],
['42300','Ljubljana'],
['42357','Ljubljana Brinje'],
['42351','Ljubljana Črnuče'],
['42365','Ljubljana Ježica'],
['99998','Ljubljana Moste (BTC)'],
['42212','Ljubljana Polje'],
['42804','Ljubljana Rakovnik'],
['42317','Ljubljana Stegne'],
['44011','Ljubljana Tivoli'],
['42302','Ljubljana Vižmarje'],
['42805','Ljubljana Vodmat'],
['42222','Ljubljana Zalog'],
['43700','Ljutomer'],
['43605','Ljutomer mesto'],
['44006','Logatec'],
['42102','Loka'],
['43774','Mačkovci'],
['43400','Maribor'],
['43420','Maribor Sokolska'],
['43401','Maribor Studenci'],
['43413','Maribor Tabor'],
['43304','Maribor Tezno'],
['43414','Marles'],
['42303','Medno'],
['42304','Medvode'],
['43604','Mekotnjak'],
['43801','Mestinje'],
['42502','Metlika'],
['42907','Mirna'],
['42601','Mirna Peč'],
['42711','Mlačevo'],
['42905','Mokronog'],
['44707','Most na Soči'],
['43356','Moškanjci'],
['43704','Murska Sobota'],
['44901','Narin'],
['44713','Nomenj'],
['44002','Notranje Gorice'],
['44700','Nova Gorica'],
['42600','Novo mesto'],
['42512','Novo mesto Center'],
['42511','Novo mesto Kandija'],
['43651','Obrež'],
['44601','Okroglica'],
['43302','Orehova vas'],
['43600','Ormož'],
['43357','Osluševci'],
['43205','Ostrožno'],
['42310','Otoče'],
['42506','Otovec'],
['43407','Ožbalt'],
['43906','Paška vas'],
['43602','Pavlovci'],
['43451','Pesnica'],
['43901','Petrovče'],
['42904','Pijavice'],
['44100','Pivka'],
['44007','Planina'],
['44703','Plave'],
['44711','Podbrdo'],
['43853','Podčetrtek'],
['43855','Podčetrtek Toplice'],
['44301','Podgorje'],
['44717','Podhom'],
['43505','Podklanc'],
['44708','Podmelec'],
['42309','Podnart'],
['43802','Podplat'],
['43408','Podvelka'],
['43203','Poljčane'],
['43904','Polzela'],
['42708','Polževo'],
['43201','Ponikva'],
['42602','Ponikve na Dolenjskem'],
['44009','Postojna'],
['44251','Povir'],
['43300','Pragersko'],
['44003','Preserje'],
['44010','Prestranek'],
['44300','Prešnica'],
['43502','Prevalje'],
['43851','Pristava'],
['44600','Prvačina'],
['43355','Ptuj'],
['43771','Puconci'],
['43601','Pušenci'],
['43301','Rače'],
['42103','Radeče'],
['42705','Radohova vas'],
['42312','Radovljica'],
['44008','Rakek'],
['44303','Rakitovec'],
['43501','Ravne na Koroškem'],
['42305','Reteče'],
['43001','Rimske Toplice'],
['43808','Rjavica'],
['42360','Rodica'],
['44201','Rodik'],
['43803','Rogaška Slatina'],
['43804','Rogatec'],
['42501','Rosalnice'],
['42508','Rožni Dol'],
['43404','Ruše'],
['43415','Ruše tovarna'],
['43406','Ruta'],
['42206','Sava'],
['42507','Semič'],
['42100','Sevnica'],
['44500','Sežana'],
['43204','Slovenska Bistrica'],
['42315','Slovenski Javornik'],
['43852','Sodna vas'],
['44701','Solkan'],
['43652','Središče'],
['44505','Steske'],
['43800','Stranje'],
['43352','Strnišče'],
['43417','Sveti Danijel'],
['43806','Sveti Rok ob Sotli'],
['43418','Sveti Vid'],
['43776','Šalovci'],
['44603','Šempeter pri Gorici'],
['43903','Šempeter v Savinjski dolini'],
['43453','Šentilj'],
['43102','Šentjur'],
['42703','Šentlovrenc'],
['42906','Šentrupert'],
['43251','Šentvid pri Grobelnem'],
['42706','Šentvid pri Stični'],
['43360','Šikole'],
['42306','Škofja Loka'],
['42802','Škofljica'],
['42362','Šmarca'],
['43252','Šmarje pri Jelšah'],
['42801','Šmarje-Sap'],
['43905','Šmartno ob Paki'],
['43907','Šoštanj'],
['44503','Štanjel'],
['42701','Štefan'],
['43101','Štore'],
['43807','Tekačevo'],
['43412','Trbonje'],
['43416','Trbonjsko jezero'],
['42203','Trbovlje'],
['42700','Trebnje'],
['42909','Trebnje Kamna Gora'],
['42359','Trzin'],
['42366','Trzin ind. cona'],
['42358','Trzin Mlake'],
['42903','Tržišče'],
['42509','Uršna sela'],
['43910','Velenje'],
['43909','Velenje Pesje'],
['42702','Velika Loka'],
['43358','Velika Nedelja'],
['44005','Verd'],
['43701','Veržej'],
['43809','Vidina'],
['44718','Vintgar'],
['42709','Višnja Gora'],
['44602','Volčja Draga'],
['43410','Vuhred'],
['43409','Vuhred elektrarna'],
['43411','Vuzenica'],
['42204','Zagorje'],
['43359','Zamušani'],
['44302','Zazid'],
['42200','Zidani Most'],
['43902','Žalec'],
['42710','Žalna'],
['42314','Žirovnica']
];
*/
/**
@inner {Array of google.maps.LatLng} Stations
@desc An array of train station location google.maps.LatLng objects
*/
var TrainStations =[new google.maps.LatLng(45.8985,15.655),new google.maps.LatLng(45.9238,15.59),new google.maps.LatLng(45.9454,15.5403),new google.maps.LatLng(45.9562,15.4934),new google.maps.LatLng(45.9874,15.4701),new google.maps.LatLng(45.9899,15.3959),new google.maps.LatLng(46.0094,15.3012),new google.maps.LatLng(46.0417,15.2356),new google.maps.LatLng(46.0535,15.2055),new google.maps.LatLng(46.0719,15.1829),new google.maps.LatLng(46.0856,15.1702),new google.maps.LatLng(46.1226,15.0935),new google.maps.LatLng(46.1263,15.0368),new google.maps.LatLng(46.1206,14.9911),new google.maps.LatLng(46.0891,14.8999),new google.maps.LatLng(46.0582,14.8251),new google.maps.LatLng(46.103,14.7917),new google.maps.LatLng(46.0842,14.7367),new google.maps.LatLng(46.0883,14.6876),new google.maps.LatLng(46.0596,14.5832),new google.maps.LatLng(46.0596,14.6152),new google.maps.LatLng(46.0587,14.5127),new google.maps.LatLng(46.1004,14.4645),new google.maps.LatLng(46.1223,14.44),new google.maps.LatLng(46.1379,14.4122),new google.maps.LatLng(46.1565,14.3711),new google.maps.LatLng(46.1746,14.3346),new google.maps.LatLng(46.239,14.3481),new google.maps.LatLng(46.294,14.2584),new google.maps.LatLng(46.311,14.2324),new google.maps.LatLng(46.3233,14.2084),new google.maps.LatLng(46.3404,14.1737),new google.maps.LatLng(46.3604,14.1581),new google.maps.LatLng(46.4019,14.1356),new google.maps.LatLng(46.4272,14.0891),new google.maps.LatLng(46.077,14.4901),new google.maps.LatLng(46.0868,14.4799),new google.maps.LatLng(46.1009,14.5264),new google.maps.LatLng(46.1396,14.5924),new google.maps.LatLng(46.1657,14.594),new google.maps.LatLng(46.2208,14.6036),new google.maps.LatLng(46.2249,14.6092),new google.maps.LatLng(46.2289,14.6095),new google.maps.LatLng(46.0768,14.5032),new google.maps.LatLng(46.1287,14.5599),new google.maps.LatLng(46.1328,14.5677),new google.maps.LatLng(46.1491,14.5925),new google.maps.LatLng(46.1799,14.5907),new google.maps.LatLng(46.1926,14.5882),new google.maps.LatLng(46.2066,14.5945),new google.maps.LatLng(46.0887,14.507),new google.maps.LatLng(46.1189,14.5508),new google.maps.LatLng(46.4361,14.0545),new google.maps.LatLng(45.6488,15.3362),new google.maps.LatLng(45.6424,15.3231),new google.maps.LatLng(45.6323,15.2698),new google.maps.LatLng(45.6164,15.2414),new google.maps.LatLng(45.58,15.191),new google.maps.LatLng(45.5989,15.1615),new google.maps.LatLng(45.6432,15.1622),new google.maps.LatLng(45.682,15.1483),new google.maps.LatLng(45.7146,15.1278),new google.maps.LatLng(45.7579,15.1481),new google.maps.LatLng(45.7999,15.1606),new google.maps.LatLng(45.8047,15.162),new google.maps.LatLng(45.8108,15.1556),new google.maps.LatLng(45.8668,15.0914),new google.maps.LatLng(45.8978,15.0427),new google.maps.LatLng(45.8339,15.1361),new google.maps.LatLng(45.9067,15.0086),new google.maps.LatLng(45.9114,14.9809),new google.maps.LatLng(45.9321,14.9693),new google.maps.LatLng(45.938,14.941),new google.maps.LatLng(45.9405,14.9092),new google.maps.LatLng(45.9432,14.8732),new google.maps.LatLng(45.9408,14.8501),new google.maps.LatLng(45.938,14.803),new google.maps.LatLng(45.9407,14.7791),new google.maps.LatLng(45.9581,14.7424),new google.maps.LatLng(45.9396,14.7076),new google.maps.LatLng(45.9403,14.6852),new google.maps.LatLng(45.9559,14.6522),new google.maps.LatLng(45.9751,14.6176),new google.maps.LatLng(45.9843,14.5727),new google.maps.LatLng(46.0366,14.5195),new google.maps.LatLng(46.0558,14.5291),new google.maps.LatLng(46.0063,15.2897),new google.maps.LatLng(45.9892,15.2399),new google.maps.LatLng(45.9664,15.1908),new google.maps.LatLng(45.9682,15.1633),new google.maps.LatLng(45.958,15.1215),new google.maps.LatLng(45.9595,15.0877),new google.maps.LatLng(45.9492,15.0625),new google.maps.LatLng(45.9348,15.0449),new google.maps.LatLng(45.9061,15.0245),new google.maps.LatLng(46.1255,15.1992),new google.maps.LatLng(46.1549,15.2319),new google.maps.LatLng(46.2286,15.2682),new google.maps.LatLng(46.2215,15.3214),new google.maps.LatLng(46.213,15.396),new google.maps.LatLng(46.2131,15.4395),new google.maps.LatLng(46.2481,15.4304),new google.maps.LatLng(46.2775,15.4981),new google.maps.LatLng(46.3138,15.5763),new google.maps.LatLng(46.3631,15.5981),new google.maps.LatLng(46.264,15.4733),new google.maps.LatLng(46.2274,15.4703),new google.maps.LatLng(46.2308,15.5163),new google.maps.LatLng(46.3951,15.6621),new google.maps.LatLng(46.454,15.6638),new google.maps.LatLng(46.4734,15.6635),new google.maps.LatLng(46.501,15.6629),new google.maps.LatLng(46.5389,15.6512),new google.maps.LatLng(46.4009,15.7203),new google.maps.LatLng(46.4008,15.7658),new google.maps.LatLng(46.4006,15.8007),new google.maps.LatLng(46.4032,15.8551),new google.maps.LatLng(46.4224,15.8787),new google.maps.LatLng(46.4233,15.9836),new google.maps.LatLng(46.4195,16.048),new google.maps.LatLng(46.4152,16.1052),new google.maps.LatLng(46.4203,16.0343),new google.maps.LatLng(46.401,15.6973),new google.maps.LatLng(46.5622,15.6585),new google.maps.LatLng(46.5542,15.6348),new google.maps.LatLng(46.5588,15.5831),new google.maps.LatLng(46.5577,15.5542),new google.maps.LatLng(46.5408,15.5039),new google.maps.LatLng(46.548,15.4516),new google.maps.LatLng(46.563,15.4317),new google.maps.LatLng(46.5749,15.4064),new google.maps.LatLng(46.5906,15.3306),new google.maps.LatLng(46.5865,15.2799),new google.maps.LatLng(46.5965,15.236),new google.maps.LatLng(46.5936,15.1585),new google.maps.LatLng(46.6053,15.1107),new google.maps.LatLng(46.5511,15.6443),new google.maps.LatLng(46.5584,15.6013),new google.maps.LatLng(46.5474,15.5214),new google.maps.LatLng(46.594,15.1259),new google.maps.LatLng(46.6029,15.0784),new google.maps.LatLng(46.604,15.1948),new google.maps.LatLng(46.5563,15.6246),new google.maps.LatLng(46.6099,15.6805),new google.maps.LatLng(46.6542,15.6601),new google.maps.LatLng(46.6744,15.6579),new google.maps.LatLng(46.5758,15.6595),new google.maps.LatLng(46.587,15.0269),new google.maps.LatLng(46.5471,14.9634),new google.maps.LatLng(46.55,14.9218),new google.maps.LatLng(46.5664,14.8414),new google.maps.LatLng(46.5737,15.0209),new google.maps.LatLng(46.5506,14.9867),new google.maps.LatLng(46.4031,16.1561),new google.maps.LatLng(46.4098,16.1762),new google.maps.LatLng(46.4265,16.1791),new google.maps.LatLng(46.4586,16.1567),new google.maps.LatLng(46.5009,16.1554),new google.maps.LatLng(46.521,16.1997),new google.maps.LatLng(46.3911,16.2257),new google.maps.LatLng(46.3891,16.2772),new google.maps.LatLng(46.395,16.1947),new google.maps.LatLng(46.5288,16.1893),new google.maps.LatLng(46.5743,16.1821),new google.maps.LatLng(46.5571,16.1742),new google.maps.LatLng(46.6234,16.2098),new google.maps.LatLng(46.6592,16.1718),new google.maps.LatLng(46.7034,16.1537),new google.maps.LatLng(46.7832,16.1646),new google.maps.LatLng(46.8008,16.2184),new google.maps.LatLng(46.821,16.2815),new google.maps.LatLng(46.8204,16.3292),new google.maps.LatLng(46.2174,15.5603),new google.maps.LatLng(46.235,15.5644),new google.maps.LatLng(46.244,15.5729),new google.maps.LatLng(46.2318,15.6385),new google.maps.LatLng(46.2244,15.6979),new google.maps.LatLng(46.2175,15.7549),new google.maps.LatLng(46.2088,15.7601),new google.maps.LatLng(46.2399,15.6182),new google.maps.LatLng(46.223,15.6613),new google.maps.LatLng(46.2193,15.7357),new google.maps.LatLng(46.1936,15.5941),new google.maps.LatLng(46.1759,15.6021),new google.maps.LatLng(46.1502,15.5992),new google.maps.LatLng(46.1271,15.6012),new google.maps.LatLng(46.1659,15.6047),new google.maps.LatLng(46.1569,15.6092),new google.maps.LatLng(46.2461,15.1898),new google.maps.LatLng(46.2494,15.1671),new google.maps.LatLng(46.2606,15.1122),new google.maps.LatLng(46.2824,15.0662),new google.maps.LatLng(46.3281,15.0379),new google.maps.LatLng(46.3415,15.0197),new google.maps.LatLng(46.3769,15.0497),new google.maps.LatLng(46.3681,15.0814),new google.maps.LatLng(46.3635,15.1043),new google.maps.LatLng(46.2371,15.245),new google.maps.LatLng(46.3812,15.0299),new google.maps.LatLng(46.0213,14.4265),new google.maps.LatLng(45.9876,14.4026),new google.maps.LatLng(45.9657,14.3961),new google.maps.LatLng(45.9215,14.3682),new google.maps.LatLng(45.948,14.3039),new google.maps.LatLng(45.9177,14.2358),new google.maps.LatLng(45.8618,14.275),new google.maps.LatLng(45.8157,14.3128),new google.maps.LatLng(45.7731,14.2217),new google.maps.LatLng(45.7285,14.1855),new google.maps.LatLng(46.0499,14.4933),new google.maps.LatLng(45.6755,14.1914),new google.maps.LatLng(45.6704,14.1056),new google.maps.LatLng(45.6664,14.0722),new google.maps.LatLng(45.6815,13.9649),new google.maps.LatLng(45.6272,13.9752),new google.maps.LatLng(45.6037,13.9353),new google.maps.LatLng(45.6994,13.9305),new google.maps.LatLng(45.5642,13.9422),new google.maps.LatLng(45.5345,13.9429),new google.maps.LatLng(45.4984,13.9439),new google.maps.LatLng(45.4661,13.9551),new google.maps.LatLng(45.539,13.7384),new google.maps.LatLng(45.552,13.8915),new google.maps.LatLng(45.5011,13.9092),new google.maps.LatLng(45.7041,13.8634),new google.maps.LatLng(45.7421,13.8273),new google.maps.LatLng(45.7849,13.8317),new google.maps.LatLng(45.818,13.8481),new google.maps.LatLng(45.8559,13.7842),new google.maps.LatLng(45.876,13.7575),new google.maps.LatLng(45.8858,13.7342),new google.maps.LatLng(45.8875,13.7227),new google.maps.LatLng(45.8991,13.6902),new google.maps.LatLng(45.9058,13.6756),new google.maps.LatLng(45.9282,13.6469),new google.maps.LatLng(45.8867,13.772),new google.maps.LatLng(45.8863,13.9024),new google.maps.LatLng(45.89,13.7361),new google.maps.LatLng(45.877,13.8175),new google.maps.LatLng(45.8825,13.8453),new google.maps.LatLng(45.8868,13.8653),new google.maps.LatLng(45.9552,13.6357),new google.maps.LatLng(45.9727,13.6462),new google.maps.LatLng(46.0461,13.5897),new google.maps.LatLng(46.0581,13.6173),new google.maps.LatLng(46.0837,13.6316),new google.maps.LatLng(46.108,13.6844),new google.maps.LatLng(46.1464,13.7593),new google.maps.LatLng(46.1594,13.8139),new google.maps.LatLng(46.1514,13.8569),new google.maps.LatLng(46.1797,13.9198),new google.maps.LatLng(46.2092,13.967),new google.maps.LatLng(46.2742,13.9591),new google.maps.LatLng(46.289,14.0027),new google.maps.LatLng(46.3384,14.0605),new google.maps.LatLng(46.3683,14.0823),new google.maps.LatLng(46.3875,14.0943),new google.maps.LatLng(46.4104,14.0987),new google.maps.LatLng(46.4238,14.0786),new google.maps.LatLng(45.7649,13.8262),new google.maps.LatLng(45.6413,14.1981),new google.maps.LatLng(45.6157,14.1859),new google.maps.LatLng(45.5692,14.2359),new google.maps.LatLng(46.0634,14.5484 )];
/**
@inner {Array of google.maps.LatLng} StationsData
@desc An array of train station data [StationID, StationName]
*/
var TrainStationsData = [['42001','Dobova'],['42002','Brežice'],['42003','Libna'],['42004','Krško'],['42005','Brestanica'],['42006','Blanca'],['42100','Sevnica'],['42101','Breg'],['42102','Loka'],['42103','Radeče'],['42200','Zidani Most'],['42201','Hrastnik'],['42203','Trbovlje'],['42204','Zagorje'],['42206','Sava'],['42207','Litija'],['42208','Kresnice'],['42209','Jevnica'],['42210','Laze'],['42212','Ljubljana Polje'],['42222','Ljubljana Zalog'],['42300','Ljubljana'],['42302','Ljubljana Vižmarje'],['42303','Medno'],['42304','Medvode'],['42305','Reteče'],['42306','Škofja Loka'],['42307','Kranj'],['42309','Podnart'],['42310','Otoče'],['42311','Globoko'],['42312','Radovljica'],['42313','Lesce-Bled'],['42314','Žirovnica'],['42315','Slovenski Javornik'],['42316','Litostroj'],['42317','Ljubljana Stegne'],['42351','Ljubljana Črnuče'],['42352','Domžale'],['42353','Jarše-Mengeš'],['42354','Kamnik'],['42355','Kamnik mesto'],['42356','Kamnik Graben'],['42357','Ljubljana Brinje'],['42358','Trzin Mlake'],['42359','Trzin'],['42360','Rodica'],['42361','Homec pri Kamniku'],['42362','Šmarca'],['42363','Duplica-Bakovnik'],['42365','Ljubljana Ježica'],['42366','Trzin ind. cona'],['42400','Jesenice'],['42501','Rosalnice'],['42502','Metlika'],['42503','Dobravice'],['42504','Gradac'],['42505','Črnomelj'],['42506','Otovec'],['42507','Semič'],['42508','Rožni Dol'],['42509','Uršna sela'],['42510','Birčna vas'],['42511','Novo mesto Kandija'],['42512','Novo mesto Center'],['42600','Novo mesto'],['42601','Mirna Peč'],['42602','Ponikve na Dolenjskem'],['42603','Hudo'],['42700','Trebnje'],['42701','Štefan'],['42702','Velika Loka'],['42703','Šentlovrenc'],['42704','Gaber'],['42705','Radohova vas'],['42706','Šentvid pri Stični'],['42707','Ivančna Gorica'],['42708','Polževo'],['42709','Višnja Gora'],['42710','Žalna'],['42711','Mlačevo'],['42800','Grosuplje'],['42801','Šmarje-Sap'],['42802','Škofljica'],['42804','Ljubljana Rakovnik'],['42805','Ljubljana Vodmat'],['42901','Boštanj'],['42902','Jelovec'],['42903','Tržišče'],['42904','Pijavice'],['42905','Mokronog'],['42906','Šentrupert'],['42907','Mirna'],['42908','Gomila'],['42909','Trebnje Kamna Gora'],['43001','Rimske Toplice'],['43002','Laško'],['43100','Celje'],['43101','Štore'],['43102','Šentjur'],['43200','Grobelno'],['43201','Ponikva'],['43202','Dolga Gora'],['43203','Poljčane'],['43204','Slovenska Bistrica'],['43205','Ostrožno'],['43251','Šentvid pri Grobelnem'],['43252','Šmarje pri Jelšah'],['43300','Pragersko'],['43301','Rače'],['43302','Orehova vas'],['43303','Hoče'],['43304','Maribor Tezno'],['43351','Cirkovce'],['43352','Strnišče'],['43353','Kidričevo'],['43354','Hajdina'],['43355','Ptuj'],['43356','Moškanjci'],['43357','Osluševci'],['43358','Velika Nedelja'],['43359','Zamušani'],['43360','Šikole'],['43400','Maribor'],['43401','Maribor Studenci'],['43402','Limbuš'],['43403','Bistrica ob Dravi'],['43404','Ruše'],['43405','Fala'],['43406','Ruta'],['43407','Ožbalt'],['43408','Podvelka'],['43409','Vuhred elektrarna'],['43410','Vuhred'],['43411','Vuzenica'],['43412','Trbonje'],['43413','Maribor Tabor'],['43414','Marles'],['43415','Ruše tovarna'],['43416','Trbonjsko jezero'],['43417','Sveti Danijel'],['43418','Sveti Vid'],['43420','Maribor Sokolska'],['43451','Pesnica'],['43452','Cirknica'],['43453','Šentilj'],['43455','Košaki'],['43500','Dravograd'],['43501','Ravne na Koroškem'],['43502','Prevalje'],['43503','Holmec'],['43505','Podklanc'],['43506','Dobrije'],['43600','Ormož'],['43601','Pušenci'],['43602','Pavlovci'],['43603','Ivanjkovci'],['43604','Mekotnjak'],['43605','Ljutomer mesto'],['43651','Obrež'],['43652','Središče'],['43653','Frankovci'],['43700','Ljutomer'],['43701','Veržej'],['43702','Grlava'],['43703','Lipovci'],['43704','Murska Sobota'],['43771','Puconci'],['43774','Mačkovci'],['43775','Gornji Petrovci'],['43776','Šalovci'],['43777','Hodoš'],['43800','Stranje'],['43801','Mestinje'],['43802','Podplat'],['43803','Rogaška Slatina'],['43804','Rogatec'],['43805','Dobovec'],['43806','Sveti Rok ob Sotli'],['43807','Tekačevo'],['43808','Rjavica'],['43809','Vidina'],['43851','Pristava'],['43852','Sodna vas'],['43853','Podčetrtek'],['43854','Imeno'],['43855','Podčetrtek Toplice'],['43856','Atomske Toplice hotel'],['43901','Petrovče'],['43902','Žalec'],['43903','Šempeter v Savinjski dolini'],['43904','Polzela'],['43905','Šmartno ob Paki'],['43906','Paška vas'],['43907','Šoštanj'],['43909','Velenje Pesje'],['43910','Velenje'],['43911','Celje Lava'],['43912','Florjan'],['44001','Brezovica'],['44002','Notranje Gorice'],['44003','Preserje'],['44004','Borovnica'],['44005','Verd'],['44006','Logatec'],['44007','Planina'],['44008','Rakek'],['44009','Postojna'],['44010','Prestranek'],['44011','Ljubljana Tivoli'],['44100','Pivka'],['44101','Košana'],['44102','Gornje Ležeče'],['44200','Divača'],['44201','Rodik'],['44202','Hrpelje-Kozina'],['44251','Povir'],['44300','Prešnica'],['44301','Podgorje'],['44302','Zazid'],['44303','Rakitovec'],['44352','Koper'],['44356','Črnotiče'],['44357','Hrastovlje'],['44500','Sežana'],['44501','Kreplje'],['44502','Kopriva'],['44503','Štanjel'],['44504','Branik'],['44505','Steske'],['44506','Dornberk'],['44600','Prvačina'],['44601','Okroglica'],['44602','Volčja Draga'],['44603','Šempeter pri Gorici'],['44651','Batuje'],['44652','Ajdovščina'],['44653','Dornberk vas'],['44654','Kamnje'],['44655','Dobravlje'],['44656','Cesta'],['44700','Nova Gorica'],['44701','Solkan'],['44703','Plave'],['44704','Anhovo'],['44705','Kanal'],['44706','Avče'],['44707','Most na Soči'],['44708','Podmelec'],['44709','Grahovo'],['44710','Hudajužna'],['44711','Podbrdo'],['44712','Bohinjska Bistrica'],['44713','Nomenj'],['44715','Bohinjska Bela'],['44716','Bled Jezero'],['44717','Podhom'],['44718','Vintgar'],['44719','Kočna'],['44800','Dutovlje'],['44901','Narin'],['44902','Kilovče'],['44903','Ilirska Bistrica'],['99998','Ljubljana Moste (BTC)'] ];
var railPolyLines =[];railPolyLines[0]=[[45.8985,15.655,42001,42002],[45.9238,15.59]];railPolyLines[1]=[[45.9238,15.59,42002,42003],[45.9454,15.5403]];railPolyLines[2]=[[45.9454,15.5403,42003,42004],[45.9562,15.4934]];railPolyLines[3]=[[45.9562,15.4934,42004,42005],[45.9874,15.4701]];railPolyLines[4]=[[45.9874,15.4701,42005,42006],[45.9899,15.3959]];railPolyLines[5]=[[45.9899,15.3959,42006,42100],[46.0094,15.3012]];railPolyLines[6]=[[46.0094,15.3012,42100,42901],[46.0063,15.2897]];railPolyLines[7]=[[46.0417,15.2356,42101,42102],[46.0535,15.2055]];railPolyLines[8]=[[46.0417,15.2356,42101,42901],[46.0063,15.2897]];railPolyLines[9]=[[46.0535,15.2055,42102,42103],[46.0719,15.1829]];railPolyLines[10]=[[46.0719,15.1829,42103,42200],[46.0856,15.1702]];railPolyLines[11]=[[46.0856,15.1702,42200,42201],[46.1226,15.0935]];railPolyLines[12]=[[46.0856,15.1702,42200,43001],[46.1255,15.1992]];railPolyLines[13]=[[46.1226,15.0935,42201,42203],[46.1263,15.0368]];railPolyLines[14]=[[46.1263,15.0368,42203,42204],[46.1206,14.9911]];railPolyLines[15]=[[46.1206,14.9911,42204,42206],[46.0891,14.8999]];railPolyLines[16]=[[46.0891,14.8999,42206,42207],[46.0582,14.8251]];railPolyLines[17]=[[46.0582,14.8251,42207,42208],[46.103,14.7917]];railPolyLines[18]=[[46.103,14.7917,42208,42209],[46.0842,14.7367]];railPolyLines[19]=[[46.0842,14.7367,42209,42210],[46.0883,14.6876]];railPolyLines[20]=[[46.0883,14.6876,42210,42222],[46.0596,14.6152]];railPolyLines[21]=[[46.0596,14.5832,42212,42222],[46.0596,14.6152]];railPolyLines[22]=[[46.0596,14.5832,42212,99998],[46.0634,14.5484]];railPolyLines[23]=[[46.0587,14.5127,42300,42316],[46.077,14.4901]];railPolyLines[24]=[[46.0587,14.5127,42300,42357],[46.0768,14.5032]];railPolyLines[25]=[[46.0587,14.5127,42300,42805],[46.0558,14.5291]];railPolyLines[26]=[[46.0587,14.5127,42300,44011],[46.0499,14.4933]];railPolyLines[27]=[[46.1004,14.4645,42302,42303],[46.1223,14.44]];railPolyLines[28]=[[46.1004,14.4645,42302,42317],[46.0868,14.4799]];railPolyLines[29]=[[46.1223,14.44,42303,42304],[46.1379,14.4122]];railPolyLines[30]=[[46.1223,14.44,42303,42805],[46.0558,14.5291]];railPolyLines[31]=[[46.1379,14.4122,42304,42305],[46.1565,14.3711]];railPolyLines[32]=[[46.1565,14.3711,42305,42306],[46.1746,14.3346]];railPolyLines[33]=[[46.1746,14.3346,42306,42307],[46.239,14.3481]];railPolyLines[34]=[[46.239,14.3481,42307,42309],[46.294,14.2584]];railPolyLines[35]=[[46.294,14.2584,42309,42310],[46.311,14.2324]];railPolyLines[36]=[[46.311,14.2324,42310,42311],[46.3233,14.2084]];railPolyLines[37]=[[46.3233,14.2084,42311,42312],[46.3404,14.1737]];railPolyLines[38]=[[46.3404,14.1737,42312,42313],[46.3604,14.1581]];railPolyLines[39]=[[46.3604,14.1581,42313,42314],[46.4019,14.1356]];railPolyLines[40]=[[46.4019,14.1356,42314,42315],[46.4272,14.0891]];railPolyLines[41]=[[46.4272,14.0891,42315,42400],[46.4361,14.0545]];railPolyLines[42]=[[46.077,14.4901,42316,42317],[46.0868,14.4799]];railPolyLines[43]=[[46.1009,14.5264,42351,42365],[46.0887,14.507]];railPolyLines[44]=[[46.1009,14.5264,42351,42366],[46.1189,14.5508]];railPolyLines[45]=[[46.1396,14.5924,42352,42359],[46.1328,14.5677]];railPolyLines[46]=[[46.1396,14.5924,42352,42360],[46.1491,14.5925]];railPolyLines[47]=[[46.1657,14.594,42353,42360],[46.1491,14.5925]];railPolyLines[48]=[[46.1657,14.594,42353,42361],[46.1799,14.5907]];railPolyLines[49]=[[46.2208,14.6036,42354,42355],[46.2249,14.6092]];railPolyLines[50]=[[46.2208,14.6036,42354,42363],[46.2066,14.5945]];railPolyLines[51]=[[46.2249,14.6092,42355,42356],[46.2289,14.6095]];railPolyLines[52]=[[46.0768,14.5032,42357,42365],[46.0887,14.507]];railPolyLines[53]=[[46.1287,14.5599,42358,42359],[46.1328,14.5677]];railPolyLines[54]=[[46.1287,14.5599,42358,42366],[46.1189,14.5508]];railPolyLines[55]=[[46.1799,14.5907,42361,42362],[46.1926,14.5882]];railPolyLines[56]=[[46.1926,14.5882,42362,42363],[46.2066,14.5945]];railPolyLines[57]=[[46.4361,14.0545,42400,44719],[46.4238,14.0786]];railPolyLines[58]=[[45.6488,15.3362,42501,42502],[45.6424,15.3231]];railPolyLines[59]=[[45.6424,15.3231,42502,42503],[45.6323,15.2698]];railPolyLines[60]=[[45.6323,15.2698,42503,42504],[45.6164,15.2414]];railPolyLines[61]=[[45.6164,15.2414,42504,42505],[45.58,15.191]];railPolyLines[62]=[[45.58,15.191,42505,42506],[45.5989,15.1615]];railPolyLines[63]=[[45.5989,15.1615,42506,42507],[45.6432,15.1622]];railPolyLines[64]=[[45.6432,15.1622,42507,42508],[45.682,15.1483]];railPolyLines[65]=[[45.682,15.1483,42508,42509],[45.7146,15.1278]];railPolyLines[66]=[[45.7146,15.1278,42509,42510],[45.7579,15.1481]];railPolyLines[67]=[[45.7579,15.1481,42510,42511],[45.7999,15.1606]];railPolyLines[68]=[[45.7999,15.1606,42511,42512],[45.8047,15.162]];railPolyLines[69]=[[45.8047,15.162,42512,42600],[45.8108,15.1556]];railPolyLines[70]=[[45.8108,15.1556,42600,42603],[45.8339,15.1361]];railPolyLines[71]=[[45.8668,15.0914,42601,42602],[45.8978,15.0427]];railPolyLines[72]=[[45.8668,15.0914,42601,42603],[45.8339,15.1361]];railPolyLines[73]=[[45.8978,15.0427,42602,42909],[45.9061,15.0245]];railPolyLines[74]=[[45.9067,15.0086,42700,42701],[45.9114,14.9809]];railPolyLines[75]=[[45.9067,15.0086,42700,42909],[45.9061,15.0245]];railPolyLines[76]=[[45.9114,14.9809,42701,42702],[45.9321,14.9693]];railPolyLines[77]=[[45.9321,14.9693,42702,42703],[45.938,14.941]];railPolyLines[78]=[[45.938,14.941,42703,42704],[45.9405,14.9092]];railPolyLines[79]=[[45.9405,14.9092,42704,42705],[45.9432,14.8732]];railPolyLines[80]=[[45.9432,14.8732,42705,42706],[45.9408,14.8501]];railPolyLines[81]=[[45.9408,14.8501,42706,42707],[45.938,14.803]];railPolyLines[82]=[[45.938,14.803,42707,42708],[45.9407,14.7791]];railPolyLines[83]=[[45.9407,14.7791,42708,42709],[45.9581,14.7424]];railPolyLines[84]=[[45.9581,14.7424,42709,42710],[45.9396,14.7076]];railPolyLines[85]=[[45.9396,14.7076,42710,42711],[45.9403,14.6852]];railPolyLines[86]=[[45.9403,14.6852,42711,42800],[45.9559,14.6522]];railPolyLines[87]=[[45.9559,14.6522,42800,42801],[45.9751,14.6176]];railPolyLines[88]=[[45.9751,14.6176,42801,42802],[45.9843,14.5727]];railPolyLines[89]=[[45.9843,14.5727,42802,42804],[46.0366,14.5195]];railPolyLines[90]=[[46.0366,14.5195,42804,42805],[46.0558,14.5291]];railPolyLines[91]=[[46.0558,14.5291,42805,99998],[46.0634,14.5484]];railPolyLines[92]=[[46.0063,15.2897,42901,42902],[45.9892,15.2399]];railPolyLines[93]=[[45.9892,15.2399,42902,42903],[45.9664,15.1908]];railPolyLines[94]=[[45.9664,15.1908,42903,42904],[45.9682,15.1633]];railPolyLines[95]=[[45.9682,15.1633,42904,42905],[45.958,15.1215]];railPolyLines[96]=[[45.958,15.1215,42905,42906],[45.9595,15.0877]];railPolyLines[97]=[[45.9595,15.0877,42906,42907],[45.9492,15.0625]];railPolyLines[98]=[[45.9492,15.0625,42907,42908],[45.9348,15.0449]];railPolyLines[99]=[[45.9348,15.0449,42908,42909],[45.9061,15.0245]];railPolyLines[100]=[[46.1255,15.1992,43001,43002],[46.1549,15.2319]];railPolyLines[101]=[[46.1549,15.2319,43002,43100],[46.2286,15.2682]];railPolyLines[102]=[[46.2286,15.2682,43100,43101],[46.2215,15.3214]];railPolyLines[103]=[[46.2286,15.2682,43100,43911],[46.2371,15.245]];railPolyLines[104]=[[46.2215,15.3214,43101,43102],[46.213,15.396]];railPolyLines[105]=[[46.213,15.396,43102,43200],[46.2131,15.4395]];railPolyLines[106]=[[46.2131,15.4395,43200,43201],[46.2481,15.4304]];railPolyLines[107]=[[46.2131,15.4395,43200,43251],[46.2274,15.4703]];railPolyLines[108]=[[46.2481,15.4304,43201,43205],[46.264,15.4733]];railPolyLines[109]=[[46.2775,15.4981,43202,43203],[46.3138,15.5763]];railPolyLines[110]=[[46.2775,15.4981,43202,43205],[46.264,15.4733]];railPolyLines[111]=[[46.3138,15.5763,43203,43204],[46.3631,15.5981]];railPolyLines[112]=[[46.3631,15.5981,43204,43300],[46.3951,15.6621]];railPolyLines[113]=[[46.2274,15.4703,43251,43252],[46.2308,15.5163]];railPolyLines[114]=[[46.2308,15.5163,43252,43800],[46.2174,15.5603]];railPolyLines[115]=[[46.3951,15.6621,43300,43301],[46.454,15.6638]];railPolyLines[116]=[[46.3951,15.6621,43300,43360],[46.401,15.6973]];railPolyLines[117]=[[46.454,15.6638,43301,43302],[46.4734,15.6635]];railPolyLines[118]=[[46.4734,15.6635,43302,43303],[46.501,15.6629]];railPolyLines[119]=[[46.501,15.6629,43303,43304],[46.5389,15.6512]];railPolyLines[120]=[[46.5389,15.6512,43304,43400],[46.5622,15.6585]];railPolyLines[121]=[[46.5389,15.6512,43304,43413],[46.5511,15.6443]];railPolyLines[122]=[[46.4009,15.7203,43351,43352],[46.4008,15.7658]];railPolyLines[123]=[[46.4009,15.7203,43351,43360],[46.401,15.6973]];railPolyLines[124]=[[46.4008,15.7658,43352,43353],[46.4006,15.8007]];railPolyLines[125]=[[46.4006,15.8007,43353,43354],[46.4032,15.8551]];railPolyLines[126]=[[46.4032,15.8551,43354,43355],[46.4224,15.8787]];railPolyLines[127]=[[46.4224,15.8787,43355,43356],[46.4233,15.9836]];railPolyLines[128]=[[46.4233,15.9836,43356,43359],[46.4203,16.0343]];railPolyLines[129]=[[46.4195,16.048,43357,43358],[46.4152,16.1052]];railPolyLines[130]=[[46.4195,16.048,43357,43359],[46.4203,16.0343]];railPolyLines[131]=[[46.4152,16.1052,43358,43600],[46.4031,16.1561]];railPolyLines[132]=[[46.5622,15.6585,43400,43455],[46.5758,15.6595]];railPolyLines[133]=[[46.5542,15.6348,43401,43413],[46.5511,15.6443]];railPolyLines[134]=[[46.5542,15.6348,43401,43420],[46.5563,15.6246]];railPolyLines[135]=[[46.5588,15.5831,43402,43403],[46.5577,15.5542]];railPolyLines[136]=[[46.5588,15.5831,43402,43414],[46.5584,15.6013]];railPolyLines[137]=[[46.5577,15.5542,43403,43415],[46.5474,15.5214]];railPolyLines[138]=[[46.5408,15.5039,43404,43405],[46.548,15.4516]];railPolyLines[139]=[[46.5408,15.5039,43404,43415],[46.5474,15.5214]];railPolyLines[140]=[[46.548,15.4516,43405,43406],[46.563,15.4317]];railPolyLines[141]=[[46.563,15.4317,43406,43407],[46.5749,15.4064]];railPolyLines[142]=[[46.5749,15.4064,43407,43408],[46.5906,15.3306]];railPolyLines[143]=[[46.5906,15.3306,43408,43409],[46.5865,15.2799]];railPolyLines[144]=[[46.5865,15.2799,43409,43410],[46.5965,15.236]];railPolyLines[145]=[[46.5965,15.236,43410,43418],[46.604,15.1948]];railPolyLines[146]=[[46.5936,15.1585,43411,43416],[46.594,15.1259]];railPolyLines[147]=[[46.5936,15.1585,43411,43418],[46.604,15.1948]];railPolyLines[148]=[[46.6053,15.1107,43412,43416],[46.594,15.1259]];railPolyLines[149]=[[46.6053,15.1107,43412,43417],[46.6029,15.0784]];railPolyLines[150]=[[46.5584,15.6013,43414,43420],[46.5563,15.6246]];railPolyLines[151]=[[46.6029,15.0784,43417,43500],[46.587,15.0269]];railPolyLines[152]=[[46.6099,15.6805,43451,43452],[46.6542,15.6601]];railPolyLines[153]=[[46.6099,15.6805,43451,43455],[46.5758,15.6595]];railPolyLines[154]=[[46.6542,15.6601,43452,43453],[46.6744,15.6579]];railPolyLines[155]=[[46.587,15.0269,43500,43505],[46.5737,15.0209]];railPolyLines[156]=[[46.5471,14.9634,43501,43502],[46.55,14.9218]];railPolyLines[157]=[[46.5471,14.9634,43501,43506],[46.5506,14.9867]];railPolyLines[158]=[[46.55,14.9218,43502,43503],[46.5664,14.8414]];railPolyLines[159]=[[46.5737,15.0209,43505,43506],[46.5506,14.9867]];railPolyLines[160]=[[46.4031,16.1561,43600,43601],[46.4098,16.1762]];railPolyLines[161]=[[46.4031,16.1561,43600,43653],[46.395,16.1947]];railPolyLines[162]=[[46.4098,16.1762,43601,43602],[46.4265,16.1791]];railPolyLines[163]=[[46.4265,16.1791,43602,43603],[46.4586,16.1567]];railPolyLines[164]=[[46.4586,16.1567,43603,43604],[46.5009,16.1554]];railPolyLines[165]=[[46.5009,16.1554,43604,43605],[46.521,16.1997]];railPolyLines[166]=[[46.521,16.1997,43605,43700],[46.5288,16.1893]];railPolyLines[167]=[[46.3911,16.2257,43651,43652],[46.3891,16.2772]];railPolyLines[168]=[[46.3911,16.2257,43651,43653],[46.395,16.1947]];railPolyLines[169]=[[46.5288,16.1893,43700,43702],[46.5571,16.1742]];railPolyLines[170]=[[46.5743,16.1821,43701,43702],[46.5571,16.1742]];railPolyLines[171]=[[46.5743,16.1821,43701,43703],[46.6234,16.2098]];railPolyLines[172]=[[46.6234,16.2098,43703,43704],[46.6592,16.1718]];railPolyLines[173]=[[46.6592,16.1718,43704,43771],[46.7034,16.1537]];railPolyLines[174]=[[46.7034,16.1537,43771,43774],[46.7832,16.1646]];railPolyLines[175]=[[46.7832,16.1646,43774,43775],[46.8008,16.2184]];railPolyLines[176]=[[46.8008,16.2184,43775,43776],[46.821,16.2815]];railPolyLines[177]=[[46.821,16.2815,43776,43777],[46.8204,16.3292]];railPolyLines[178]=[[46.2174,15.5603,43800,43801],[46.235,15.5644]];railPolyLines[179]=[[46.2174,15.5603,43800,43851],[46.1936,15.5941]];railPolyLines[180]=[[46.235,15.5644,43801,43802],[46.244,15.5729]];railPolyLines[181]=[[46.244,15.5729,43802,43807],[46.2399,15.6182]];railPolyLines[182]=[[46.2318,15.6385,43803,43807],[46.2399,15.6182]];railPolyLines[183]=[[46.2318,15.6385,43803,43808],[46.223,15.6613]];railPolyLines[184]=[[46.2244,15.6979,43804,43808],[46.223,15.6613]];railPolyLines[185]=[[46.2244,15.6979,43804,43809],[46.2193,15.7357]];railPolyLines[186]=[[46.2175,15.7549,43805,43806],[46.2088,15.7601]];railPolyLines[187]=[[46.2175,15.7549,43805,43809],[46.2193,15.7357]];railPolyLines[188]=[[46.1936,15.5941,43851,43852],[46.1759,15.6021]];railPolyLines[189]=[[46.1759,15.6021,43852,43855],[46.1659,15.6047]];railPolyLines[190]=[[46.1502,15.5992,43853,43854],[46.1271,15.6012]];railPolyLines[191]=[[46.1502,15.5992,43853,43856],[46.1569,15.6092]];railPolyLines[192]=[[46.1659,15.6047,43855,43856],[46.1569,15.6092]];railPolyLines[193]=[[46.2461,15.1898,43901,43902],[46.2494,15.1671]];railPolyLines[194]=[[46.2461,15.1898,43901,43911],[46.2371,15.245]];railPolyLines[195]=[[46.2494,15.1671,43902,43903],[46.2606,15.1122]];railPolyLines[196]=[[46.2606,15.1122,43903,43904],[46.2824,15.0662]];railPolyLines[197]=[[46.2824,15.0662,43904,43905],[46.3281,15.0379]];railPolyLines[198]=[[46.3281,15.0379,43905,43906],[46.3415,15.0197]];railPolyLines[199]=[[46.3415,15.0197,43906,43912],[46.3812,15.0299]];railPolyLines[200]=[[46.3769,15.0497,43907,43909],[46.3681,15.0814]];railPolyLines[201]=[[46.3769,15.0497,43907,43912],[46.3812,15.0299]];railPolyLines[202]=[[46.3681,15.0814,43909,43910],[46.3635,15.1043]];railPolyLines[203]=[[46.0213,14.4265,44001,44002],[45.9876,14.4026]];railPolyLines[204]=[[46.0213,14.4265,44001,44011],[46.0499,14.4933]];railPolyLines[205]=[[45.9876,14.4026,44002,44003],[45.9657,14.3961]];railPolyLines[206]=[[45.9657,14.3961,44003,44004],[45.9215,14.3682]];railPolyLines[207]=[[45.9215,14.3682,44004,44005],[45.948,14.3039]];railPolyLines[208]=[[45.948,14.3039,44005,44006],[45.9177,14.2358]];railPolyLines[209]=[[45.9177,14.2358,44006,44007],[45.8618,14.275]];railPolyLines[210]=[[45.8618,14.275,44007,44008],[45.8157,14.3128]];railPolyLines[211]=[[45.8157,14.3128,44008,44009],[45.7731,14.2217]];railPolyLines[212]=[[45.7731,14.2217,44009,44010],[45.7285,14.1855]];railPolyLines[213]=[[45.7285,14.1855,44010,44100],[45.6755,14.1914]];railPolyLines[214]=[[45.6755,14.1914,44100,44101],[45.6704,14.1056]];railPolyLines[215]=[[45.6755,14.1914,44100,44901],[45.6413,14.1981]];railPolyLines[216]=[[45.6704,14.1056,44101,44102],[45.6664,14.0722]];railPolyLines[217]=[[45.6664,14.0722,44102,44200],[45.6815,13.9649]];railPolyLines[218]=[[45.6815,13.9649,44200,44201],[45.6272,13.9752]];railPolyLines[219]=[[45.6815,13.9649,44200,44251],[45.6994,13.9305]];railPolyLines[220]=[[45.6272,13.9752,44201,44202],[45.6037,13.9353]];railPolyLines[221]=[[45.6037,13.9353,44202,44300],[45.5642,13.9422]];railPolyLines[222]=[[45.6994,13.9305,44251,44500],[45.7041,13.8634]];railPolyLines[223]=[[45.5642,13.9422,44300,44301],[45.5345,13.9429]];railPolyLines[224]=[[45.5642,13.9422,44300,44356],[45.552,13.8915]];railPolyLines[225]=[[45.5345,13.9429,44301,44302],[45.4984,13.9439]];railPolyLines[226]=[[45.4984,13.9439,44302,44303],[45.4661,13.9551]];railPolyLines[227]=[[45.539,13.7384,44352,44357],[45.5011,13.9092]];railPolyLines[228]=[[45.552,13.8915,44356,44357],[45.5011,13.9092]];railPolyLines[229]=[[45.7041,13.8634,44500,44501],[45.7421,13.8273]];railPolyLines[230]=[[45.7421,13.8273,44501,44800],[45.7649,13.8262]];railPolyLines[231]=[[45.7849,13.8317,44502,44503],[45.818,13.8481]];railPolyLines[232]=[[45.7849,13.8317,44502,44800],[45.7649,13.8262]];railPolyLines[233]=[[45.818,13.8481,44503,44504],[45.8559,13.7842]];railPolyLines[234]=[[45.8559,13.7842,44504,44505],[45.876,13.7575]];railPolyLines[235]=[[45.876,13.7575,44505,44506],[45.8858,13.7342]];railPolyLines[236]=[[45.8858,13.7342,44506,44600],[45.8875,13.7227]];railPolyLines[237]=[[45.8875,13.7227,44600,44601],[45.8991,13.6902]];railPolyLines[238]=[[45.8875,13.7227,44600,44653],[45.89,13.7361]];railPolyLines[239]=[[45.8991,13.6902,44601,44602],[45.9058,13.6756]];railPolyLines[240]=[[45.9058,13.6756,44602,44603],[45.9282,13.6469]];railPolyLines[241]=[[45.9282,13.6469,44603,44700],[45.9552,13.6357]];railPolyLines[242]=[[45.8867,13.772,44651,44653],[45.89,13.7361]];railPolyLines[243]=[[45.8867,13.772,44651,44654],[45.877,13.8175]];railPolyLines[244]=[[45.8863,13.9024,44652,44656],[45.8868,13.8653]];railPolyLines[245]=[[45.877,13.8175,44654,44655],[45.8825,13.8453]];railPolyLines[246]=[[45.8825,13.8453,44655,44656],[45.8868,13.8653]];railPolyLines[247]=[[45.9552,13.6357,44700,44701],[45.9727,13.6462]];railPolyLines[248]=[[45.9727,13.6462,44701,44703],[46.0461,13.5897]];railPolyLines[249]=[[46.0461,13.5897,44703,44704],[46.0581,13.6173]];railPolyLines[250]=[[46.0581,13.6173,44704,44705],[46.0837,13.6316]];railPolyLines[251]=[[46.0837,13.6316,44705,44706],[46.108,13.6844]];railPolyLines[252]=[[46.108,13.6844,44706,44707],[46.1464,13.7593]];railPolyLines[253]=[[46.1464,13.7593,44707,44708],[46.1594,13.8139]];railPolyLines[254]=[[46.1594,13.8139,44708,44709],[46.1514,13.8569]];railPolyLines[255]=[[46.1514,13.8569,44709,44710],[46.1797,13.9198]];railPolyLines[256]=[[46.1797,13.9198,44710,44711],[46.2092,13.967]];railPolyLines[257]=[[46.2092,13.967,44711,44712],[46.2742,13.9591]];railPolyLines[258]=[[46.2742,13.9591,44712,44713],[46.289,14.0027]];railPolyLines[259]=[[46.289,14.0027,44713,44715],[46.3384,14.0605]];railPolyLines[260]=[[46.3384,14.0605,44715,44716],[46.3683,14.0823]];railPolyLines[261]=[[46.3683,14.0823,44716,44717],[46.3875,14.0943]];railPolyLines[262]=[[46.3875,14.0943,44717,44718],[46.4104,14.0987]];railPolyLines[263]=[[46.4104,14.0987,44718,44719],[46.4238,14.0786]];railPolyLines[264]=[[45.6413,14.1981,44901,44902],[45.6157,14.1859]];railPolyLines[265]=[[45.6157,14.1859,44902,44903],[45.5692,14.2359]];
//var StationsData = [['42001','Dobova'],['42002','Brežice'],['42003','Libna'],['42004','Krško'],['42005','Brestanica'],['42006','Blanca'],['42100','Sevnica'],['42101','Breg'],['42102','Loka'],['42103','Radeče'],['42200','Zidani Most'],['42201','Hrastnik'],['42203','Trbovlje'],['42204','Zagorje'],['42206','Sava'],['42207','Litija'],['42208','Kresnice'],['42209','Jevnica'],['42210','Laze'],['42212','Ljubljana Polje'],['42222','Ljubljana Zalog'],['42300','Ljubljana'],['42302','Ljubljana Vižmarje'],['42303','Medno'],['42304','Medvode'],['42305','Reteče'],['42306','Škofja Loka'],['42307','Kranj'],['42309','Podnart'],['42310','Otoče'],['42311','Globoko'],['42312','Radovljica'],['42313','Lesce-Bled'],['42314','Žirovnica'],['42315','Slovenski Javornik'],['42316','Litostroj'],['42317','Ljubljana Stegne'],['42351','Ljubljana Črnuče'],['42352','Domžale'],['42353','Jarše-Mengeš'],['42354','Kamnik'],['42355','Kamnik mesto'],['42356','Kamnik Graben'],['42357','Ljubljana Brinje'],['42358','Trzin Mlake'],['42359','Trzin'],['42360','Rodica'],['42361','Homec pri Kamniku'],['42362','Šmarca'],['42363','Duplica-Bakovnik'],['42365','Ljubljana Ježica'],['42366','Trzin ind. cona'],['42400','Jesenice'],['42501','Rosalnice'],['42502','Metlika'],['42503','Dobravice'],['42504','Gradac'],['42505','Črnomelj'],['42506','Otovec'],['42507','Semič'],['42508','Rožni Dol'],['42509','Uršna sela'],['42510','Birčna vas'],['42511','Novo mesto Kandija'],['42512','Novo mesto Center'],['42600','Novo mesto'],['42601','Mirna Peč'],['42602','Ponikve na Dolenjskem'],['42603','Hudo'],['42700','Trebnje'],['42701','Štefan'],['42702','Velika Loka'],['42703','Šentlovrenc'],['42704','Gaber'],['42705','Radohova vas'],['42706','Šentvid pri Stični'],['42707','Ivančna Gorica'],['42708','Polževo'],['42709','Višnja Gora'],['42710','Žalna'],['42711','Mlačevo'],['42800','Grosuplje'],['42801','Šmarje-Sap'],['42802','Škofljica'],['42804','Ljubljana Rakovnik'],['42805','Ljubljana Vodmat'],['42901','Boštanj'],['42902','Jelovec'],['42903','Tržišče'],['42904','Pijavice'],['42905','Mokronog'],['42906','Šentrupert'],['42907','Mirna'],['42908','Gomila'],['42909','Trebnje Kamna Gora'],['43001','Rimske Toplice'],['43002','Laško'],['43100','Celje'],['43101','Štore'],['43102','Šentjur'],['43200','Grobelno'],['43201','Ponikva'],['43202','Dolga Gora'],['43203','Poljčane'],['43204','Slovenska Bistrica'],['43205','Ostrožno'],['43251','Šentvid pri Grobelnem'],['43252','Šmarje pri Jelšah'],['43300','Pragersko'],['43301','Rače'],['43302','Orehova vas'],['43303','Hoče'],['43304','Maribor Tezno'],['43351','Cirkovce'],['43352','Strnišče'],['43353','Kidričevo'],['43354','Hajdina'],['43355','Ptuj'],['43356','Moškanjci'],['43357','Osluševci'],['43358','Velika Nedelja'],['43359','Zamušani'],['43360','Šikole'],['43400','Maribor'],['43401','Maribor Studenci'],['43402','Limbuš'],['43403','Bistrica ob Dravi'],['43404','Ruše'],['43405','Fala'],['43406','Ruta'],['43407','Ožbalt'],['43408','Podvelka'],['43409','Vuhred elektrarna'],['43410','Vuhred'],['43411','Vuzenica'],['43412','Trbonje'],['43413','Maribor Tabor'],['43414','Marles'],['43415','Ruše tovarna'],['43416','Trbonjsko jezero'],['43417','Sveti Danijel'],['43418','Sveti Vid'],['43420','Maribor Sokolska'],['43451','Pesnica'],['43452','Cirknica'],['43453','Šentilj'],['43455','Košaki'],['43500','Dravograd'],['43501','Ravne na Koroškem'],['43502','Prevalje'],['43503','Holmec'],['43505','Podklanc'],['43506','Dobrije'],['43600','Ormož'],['43601','Pušenci'],['43602','Pavlovci'],['43603','Ivanjkovci'],['43604','Mekotnjak'],['43605','Ljutomer mesto'],['43651','Obrež'],['43652','Središče'],['43653','Frankovci'],['43700','Ljutomer'],['43701','Veržej'],['43702','Grlava'],['43703','Lipovci'],['43704','Murska Sobota'],['43771','Puconci'],['43774','Mačkovci'],['43775','Gornji Petrovci'],['43776','Šalovci'],['43777','Hodoš'],['43800','Stranje'],['43801','Mestinje'],['43802','Podplat'],['43803','Rogaška Slatina'],['43804','Rogatec'],['43805','Dobovec'],['43806','Sveti Rok ob Sotli'],['43807','Tekačevo'],['43808','Rjavica'],['43809','Vidina'],['43851','Pristava'],['43852','Sodna vas'],['43853','Podčetrtek'],['43854','Imeno'],['43855','Podčetrtek Toplice'],['43856','Atomske Toplice hotel'],['43901','Petrovče'],['43902','Žalec'],['43903','Šempeter v Savinjski dolini'],['43904','Polzela'],['43905','Šmartno ob Paki'],['43906','Paška vas'],['43907','Šoštanj'],['43909','Velenje Pesje'],['43910','Velenje'],['43911','Celje Lava'],['43912','Florjan'],['44001','Brezovica'],['44002','Notranje Gorice'],['44003','Preserje'],['44004','Borovnica'],['44005','Verd'],['44006','Logatec'],['44007','Planina'],['44008','Rakek'],['44009','Postojna'],['44010','Prestranek'],['44011','Ljubljana Tivoli'],['44100','Pivka'],['44101','Košana'],['44102','Gornje Ležeče'],['44200','Divača'],['44201','Rodik'],['44202','Hrpelje-Kozina'],['44251','Povir'],['44300','Prešnica'],['44301','Podgorje'],['44302','Zazid'],['44303','Rakitovec'],['44352','Koper'],['44356','Črnotiče'],['44357','Hrastovlje'],['44500','Sežana'],['44501','Kreplje'],['44502','Kopriva'],['44503','Štanjel'],['44504','Branik'],['44505','Steske'],['44506','Dornberk'],['44600','Prvačina'],['44601','Okroglica'],['44602','Volčja Draga'],['44603','Šempeter pri Gorici'],['44651','Batuje'],['44652','Ajdovščina'],['44653','Dornberk vas'],['44654','Kamnje'],['44655','Dobravlje'],['44656','Cesta'],['44700','Nova Gorica'],['44701','Solkan'],['44703','Plave'],['44704','Anhovo'],['44705','Kanal'],['44706','Avče'],['44707','Most na Soči'],['44708','Podmelec'],['44709','Grahovo'],['44710','Hudajužna'],['44711','Podbrdo'],['44712','Bohinjska Bistrica'],['44713','Nomenj'],['44715','Bohinjska Bela'],['44716','Bled Jezero'],['44717','Podhom'],['44718','Vintgar'],['44719','Kočna'],['44800','Dutovlje'],['44901','Narin'],['44902','Kilovče'],['44903','Ilirska Bistrica'],['99998','Ljubljana Moste (BTC)'] ];
//var Stations =[new google.maps.LatLng(45.8985,15.655),new google.maps.LatLng(45.9238,15.59),new google.maps.LatLng(45.9454,15.5403),new google.maps.LatLng(45.9562,15.4934),new google.maps.LatLng(45.9874,15.4701),new google.maps.LatLng(45.9899,15.3959),new google.maps.LatLng(46.0094,15.3012),new google.maps.LatLng(46.0417,15.2356),new google.maps.LatLng(46.0535,15.2055),new google.maps.LatLng(46.0719,15.1829),new google.maps.LatLng(46.0856,15.1702),new google.maps.LatLng(46.1226,15.0935),new google.maps.LatLng(46.1263,15.0368),new google.maps.LatLng(46.1206,14.9911),new google.maps.LatLng(46.0891,14.8999),new google.maps.LatLng(46.0582,14.8251),new google.maps.LatLng(46.103,14.7917),new google.maps.LatLng(46.0842,14.7367),new google.maps.LatLng(46.0883,14.6876),new google.maps.LatLng(46.0596,14.5832),new google.maps.LatLng(46.0596,14.6152),new google.maps.LatLng(46.0587,14.5127),new google.maps.LatLng(46.1004,14.4645),new google.maps.LatLng(46.1223,14.44),new google.maps.LatLng(46.1379,14.4122),new google.maps.LatLng(46.1565,14.3711),new google.maps.LatLng(46.1746,14.3346),new google.maps.LatLng(46.239,14.3481),new google.maps.LatLng(46.294,14.2584),new google.maps.LatLng(46.311,14.2324),new google.maps.LatLng(46.3233,14.2084),new google.maps.LatLng(46.3404,14.1737),new google.maps.LatLng(46.3604,14.1581),new google.maps.LatLng(46.4019,14.1356),new google.maps.LatLng(46.4272,14.0891),new google.maps.LatLng(46.077,14.4901),new google.maps.LatLng(46.0868,14.4799),new google.maps.LatLng(46.1009,14.5264),new google.maps.LatLng(46.1396,14.5924),new google.maps.LatLng(46.1657,14.594),new google.maps.LatLng(46.2208,14.6036),new google.maps.LatLng(46.2249,14.6092),new google.maps.LatLng(46.2289,14.6095),new google.maps.LatLng(46.0768,14.5032),new google.maps.LatLng(46.1287,14.5599),new google.maps.LatLng(46.1328,14.5677),new google.maps.LatLng(46.1491,14.5925),new google.maps.LatLng(46.1799,14.5907),new google.maps.LatLng(46.1926,14.5882),new google.maps.LatLng(46.2066,14.5945),new google.maps.LatLng(46.0887,14.507),new google.maps.LatLng(46.1189,14.5508),new google.maps.LatLng(46.4361,14.0545),new google.maps.LatLng(45.6488,15.3362),new google.maps.LatLng(45.6424,15.3231),new google.maps.LatLng(45.6323,15.2698),new google.maps.LatLng(45.6164,15.2414),new google.maps.LatLng(45.58,15.191),new google.maps.LatLng(45.5989,15.1615),new google.maps.LatLng(45.6432,15.1622),new google.maps.LatLng(45.682,15.1483),new google.maps.LatLng(45.7146,15.1278),new google.maps.LatLng(45.7579,15.1481),new google.maps.LatLng(45.7999,15.1606),new google.maps.LatLng(45.8047,15.162),new google.maps.LatLng(45.8108,15.1556),new google.maps.LatLng(45.8668,15.0914),new google.maps.LatLng(45.8978,15.0427),new google.maps.LatLng(45.8339,15.1361),new google.maps.LatLng(45.9067,15.0086),new google.maps.LatLng(45.9114,14.9809),new google.maps.LatLng(45.9321,14.9693),new google.maps.LatLng(45.938,14.941),new google.maps.LatLng(45.9405,14.9092),new google.maps.LatLng(45.9432,14.8732),new google.maps.LatLng(45.9408,14.8501),new google.maps.LatLng(45.938,14.803),new google.maps.LatLng(45.9407,14.7791),new google.maps.LatLng(45.9581,14.7424),new google.maps.LatLng(45.9396,14.7076),new google.maps.LatLng(45.9403,14.6852),new google.maps.LatLng(45.9559,14.6522),new google.maps.LatLng(45.9751,14.6176),new google.maps.LatLng(45.9843,14.5727),new google.maps.LatLng(46.0366,14.5195),new google.maps.LatLng(46.0558,14.5291),new google.maps.LatLng(46.0063,15.2897),new google.maps.LatLng(45.9892,15.2399),new google.maps.LatLng(45.9664,15.1908),new google.maps.LatLng(45.9682,15.1633),new google.maps.LatLng(45.958,15.1215),new google.maps.LatLng(45.9595,15.0877),new google.maps.LatLng(45.9492,15.0625),new google.maps.LatLng(45.9348,15.0449),new google.maps.LatLng(45.9061,15.0245),new google.maps.LatLng(46.1255,15.1992),new google.maps.LatLng(46.1549,15.2319),new google.maps.LatLng(46.2286,15.2682),new google.maps.LatLng(46.2215,15.3214),new google.maps.LatLng(46.213,15.396),new google.maps.LatLng(46.2131,15.4395),new google.maps.LatLng(46.2481,15.4304),new google.maps.LatLng(46.2775,15.4981),new google.maps.LatLng(46.3138,15.5763),new google.maps.LatLng(46.3631,15.5981),new google.maps.LatLng(46.264,15.4733),new google.maps.LatLng(46.2274,15.4703),new google.maps.LatLng(46.2308,15.5163),new google.maps.LatLng(46.3951,15.6621),new google.maps.LatLng(46.454,15.6638),new google.maps.LatLng(46.4734,15.6635),new google.maps.LatLng(46.501,15.6629),new google.maps.LatLng(46.5389,15.6512),new google.maps.LatLng(46.4009,15.7203),new google.maps.LatLng(46.4008,15.7658),new google.maps.LatLng(46.4006,15.8007),new google.maps.LatLng(46.4032,15.8551),new google.maps.LatLng(46.4224,15.8787),new google.maps.LatLng(46.4233,15.9836),new google.maps.LatLng(46.4195,16.048),new google.maps.LatLng(46.4152,16.1052),new google.maps.LatLng(46.4203,16.0343),new google.maps.LatLng(46.401,15.6973),new google.maps.LatLng(46.5622,15.6585),new google.maps.LatLng(46.5542,15.6348),new google.maps.LatLng(46.5588,15.5831),new google.maps.LatLng(46.5577,15.5542),new google.maps.LatLng(46.5408,15.5039),new google.maps.LatLng(46.548,15.4516),new google.maps.LatLng(46.563,15.4317),new google.maps.LatLng(46.5749,15.4064),new google.maps.LatLng(46.5906,15.3306),new google.maps.LatLng(46.5865,15.2799),new google.maps.LatLng(46.5965,15.236),new google.maps.LatLng(46.5936,15.1585),new google.maps.LatLng(46.6053,15.1107),new google.maps.LatLng(46.5511,15.6443),new google.maps.LatLng(46.5584,15.6013),new google.maps.LatLng(46.5474,15.5214),new google.maps.LatLng(46.594,15.1259),new google.maps.LatLng(46.6029,15.0784),new google.maps.LatLng(46.604,15.1948),new google.maps.LatLng(46.5563,15.6246),new google.maps.LatLng(46.6099,15.6805),new google.maps.LatLng(46.6542,15.6601),new google.maps.LatLng(46.6744,15.6579),new google.maps.LatLng(46.5758,15.6595),new google.maps.LatLng(46.587,15.0269),new google.maps.LatLng(46.5471,14.9634),new google.maps.LatLng(46.55,14.9218),new google.maps.LatLng(46.5664,14.8414),new google.maps.LatLng(46.5737,15.0209),new google.maps.LatLng(46.5506,14.9867),new google.maps.LatLng(46.4031,16.1561),new google.maps.LatLng(46.4098,16.1762),new google.maps.LatLng(46.4265,16.1791),new google.maps.LatLng(46.4586,16.1567),new google.maps.LatLng(46.5009,16.1554),new google.maps.LatLng(46.521,16.1997),new google.maps.LatLng(46.3911,16.2257),new google.maps.LatLng(46.3891,16.2772),new google.maps.LatLng(46.395,16.1947),new google.maps.LatLng(46.5288,16.1893),new google.maps.LatLng(46.5743,16.1821),new google.maps.LatLng(46.5571,16.1742),new google.maps.LatLng(46.6234,16.2098),new google.maps.LatLng(46.6592,16.1718),new google.maps.LatLng(46.7034,16.1537),new google.maps.LatLng(46.7832,16.1646),new google.maps.LatLng(46.8008,16.2184),new google.maps.LatLng(46.821,16.2815),new google.maps.LatLng(46.8204,16.3292),new google.maps.LatLng(46.2174,15.5603),new google.maps.LatLng(46.235,15.5644),new google.maps.LatLng(46.244,15.5729),new google.maps.LatLng(46.2318,15.6385),new google.maps.LatLng(46.2244,15.6979),new google.maps.LatLng(46.2175,15.7549),new google.maps.LatLng(46.2088,15.7601),new google.maps.LatLng(46.2399,15.6182),new google.maps.LatLng(46.223,15.6613),new google.maps.LatLng(46.2193,15.7357),new google.maps.LatLng(46.1936,15.5941),new google.maps.LatLng(46.1759,15.6021),new google.maps.LatLng(46.1502,15.5992),new google.maps.LatLng(46.1271,15.6012),new google.maps.LatLng(46.1659,15.6047),new google.maps.LatLng(46.1569,15.6092),new google.maps.LatLng(46.2461,15.1898),new google.maps.LatLng(46.2494,15.1671),new google.maps.LatLng(46.2606,15.1122),new google.maps.LatLng(46.2824,15.0662),new google.maps.LatLng(46.3281,15.0379),new google.maps.LatLng(46.3415,15.0197),new google.maps.LatLng(46.3769,15.0497),new google.maps.LatLng(46.3681,15.0814),new google.maps.LatLng(46.3635,15.1043),new google.maps.LatLng(46.2371,15.245),new google.maps.LatLng(46.3812,15.0299),new google.maps.LatLng(46.0213,14.4265),new google.maps.LatLng(45.9876,14.4026),new google.maps.LatLng(45.9657,14.3961),new google.maps.LatLng(45.9215,14.3682),new google.maps.LatLng(45.948,14.3039),new google.maps.LatLng(45.9177,14.2358),new google.maps.LatLng(45.8618,14.275),new google.maps.LatLng(45.8157,14.3128),new google.maps.LatLng(45.7731,14.2217),new google.maps.LatLng(45.7285,14.1855),new google.maps.LatLng(46.0499,14.4933),new google.maps.LatLng(45.6755,14.1914),new google.maps.LatLng(45.6704,14.1056),new google.maps.LatLng(45.6664,14.0722),new google.maps.LatLng(45.6815,13.9649),new google.maps.LatLng(45.6272,13.9752),new google.maps.LatLng(45.6037,13.9353),new google.maps.LatLng(45.6994,13.9305),new google.maps.LatLng(45.5642,13.9422),new google.maps.LatLng(45.5345,13.9429),new google.maps.LatLng(45.4984,13.9439),new google.maps.LatLng(45.4661,13.9551),new google.maps.LatLng(45.539,13.7384),new google.maps.LatLng(45.552,13.8915),new google.maps.LatLng(45.5011,13.9092),new google.maps.LatLng(45.7041,13.8634),new google.maps.LatLng(45.7421,13.8273),new google.maps.LatLng(45.7849,13.8317),new google.maps.LatLng(45.818,13.8481),new google.maps.LatLng(45.8559,13.7842),new google.maps.LatLng(45.876,13.7575),new google.maps.LatLng(45.8858,13.7342),new google.maps.LatLng(45.8875,13.7227),new google.maps.LatLng(45.8991,13.6902),new google.maps.LatLng(45.9058,13.6756),new google.maps.LatLng(45.9282,13.6469),new google.maps.LatLng(45.8867,13.772),new google.maps.LatLng(45.8863,13.9024),new google.maps.LatLng(45.89,13.7361),new google.maps.LatLng(45.877,13.8175),new google.maps.LatLng(45.8825,13.8453),new google.maps.LatLng(45.8868,13.8653),new google.maps.LatLng(45.9552,13.6357),new google.maps.LatLng(45.9727,13.6462),new google.maps.LatLng(46.0461,13.5897),new google.maps.LatLng(46.0581,13.6173),new google.maps.LatLng(46.0837,13.6316),new google.maps.LatLng(46.108,13.6844),new google.maps.LatLng(46.1464,13.7593),new google.maps.LatLng(46.1594,13.8139),new google.maps.LatLng(46.1514,13.8569),new google.maps.LatLng(46.1797,13.9198),new google.maps.LatLng(46.2092,13.967),new google.maps.LatLng(46.2742,13.9591),new google.maps.LatLng(46.289,14.0027),new google.maps.LatLng(46.3384,14.0605),new google.maps.LatLng(46.3683,14.0823),new google.maps.LatLng(46.3875,14.0943),new google.maps.LatLng(46.4104,14.0987),new google.maps.LatLng(46.4238,14.0786),new google.maps.LatLng(45.7649,13.8262),new google.maps.LatLng(45.6413,14.1981),new google.maps.LatLng(45.6157,14.1859),new google.maps.LatLng(45.5692,14.2359),new google.maps.LatLng(46.0634,14.5484 )]; var StationsData = [['42001','Dobova'],['42002','Brežice'],['42003','Libna'],['42004','Krško'],['42005','Brestanica'],['42006','Blanca'],['42100','Sevnica'],['42101','Breg'],['42102','Loka'],['42103','Radeče'],['42200','Zidani Most'],['42201','Hrastnik'],['42203','Trbovlje'],['42204','Zagorje'],['42206','Sava'],['42207','Litija'],['42208','Kresnice'],['42209','Jevnica'],['42210','Laze'],['42212','Ljubljana Polje'],['42222','Ljubljana Zalog'],['42300','Ljubljana'],['42302','Ljubljana Vižmarje'],['42303','Medno'],['42304','Medvode'],['42305','Reteče'],['42306','Škofja Loka'],['42307','Kranj'],['42309','Podnart'],['42310','Otoče'],['42311','Globoko'],['42312','Radovljica'],['42313','Lesce-Bled'],['42314','Žirovnica'],['42315','Slovenski Javornik'],['42316','Litostroj'],['42317','Ljubljana Stegne'],['42351','Ljubljana Črnuče'],['42352','Domžale'],['42353','Jarše-Mengeš'],['42354','Kamnik'],['42355','Kamnik mesto'],['42356','Kamnik Graben'],['42357','Ljubljana Brinje'],['42358','Trzin Mlake'],['42359','Trzin'],['42360','Rodica'],['42361','Homec pri Kamniku'],['42362','Šmarca'],['42363','Duplica-Bakovnik'],['42365','Ljubljana Ježica'],['42366','Trzin ind. cona'],['42400','Jesenice'],['42501','Rosalnice'],['42502','Metlika'],['42503','Dobravice'],['42504','Gradac'],['42505','Črnomelj'],['42506','Otovec'],['42507','Semič'],['42508','Rožni Dol'],['42509','Uršna sela'],['42510','Birčna vas'],['42511','Novo mesto Kandija'],['42512','Novo mesto Center'],['42600','Novo mesto'],['42601','Mirna Peč'],['42602','Ponikve na Dolenjskem'],['42603','Hudo'],['42700','Trebnje'],['42701','Štefan'],['42702','Velika Loka'],['42703','Šentlovrenc'],['42704','Gaber'],['42705','Radohova vas'],['42706','Šentvid pri Stični'],['42707','Ivančna Gorica'],['42708','Polževo'],['42709','Višnja Gora'],['42710','Žalna'],['42711','Mlačevo'],['42800','Grosuplje'],['42801','Šmarje-Sap'],['42802','Škofljica'],['42804','Ljubljana Rakovnik'],['42805','Ljubljana Vodmat'],['42901','Boštanj'],['42902','Jelovec'],['42903','Tržišče'],['42904','Pijavice'],['42905','Mokronog'],['42906','Šentrupert'],['42907','Mirna'],['42908','Gomila'],['42909','Trebnje Kamna Gora'],['43001','Rimske Toplice'],['43002','Laško'],['43100','Celje'],['43101','Štore'],['43102','Šentjur'],['43200','Grobelno'],['43201','Ponikva'],['43202','Dolga Gora'],['43203','Poljčane'],['43204','Slovenska Bistrica'],['43205','Ostrožno'],['43251','Šentvid pri Grobelnem'],['43252','Šmarje pri Jelšah'],['43300','Pragersko'],['43301','Rače'],['43302','Orehova vas'],['43303','Hoče'],['43304','Maribor Tezno'],['43351','Cirkovce'],['43352','Strnišče'],['43353','Kidričevo'],['43354','Hajdina'],['43355','Ptuj'],['43356','Moškanjci'],['43357','Osluševci'],['43358','Velika Nedelja'],['43359','Zamušani'],['43360','Šikole'],['43400','Maribor'],['43401','Maribor Studenci'],['43402','Limbuš'],['43403','Bistrica ob Dravi'],['43404','Ruše'],['43405','Fala'],['43406','Ruta'],['43407','Ožbalt'],['43408','Podvelka'],['43409','Vuhred elektrarna'],['43410','Vuhred'],['43411','Vuzenica'],['43412','Trbonje'],['43413','Maribor Tabor'],['43414','Marles'],['43415','Ruše tovarna'],['43416','Trbonjsko jezero'],['43417','Sveti Danijel'],['43418','Sveti Vid'],['43420','Maribor Sokolska'],['43451','Pesnica'],['43452','Cirknica'],['43453','Šentilj'],['43455','Košaki'],['43500','Dravograd'],['43501','Ravne na Koroškem'],['43502','Prevalje'],['43503','Holmec'],['43505','Podklanc'],['43506','Dobrije'],['43600','Ormož'],['43601','Pušenci'],['43602','Pavlovci'],['43603','Ivanjkovci'],['43604','Mekotnjak'],['43605','Ljutomer mesto'],['43651','Obrež'],['43652','Središče'],['43653','Frankovci'],['43700','Ljutomer'],['43701','Veržej'],['43702','Grlava'],['43703','Lipovci'],['43704','Murska Sobota'],['43771','Puconci'],['43774','Mačkovci'],['43775','Gornji Petrovci'],['43776','Šalovci'],['43777','Hodoš'],['43800','Stranje'],['43801','Mestinje'],['43802','Podplat'],['43803','Rogaška Slatina'],['43804','Rogatec'],['43805','Dobovec'],['43806','Sveti Rok ob Sotli'],['43807','Tekačevo'],['43808','Rjavica'],['43809','Vidina'],['43851','Pristava'],['43852','Sodna vas'],['43853','Podčetrtek'],['43854','Imeno'],['43855','Podčetrtek Toplice'],['43856','Atomske Toplice hotel'],['43901','Petrovče'],['43902','Žalec'],['43903','Šempeter v Savinjski dolini'],['43904','Polzela'],['43905','Šmartno ob Paki'],['43906','Paška vas'],['43907','Šoštanj'],['43909','Velenje Pesje'],['43910','Velenje'],['43911','Celje Lava'],['43912','Florjan'],['44001','Brezovica'],['44002','Notranje Gorice'],['44003','Preserje'],['44004','Borovnica'],['44005','Verd'],['44006','Logatec'],['44007','Planina'],['44008','Rakek'],['44009','Postojna'],['44010','Prestranek'],['44011','Ljubljana Tivoli'],['44100','Pivka'],['44101','Košana'],['44102','Gornje Ležeče'],['44200','Divača'],['44201','Rodik'],['44202','Hrpelje-Kozina'],['44251','Povir'],['44300','Prešnica'],['44301','Podgorje'],['44302','Zazid'],['44303','Rakitovec'],['44352','Koper'],['44356','Črnotiče'],['44357','Hrastovlje'],['44500','Sežana'],['44501','Kreplje'],['44502','Kopriva'],['44503','Štanjel'],['44504','Branik'],['44505','Steske'],['44506','Dornberk'],['44600','Prvačina'],['44601','Okroglica'],['44602','Volčja Draga'],['44603','Šempeter pri Gorici'],['44651','Batuje'],['44652','Ajdovščina'],['44653','Dornberk vas'],['44654','Kamnje'],['44655','Dobravlje'],['44656','Cesta'],['44700','Nova Gorica'],['44701','Solkan'],['44703','Plave'],['44704','Anhovo'],['44705','Kanal'],['44706','Avče'],['44707','Most na Soči'],['44708','Podmelec'],['44709','Grahovo'],['44710','Hudajužna'],['44711','Podbrdo'],['44712','Bohinjska Bistrica'],['44713','Nomenj'],['44715','Bohinjska Bela'],['44716','Bled Jezero'],['44717','Podhom'],['44718','Vintgar'],['44719','Kočna'],['44800','Dutovlje'],['44901','Narin'],['44902','Kilovče'],['44903','Ilirska Bistrica'],['99998','Ljubljana Moste (BTC)'] ];
var StationsInfoText = [];
for (i=0; i<StationsData.length; i++ )
{
StationsInfoText.push( "Zelezniska postaja " + TrainStationsData[i][1] + "<br/>" +
"ID: " + TrainStationsData[i][0] + "<br/>" +
"Name: " + TrainStationsData[i][1] +
"Latitude:"+TrainStations[i].lat()+"<br/>"+
"Longitude:"+TrainStations[i].lng()+"" );
}