var map = L.map('omap_large').setView([55, -5], 6);
var iconLvl = [];
var iconMar = L.icon({
iconUrl: '/graphics/marine.png'
, iconSize: [20, 20]
, popupAnchor: [0, -4]
});
for(i=0; i<7; i++) {
iconLvl[i] = L.icon({
iconUrl: '/graphics/tide/' + i + '.png'
, iconSize: [18, 18]
, popupAnchor: [0, -4]
});
}
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '© OpenStreetMap contributors'
}).addTo(map);
var ports=["1|St. Mary's|st-marys|49.9167|-6.3167|3","2|Penzance (Newlyn)|penzance-newlyn|50.1|-5.55|3","3|Porthleven|porthleven|50.0833|-5.3167|3","4|Lizard Point|lizard-point|49.9667|-5.2|3","5|Coverack|coverack|50.0167|-5.1|3","6|Helford River (Entrance)|helford-river-entrance|50.0833|-5.0833|3","7|Falmouth|falmouth|50.15|-5.05|3","8|Truro|truro|50.2667|-5.05|3","9|Mevagissey|mevagissey|50.2667|-4.7833|3","10|Par|par|50.35|-4.7|3","11|Fowey|fowey|50.3333|-4.6333|3","12|Lostwithiel|lostwithiel|50.4|-4.6667|2","13|Looe|looe|50.35|-4.45|2","14|Whitsand Bay|whitsand-bay|50.3333|-4.25|2","15|Plymouth (Devonport)|plymouth-devonport|50.3667|-4.1833|2","16|Saltash|saltash|50.4|-4.2|2","17|Cargreen|cargreen|50.45|-4.2|2","18|Cotehele Quay|cotehele-quay|50.4833|-4.2167|2","20|Jupiter Point|jupiter-point|50.3833|-4.2333|2","21|St. Germans|st-germans|50.3833|-4.3|2","22|Turnchapel|turnchapel|50.3667|-4.1167|2","23|Bovisand Pier|bovisand-pier|50.3333|-4.1333|2","24|River Yealm Entrance|river-yealm-entrance|50.3167|-4.0667|2","25|Salcombe|salcombe|50.2167|-3.7833|2","26|Start Point|start-point|50.2167|-3.65|2","27|Dartmouth|dartmouth|50.35|-3.5833|2","28|Greenway Quay|greenway-quay|50.3833|-3.5833|2","29|Stoke Gabriel (Duncannon)|stoke-gabriel-duncannon|50.4|-3.6333|2","30|Totnes|totnes|50.4333|-3.6833|2","31|Torquay|torquay|50.4667|-3.5333|2","32|Teignmouth (Approaches)|teignmouth-approaches|50.55|-3.4833|2","33|Teignmouth (New Quay)|teignmouth-new-quay|50.55|-3.5|1","35|Exmouth Dock|exmouth-dock|50.6167|-3.4167|1","36|Starcross|starcross|50.6333|-3.45|1","37|Turf Lock|turf-lock|50.6667|-3.4667|1","38|Topsham|topsham|50.6833|-3.4667|1","39|Lyme Regis|lyme-regis|50.7167|-2.9333|2","40|Bridport (West Bay)|bridport-west-bay|50.7167|-2.7667|2","41|Chesil Beach|chesil-beach|50.6167|-2.55|1","42|Chesil Cove|chesil-cove|50.5667|-2.4667|2","43|Portland|portland|50.5667|-2.4333|1","44|Lulworth Cove|lulworth-cove|50.6167|-2.25|1","45|Mupe Bay|mupe-bay|50.6167|-2.2167|1","46|Swanage|swanage|50.6167|-1.95|0","47|Poole (Entrance)|poole-entrance|50.6833|-1.95|1","48|Poole Harbour|poole-harbour|50.7167|-1.9833|1","49|Pottery Pier|pottery-pier|50.7|-1.9833|1","50|Wareham (River Frome)|wareham-river-frome|50.6833|-2.1|2","51|Cleavel Point|cleavel-point|50.6667|-2|1","52|Bournemouth|bournemouth|50.7167|-1.8667|1","53|Christchurch (Entrance)|christchurch-entrance|50.7167|-1.75|1","54|Christchurch (Quay)|christchurch-quay|50.7333|-1.7667|1","55|Christchurch (Tuckton)|christchurch-tuckton|50.7333|-1.7833|2","56|Hurst Point|hurst-point|50.7|-1.55|2","57|Lymington|lymington|50.7667|-1.5333|3","58|Bucklers Hard|bucklers-hard|50.8|-1.4167|3","59|Stansore Point|stansore-point|50.7833|-1.3333|3","60|Yarmouth|yarmouth|50.7|-1.5|2","61|Totland Bay|totland-bay|50.6833|-1.55|2","62|Freshwater Bay|freshwater-bay|50.6667|-1.5167|1","63|Ventnor|ventnor|50.6|-1.2|3","64|Sandown|sandown|50.65|-1.15|3","65|Foreland (Lifeboat Slip)|foreland-lifeboat-slip|50.6833|-1.0667|3","66|Bembridge Approaches|bembridge-approaches|50.7|-1.1|3","67|Bembridge Harbour|bembridge-harbour|50.7|-1.1167|3","68|Ryde|ryde|50.7333|-1.1667|3","69|Cowes|cowes|50.7667|-1.3|3","70|Folly Inn|folly-inn|50.7333|-1.2833|3","72|Calshot Castle|calshot-castle|50.8167|-1.3|2","73|Southampton|southampton|50.8833|-1.4|3","74|Redbridge|redbridge|50.9167|-1.4667|3","75|Warsash|warsash|50.85|-1.3|3","76|Bursledon|bursledon|50.8833|-1.3|3","77|Lee-On-The-Solent|lee-on-the-solent|50.8|-1.2|3","78|Portsmouth|portsmouth|50.8|-1.1167|3","79|Langstone Harbour|langstone-harbour|50.8|-1.0167|3","80|Chichester Harbour (Entrance)|chichester-harbour-entrance|50.7833|-0.9333|3","81|Northney|northney|50.8333|-0.9667|3","82|Bosham|bosham|50.8333|-0.8667|3","83|Itchenor|itchenor|50.8|-0.8667|3","84|Dell Quay|dell-quay|50.8167|-0.8167|4","85|Selsey Bill|selsey-bill|50.7333|-0.7833|3","86|Nab Tower|nab-tower|50.6667|-0.95|3","87|Pagham|pagham|50.7667|-0.7167|3","88|Bognor Regis|bognor-regis|50.7833|-0.6667|3","89|Littlehampton (Entrance)|littlehampton-entrance|50.8|-0.55|3","92|Worthing|worthing|50.8|-0.3667|3","93|Shoreham|shoreham|50.8333|-0.25|3","94|Brighton Marina|brighton-marina|50.8167|-0.1|3","95|Newhaven|newhaven|50.7833|0.0667|3","96|Eastbourne|eastbourne|50.7667|0.3|3","97|Hastings|hastings|50.85|0.6|2","98|Rye (Approaches)|rye-approaches|50.9167|0.7833|3","99|Rye (Harbour)|rye-harbour|50.9333|0.7667|3","100|Dungeness|dungeness|50.9167|0.9667|2","101|Folkestone|folkestone|51.0833|1.2|2","102|Dover|dover|51.1167|1.3167|2","103|Deal|deal|51.2167|1.4167|2","104|Richborough|richborough|51.3|1.35|1","105|Ramsgate|ramsgate|51.3333|1.4167|2","106|Broadstairs|broadstairs|51.3667|1.45|2","107|Margate|margate|51.3833|1.3833|2","108|Herne Bay|herne-bay|51.3833|1.1167|2","109|Whitstable Approaches|whitstable-approaches|51.3667|1.0333|1","110|Grovehurst Jetty|grovehurst-jetty|51.3667|0.7667|1","112|Sheerness|sheerness|51.45|0.75|1","113|Bee Ness|bee-ness|51.4167|0.65|1","114|Bartlett Creek|bartlett-creek|51.3833|0.6333|5","115|Darnett Ness|darnett-ness|51.4|0.6|1","116|Chatham (Lock Approaches)|chatham-lock-approaches|51.4|0.55|1","117|Upnor|upnor|51.4167|0.5333|1","118|Rochester (Strood Pier)|rochester-strood-pier|51.4|0.5|1","119|Wouldham|wouldham|51.35|0.45|0","120|New Hythe|new-hythe|51.3167|0.4667|1","121|Allington Lock|allington-lock|51.3|0.5|5","122|Southend-On-Sea|southend-on-sea|51.5167|0.7167|1","123|Coryton|coryton|51.5|0.5167|1","124|Tilbury|tilbury|51.45|0.3667|1","125|North Woolwich|north-woolwich|51.5|0.0833|0","126|London Bridge (Tower Pier)|london-bridge-tower-pier|51.5|-0.0833|1","127|Chelsea Bridge|chelsea-bridge|51.4833|-0.15|1","128|Albert Bridge|albert-bridge|51.4833|-0.1667|2","129|Hammersmith Bridge|hammersmith-bridge|51.4833|-0.2333|3","130|Kew Bridge|kew-bridge|51.4833|-0.2833|3","131|Richmond Lock|richmond-lock|51.4667|-0.3167|4","132|Shivering Sand|shivering-sand|51.5|1.0833|2","133|S.E. Long Sand|s-e-long-sand|51.5333|1.35|2","134|Whitaker Beacon|whitaker-beacon|51.6667|1.1|2","135|Holliwell Point|holliwell-point|51.6333|0.9333|2","136|Rochford|rochford|51.5833|0.7167|5","137|Burnham-On-Crouch|burnham-on-crouch|51.6167|0.8|1","138|North Fambridge|north-fambridge|51.6333|0.6833|1","139|Hullbridge|hullbridge|51.6333|0.6333|1","140|Battlesbridge|battlesbridge|51.6167|0.5667|5","141|Bradwell Waterside|bradwell-waterside|51.75|0.9|2","142|Osea Island|osea-island|51.7167|0.7667|2","143|Maldon|maldon|51.7333|0.7|5","144|West Mersea|west-mersea|51.7833|0.9|2","145|Brightlingsea|brightlingsea|51.8|1|2","146|Colchester|colchester|51.8833|0.9333|4","147|Clacton-On-Sea|clacton-on-sea|51.7833|1.1667|2","148|Walton-on-the-Naze|walton-on-the-naze|51.85|1.2833|2","149|Bramble Creek|bramble-creek|51.8833|1.2333|2","150|Sunk Head|sunk-head|51.7833|1.5|2","151|Harwich|harwich|51.95|1.2833|3","152|Mistley|mistley|51.95|1.0833|4","153|Ipswich|ipswich|52.05|1.1667|3","154|Felixstowe Pier|felixstowe-pier|51.95|1.35|3","155|Woodbridge Haven|woodbridge-haven|51.9833|1.4|3","156|Woodbridge|woodbridge|52.0833|1.3167|3","157|Bawdsey|bawdsey|52.0167|1.4333|3","158|Orford Haven Bar|orford-haven-bar|52.0333|1.4667|3","159|Orford Quay|orford-quay|52.0833|1.5333|1","160|Slaughden Quay|slaughden-quay|52.1333|1.6|1","161|Iken Cliffs|iken-cliffs|52.15|1.5167|0","162|Orford Ness|orford-ness|52.0833|1.5833|3","163|Aldeburgh|aldeburgh|52.15|1.6|3","164|Minsmere Sluice|minsmere-sluice|52.2333|1.6333|3","165|Southwold|southwold|52.3167|1.6667|3","166|Lowestoft|lowestoft|52.4667|1.75|1","167|Great Yarmouth (Gorleston-On-Sea)|gorleston-on-sea|52.5667|1.7333|1","168|Great Yarmouth (Britannia Pier)|great-yarmouth-britannia-pier|52.6|1.75|0","169|Caister-On-Sea|caister-on-sea|52.65|1.7333|0","170|Winterton-On-Sea|winterton-on-sea|52.7167|1.7|1","171|Cromer|cromer|52.9333|1.3|2","172|Blakeney Bar|blakeney-bar|52.9833|0.9833|2","173|Blakeney|blakeney|52.95|1.0167|1","174|Wells Bar|wells-bar|52.9833|0.8167|2","175|Wells|wells|52.9667|0.85|1","176|Burnham (Overy Staithe)|burnham-overy-staithe|52.9667|0.75|1","177|Hunstanton|hunstanton|52.9333|0.4833|2","178|West Stones|west-stones|52.8333|0.35|2","179|King's Lynn|kings-lynn|52.75|0.4|2","180|Outer Westmark Knock|outer-westmark-knock|52.8833|0.2167|2","181|Wisbech Cut|wisbech-cut|52.8|0.2167|2","182|Port Sutton Bridge|port-sutton-bridge|52.7667|0.2|2","183|Wisbech|wisbech|52.6667|0.15|1","184|Lawyer's Creek|lawyers-creek|52.8833|0.0833|2","185|Tabs Head|tabs-head|52.9333|0.0833|2","186|Boston, England|boston-england|52.9667|-0.0167|2","187|Skegness|skegness|53.15|0.35|2","188|Inner Dowsing Light|inner-dowsing-light|53.3167|0.5833|2","189|Spurn Head|spurn-head|53.5833|0.1167|3","190|Bull Sand Fort|bull-sand-fort|53.559685|0.070896|3","191|Grimsby|grimsby|53.5833|-0.0667|2","192|Humber Sea Terminal|humber-sea-terminal|53.6667|-0.2333|2","193|Immingham|immingham|53.6333|-0.1833|2","194|Hull (King George Dock)|hull-king-george-dock|53.7333|-0.2667|2","195|Hull (Albert Dock)|hull-albert-dock|53.7333|-0.35|2","196|Humber Bridge|humber-bridge|53.7167|-0.45|2","197|Burton Stather|burton-stather|53.65|-0.7|1","198|Flixborough Wharf|flixborough-wharf|53.6167|-0.7|1","199|Keadby|keadby|53.6|-0.7333|1","200|Owston Ferry|owston-ferry|53.4833|-0.7667|0","201|Blacktoft|blacktoft|53.7|-0.7167|1","202|Goole|goole|53.7|-0.8667|1","203|Bridlington|bridlington|54.0833|-0.1833|3","204|Filey Bay|filey-bay|54.2167|-0.2667|2","205|Scarborough|scarborough|54.2833|-0.3833|2","206|Whitby|whitby|54.4833|-0.6167|2","207|River Tees Entrance|river-tees-entrance|54.6333|-1.15|2","208|Middlesbrough (Dock Entrance)|middlesbrough-dock-entrance|54.5833|-1.2167|2","209|Tees (Newport) Bridge|tees-newport-bridge|54.5667|-1.2667|2","210|Hartlepool|hartlepool|54.7|-1.2|2","211|Seaham|seaham|54.8333|-1.3167|1","212|Sunderland|sunderland|54.9167|-1.3667|1","213|River Tyne (North Shields)|river-tyne-north-shields|55|-1.4333|1","214|Newcastle upon Tyne|newcastle-upon-tyne|54.9667|-1.6|2","215|Blyth|blyth|55.1167|-1.4833|1","216|Coquet Island|coquet-island|55.3333|-1.5333|1","217|Amble|amble|55.3333|-1.5667|1","218|North Sunderland (Northumberland)|north-sunderland-northumberland|55.5833|-1.65|0","219|Holy Island|holy-island|55.6667|-1.8|0","220|Berwick|berwick|55.7667|-1.9833|0","221|Eyemouth|eyemouth|55.8667|-2.0833|0","222|Dunbar|dunbar|56|-2.5167|0","223|Fidra|fidra|56.0667|-2.7833|0","224|Cockenzie|cockenzie|55.9667|-2.95|6","225|Leith|leith|55.9833|-3.1833|0","226|Granton|granton|55.9833|-3.2167|0","227|Rosyth|rosyth|56.0167|-3.45|0","228|Grangemouth|grangemouth|56.0333|-3.6833|0","229|Kincardine|kincardine|56.0667|-3.7167|0","230|Alloa|alloa|56.1|-3.8|5","231|Stirling|stirling|56.1167|-3.9333|4","232|Burntisland|burntisland|56.05|-3.2333|0","233|Kirkcaldy|kirkcaldy|56.15|-3.15|0","234|Methil|methil|56.1833|-3|0","235|Anstruther Easter|anstruther-easter|56.2167|-2.7|0","236|River Tay Bar|river-tay-bar|56.4667|-2.6333|0","237|Dundee|dundee|56.45|-2.9667|1","238|Newburgh|newburgh|56.35|-3.2333|2","239|Perth|perth|56.4|-3.4167|4","240|Arbroath|arbroath|56.55|-2.5833|0","241|Montrose|montrose|56.7|-2.45|0","242|Stonehaven|stonehaven|56.9667|-2.2|1","243|Aberdeen|aberdeen|57.15|-2.0667|1","244|Peterhead|peterhead|57.5|-1.7667|2","245|Fraserburgh|fraserburgh|57.6833|-2|2","246|Banff|banff|57.6667|-2.5167|2","247|Whitehills|whitehills|57.6833|-2.5833|2","248|Buckie|buckie|57.6833|-2.95|3","249|Lossiemouth|lossiemouth|57.7167|-3.3|2","250|Burghead|burghead|57.7|-3.5|2","251|Nairn|nairn|57.6|-3.8667|2","252|Mcdermott Base|mcdermott-base|57.6|-4|2","253|Fortrose|fortrose|57.5833|-4.1333|4","254|Inverness|inverness|57.5|-4.2333|2","255|Cromarty|cromarty|57.7|-4.05|2","256|Invergordon|invergordon|57.6833|-4.1667|2","257|Dingwall (Cromarty Firth)|dingwall-cromarty-firth|57.6|-4.4167|4","258|Portmahomack|portmahomack|57.8333|-3.8333|2","259|Meikle Ferry|meikle-ferry|57.85|-4.1333|2","260|Golspie|golspie|57.9667|-3.9833|3","261|Helmsdale|helmsdale|58.1167|-3.65|3","262|Wick|wick|58.4333|-3.0833|3","263|Duncansby Head|duncansby-head|58.65|-3.0333|2","264|Muckle Skerry|muckle-skerry|58.6833|-2.9167|3","265|Burray Ness|burray-ness|58.85|-2.8667|3","266|Deer Sound|deer-sound|58.9667|-2.8333|3","267|Kirkwall|kirkwall|58.9833|-2.9667|2","268|Egilsay|egilsay|59.15|-2.95|2","269|Whitehall|whitehall|59.15|-2.6|3","270|Loth|loth|59.1833|-2.7|2","271|Kettletoft Pier|kettletoft-pier|59.2333|-2.6|3","272|Rapness|rapness|59.25|-2.8667|1","273|Pierowall|pierowall|59.3167|-2.9833|1","274|Tingwall|tingwall|59.0833|-3.05|1","275|Stromness|stromness|58.9667|-3.3|1","276|St. Mary's (Scapa Flow)|st-marys-scapa-flow|58.9|-2.9167|2","277|Widewall Bay|widewall-bay|58.8167|-3.0167|1","278|Bur Wick|bur-wick|58.7333|-2.9667|2","279|Fair Isle|fair-isle|59.5333|-1.6|3","280|Sumburgh (Grutness Voe)|sumburgh-grutness-voe|59.8833|-1.2833|3","281|Lerwick|lerwick|60.15|-1.1333|3","282|Dury Voe|dury-voe|60.35|-1.1667|3","283|Out Skerries|out-skerries|60.4167|-0.75|2","284|Toft Pier|toft-pier|60.4667|-1.2|2","285|Burra Voe (Yell Sound)|burra-voe-yell-sound|60.5|-1.05|2","286|Mid Yell|mid-yell|60.6|-1.05|2","287|Baltasound Pier|baltasound-pier|60.75|-0.8333|2","288|Burra Firth|burra-firth|60.8|-0.8667|2","289|Cullivoe|bluemull-sound|60.7|-1|2","290|Sullom Voe|sullom-voe|60.45|-1.3|1","291|Esha Ness (Hamna Voe)|esha-ness-hamna-voe|60.5|-1.5667|1","292|Hillswick|hillswick|60.4833|-1.4833|0","293|West Burra Firth|west-burra-firth|60.3|-1.5333|1","294|Scalloway|scalloway|60.1333|-1.2667|1","295|Bay Of Quendale|bay-of-quendale|59.9|-1.35|2","296|Foula|foula|60.1167|-2.05|1","297|Stroma|stroma|58.6667|-3.1333|2","298|Gills Bay|gills-bay|58.6333|-3.1667|1","299|Scrabster|scrabster|58.6167|-3.55|1","300|Sule Skerry|sule-skerry|59.0833|-4.4|0","301|Portnancon|portnancon|58.5|-4.7|0","302|Kyle Of Durness|kyle-of-durness|58.6|-4.7833|1","303|Rona|rona|59.1333|-5.8167|1","304|Stornoway|stornoway|58.2|-6.3833|1","305|Loch Shell|loch-shell|58|-6.4167|2","306|East Loch Tarbert (Outer Hebrides)|e-loch-tarbert|57.9|-6.8|2","307|Leverburgh|leverburgh|57.7667|-7.0333|2","308|Bays Loch|bays-loch|57.7167|-7.1667|2","309|Lochmaddy|loch-maddy|57.6|-7.15|2","310|Loch Carnan|loch-carnan|57.3667|-7.2667|2","311|Loch Skipport|loch-skiport|57.3333|-7.2667|2","312|Loch Boisdale|loch-boisdale|57.15|-7.2667|2","313|Barra (North Bay)|barra-north-bay|57|-7.4|2","314|Castlebay|castle-bay|56.95|-7.4833|2","315|Barra Head|barra-head|56.7833|-7.6333|2","316|Shillay|shillay|57.5333|-7.7|2","317|Balivanich|balivanich|57.4833|-7.3833|2","318|Scolpaig|scolpaig|57.65|-7.4833|2","319|West Loch Tarbert (Outer Hebrides)|west-loch-tarbert|57.9167|-6.9167|2","320|Little Bernera|little-bernera|58.2667|-6.8667|2","321|Carloway|carloway|58.2833|-6.7833|1","322|Hirta (Bagh A' Bhaile)|st-kilda|57.8|-8.5667|2","323|Flannan Isles|flannan-isles|58.2833|-7.5833|2","324|Rockall|rockall|57.6|-13.6833|2","325|Kinlochbervie|loch-bervie|58.45|-5.05|1","326|Loch Laxford|loch-laxford|58.4|-5.0833|1","327|Badcall Bay|badcall-bay|58.3167|-5.1333|1","328|Loch Nedd|loch-nedd|58.2333|-5.1667|1","329|Loch Inver|loch-inver|58.15|-5.3|1","330|Tanera Mor|tanera-mor|58.0167|-5.4|1","331|Ullapool|ullapool|57.9|-5.15|1","332|Mellon Charles|mellon-charles|57.85|-5.6333|2","333|Nato Jetty|nato-jetty|57.8333|-5.5833|1","334|Gairloch|gairloch|57.7167|-5.6833|2","335|Shieldaig|shieldaig|57.5167|-5.65|2","336|Applecross|applecross|57.4333|-5.8167|2","337|Plockton|plockton|57.35|-5.65|2","338|Loch A' Bhraige|loch-a-bhraige|57.5833|-5.9667|2","339|Broadford Bay|broadford-bay|57.25|-5.9|2","340|Portree|portree|57.4|-6.1833|2","341|Loch Snizort (Uig Bay)|loch-snizort-uig-bay|57.5833|-6.3667|2","342|Loch Dunvegan|loch-dunvegan|57.45|-6.6333|2","343|Loch Harport|loch-harport|57.3333|-6.4167|2","344|Camus Nan Gall|camus-nan-gall|57.15|-6.2167|2","345|Kyle Of Lochalsh|kyle-of-lochalsh|57.2833|-5.7167|2","346|Dornie Bridge|dornie-bridge|57.2833|-5.5167|2","347|Glenelg Bay|glenelg-bay|57.2167|-5.6333|2","348|Loch Hourn|loch-hourn|57.1|-5.5667|2","349|Inverie Bay|inverie-bay|57.0333|-5.6833|2","350|Mallaig|mallaig|57|-5.8333|2","351|Loch Scresort|loch-scresort|57.0167|-6.2667|2","352|Bay Of Laig|bay-of-laig|56.9167|-6.1667|2","353|Galmisdale Pier|galmisdale-pier|56.8833|-6.1333|2","354|Loch Moidart|loch-moidart|56.7833|-5.8833|2","355|Loch Eatharna|loch-eatharna|56.6167|-6.5167|2","356|Gott Bay|gott-bay|56.5167|-6.8|2","357|Carsaig Bay (Mull)|carsaig-bay-mull|56.3167|-5.9667|3","358|Iona|iona|56.3333|-6.3833|3","359|Bunessan|bunessan|56.3167|-6.2333|3","360|Ulva Sound|ulva-sound|56.4833|-6.1333|3","361|Salen|salen|56.7167|-5.7833|3","362|Tobermory|tobermory|56.6167|-6.0667|2","363|Salen (Sound Of Mull)|salen-sound-of-mull|56.5167|-5.95|2","364|Loch Aline|loch-aline|56.5333|-5.7667|2","365|Craignure|craignure|56.4667|-5.7|2","366|Corran|corran|56.7167|-5.2333|2","367|Corpach|corpach|56.85|-5.1167|2","370|Port Appin|port-appin|56.55|-5.4167|3","371|Barcaldine Pier|barcaldine-pier|56.5333|-5.3167|2","372|Loch Creran Head|loch-creran-head|56.55|-5.2667|2","373|Dunstaffnage Bay|dunstaffnage-bay|56.45|-5.4333|3","374|Connel|connel|56.45|-5.4|2","375|Ardchattan Point|ardchattan-point|56.45|-5.2167|1","376|Oban|oban|56.4167|-5.4833|3","377|Seil Sound|seil-sound|56.3|-5.5833|3","378|Scalasaig|scalasaig|56.0667|-6.1833|3","379|Glengarrisdale Bay|glengarrisdale-bay|56.1167|-5.7833|3","380|Rubh' A' Mhail|rubh-a-mhail|55.9333|-6.1167|3","381|Ardnave Point|ardnave-point|55.8667|-6.3333|2","382|Orsay|orsay|55.6833|-6.5167|3","383|Bruichladdich|bruichladdich|55.7667|-6.3667|3","385|Port Askaig|port-askaig|55.85|-6.1|3","387|Loch Melfort|loch-melfort|56.25|-5.4833|3","388|Loch Beag|loch-beag|56.15|-5.6|3","389|Carsaig Bay|carsaig-bay|56.0333|-5.6333|3","390|Sound Of Gigha|sound-of-gigha|55.6833|-5.7333|2","392|Southend (Kintyre)|southend-kintyre|55.3167|-5.6333|2","393|Campbeltown|campbeltown|55.4167|-5.6|2","394|Carradale|carradale|55.6|-5.4667|2","395|Loch Ranza|loch-ranza|55.7167|-5.3|3","396|East Loch Tarbert (Loch Fyne)|east-loch-tarbert|55.8667|-5.4|3","397|Inveraray|inveraray|56.2333|-5.0667|2","398|Rubha A' Bhodaich|rubha-a-bhodaich|55.9167|-5.15|3","399|Tighnabruaich|tighnabruaich|55.9167|-5.2167|3","400|Millport|millport|55.75|-4.9333|3","401|Rothesay Bay|rothesay-bay|55.8333|-5.05|3","402|Wemyss Bay|wemyss-bay|55.8833|-4.8833|3","403|Coulport|coulport|56.05|-4.8833|2","404|Lochgoilhead|lochgoilhead|56.1667|-4.9|3","405|Arrochar|arrochar|56.2|-4.75|3","406|Rosneath|rosneath|56|-4.7833|3","407|Rhu Marina|rhu-marina|56.0167|-4.7667|3","408|Faslane|faslane|56.0667|-4.8167|2","409|Garelochhead|garelochhead|56.0833|-4.8333|2","410|Helensburgh|helensburgh|56|-4.7333|2","411|Greenock|greenock|55.95|-4.7667|2","412|Port Glasgow|port-glasgow|55.9333|-4.6833|2","413|Bowling|bowling|55.9333|-4.4833|2","414|Clydebank (Rothesay Dock)|clydebank-rothesay-dock|55.9|-4.4|2","415|Glasgow|glasgow|55.85|-4.2667|2","416|Brodick Bay|brodick-bay|55.5833|-5.1333|3","417|Lamlash|lamlash|55.5333|-5.1167|4","418|Ardrossan|ardrossan|55.6333|-4.8167|3","419|Irvine|irvine|55.6|-4.7|3","420|Troon|troon|55.55|-4.6833|3","421|Ayr|ayr|55.4667|-4.65|3","422|Girvan|girvan|55.25|-4.8667|3","423|Stranraer|stranraer|54.9167|-5.0333|3","424|Portpatrick|portpatrick|54.85|-5.1167|3","425|Drummore|drummore|54.7|-4.8833|2","426|Luce Bay (Offshore Platform)|luce-bay-offshore-platform|54.8333|-4.8833|2","427|Port William|port-william|54.7667|-4.5833|4","428|Isle Of Whithorn|isle-of-whithorn|54.7|-4.3667|2","429|Garlieston|garlieston|54.7833|-4.3667|3","430|Kirkcudbright Bay|kirkcudbright-bay|54.8|-4.0667|3","431|Hestan Island|hestan-island|54.8333|-3.8|2","432|Southerness Point|southerness-point|54.8667|-3.6|4","433|Annan Waterfoot|annan-waterfoot|54.9667|-3.2667|4","434|Torduff Point|torduff-point|54.9667|-3.15|4","435|Redkirk|redkirk|54.9833|-3.1|4","436|Silloth|silloth|54.8667|-3.4|2","437|Maryport|maryport|54.7167|-3.5|2","438|Workington|workington|54.65|-3.5667|2","439|Whitehaven|whitehaven|54.55|-3.6|2","440|Tarn Point|tarn-point|54.2833|-3.4167|3","441|Duddon Bar|duddon-bar|54.15|-3.3333|2","442|Barrow (Ramsden Dock)|barrow-ramsden-dock|54.1|-3.2167|2","443|Roa Island|roa-island|54.0667|-3.1667|2","444|Haws Point|haws-point|54.05|-3.1667|2","445|Halfway Shoal|halfway-shoal|54.0167|-3.2|3","446|Ulverston|ulverston|54.1833|-3.0667|3","447|Arnside|arnside|54.2|-2.85|4","448|Morecambe|morecambe|54.0667|-2.8833|2","449|Heysham|heysham|54.0333|-2.9167|3","450|Glasson Dock|glasson-dock|54|-2.85|3","451|Lancaster|lancaster|54.05|-2.8167|4","452|Wyre Lighthouse|wyre-lighthouse|53.95|-3.0333|3","453|Fleetwood|fleetwood|53.9333|-3|3","454|Blackpool|blackpool|53.8167|-3.0667|3","455|Preston|preston|53.75|-2.75|1","456|Southport|southport|53.65|-3.0167|3","457|Formby|formby|53.5333|-3.1167|3","458|Liverpool (Gladstone Dock)|liverpool-gladstone-dock|53.45|-3.0167|2","459|Seacombe (Alfred Dock)|liverpool-alfred-dock|53.4|-3.0167|2","460|Eastham|eastham|53.3167|-2.95|2","461|Hale Head|hale-head|53.3167|-2.8|4","462|Widnes|widnes|53.35|-2.7333|1","463|Fiddler's Ferry|fiddlers-ferry|53.3667|-2.6667|2","464|Hilbre Island|hilbre-island|53.3833|-3.2333|3","465|Chester|chester|53.2|-2.9|4","466|Connah's Quay|connahs-quay|53.2167|-3.05|3","467|Mostyn Docks|mostyn-docks|53.3167|-3.2667|2","468|Peel|peel|54.2333|-4.7|3","469|Ramsey|ramsey|54.3167|-4.3667|3","470|Douglas|douglas|54.15|-4.4667|3","471|Port St. Mary|port-st-mary|54.0667|-4.7333|3","472|Calf Sound|calf-sound|54.0667|-4.8|3","473|Port Erin|port-erin|54.0833|-4.7667|3","474|Colwyn Bay|colwyn-bay|53.3|-3.7167|3","475|Llandudno|llandudno|53.3333|-3.8333|3","476|Conwy|conwy|53.2833|-3.8333|3","477|Beaumaris|beaumaris|53.2667|-4.0833|3","478|Menai Bridge|menai-bridge|53.2167|-4.1667|3","479|Port Dinorwic|port-dinorwic|53.1833|-4.2167|2","480|Caernarfon|caernarfon|53.15|-4.2667|2","481|Fort Belan|fort-belan|53.1167|-4.3333|2","482|Trwyn Dinmor|trwyn-dinmor|53.3167|-4.05|3","483|Moelfre|moelfre|53.3333|-4.2333|3","484|Amlwch|amlwch|53.4167|-4.3333|2","485|Cemaes Bay|cemaes-bay|53.4167|-4.45|2","486|Holyhead|holyhead|53.3167|-4.6167|2","487|Trearddur Bay|trearddur-bay|53.2667|-4.6167|1","488|Porth Trecastell|porth-trecastell|53.2|-4.5|1","489|Llanddwyn Island|llanddwyn-island|53.1333|-4.4167|1","490|Trefor|trefor|53|-4.4167|1","491|Porth Dinllaen|porth-dinllaen|52.95|-4.5667|1","492|Porth Ysgaden|porth-ysgaden|52.9|-4.65|1","493|Bardsey Island|bardsey-island|52.7667|-4.7833|0","494|Aberdaron|aberdaron|52.803592|-4.712362|0","495|St. Tudwal's Roads|st-tudwals-roads|52.8167|-4.4833|0","496|Pwllheli|pwllheli|52.8833|-4.4|0","497|Criccieth|criccieth|52.9167|-4.2333|0","498|Porthmadog|porthmadog|52.9167|-4.1333|0","499|Barmouth|barmouth|52.7167|-4.05|0","500|Aberdovey|aberdovey|52.55|-4.05|0","501|Aberystwyth|aberystwyth|52.4|-4.0833|0","502|New Quay|new-quay|52.2167|-4.35|0","503|Aberporth|aberporth|52.1333|-4.55|1","504|Port Cardigan|port-cardigan|52.1167|-4.6833|1","505|Cardigan (Town)|cardigan-town|52.0833|-4.6667|0","506|Fishguard|fishguard|52.0167|-4.9833|1","507|Porthgain|porthgain|51.95|-5.1833|1","508|Ramsey Sound|ramsey-sound|51.8833|-5.3167|1","509|Solva|solva|51.8667|-5.2|2","510|Little Haven|little-haven|51.7667|-5.1167|2","511|Martin's Haven|martins-haven|51.7333|-5.25|2","512|Skomer Island|skomer-island|51.7333|-5.2833|2","513|Dale Roads|dale-roads|51.7|-5.15|2","514|Milford Haven|milford-haven|51.7|-5.05|2","515|Neyland|neyland|51.7|-4.95|2","516|Black Tar|black-tar|51.75|-4.9|2","517|Haverfordwest|haverfordwest|51.8|-4.9667|1","518|Stackpole Quay|stackpole-quay|51.6167|-4.9|2","519|Tenby|tenby|51.6667|-4.7|2","520|Ferryside|ferryside|51.7667|-4.3667|2","521|Carmarthen|carmarthen|51.85|-4.3|2","522|Burry Port|burry-port|51.6833|-4.25|2","523|Llanelli|llanelli|51.6667|-4.1667|2","524|Mumbles|mumbles|51.5667|-3.9667|2","525|Swansea|swansea|51.6167|-3.9167|2","526|River Neath Entrance|river-neath-entrance|51.6167|-3.85|2","527|Port Talbot|port-talbot|51.5833|-3.8167|2","528|Porthcawl|porthcawl|51.4667|-3.7|2","529|Barry|barry|51.3833|-3.2667|1","530|Flat Holm|flat-holm|51.3833|-3.1167|1","531|Steep Holm|steep-holm|51.3333|-3.1|1","532|Cardiff|cardiff|51.45|-3.1667|1","533|Newport|newport|51.55|-2.9833|1","535|Sudbrook|sudbrook|51.5833|-2.7167|1","536|Beachley (Aust)|beachley-aust|51.6|-2.6333|1","537|Inward Rocks|inward-rocks|51.65|-2.6167|0","538|Narlwood Rocks|narlwood-rocks|51.65|-2.6|0","539|White House|white-house|51.6667|-2.55|0","540|Berkeley|berkeley|51.7|-2.5|0","541|Sharpness Dock|sharpness-dock|51.7167|-2.4833|0","542|Wellhouse Rock|wellhouse-rock|51.7333|-2.4833|0","546|Port of Bristol (Avonmouth)|port-of-bristol-avonmouth|51.5|-2.7333|1","547|Shirehampton|shirehampton|51.4833|-2.6833|1","548|Sea Mills|sea-mills|51.4833|-2.65|1","549|Cumberland Basin Entrance|cumberland-basin-entrance|51.45|-2.6167|1","550|Portishead|portishead|51.5|-2.75|1","551|Clevedon|clevedon|51.45|-2.8667|1","552|St. Thomas's Head|st-thomas-head|51.4|-2.9333|1","553|English And Welsh Grounds|english-and-welsh-grounds|51.4667|-2.9833|1","554|Weston-super-Mare|weston-super-mare|51.35|-2.9833|1","555|Burnham-On-Sea|burnham-on-sea|51.2333|-3|1","556|Bridgwater|bridgwater|51.1333|-3|1","557|Hinkley Point|hinkley-point|51.2167|-3.1333|1","558|Watchet|watchet|51.1833|-3.3333|2","559|Minehead|minehead|51.2167|-3.4667|2","560|Porlock Bay|porlock-bay|51.2167|-3.6333|2","561|Lynmouth|lynmouth|51.2333|-3.8333|2","562|Ilfracombe|ilfracombe|51.2167|-4.1167|2","563|Appledore|appledore|51.05|-4.2|2","564|Yelland Marsh|yelland-marsh|51.0667|-4.1667|2","565|Fremington|fremington|51.0833|-4.1167|2","566|Barnstaple|barnstaple|51.0833|-4.0667|2","567|Bideford|bideford|51.0167|-4.2|2","568|Clovelly|clovelly|51|-4.4|2","569|Lundy|lundy|51.1667|-4.65|2","570|Bude|bude|50.8333|-4.55|3","571|Boscastle|boscastle|50.6833|-4.7|2","572|Port Isaac|port-isaac|50.6|-4.8333|3","573|Padstow|padstow|50.55|-4.9333|3","574|Wadebridge|wadebridge|50.5167|-4.8333|3","575|Newquay|newquay|50.4167|-5.0833|3","576|Perranporth|perranporth|50.35|-5.15|3","577|St. Ives|st-ives|50.2167|-5.4833|3","578|Cape Cornwall|cape-cornwall|50.1333|-5.7|3","579|Sennen Cove|sennen-cove|50.0833|-5.7|4","581|Arklow|arklow|52.8|-6.1333|0","582|Wicklow|wicklow|52.9833|-6.0333|3","583|Greystones|greystones|53.15|-6.0667|3","584|Dun Laoghaire|dun-laoghaire|53.3|-6.1333|3","585|Dublin Bar|dublin-bar|53.35|-6.15|3","586|Dublin (North Wall)|dublin-north-wall|53.35|-6.2167|3","587|Howth|howth|53.3833|-6.0667|3","588|Malahide|malahide|53.45|-6.15|3","589|Balbriggan|balbriggan|53.6167|-6.1833|3","590|River Boyne Entrance|river-boyne-bar|53.7167|-6.2333|3","591|Dunany Point|dunany-point|53.8667|-6.2333|3","592|Soldiers Point|soldiers-point|54|-6.35|3","593|Cranfield Point|cranfield-point|54.0167|-6.0667|3","594|Greenore|greenore|54.0333|-6.1333|3","595|Warrenpoint|warrenpoint|54.1|-6.25|3","596|Newry (Victoria Lock)|newry-victoria-lock|54.15|-6.3167|3","597|Kilkeel|kilkeel|54.05|-5.9833|3","598|Newcastle (N.Ireland)|newcastle-n-ireland|54.2|-5.8833|3","599|Killough Harbour|killough-harbour|54.25|-5.6333|3","600|Ardglass|ardglass|54.2667|-5.6|3","601|Killard Point|killard-point|54.3167|-5.5167|3","602|Strangford|strangford|54.3667|-5.55|1","603|Quoile Barrier|quoile-barrier|54.3667|-5.6833|0","604|Killyleagh|killyleagh|54.4|-5.65|5","605|South Rock|south-rock|54.4|-5.4167|3","606|Portavogie|portavogie|54.45|-5.4333|3","607|Donaghadee|donaghadee|54.65|-5.5333|3","608|Bangor|bangor|54.6667|-5.6667|3","609|Belfast|belfast|54.6|-5.9167|3","610|Carrickfergus|carrickfergus|54.7167|-5.8|3","611|Larne|larne|54.85|-5.8|3","612|Red Bay|red-bay|55.0667|-6.05|3","613|Cushendun|cushendun|55.1333|-6.0333|3","614|Ballycastle Bay|ballycastle-bay|55.2|-6.2333|2","615|Portrush|portrush|55.2|-6.6667|2","616|Coleraine|coleraine|55.1333|-6.6667|1","617|Warren Lighthouse|warren-lighthouse|55.2167|-6.95|2","618|Moville|moville|55.1833|-7.05|1","619|Quigley's Point|quigleys-point|55.1333|-7.1833|1","620|Culmore Point|culmore-point|55.05|-7.25|1","621|River Foyle (Lisahally)|river-foyle-lisahally|55.05|-7.2667|1","622|Londonderry|londonderry|55|-7.3167|0","623|Culdaff Bay|culdaff-bay|55.3|-7.15|2","624|Inishtrahull|inishtrahull|55.4333|-7.2333|2","625|Bulbinbeg|bulbinbeg|55.3667|-7.3333|2","626|Trawbreaga Bay|trawbreaga-bay|55.3167|-7.3833|2","627|Rathmullan|rathmullan|55.1|-7.5333|2","628|Fanad Head|fanad-head|55.2833|-7.6333|2","629|Mulroy Bay Bar|mulroy-bay-bar|55.25|-7.7667|2","630|Fanny's Bay|fannys-bay|55.2|-7.8167|2","631|Seamount Bay|seamount-bay|55.1833|-7.7333|1","632|Cranford Bay|cranford-bay|55.15|-7.7|0","633|Downies Bay|downies-bay|55.1833|-7.8333|2","634|Inishbofin Bay|inishbofin-bay|55.1667|-8.1667|3","635|Gweedore Harbour|gweedore-harbour|55.0667|-8.3167|2","636|Burtonport|burtonport|54.9833|-8.4333|2","637|Loughros More Bay|loughros-more-bay|54.7833|-8.5|2","638|Killybegs|killybegs|54.6333|-8.4333|2","639|Donegal Harbour (Salt Hill Quay)|donegal-harbour-salt-hill-quay|54.6333|-8.2|2","640|Mullaghmore|mullaghmore|54.4667|-8.45|3","641|Sligo Harbour (Oyster Island)|sligo-harbour-oyster-island|54.3|-8.5667|2","642|Ballysadare Bay (Culleenamore)|ballysadare-bay-culleenamore|54.25|-8.5833|2","643|Killala Bay (Inishcrone)|killala-bay-inishcrone|54.2167|-9.1|3","644|Ballyglass (Broadhaven)|broadhaven|54.2667|-9.8833|3","645|Blacksod Quay|blacksod-quay|54.1|-10.0667|3","646|Inishbiggle|inishbiggle|54|-9.8833|2","647|Clare Island|clare-island|53.8|-9.95|3","648|Inishgort|inishgort|53.8333|-9.6667|3","649|Roonah Quay|roonah-quay|53.7667|-9.9|3","650|Killary Harbour|killary-harbour|53.6333|-9.8833|3","651|Bofin Harbour|bofin-harbour|53.6167|-10.2|3","652|Clifden Bay|clifden-bay|53.4833|-10.0667|3","653|Slyne Head|slyne-head|53.4|-10.2333|3","654|Roundstone Bay|roundstone-bay|53.3833|-9.9167|3","655|Kilkieran Cove|kilkieran-cove|53.3167|-9.7333|3","656|Inishmore (Killeany Bay)|killeany-bay|53.1167|-9.6667|3","657|Galway|galway|53.2667|-9.05|3","658|Liscannor|liscannor|52.9333|-9.3833|3","659|Seafield Point|seafield-point|52.8|-9.5|3","660|Kilbaha Bay|kilbaha-bay|52.5667|-9.8667|3","661|Carrigaholt|carrigaholt|52.6|-9.7|3","662|Kilrush|kilrush|52.6333|-9.5|3","663|Tarbert Island|tarbert-island|52.5833|-9.35|3","664|Foynes Island|foynes-island|52.6167|-9.1167|2","665|Mellon Point|mellon-point|52.6667|-8.8333|2","666|Limerick Dock|limerick-dock|52.6667|-8.6333|2","667|Coney Island|coney-island|52.7167|-8.9833|2","668|Fenit Pier|fenit-pier|52.2667|-9.8667|3","669|Smerwick Harbour|smerwick-harbour|52.2|-10.4|4","670|Dingle Harbour|dingle-harbour|52.1167|-10.25|3","671|Cromane Point|cromane-point|52.1333|-9.9|3","672|Knights Town|knights-town|51.9333|-10.3|2","673|Ballinskelligs Bay Castle|ballinskelligs-bay-castle|51.8167|-10.2667|2","674|West Cove|west-cove|51.7667|-10.05|2","675|Dunkerron Harbour|dunkerron-harbour|51.8667|-9.65|2","676|Ballycrovane Harbour|ballycrovane-harbour|51.7167|-9.95|2","677|Black Ball Harbour|black-ball-harbour|51.6|-10.0333|3","678|Castletown Bearhaven|castletown-bearhaven|51.65|-9.9|3","679|Bantry|bantry|51.6833|-9.4667|3","680|Dunbeacon Harbour|dunbeacon-harbour|51.6167|-9.55|3","681|Dunmanus Harbour|dunmanus-harbour|51.5333|-9.6667|3","682|Crookhaven|crookhaven|51.4667|-9.7333|3","683|Schull|schull|51.5167|-9.5333|3","684|Baltimore, Ireland|baltimore-ireland|51.4833|-9.3667|3","685|Castletownshend|castletownshend|51.5333|-9.1667|3","686|Clonakilty Bay|clonakilty-bay|51.5833|-8.8333|3","687|Courtmacsherry|courtmacsherry|51.6333|-8.7167|3","688|Kinsale|kinsale|51.7|-8.5167|3","689|Roberts Cove|roberts-cove|51.75|-8.3167|3","690|Cobh|cobh|51.85|-8.3|3","691|Ringaskiddy|ringaskiddy|51.8333|-8.3167|3","692|Marino Point|marino-point|51.8833|-8.3333|3","693|Cork City|cork-city|51.9|-8.45|3","694|Ballycotton|ballycotton|51.8333|-8.0167|3","695|Youghal|youghal|51.95|-7.85|3","696|Dungarvan Harbour|dungarvan-harbour|52.0833|-7.5667|3","697|Dunmore East|dunmore-east|52.15|-6.9833|3","698|Cheekpoint|cheekpoint|52.2667|-7|2","699|Kilmokea Point|kilmokea-point|52.2833|-7|2","700|Waterford|waterford|52.2667|-7.1|2","701|New Ross|new-ross|52.4|-6.95|2","702|Baginbun Head|baginbun-head|52.1667|-6.8333|3","703|Fethard-On-Sea|fethard-on-sea|52.2|-6.8167|3","704|Great Saltee|great-saltee|52.1167|-6.6167|2","705|Carnsore Point|carnsore-point|52.1667|-6.3667|2","706|Rosslare Europort|rosslare-europort|52.25|-6.3333|1","707|Wexford Harbour|wexford-harbour|52.3333|-6.45|1","708|Gravesend|gravesend|51.45|0.38|1","709|Erith|erith|51.48|0.17|0","710|Sunk Dredged Channel|sunk-dredged-channel|53.62|-0.03|2","711|Hull (Alexandra Dock)|hull-alexandra-dock|53.73|-0.3|2","712|Brough|brough|53.72|-0.58|2","713|Rubha Na Creige|rubha-na-creige|56.47|-5.18|1","714|Garston|garston|53.35|-2.9|2","716|Dundalk|dundalk|54|-6.38|3","717|Maseline Pier|maseline-pier|49.43|-2.35|1","718|Braye|braye|49.72|-2.2|1","719|St. Peter Port|st-peter-port|49.45|-2.53|2","720|St. Helier|st-helier|49.18|-2.12|2","721|Bouley Bay|bouley-bay|49.25|-2.08|2","722|St. Catherine Bay|st-catherine-bay|49.22|-2.02|2","723|Bonawe|bonawe|56.45|-5.22|0"];
for(p=0; p' + ports[p][1] + '')
;
}
function setTideLevels(arrLevels) {
}