-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrtrain_.htm
1 lines (1 loc) · 7.18 KB
/
rtrain_.htm
1
<meta content=0 name=mobileoptimized><meta content=no-referrer name=referrer><link href=//backend-unified.mylirr.org rel=dns-prefetch><link href=//backend-unified.mylirr.org rel=preconnect crossorigin><style>:root{color-scheme:light dark}a.t:link{color:initial;text-decoration:initial}.b{text-decoration:underline}</style>No javascript<script>var t,n,s={"0AR":"Ardsley-on-Hudson","0BC":"Beacon","0BK":"Breakneck Ridge","0CS":"Cold Spring","0CT":"Cortlandt","0DF":"Dobbs Ferry","0DV":"Spuyten Duyvil","0GA":"Garrison","0GD":"Glenwood","0GY":"Greystone","0HB":"Highbridge-Employees","0HL":"Harlem-125 St","0HM":"Croton-Harmon","0HS":"Hastings-on-Hudson","0IV":"Irvington","0LU":"Ludlow","0MB":"Marble Hill","0MH":"Morris Heights","0MN":"Manitou","0NM":"New Hamburg","0NY":"Grand Central","0OS":"Ossining","0PE":"Peekskill","0PM":"Philipse Manor","0PO":"Poughkeepsie","0RV":"Riverdale","0SB":"Scarborough","0TT":"Tarrytown","0UH":"University Heights","0YK":"Yonkers","0YS":"Yankees-E 153 St","1AT":"Appalachian Trail","1BG":"Botanical Garden","1BH":"Bedford Hills","1BR":"Southeast","1BW":"Brewster","1BX":"Bronxville","1CF":"Croton Falls","1CQ":"Chappaqua","1CW":"Crestwood","1DO":"Dover Plains","1FO":"Fordham","1FW":"Fleetwood","1GO":"Goldens Bridge","1HA":"Hartsdale","1HN":"Hawthorne","1KA":"Katonah","1MK":"Mt Kisco","1ML":"Melrose","1MP":"Mt Pleasant","1MW":"Mt Vernon West","1NW":"North White Plains","1PA":"Patterson","1PV":"Pleasantville","1PW":"Pawling","1PY":"Purdy's","1SC":"Scarsdale","1TK":"Tuckahoe","1TM":"Tenmile River","1TR":"Tremont","1VA":"Valhalla","1WA":"Wassaic","1WF":"Wakefield","1WG":"Williams Bridge","1WI":"Harlem Valley-Wingdale","1WN":"Woodlawn","1WP":"White Plains","2BP":"Bridgeport","2CC":"Cos Cob","2DA":"Darien","2EN":"East Norwalk","2FF":"Fairfield","2FM":"Fairfield Metro","2GF":"Green's Farms","2GN":"Greenwich","2HS":"Harrison","2LA":"Larchmont","2MA":"Mamaroneck","2ME":"Mt Vernon East","2MI":"Milford","2NH":"New Haven","2NO":"Noroton Heights","2NR":"New Rochelle","2OG":"Old Greenwich","2PC":"Port Chester","2PH":"Pelham","2RO":"Rowayton","2RS":"Riverside","2RY":"Rye","2SM":"Stamford","2SN":"South Norwalk","2SP":"Southport","2SR":"Stratford","2SS":"New Haven-State St","2WH":"West Haven","2WP":"Westport","3GB":"Glenbrook","3NC":"New Canaan","3SD":"Springdale","3TH":"Talmadge Hill","4BE":"Bethel","4BV":"Branchville","4CA":"Cannondale","4DN":"Danbury","4M7":"Merritt 7","4RD":"Redding","4WI":"Wilton","5AN":"Ansonia","5BF":"Beacon Falls","5DB":"Derby-Shelton","5NG":"Naugatuck","5SY":"Seymour","5WB":"Waterbury",ABT:"Albertson",ADL:"Auburndale",AGT:"Amagansett",ATL:"Atlantic Terminal",AVL:"Amityville",BDY:"Broadway",BHN:"Bridgehampton",BK:"Stony Brook",BMR:"Bellmore",BOL:"Bolands-Employees",BPG:"Bethpage",BPT:"Bellport",BRS:"Bellerose",BRT:"Belmont Park",BSD:"Bayside",BSR:"Bay Shore",BTA:"Babylon",BWD:"Brentwood",BWN:"Baldwin",CAV:"Centre Av",CHT:"Cedarhurst",CI:"Central Islip",CLP:"Country Life Press",CPG:"Copiague",CPL:"Carle Place",CSH:"Cold Spring Harbor",DGL:"Douglaston",DPK:"Deer Park",EHN:"East Hampton",EMT:"Elmont-UBS Arena",ENY:"East New York",ERY:"East Rockaway",EWN:"East Williston",FHL:"Forest Hills",FLS:"Flushing Main Street",FMD:"Farmingdale",FPK:"Floral Park",FPT:"Freeport",FRY:"Far Rockaway",GBN:"Gibson",GCT:"Grand Central",GCV:"Glen Cove",GCY:"Garden City",GHD:"Glen Head",GNK:"Great Neck",GPT:"Greenport",GRV:"Great River",GST:"Glen Street",GVL:"Greenvale",GWN:"Greenlawn",HBY:"Hampton Bays",HEM:"Hempstead",HGN:"Hempstead Gardens",HIL:"Hillside-Employees",HOL:"Hollis",HPA:"Hunterspoint Av",HUN:"Huntington",HVL:"Hicksville",HWT:"Hewlett",IPK:"Island Park",ISP:"Islip",IWD:"Inwood",JAM:"Jamaica",KGN:"Kew Gardens",KPK:"Kings Park",LBH:"Long Beach",LCE:"Lawrence",LHT:"Lindenhurst",LIC:"Long Island City",LMR:"Locust Manor",LNK:"Little Neck",LTN:"Laurelton",LVL:"Locust Valley",LVW:"Lakeview",LYN:"Lynbrook",MAK:"Mattituck",MAV:"Merillon Av",MFD:"Medford",MHL:"Murray Hill",MHT:"Manhasset",MIN:"Mineola",MPK:"Massapequa Park",MQA:"Massapequa",MRK:"Merrick",MSY:"Mastic-Shirley",MTK:"Montauk",MVN:"Malverne",NAV:"Nostrand Av",NBD:"Nassau Blvd",NHP:"New Hyde Park",NPT:"Northport",NYK:"Penn Station",OBY:"Oyster Bay",ODE:"Oceanside",ODL:"Oakdale",PDM:"Plandome",PGE:"Patchogue",PJN:"Port Jefferson",PLN:"Pinelawn",PWS:"Port Washington",QVG:"Queens Village",RHD:"Riverhead",RON:"Ronkonkoma",ROS:"Rosedale",RSN:"Roslyn",RVC:"Rockville Centre",SAB:"St. Albans",SCF:"Sea Cliff",SFD:"Seaford",SHD:"Southold",SHN:"Southampton",SJM:"St. James",SMR:"Stewart Manor",SPK:"Speonk",SSM:"Mets-Willets Point",STN:"Smithtown",SVL:"Sayville",SYT:"Syosset",VSM:"Valley Stream",WBY:"Westbury",WDD:"Woodside",WGH:"Wantagh",WHD:"West Hempstead",WHN:"Westhampton",WMR:"Woodmere",WWD:"Westwood",WYD:"Wyandanch",YPK:"Yaphank",_GC:"Grand Central"},l=["ee0034"],i={"Port Jefferson":"006ec7",Babylon:"00985f",Hudson:"009b3a","West Hempstead":"00a1de","Oyster Bay":"00af3f",Montauk:"00b2a9",Harlem:"066afe","City Zone":"4d5357","Belmont Park":"60269e",S:"6d6e71","Far Rockaway":"6e3219",Ronkonkoma:"a626aa","Port Washington":"c60c30",Hempstead:"ce8e00","Long Beach":"ff6319"},r={headers:{"accept-version":"3.0"}};function e(){1<(n=location.hash).length&&(n=n.slice(1),t="<a href=javascript:history.back()>Back</a> Refresh[<a href=javascript:y()>Fast</a> <a href=\"javascript:location.replace('rstop.htm#"+n+"')\">Slow</a>] <a href=//backend-unified.mylirr.org/locations/"+n+"?geometry=NONE>Raw</a><br>"),t?this.fetch?y():document.documentElement.firstChild.appendChild(document.createElement("script")).src="f.js":document.body.innerHTML="No station specified in url anchor."}function d(e){return"string"==typeof e&&!e.indexOf("<p>")&&~e.indexOf("</p>",e.length-4)?e.slice(3,-4):e}function y(){document.body.innerHTML=t;var e=function(e){200!=e.status?alert("error http status "+e.status):e.json().then(a)};function a(e,a){var t,n,r={EMPTY:"#00C364",MANY_SEATS:"#fae100",FEW_SEATS:"#e6a500",SRO:"#C31000",FULL:"#8D0B1B",NO_DATA:"#C3C3C3"},o=(a?" via JSONP":" via CORS")+"<br>Src: <font color="+("string"==typeof(n=i[a=e.details.branch])?n:i[a]=l[0|n])+">"+s[e.details.stops[0].code]+"</font><br>Dest: <font color="+("string"==typeof(n=i[a=e.details.branch])?n:i[a]=l[0|n])+">"+e.details.headsign+"</font> Fleet: "+e.consist.fleet+"<br>";for("E"===e.details.direction?e.consist.cars.reverse():o+="<",n=0;n<e.consist.cars.length;n++)o+='<span style="background-color:'+((t=e.consist.cars[n]).locomotive?"blue":r["DEDM"!==t.type&&!1===t.revenue?"NO_DATA":t.loading])+'"> '+("undefined"==typeof t.passengers?"?":t.passengers)+(t.restroom?"🚾":"")+(t.revenue?"":"⛔")+" </span> ";if("E"===e.details.direction&&(o+=">"),o+="<br>",e.banners)for(n=0;n<e.banners.length;n++)o+=(t=e.banners[n]).title+"<br>"+t.text+"<br><br>";if(e=e.alerts)for(e.sort(function(e,a){return e.start_time<a.start_time?-1:e.start_time>a.start_time?1:0}),n=0;n<e.length;n++)o+=(t=e[n]).status+"<br>"+d(t.header)+"<br>"+(t.human_duration?t.human_duration+"<br>":"")+d(t.text)+"<br><br>";document.body.innerHTML+=o}(ls=window.S)&&(window.S=0,ls.s===n)&&Date.now()-ls.t<3e3?ls.f(e):fetch("//backend-unified.mylirr.org/locations/"+n+"?geometry=NONE",r).then(e)}this.onpopstate||(this.onpopstate=function(e){null!==e.state&&location.reload()}),this.y=y,onhashchange=e,"/rtrain.htm"==location.pathname&&e()</script>