amtrak 1.2.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.ruby-version +1 -0
- data/amtrak.gemspec +2 -1
- data/lib/amtrak.rb +6 -0
- data/lib/amtrak/train_fetcher.rb +21 -7
- data/lib/amtrak/train_fetcher/main_page.rb +28 -25
- data/lib/amtrak/train_fetcher/train_page.rb +17 -14
- data/lib/amtrak/version.rb +1 -1
- data/spec/amtrak/train_fetcher/main_page_spec.rb +5 -27
- data/spec/amtrak/train_fetcher/train_page_spec.rb +2 -21
- data/spec/amtrak/train_fetcher_spec.rb +3 -3
- data/spec/amtrak_spec.rb +2 -1
- data/spec/fixtures/json/_get.json +54 -1
- data/spec/fixtures/vcr/Amtrak/_get/returns_a_list_of_train_times.yml +1020 -1127
- data/spec/fixtures/vcr/Amtrak_TrainFetcher/_get/does_the_same_as_get.yml +1376 -930
- data/spec/fixtures/vcr/Amtrak_TrainFetcher/_get/given_a_valid_date_and_invalid_train_stations/does_not_include_various_classes_and_includes_an_error.yml +875 -659
- data/spec/fixtures/vcr/Amtrak_TrainFetcher/_get/given_a_valid_date_and_train_stations/includes_various_classes.yml +1376 -925
- data/spec/fixtures/vcr/Amtrak_TrainFetcher/_get/given_an_invalid_date_and_valid_train_stations/does_not_include_various_classes_and_includes_an_error.yml +878 -663
- data/spec/fixtures/vcr/Amtrak_TrainFetcher_MainPage/_session_id/pulls_the_session_id_from_the_cookies.yml +905 -845
- data/spec/fixtures/vcr/Amtrak_TrainFetcher_MainPage/_total_pages/when_more_than_one_page_exists_on_the_website/returns_2.yml +1033 -781
- data/spec/fixtures/vcr/Amtrak_TrainFetcher_MainPage/_total_pages/when_only_one_page_exists_on_the_website/returns_1.yml +936 -790
- data/spec/support/vcr.rb +2 -1
- metadata +22 -6
@@ -2,10 +2,10 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri:
|
5
|
+
uri: https://tickets.amtrak.com/itd/amtrak
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string: _handler%3Damtrak.presentation.handler.request.rail.AmtrakRailTrainStatusSearchRequestHandler%2F_xpath%3D%2FsessionWorkflow%2FproductWorkflow%5B%40product%3D%27Rail%27%5D
|
8
|
+
string: _handler%3Damtrak.presentation.handler.request.rail.AmtrakRailTrainStatusSearchRequestHandler%2F_xpath%3D%2FsessionWorkflow%2FproductWorkflow%5B%40product%3D%27Rail%27%5D=SEARCH&%2FsessionWorkflow%2FproductWorkflow%5B%40product%3D%27Rail%27%5D%2FtripRequirements%2FjourneyRequirements%5B1%5D%2FdepartDate.usdate=12%2F31%2F2015&%2FsessionWorkflow%2FproductWorkflow%5B%40product%3D%27Rail%27%5D%2FtripRequirements%2F%40trainStatusType=statusByCityPair&%2FsessionWorkflow%2FproductWorkflow%5B%40product%3D%27Rail%27%5D%2FtripRequirements%2FjourneyRequirements%5B1%5D%2FdepartDate%2F%40radioSelect=arrivalTime&requestor=amtrak.presentation.handler.page.AmtrakCMSNavigationTabPageHandler&xwdf_origin=%2FsessionWorkflow%2FproductWorkflow%5B%40product%3D%27Rail%27%5D%2FtravelSelection%2FjourneySelection%5B1%5D%2FdepartLocation%2Fsearch&wdf_origin=pvd&xwdf_destination=%2FsessionWorkflow%2FproductWorkflow%5B%40product%3D%27Rail%27%5D%2FtravelSelection%2FjourneySelection%5B1%5D%2FarriveLocation%2Fsearch&wdf_destination=bby
|
9
9
|
headers:
|
10
10
|
Content-Type:
|
11
11
|
- application/x-www-form-urlencoded
|
@@ -14,15 +14,15 @@ http_interactions:
|
|
14
14
|
code: 200
|
15
15
|
message:
|
16
16
|
headers:
|
17
|
+
Server:
|
18
|
+
- WebServer
|
17
19
|
Content-Length:
|
18
|
-
- '
|
20
|
+
- '106812'
|
19
21
|
Content-Type:
|
20
22
|
- text/html;charset=UTF-8
|
21
23
|
Set-Cookie:
|
22
|
-
-
|
23
|
-
|
24
|
-
Path=/, JSESSIONID=000028w9SnvlrabenvhDLCZlP1s:186s2bmvk; HTTPOnly; Path=/;
|
25
|
-
Domain=.amtrak.com; HttpOnly
|
24
|
+
- JSESSIONID=0000-3xn-YFIvMVN1MiJrdCUrRZ:186s77vad; HTTPOnly; Path=/; Domain=.amtrak.com;
|
25
|
+
HttpOnly
|
26
26
|
X-powered-by:
|
27
27
|
- Servlet/3.0
|
28
28
|
Expires:
|
@@ -31,119 +31,134 @@ http_interactions:
|
|
31
31
|
- en-US
|
32
32
|
X-frame-options:
|
33
33
|
- SAMEORIGIN
|
34
|
-
X-opnet-transaction-trace:
|
35
|
-
- a2_f2b233d7-7081-48b4-9ccb-2817191dfb64
|
36
34
|
Date:
|
37
|
-
-
|
35
|
+
- Mon, 04 Jan 2016 02:35:20 GMT
|
38
36
|
Connection:
|
39
37
|
- keep-alive
|
40
38
|
body:
|
41
39
|
encoding: UTF-8
|
42
|
-
string: "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\r\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\r\n\r\n\r\n
|
43
|
-
Release 6.
|
44
|
-
content=\"IE=edge\" http-equiv=\"X-UA-Compatible\" />\r\n\r\n\r\n\r\n
|
45
|
-
><title>Amtrak - Train Status - Details</title>\n<meta http-equiv=\"content-type\"
|
40
|
+
string: "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\r\n\t\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\r\n\r\n\r\n\r\n\r\n
|
41
|
+
<!--\r\n \t\"Amtrak Release 6.27.03a\"\r\n -->\r\n \r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n
|
42
|
+
\r\n<meta content=\"IE=edge\" http-equiv=\"X-UA-Compatible\" />\r\n\r\n \r\n\t\r\n\t
|
43
|
+
\ <head ><title>Amtrak - Train Status - Details</title>\n<meta http-equiv=\"content-type\"
|
46
44
|
content=\"text/html; charset=UTF-8\" />\n<meta name=\"robots\" content=\"noindex,nofollow\"
|
47
45
|
/>\n<meta http-equiv=\"imagetoolbar\" content=\"no\" />\n<style type=\"text/css\">\n<!--\n@import
|
48
|
-
url(/css/amtrak.css);\n-->\n</style>\n\r\n<!-- IE8 renders as IE7
|
49
|
-
ourselves another column in the compatability matrix -->\r\n
|
50
|
-
|
51
|
-
url(/css/
|
52
|
-
|
53
|
-
url(/css/
|
54
|
-
|
55
|
-
|
56
|
-
|
46
|
+
url(/css/amtrak.css);\n-->\n</style>\n\r\n\t\t <!-- IE8 renders as IE7
|
47
|
+
to spare ourselves another column in the compatability matrix -->\r\n\t \r\n\t
|
48
|
+
\ <style type=\"text/css\">\r\n\t <!--\r\n\t @import
|
49
|
+
url(/css/base.css?v=1.1);\r\n\t @import url(/css/base_screen.css);\r\n\t
|
50
|
+
\ @import url(/css/topnav.css?v=1.1);\r\n\t @import url(/css/basic_booking.css?v=1.3);\r\n\t
|
51
|
+
\ @import url(/css/special_booking.css);\r\n\t @import
|
52
|
+
url(/css/basic_booking_screen.css);\r\n\t @import url(/css/ib_misc.css);\r\n\t
|
53
|
+
\ @import url(/css/popup.css);\r\n\t @import url(/css/profile.css?v=1.2);\r\n\t
|
54
|
+
\ @import url(/css/amtrak_autocomplete.css);\r\n\t -->\r\n\t
|
55
|
+
\ </style>\r\n\t \r\n\t <!-- Diginet script(when USE_ESI=true)
|
56
|
+
introduces 'c_root' form and this is causing orange bar to display on all
|
57
|
+
pages. \r\n\t Following lines are added to get rid of the orange bar.-->\r\n\t
|
58
|
+
\ <style type=\"text/css\">\r\n\t form#c_root { \r\n\t display:
|
59
|
+
none; \r\n\t }\r\n\t </style>\r\n\t \r\n\t <link
|
57
60
|
href=\"/css/basic_booking_print.css\" rel=\"stylesheet\" type=\"text/css\"
|
58
|
-
media=\"print\" />\r\n<link href=\"/css/base_print.css\" rel=\"stylesheet\"
|
59
|
-
type=\"text/css\" media=\"print\"
|
60
|
-
_gaq = _gaq || [];\r\
|
61
|
-
'
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
'
|
73
|
-
(
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/profile_rewrite.js\"></script>\r\n<script
|
83
|
-
type=\"text/javascript\" src=\"/itd/project/scripts/en/external/yui/2.7.0/yahoo-dom-event.js\"></script>\r\n<script
|
84
|
-
type=\"text/javascript\" src=\"/itd/project/scripts/en/external/yui/2.7.0/calendar-min.js\"></script>\r\n<script
|
85
|
-
type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/yuicalendar.js\"></script>\r\n<script
|
86
|
-
type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/calendar_farefinder.js\"></script>\r\n<script
|
87
|
-
type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/farefinderrequest.js\"></script>\r\n<script
|
88
|
-
type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/header.js\"></script>\r\n<script
|
89
|
-
type=\"text/javascript\" src=\"/itd/project/scripts/en/motionpoint/motionpoint.js\"></script>\r\n<script
|
90
|
-
type=\"text/javascript\">\r\n<!--\r\nvar pageName='amtrak/rail/trainstatus/trainstatusresponse.jsp';\r\n/*
|
91
|
-
if the subPageName has been defined use it to prefix the page name */\r\nif
|
92
|
-
(typeof subPageName != 'undefined'){\r\nvar path=pageName.substr(0,pageName.lastIndexOf(\"/\")+1);\r\nvar
|
93
|
-
page=pageName.substr(pageName.lastIndexOf(\"/\")+1);\r\npageName=path+subPageName+page;\r\n}\r\n//-->\r\n</script>\r\n<script
|
94
|
-
type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/jquery-1.4.2.min.js\"></script>\r\n<script
|
95
|
-
type=\"text/javascript\">\r\njQuery.noConflict();\r\n</script>\r\n\r\n<div
|
96
|
-
id=\"outer_wrapper_confirmation\">\r\n<div id=\"top_level_wrapper_confirmation\">\r\n<div
|
97
|
-
id=\"lower_wrapper_confirmation\">\r\n<div style=\"position: relative;\"><div
|
98
|
-
id=\"shoulder\"> </div></div>\r\n<div id=\"top_bar\"> </div>\r\n\r\n<div
|
99
|
-
id=\"left_column_wrapper_confirmation\">\r\n\r\n\r\n<style type=\"text/css\">\r\n<!--\r\n@import
|
100
|
-
url(/css/base.css);\r\n-->\r\n</style>\r\n<script language=\"JavaScript\"
|
101
|
-
type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/base.js\"></script>\r\n<script
|
102
|
-
language=\"JavaScript\" type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/basic_booking_left.js\"></script>\r\n<link
|
103
|
-
rel=\"stylesheet\" type=\"text/css\" href=\"/css/external/yui/2.7.0/calendar.css?nocache=v3_50_000\"
|
104
|
-
media=\"screen\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/css/external/yui/2.7.0/container.css?nocache=v3_50_000\"
|
105
|
-
media=\"screen\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/css/amtrak-calendar.css\"
|
106
|
-
media=\"screen\" />\r\n\r\n\r\n<div id=\"persistent_info_wrapper\">\r\n\r\n\r\n\r\n<ul
|
107
|
-
id=\"pi_actions_list\">\r\n<li><a href=\"javascript:LoginPopout.show()\">Login</a></li>\r\n<li><a
|
108
|
-
href=\"https://tickets.amtrak.com/itd/amtrak/Register\">Register</a></li>\r\n</ul>\r\n\r\n\r\n\r\n<script
|
61
|
+
media=\"print\" />\r\n\t <link href=\"/css/base_print.css\" rel=\"stylesheet\"
|
62
|
+
type=\"text/css\" media=\"print\" /> \r\n\t <script type=\"text/javascript\">\r\n\t
|
63
|
+
\ \r\n \t\t\t\tvar _gaq = _gaq || [];\r\n \t\t\t\t_gaq.push(['_setAccount',
|
64
|
+
'UA-23218774-1']);\r\n \t\t\t\t_gaq.push(['_setDomainName', '.amtrak.com']);\r\n
|
65
|
+
\ \t\t\t\t\r\n \t\t\t\t_gaq.push(['_trackPageview']);\r\n\r\n \t\t\t\t(function()
|
66
|
+
{\r\n \t\t\t\tvar ga = document.createElement('script'); ga.type = 'text/javascript';
|
67
|
+
ga.async = true;\r\n \t\t\t\tga.src = ('https:' == document.location.protocol
|
68
|
+
? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';\r\n \t\t\t\tvar
|
69
|
+
s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga,
|
70
|
+
s);\r\n \t\t\t\t})();\r\n\r\n\t\t\t</script>\r\n <script>\r\n
|
71
|
+
\ (function(d) {\r\n var config = {\r\n kitId:
|
72
|
+
'ijm4cfl',\r\n scriptTimeout: 3000\r\n },\r\n
|
73
|
+
\ h=d.documentElement,t=setTimeout(function(){h.className=h.className.replace(/\\bwf-loading\\b/g,\"\")+\"
|
74
|
+
wf-inactive\";},config.scriptTimeout),tk=d.createElement(\"script\"),f=false,s=d.getElementsByTagName(\"script\")[0],a;h.className+=\"
|
75
|
+
wf-loading\";tk.src='//use.typekit.net/'+config.kitId+'.js';tk.async=true;tk.onload=tk.onreadystatechange=function(){a=this.readyState;if(f||a&&a!=\"complete\"&&a!=\"loaded\")return;f=true;clearTimeout(t);try{Typekit.load(config)}catch(e){}};s.parentNode.insertBefore(tk,s)\r\n
|
76
|
+
\ })(document);\r\n </script>\r\n \r\n
|
77
|
+
\ \r\n <script type=\"text/javascript\" language=\"javascript\"
|
78
|
+
src='https://assets.adobedtm.com/b6ce373c321eacd4084683e01459ac4c347614f5/satelliteLib-073129b141b5f91c45cd8781dde0bb81599a5e0e.js'
|
79
|
+
></script>\r\n \r\n\t </head>\r\n\t\r\n \t\r\n \t \t\r\n
|
80
|
+
\ \t\r\n \t<body class=\"site\">\r\n\r\n<link href=\"/css/header.css\" rel=\"stylesheet\"
|
81
|
+
type=\"text/css\" />\r\n<script type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/prototype.js\"></script>\r\n<div
|
82
|
+
id=\"top_nav_wrapper\">\r\n<div id=\"top_navigation_body\"></div>\r\n\r\n\r\n\r\n<div
|
83
|
+
id=\"pi_actions_list\">\r\n<a href=\"javascript:LoginPopout.show()\">Log in</a>
|
84
|
+
or \r\n<a href=\"https://tickets.amtrak.com/itd/amtrak/Register\">Register</a>\r\n</div>\r\n\r\n\r\n\r\n<script
|
109
85
|
type=\"text/javascript\">\r\ndocument.observe('dom:loaded', function() {\r\n$(\"login_popout\").hide();\r\n});\r\n</script>\r\n<div
|
110
|
-
class=\"popout\" id=\"login_popout\"
|
111
|
-
|
112
|
-
|
113
|
-
center #fff;\r\npadding:7px;\r\n}\r\n#overlay {\r\nbackground-color:#EEE;\r\n}\r\n.link_item
|
86
|
+
class=\"popout\" id=\"login_popout\" >\r\n\r\n\r\n\r\n<style type=\"text/css\">\r\n#loading
|
87
|
+
{\r\nposition: fixed;\r\ntop: 30%;\r\nleft: 25%;\r\nbackground:url(/images/en/superpnr/image_loader_blue.gif)
|
88
|
+
no-repeat center #fff;\r\npadding:7px;\r\n}\r\n#overlay {\r\nbackground-color:#EEE;\r\n}\r\n.link_item
|
114
89
|
{\r\nfloat:left;\r\nwidth:65%;\r\n}\r\n</style>\r\n<style type=\"text/css\">\r\n.submit_image
|
115
90
|
{\r\nfloat:right;\r\nvertical-align:top;\r\nbackground-color: transparent;\r\nborder:
|
116
91
|
none;\r\nfont-size:1px;\r\nwidth: 70px;\r\nheight: 24px;\r\nbackground-image:
|
117
|
-
url(/images/en/btn_login.gif);\r\nbackground-repeat: no-repeat;\r\n}\r\n</style>\r\n<script>\r\nfunction
|
92
|
+
url(/images/en/btn_login.gif);\r\nbackground-repeat: no-repeat;\r\n}\r\n</style>\r\n\r\n<script>\r\nfunction
|
118
93
|
enterKeyPress(event) {\r\nif (Event.KEY_RETURN == event.keyCode) {\r\n// do
|
119
94
|
something usefull\r\nLoginPopout.doLogon();\r\nreturn false;\r\n}\r\nreturn
|
120
95
|
true;\r\n}\r\n</script>\r\n\r\n\r\n<div id=\"loading\"></div>\r\n<script>\r\n$('loading').hide();\r\n</script>\r\n<div
|
121
96
|
id=\"overlay\" style=\"background-color: white;\">\r\n<div class=\"popout_inner\"
|
122
97
|
id=\"login_popout_inner\">\r\n<a href=\"javascript:LoginPopout.hide()\" class=\"close_btn
|
123
|
-
button\"><img alt=\"X\" src=\"/images/en/btn_closeXorange.gif\"
|
124
|
-
id=\"login_form_header\"><h3 style=\"margin-top:0px;\">Log
|
125
|
-
class=\"form_holder\" id=\"login_form_holder\">\r\n<form
|
126
|
-
clearfix\" onsubmit=\"doRegularLogon(); return true;\" id=\"login_ajax_form\"
|
98
|
+
button\" style=\"margin-bottom:0px;\"><img alt=\"X\" src=\"/images/en/btn_closeXorange.gif\"
|
99
|
+
/></a>\r\n<div id=\"login_form_header\"><h3 style=\"margin-top:0px;\">Log
|
100
|
+
In to Amtrak.com</h3></div>\r\n\r\n<div class=\"form_holder\" id=\"login_form_holder\">\r\n<form
|
101
|
+
class=\"std_form clearfix\" onsubmit=\"doRegularLogon(); return true;\" id=\"login_ajax_form\"
|
127
102
|
action=\"https://tickets.amtrak.com/itd/amtrak\" method=\"post\"><input type=\"hidden\"
|
128
103
|
name=\"requestor\" value=\"amtrak.presentation.handler.page.rail.AmtrakRailGetTrainStatusPageHandler\"
|
129
|
-
/>\r\n<div class=\"form_line\">\r\n<div class=\"form_label\"><label for=\"login_email_address\">E-Mail
|
130
|
-
Address</label></div>\r\n<div class=\"form_item\"><input
|
131
|
-
value=\"/sessionWorkflow/userWorkflow/profileAccountRequirements/userName\"
|
104
|
+
/>\r\n<div class=\"form_line\">\r\n\r\n<div class=\"form_label\"><label for=\"login_email_address\">E-Mail
|
105
|
+
Address or Member Number</label></div>\r\n\r\n\r\n<div class=\"form_item\"><input
|
106
|
+
type=\"hidden\" name=\"xwdf_username\" value=\"/sessionWorkflow/userWorkflow/profileAccountRequirements/userName\"
|
132
107
|
/><input class=\"text\" autocomplete=\"off\" type=\"text\" id=\"login_email_address\"
|
133
108
|
maxlength=\"64\" name=\"wdf_username\" /></div>\r\n</div>\r\n<div class=\"form_line\">\r\n<div
|
134
109
|
class=\"form_label\"><label for=\"login_password\">Password</label></div>\r\n<div
|
135
110
|
class=\"form_item\"><input type=\"hidden\" name=\"xwdf_password\" value=\"/sessionWorkflow/userWorkflow/profileAccountRequirements/password\"
|
136
|
-
/><input class=\"text password\"
|
137
|
-
name=\"wdf_password\" /></div>\r\n</div>\r\n<div class=\"form_line\"
|
138
|
-
class=\"link_item submit_item\">\r\n<a class=\"forgot_pass\"
|
139
|
-
here to request your Password\" href=\"javascript:
|
140
|
-
|
141
|
-
|
142
|
-
value=\"\" />\r\n</div>\r\n</form>\r\n</div>\r\n</div>\r\n<hr/>\r\n<div class=\"
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
111
|
+
/><input class=\"text password\" autocomplete=\"off\" type=\"password\" id=\"login_password\"
|
112
|
+
maxlength=\"20\" name=\"wdf_password\" /></div>\r\n</div>\r\n<div class=\"form_line\"
|
113
|
+
id=\"login_go\">\r\n<div class=\"link_item submit_item\">\r\n\r\n<a class=\"forgot_pass\"
|
114
|
+
title=\"Click here to request your Password\" href=\"javascript:openForgotPwdBox();\">Forgot
|
115
|
+
password?</a>\r\n\r\n\r\n</div>\r\n\r\n<input class=\"submit_image\" type=\"submit\"
|
116
|
+
name=\"_handler=amtrak.presentation.handler.request.profile.AmtrakProfileLogonRequestHandler/_xpath=/sessionWorkflow/userWorkflow/profileAccountRequirements\"
|
117
|
+
value=\"\" />\r\n</div>\r\n</form>\r\n</div>\r\n</div>\r\n<hr/>\r\n<div class=\"agrmerge_popout_inner\">\r\n\r\n<h4>Amtrak.com
|
118
|
+
and Amtrak Guest Rewards Accounts are Merging</h4><p>Combine your accounts
|
119
|
+
and enjoy the ease and convenience of a single Amtrak account. All of your
|
120
|
+
information will be available with a single log-in — eliminating the
|
121
|
+
need for you to keep two profiles.</p>\n\r\n\r\n\r\n</div>\r\n</div>\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n\r\n</div>\r\n<script
|
122
|
+
language=\"JavaScript\" type=\"text/javascript\">\r\n<!--\r\nvar url = \"/\"
|
123
|
+
+ \"itd/amtrak\" + \"/DisplayCmsContent\";\r\nvar functionName = 'topNavigation';\r\n\r\nnew
|
124
|
+
Ajax.Request(url,\r\n{ method: 'post',\r\nparameters: {'functionName': functionName},\r\nonSuccess:
|
125
|
+
function (transport) {\r\nif(transport.responseText!='') {\r\n$('top_navigation_body').update(transport.responseText);\r\n}
|
126
|
+
else {\r\n$('top_nav_wrapper').hide();\r\n}\r\n},\r\nonFailure: function (transport)
|
127
|
+
{\r\n$('top_nav_wrapper').hide();\r\n}\r\n}\r\n);\r\n//-->\r\n</script>\r\n\r\n
|
128
|
+
\ \t \r\n\t <script type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/prototype.js\"></script>\r\n\t
|
129
|
+
\ <script type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/scriptaculous.js\"></script>\r\n\t
|
130
|
+
\ <script type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/effects.js\"></script>\r\n\t
|
131
|
+
\ <script type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/controls.js\"></script>\r\n\t
|
132
|
+
\ <script type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/formutils.js\"></script>\r\n\t
|
133
|
+
\ <script type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/popups.js\"></script>\r\n\t
|
134
|
+
\ <script type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/profile_rewrite.js\"></script>\r\n\t
|
135
|
+
\ <script type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/farefinderrequest.js\"></script>\r\n
|
136
|
+
\ <script type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/header.js\"></script>\r\n
|
137
|
+
\ <script type=\"text/javascript\" src=\"/itd/project/scripts/en/motionpoint/motionpoint.js\"></script>\r\n\t
|
138
|
+
\ <script type=\"text/javascript\">\r\n <!-- \r\n var
|
139
|
+
pageName='amtrak/rail/trainstatus/trainstatusresponse.jsp';\r\n\r\n /*
|
140
|
+
if the subPageName has been defined use it to prefix the page name */\r\n
|
141
|
+
\ if (typeof subPageName != 'undefined'){\r\n var
|
142
|
+
path=pageName.substr(0,pageName.lastIndexOf(\"/\")+1);\r\n var
|
143
|
+
page=pageName.substr(pageName.lastIndexOf(\"/\")+1);\r\n pageName=path+subPageName+page;\r\n
|
144
|
+
\ }\r\n //-->\r\n </script>\r\n <script
|
145
|
+
type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/jquery-1.11.2.min.js\"></script>\r\n
|
146
|
+
\ <script type=\"text/javascript\">\r\n jQuery.noConflict();\r\n
|
147
|
+
\ </script>\r\n \t\r\n\t \t\r\n<div id=\"outer_wrapper_confirmation\">\r\n<div
|
148
|
+
id=\"top_level_wrapper_confirmation\">\r\n<div id=\"lower_wrapper_confirmation\">\r\n\r\n<div
|
149
|
+
id=\"left_column_wrapper_confirmation\">\r\n\r\n\r\n<style type=\"text/css\">\r\n<!--\r\n@import
|
150
|
+
url(/css/base.css?v=1.1);\r\n-->\r\n</style>\r\n<script language=\"JavaScript\"
|
151
|
+
type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/base.js\"></script>\r\n<script
|
152
|
+
language=\"JavaScript\" type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/basic_booking_left.js\"></script>\r\n<link
|
153
|
+
rel=\"stylesheet\" type=\"text/css\" href=\"/css/amtrak-calendar.css\" media=\"screen\"
|
154
|
+
/>\r\n\r\n\r\n<div id=\"persistent_info_wrapper\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<script
|
155
|
+
src=\"/itd/project/scripts/en/amtrak/jquery-ui.min.js\"></script>\r\n<script
|
156
|
+
src=\"/itd/project/scripts/en/amtrak/moment.js\"></script>\r\n<script src=\"/itd/project/scripts/en/amtrak/jquery.comiseo.daterangepicker.js\"></script>\r\n<script
|
157
|
+
src=\"/itd/project/scripts/en/amtrak/datepicker.js?v=1.1\"></script>\r\n<link
|
158
|
+
type=\"text/css\" rel=\"stylesheet\" href=\"/css/jquery-ui.css\" />\r\n<link
|
159
|
+
type=\"text/css\" rel=\"stylesheet\" href=\"/css/jquery.comiseo.daterangepicker.css\"
|
160
|
+
/>\r\n<link type=\"text/css\" rel=\"stylesheet\" href=\"/css/datepicker.css\"
|
161
|
+
/>\r\n<input name=\"daterangepicker\" class=\"daterangepicker\">\r\n\r\n\r\n\r\n\r\n<script
|
147
162
|
type=\"text/javascript\">\r\nareCookiesEnabled();\r\nfunction createCookie(name,
|
148
163
|
value, days) {\r\nvar expires;\r\nif (days) {\r\nvar date = new Date();\r\ndate.setTime(date.getTime()
|
149
164
|
+ (days * 24 * 60 * 60 * 1000));\r\nexpires = \"; expires=\" + date.toGMTString();\r\n}\r\nelse
|
@@ -164,629 +179,789 @@ http_interactions:
|
|
164
179
|
must be capable of accepting session cookies. Please <a href=\"javascript:var
|
165
180
|
child=window.open(\\'http://www.amtrak.com/servlet/ContentServer?pagename=am/AM_Snippet_C/IBLegacy&help=cookies\\',\\'help\\',\\'directories=0,dependent=1,menubar=0,top=20,left=20,width=680,height=600,scrollbars=1\\');child.focus();\">click
|
166
181
|
here</a> to learn more about how to accept cookies.'\r\n+ '</span></td></tr>'\r\n+
|
167
|
-
'</table>'\r\n+ '</td></tr>'\r\n+ '<tr><td> </td></tr>';\r\ndocument.write(output);\r\n}\r\neraseCookie(\"test\");\r\n}\r\n</script>\r\n\r\n\r\n\
|
168
|
-
IE]>\
|
169
|
-
element = Event.element(e)
|
170
|
-
|
171
|
-
(names.include('
|
172
|
-
{\
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
(
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
false;\
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
182
|
+
'</table>'\r\n+ '</td></tr>'\r\n+ '<tr><td> </td></tr>';\r\ndocument.write(output);\r\n}\r\neraseCookie(\"test\");\r\n}\r\n</script>\r\n\r\n\r\n\n\n\n\n\n
|
183
|
+
\ \n<!--[if IE]>\n<script type=\"text/javascript\">\t \nfunction isCalendarEvent(e)
|
184
|
+
{\n\n var element = Event.element(e); \n var names = element.classNames();
|
185
|
+
\n if (names.include('selector')) {\n return true;\n }\n if
|
186
|
+
(names.include('calnavright')) {\n return true;\n }\n if (names.include('calnavleft'))
|
187
|
+
{\n return true;\n }\n if (names.include('link-close')) {\n
|
188
|
+
\ return true;\n }\n return false;\n} \n\nfunction addFormSubmitEvent(form)
|
189
|
+
{\n form.onkeydown = function(e) {\n e = e || window.event;\n \n
|
190
|
+
\ if (e.keyCode == 13) {\n \n \t// If this is a Calendar
|
191
|
+
return key entry then do not\n \t// call form.submit() \n \tif
|
192
|
+
(isCalendarEvent(e)) {\n\t\t\t return;\n\t\t\t}\t\t\n \n if
|
193
|
+
(form.name == 'ff_status_form') {\n if(CheckMandatoryTrainStatusFields(form))
|
194
|
+
{\n \t form.submit();\n \t return true;\n }\n
|
195
|
+
\ return false;\n }\n if (form.name == 'mytrip_acct')
|
196
|
+
{\n if (CheckMandatoryLoginFields(form)) {\n \tform.submit();\n
|
197
|
+
\ \treturn false;\n }\n return true;\n }\n
|
198
|
+
\ if (form.name == 'mytrip_res') {\n if (CheckMandatoryMyTripFields(form))
|
199
|
+
{\n \tform.submit();\n \treturn false;\n }\n
|
200
|
+
\ return true;\n }\n if (form.name == 'ff_schedules_form')
|
201
|
+
{\n if (CheckMandatoryScheduleFields(form)) {\n \tform.submit();\n
|
202
|
+
\ \treturn false;\n }\n return true;\n }\n
|
203
|
+
\ }\n };\n}\n\ndocument.observe('dom:loaded', function() {\n var
|
204
|
+
forms = document.getElementsByTagName('form');\n for (var i=0;i < forms.length;i++)
|
205
|
+
{\n if (forms[i].name == 'mytrip_res' || forms[i].name == 'mytrip_acct'
|
206
|
+
|| forms[i].name == 'ff_schedules_form' || forms[i].name == 'ff_status_form')
|
207
|
+
{\n \t addFormSubmitEvent(forms[i]);\n \t}\n }\n});\n\n</script>
|
208
|
+
\ \t\n<![endif]-->\n\n<!-- Begin HTML for Fare Finder --> \n <div
|
209
|
+
id=\"farefinder\">\n <div id=\"ff_tabbar\">\n <div
|
188
210
|
class=\"active\" id=\"ff_tabbar_tickets\">Tickets<span onclick=\"compare_dates('wdfdate1');show_ff_tab('tickets');showHideRedeemTabBarSection('ff_sub_tabbar',
|
189
|
-
true);\"></span></div>\
|
190
|
-
|
191
|
-
id=\"ff_tabbar_mytrip\">My Trip<span onclick=\"show_ff_tab('mytrip');\"></span></div>\
|
192
|
-
|
193
|
-
|
194
|
-
onclick=\"show_ff_sub_tab('
|
195
|
-
|
196
|
-
id=\"
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
211
|
+
true);\"></span></div>\n <div id=\"ff_tabbar_status\">Status<span
|
212
|
+
onclick=\"set_status_date('wdfdate10');set_status_date('wdfdate11');show_ff_tab('status');setDepartOrArrivalFieldVisibility();switchToStatusByTrain();\"></span></div>\n
|
213
|
+
\ <div id=\"ff_tabbar_mytrip\">My Trip<span onclick=\"show_ff_tab('mytrip');\"></span></div>\n
|
214
|
+
\ </div>\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t \n\t \t<div
|
215
|
+
id=\"ff_sub_tabbar\" class=\"show_section\">\n\t \t<div class=\"active\"
|
216
|
+
id=\"ff_sub_tabbar_bookatrip\">Book<span onclick=\"show_ff_sub_tab('bookatrip');\"></span></div>\n\t
|
217
|
+
\ \t<div id=\"ff_sub_tabbar_redeem\">Redeem<span onclick=\"show_ff_sub_tab('redeem');\"></span></div>\n\t
|
218
|
+
\ \t<div id=\"ff_sub_tabbar_traveloptions\">Travel Options<span
|
219
|
+
onclick=\"show_ff_sub_tab('traveloptions');\"></span></div>\n\t \t</div>\n\t
|
220
|
+
\ \n\t\t\t\n\n \n \r\n\r\n\r\n\r\n \r\n \r\n <div
|
221
|
+
id=\"farefinder_tabbody_tickets\" class=\"farefinder_tabbody ff_active\">\r\n
|
222
|
+
\ \r\n <form name=\"form\" action=\"https://tickets.amtrak.com/itd/amtrak\"
|
223
|
+
method=\"post\"><input type=\"hidden\" name=\"requestor\" value=\"amtrak.presentation.handler.page.rail.AmtrakRailFareFinderPageHandler\"
|
224
|
+
/>\r\n <input type=\"hidden\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/@bookpath\"
|
225
|
+
value=\"farefamilies\" />\r\n <input type=\"hidden\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/allJourneyRequirements/@ff_tab_selected\"
|
226
|
+
value=\"bookatrip\" />\r\n <h2>Tickets</h2>\r\n \r\n
|
227
|
+
\ <div id=\"ff_tickets_tt_cities_subdiv\" class=\"subdiv level6\">\r\n
|
228
|
+
\ <div id=\"tickets_trip_type\"><p> \r\n
|
229
|
+
\ <input type=\"hidden\" name=\"xwdf_TripType\" value=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/tripType\"
|
204
230
|
/><input type=\"radio\" id=\"oneway\" name=\"wdf_TripType\" value=\"OneWay\"
|
205
|
-
onclick=\"javascript:blankReturnDate(false)\" /> <label for=\"oneway\">One-Way</label
|
206
|
-
|
231
|
+
onclick=\"javascript:blankReturnDate(false)\" /> <label for=\"oneway\">One-Way</label>
|
232
|
+
\ \r\n <input type=\"hidden\"
|
233
|
+
name=\"xwdf_TripType\" value=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/tripType\"
|
207
234
|
/><input type=\"radio\" id=\"return\" name=\"wdf_TripType\" value=\"Return\"
|
208
|
-
onclick=\"javascript:setReturnDate(false)\" /> <label for=\"return\">Round-Trip</label>\r\n
|
209
|
-
href=\"/itd/amtrak/ComplexRail\">Multi-City</a> ></p>\r\n
|
210
|
-
|
211
|
-
|
235
|
+
onclick=\"javascript:setReturnDate(false)\" /> <label for=\"return\">Round-Trip</label>\r\n
|
236
|
+
\ <a href=\"/itd/amtrak/ComplexRail\">Multi-City</a> ></p>\r\n
|
237
|
+
\ </div>\r\n \r\n
|
238
|
+
\ <div id=\"tickets_dep_city\" class=\"ff_city_wrapper\">\r\n
|
239
|
+
\ <label for=\"departs\">From</label> \r\n
|
240
|
+
\ <input type=\"hidden\" name=\"xwdf_origin\" value=\"/sessionWorkflow/productWorkflow[@product='Rail']/travelSelection/journeySelection[1]/departLocation/search\"
|
212
241
|
/><input type=\"text\" autocomplete=\"off\" id=\"departs\" maxlength=\"150\"
|
213
|
-
name=\"wdf_origin\" value=\"Providence, RI (PVD)\" />\r\n<p><span
|
214
|
-
title=\"Click for a list of stations.\" href=\"javascript:fieldName='departs';
|
215
|
-
openStationList();\">Find a Station</a></span></p
|
216
|
-
|
217
|
-
|
242
|
+
name=\"wdf_origin\" value=\"Providence, RI (PVD)\" />\r\n <p><span
|
243
|
+
class=\"find_a_station\"><a title=\"Click for a list of stations.\" href=\"javascript:fieldName='departs';
|
244
|
+
openStationList();\">Find a Station</a></span></p> \r\n
|
245
|
+
\ </div>\r\n \r\n <div
|
246
|
+
id=\"tickets_arr_city\" class=\"ff_city_wrapper level3\">\r\n <label
|
247
|
+
for=\"arrives\">To</label>\r\n <input type=\"hidden\" name=\"xwdf_destination\"
|
248
|
+
value=\"/sessionWorkflow/productWorkflow[@product='Rail']/travelSelection/journeySelection[1]/arriveLocation/search\"
|
218
249
|
/><input type=\"text\" autocomplete=\"off\" id=\"arrives\" maxlength=\"150\"
|
219
|
-
name=\"wdf_destination\" value=\"Boston - Back Bay, MA (BBY)\"
|
220
|
-
class=\"find_a_station\"><a title=\"Click for
|
221
|
-
openStationList();\">Find
|
222
|
-
|
223
|
-
class=\"autocomplete level5\" style=\"display:none\"></div>\r\n
|
224
|
-
id=\"
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
250
|
+
name=\"wdf_destination\" value=\"Boston - Back Bay, MA (BBY)\" /> \r\n
|
251
|
+
\ <p><span class=\"find_a_station\"><a title=\"Click for
|
252
|
+
a list of stations.\" href=\"javascript:fieldName='arrives'; openStationList();\">Find
|
253
|
+
a Station</a></span></p>\r\n </div>\r\n <div
|
254
|
+
id=\"autocomplete_availability_from\" class=\"autocomplete level5\" style=\"display:none\"></div>\r\n
|
255
|
+
\ <div id=\"autocomplete_availability_to\" class=\"autocomplete
|
256
|
+
level5\" style=\"display:none\"></div> \r\n
|
257
|
+
\ </div> \r\n \r\n <div
|
258
|
+
id=\"ff_tickets_dep_ret_date_subdiv\" class=\"subdiv level3\" style=\"position:static;\">\r\n
|
259
|
+
\ <div id=\"tickets_dep_date_time\" class=\"level5\">\r\n <div
|
260
|
+
class=\"ff_date_wrapper\"> \r\n <label
|
261
|
+
for=\"tickets_dep_date\">Departs</label> \r\n
|
262
|
+
\ <input class=\"wdfDate\" type=\"text\" size=\"22\"
|
263
|
+
id=\"wdfdate1\" maxlength=\"22\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/journeyRequirements[1]/departDate.usdate\"
|
264
|
+
value=\"12/31/2015\" /><a class=\"calLink noloading\" id=\"calLink1\"> </a><br
|
265
|
+
/><div id=\"calContainer1\" class=\"calContainer\" bookingpath=\"regularBooking\"
|
266
|
+
calwrapper=\"farefinder\" caloffsetx=\"50\" calpickerxpos=\"50\" maxdate=\"+335d\"></div></div><div
|
267
|
+
class=\"ff_time_wrapper\"><label for=\"wdftime1\"><b>Time</b></label><select
|
231
268
|
id=\"wdftime1\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/journeyRequirements[1]/departTime.hourmin\"><option
|
232
|
-
value=\"\">Anytime</option><option value=\"
|
233
|
-
value=\"
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
id=\"tickets_ret_date_time\" class=\"hide_section level4\">\r\n<div class=\"ff_date_wrapper\">\r\n\r\n<label
|
247
|
-
for=\"tickets_ret_date\">Returns</label>\r\n\r\n\r\n<input class=\"wdfDate\"
|
248
|
-
type=\"text\" size=\"22\" id=\"wdfdate2\" maxlength=\"22\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/journeyRequirements[2]/departDate.date\"
|
249
|
-
readonly=\"readonly\" /></div><div class=\"ff_time_wrapper\"><label for=\"wdftime2\"><b>Time</b></label><select
|
250
|
-
onfocus=\"updateTimeState()\" onchange=\"timeChanged(2);updateDayDropDownListTrainStatusWithOffsets()\"
|
269
|
+
value=\"\">Anytime</option><option value=\"01:00\">Morning</option><option
|
270
|
+
value=\"13:00\">Afternoon</option><option value=\"19:00\">Evening</option></select>
|
271
|
+
\ \r\n
|
272
|
+
\ </div>\r\n </div>\r\n \r\n
|
273
|
+
\ \r\n <div id=\"tickets_ret_date_time\"
|
274
|
+
class=\"hide_section level4\"> \r\n <div
|
275
|
+
class=\"ff_date_wrapper\">\r\n \r\n
|
276
|
+
\ <label for=\"tickets_ret_date\">Returns</label>\r\n
|
277
|
+
\ <input class=\"wdfDate\" type=\"text\" size=\"22\"
|
278
|
+
id=\"wdfdate2\" maxlength=\"22\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/journeyRequirements[2]/departDate.usdate\"
|
279
|
+
/><a class=\"calLink noloading\" id=\"calLink2\"> </a><br /><div id=\"calContainer2\"
|
280
|
+
\ class=\"calContainer\" bookingpath=\"regularBooking\" calwrapper=\"farefinder\"
|
281
|
+
caloffsetx=\"50\" calpickerxpos=\"50\" maxdate=\"+335d\"></div></div><div
|
282
|
+
class=\"ff_time_wrapper\"><label for=\"wdftime2\"><b>Time</b></label><select
|
251
283
|
id=\"wdftime2\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/journeyRequirements[2]/departTime.hourmin\"><option
|
252
|
-
value=\"\">Anytime</option><option value=\"
|
253
|
-
value=\"
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
value=\"18:00\">6 PM</option><option value=\"19:00\">7 PM</option><option
|
264
|
-
value=\"20:00\">8 PM</option><option value=\"21:00\">9 PM</option><option
|
265
|
-
value=\"22:00\">10 PM</option><option value=\"23:00\">11 PM</option></select>\r\n\r\n</div>\r\n</div>\r\n\r\n</div>\r\n<div
|
266
|
-
id=\"ff_tickets_passengers_subdiv\" class=\"subdiv level1\">\r\n<div id=\"tickets_passengers\">\r\n\r\n\r\n\r\n<div
|
267
|
-
id=\"ff_adults_wrapper\">\r\n<label style=\"line-height:1.1;\" for=\"ff_adults\"><a
|
268
|
-
href=\"javascript:var child=window.open('http://www.amtrak.com/servlet/Satellite?SnippetName=IBLegacy&pagename=am/AM_Snippet_C/SnippetWrapper&pass=Adult','pass','directories=0,dependent=1,menubar=0,top=20,left=20,width=680,height=600,scrollbars=1');child.focus();\"
|
269
|
-
CLASS=\"smallblue\">Adults</a><br /> (13-61)</label>\r\n<select onchange=\"javascript:discounttype('adult')\"
|
270
|
-
id=\"oth_adults\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/allJourneyRequirements/numberOfTravellers[@key='Adult']\"><option
|
284
|
+
value=\"\">Anytime</option><option value=\"01:00\">Morning</option><option
|
285
|
+
value=\"13:00\">Afternoon</option><option value=\"19:00\">Evening</option></select>\r\n
|
286
|
+
\ </div>\r\n </div> \r\n \r\n
|
287
|
+
\ </div>\r\n <div id=\"ff_tickets_passengers_subdiv\"
|
288
|
+
class=\"subdiv level1\">\r\n <div id=\"tickets_passengers\">
|
289
|
+
\ \r\n \t\r\n
|
290
|
+
\ \t\r\n\t \r\n\t \t<div
|
291
|
+
id=\"ff_adults_wrapper\">\r\n\t\t <label style=\"line-height:1.1;\"
|
292
|
+
for=\"ff_adults\"><a href=\"javascript:var child=window.open('http://www.amtrak.com/servlet/Satellite?SnippetName=IBLegacy&pagename=am/AM_Snippet_C/SnippetWrapper&pass=Adult','pass','directories=0,dependent=1,menubar=0,top=20,left=20,width=680,height=600,scrollbars=1');child.focus();\"
|
293
|
+
CLASS=\"smallblue\">Adults</a><br /> (13-61)</label>\r\n\t\t <select
|
294
|
+
onchange=\"javascript:discounttype('adult')\" id=\"oth_adults\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/allJourneyRequirements/numberOfTravellers[@key='Adult']\"><option
|
271
295
|
value=\"0\">0</option><option value=\"1\" selected=\"selected\">1</option><option
|
272
296
|
value=\"2\">2</option><option value=\"3\">3</option><option value=\"4\">4</option><option
|
273
297
|
value=\"5\">5</option><option value=\"6\">6</option><option value=\"7\">7</option><option
|
274
|
-
value=\"8\">8</option></select>\r\n</div>\r\n
|
298
|
+
value=\"8\">8</option></select>\r\n\t\t </div>\r\n\t\t
|
299
|
+
\ <div id=\"ff_seniors_wrapper\">\r\n\t\t <label
|
275
300
|
style=\"line-height:1.1;\" for=\"ff_seniors\"><a href=\"javascript:var child=window.open('http://www.amtrak.com/servlet/Satellite?SnippetName=IBLegacy&pagename=am/AM_Snippet_C/SnippetWrapper&pass=Senior','pass','directories=0,dependent=1,menubar=0,top=20,left=20,width=680,height=600,scrollbars=1');child.focus();\"
|
276
|
-
CLASS=\"smallblue\">Seniors</a><br /> (62+)</label>\r\n<select
|
277
|
-
id=\"oth_seniors\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/allJourneyRequirements/numberOfTravellers[@key='Senior']\"><option
|
301
|
+
CLASS=\"smallblue\">Seniors</a><br /> (62+)</label>\r\n\t\t <select
|
302
|
+
onchange=\"javascript:discounttype('senior')\" id=\"oth_seniors\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/allJourneyRequirements/numberOfTravellers[@key='Senior']\"><option
|
278
303
|
value=\"0\" selected=\"selected\">0</option><option value=\"1\">1</option><option
|
279
304
|
value=\"2\">2</option><option value=\"3\">3</option><option value=\"4\">4</option><option
|
280
305
|
value=\"5\">5</option><option value=\"6\">6</option><option value=\"7\">7</option><option
|
281
|
-
value=\"8\">8</option></select>\r\n</div>\r\n\
|
282
|
-
|
283
|
-
|
306
|
+
value=\"8\">8</option></select>\r\n\t\t </div>\r\n\t \r\n
|
307
|
+
\ \r\n \r\n <div id=\"ff_kids_wrapper\">\r\n
|
308
|
+
\ <label style=\"line-height:1.1;\" for=\"ff_kids\"><a
|
309
|
+
href=\"javascript:var child=window.open('http://www.amtrak.com/servlet/Satellite?SnippetName=IBLegacy&pagename=am/AM_Snippet_C/SnippetWrapper&pass=Child','pass','directories=0,dependent=1,menubar=0,top=20,left=20,width=680,height=600,scrollbars=1');child.focus();\"
|
310
|
+
CLASS=\"smallblue\">Children</a><br /> (2-12)</label> \r\n
|
311
|
+
\ <select onchange=\"showChildPopup(this.options[this.selectedIndex].value,
|
284
312
|
document.getElementById('oth_infants').options[document.getElementById('oth_infants').selectedIndex].value,
|
285
313
|
'oth_child_popup'),discounttype('child')\" id=\"oth_children\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/allJourneyRequirements/numberOfTravellers[@key='Child']\"><option
|
286
314
|
value=\"0\" selected=\"selected\">0</option><option value=\"1\">1</option><option
|
287
315
|
value=\"2\">2</option><option value=\"3\">3</option><option value=\"4\">4</option><option
|
288
|
-
value=\"5\">5</option></select>\r\n</div>\r\n<div
|
289
|
-
style=\"line-height:1.1;\"
|
290
|
-
|
316
|
+
value=\"5\">5</option></select>\r\n </div>\r\n <div
|
317
|
+
id=\"ff_infants_wrapper\">\r\n <label style=\"line-height:1.1;\"
|
318
|
+
for=\"ff_infants\"><a href=\"javascript:var child=window.open('http://www.amtrak.com/servlet/Satellite?SnippetName=IBLegacy&pagename=am/AM_Snippet_C/SnippetWrapper&pass=Infant','pass','directories=0,dependent=1,menubar=0,top=20,left=20,width=680,height=600,scrollbars=1');child.focus();\"
|
319
|
+
CLASS=\"smallblue\">Infants</a><br /> (under 2)</label> \r\n
|
320
|
+
\ <select onchange=\"showChildPopup(this.options[this.selectedIndex].value,
|
291
321
|
document.getElementById('oth_children').options[document.getElementById('oth_children').selectedIndex].value,
|
292
322
|
'oth_child_popup'),discounttype('infant')\" id=\"oth_infants\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/allJourneyRequirements/numberOfTravellers[@key='Infant']\"><option
|
293
323
|
value=\"0\" selected=\"selected\">0</option><option value=\"1\">1</option><option
|
294
|
-
value=\"2\">2</option><option value=\"3\">3</option><option value=\"4\">4</option></select>\r\n
|
324
|
+
value=\"2\">2</option><option value=\"3\">3</option><option value=\"4\">4</option></select>\r\n
|
325
|
+
\ </div>\r\n </div>\r\n <br>\r\n
|
326
|
+
\ \r\n \r\n \r\n <div
|
295
327
|
id=\"oth_child_popup\" class=\"info_childpopup_ff hide_section\">Children
|
296
|
-
and infants must travel with an adult who is at least 18 years or older.</div>\r\n
|
328
|
+
and infants must travel with an adult who is at least 18 years or older.</div>\r\n
|
329
|
+
\ \r\n \r\n \r\n <div
|
297
330
|
class=\"subdiv unaccompaniedminor_link\"><a href=\"javascript:var child=window.open('http://www.amtrak.com/servlet/Satellite?SnippetName=IBLegacy&pagename=am/AM_Snippet_C/SnippetWrapper&ibsref=unaccompaniedMinor_FareFinder','ibsref','directories=0,dependent=1,menubar=0,top=20,left=20,width=680,height=600,scrollbars=1');child.focus();\"
|
298
331
|
CLASS=\"smallblue\">Children 13-15 traveling alone</a></div>\r\n<style>\r\n.info_childpopup_ff
|
299
|
-
{\r\
|
300
|
-
|
301
|
-
|
332
|
+
{\r\n margin-bottom: 10px;\r\n }\r\n .unaccompaniedminor_link{\r\n font-size:11px;\r\n
|
333
|
+
padding-bottom:5px;\r\n }\r\n</style> \r\n \r\n \r\n \r\n
|
334
|
+
\ </div>\r\n \r\n <div id=\"ff_submit_button\"
|
335
|
+
class=\"subdiv\"> \r\n \r\n \r\n
|
336
|
+
\ \r\n <input type=\"image\" alt=\"Click
|
337
|
+
to Find Tickets\" name=\"_handler=amtrak.presentation.handler.request.rail.farefamilies.AmtrakRailFareFamiliesSearchRequestHandler/_xpath=/sessionWorkflow/productWorkflow[@product='Rail']\"
|
302
338
|
onclick=\"javascript:return ( preFareFinderSubmitActions('The following information
|
303
339
|
is needed to process your request:', 'Problem Pricing the Itinerary: Atlantic
|
304
340
|
City Express Service offers adult fares only for all passengers. Please modify
|
305
|
-
your selection to continue. \\n[Error ID: 1121S]'))\"
|
306
|
-
border=\"0\"
|
307
|
-
|
341
|
+
your selection to continue. \\n[Error ID: 1121S]') && ValidateBookingDate())\"
|
342
|
+
src=\"/images/en/btn_ff_findTrains.gif\" border=\"0\" /> \r\n \r\n
|
343
|
+
\ \r\n </div> \r\n \r\n
|
344
|
+
\ <div id=\"ff_promocode\" class=\"subdiv oth_promocode\">\r\n
|
345
|
+
\ <input type=\"hidden\" name=\"xwdf_promoCode\" value=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/couponRequirements/coupon/code\"
|
308
346
|
/><input onfocus=\"focuspromotext();\" type=\"text\" size=\"15\" id=\"ff_disc_promoCode\"
|
309
|
-
maxlength=\"10\" name=\"wdf_promoCode\" onblur=\"blurpromotext();\" />\r\n
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
{\r\
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
\
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
\"
|
347
|
+
maxlength=\"10\" name=\"wdf_promoCode\" onblur=\"blurpromotext();\" />\r\n
|
348
|
+
\ </div>\r\n <script>\r\n var
|
349
|
+
promocode = 'Promo Code';\r\n function blurpromotext(){\r\n
|
350
|
+
\ \tif(document.getElementById('ff_disc_promoCode').value ==
|
351
|
+
'') {\r\n document.getElementById('ff_disc_promoCode').value
|
352
|
+
= promocode;\r\n } \r\n }\r\n function
|
353
|
+
focuspromotext(){\r\n if(document.getElementById('ff_disc_promoCode').value
|
354
|
+
== promocode) {\r\n document.getElementById('ff_disc_promoCode').value
|
355
|
+
= \"\";\r\n } \r\n \r\n }\r\n </script>\r\n
|
356
|
+
\ <script type=\"text/javascript\"> \r\n //<![CDATA[
|
357
|
+
\r\n Element.observe(window, 'load', function(){\r\n \t
|
358
|
+
\ if(document.getElementById('ff_disc_promoCode').value == '') {\r\n document.getElementById('ff_disc_promoCode').value
|
359
|
+
= promocode;\r\n } \r\n \r\n }); \r\n //]]>
|
360
|
+
\r\n </script>\r\n \r\n <div class=\"clear_both\"></div>\r\n
|
361
|
+
\ \r\n \r\n \r\n \r\n
|
362
|
+
\ <div id=\"ff_disctype\" class=\"subdiv\" > \r\n \t\t\t\t\t
|
363
|
+
\ \r\n </div>\r\n <div id=\"discountsrules\" class=\"subdiv\"><a
|
364
|
+
href=\"javascript:var child=window.open('http://www.amtrak.com/servlet/Satellite?SnippetName=IBLegacy&pagename=am/AM_Snippet_C/SnippetWrapper&ibsref=preffare','ibsref','directories=0,dependent=1,menubar=0,top=20,left=20,width=680,height=600,scrollbars=1');child.focus();\"
|
365
|
+
CLASS=\"smallblue\">Passenger type/discount rules</a></div>\r\n \r\n
|
366
|
+
\ \r\n \r\n\t <script
|
367
|
+
type=\"text/javascript\">\r\n\t\t //<![CDATA[\r\n\t\t Element.observe(window,
|
368
|
+
'load', function(){\r\n\t\t \tdiscounttype(\"adult\");\r\n\t\t
|
369
|
+
\ \tjQuery(\"#adult_select0 option[value='Adult']\").attr(\"selected\",
|
370
|
+
\"selected\");\r\n\t\t }); \r\n\t\t //]]>\r\n\t
|
371
|
+
\ </script> \r\n\t \r\n\t \r\n
|
372
|
+
\ \r\n \r\n \r\n
|
373
|
+
\ </form> \r\n </div>\r\n\r\n<script>\r\nif( $('ff_sub_tabbar_bookatrip').hasClassName(\"active\")
|
374
|
+
){\r\n\tshow_ff_sub_tab('bookatrip');\r\n } else if( $('ff_sub_tabbar_redeem').hasClassName(\"active\")
|
375
|
+
){\t \r\n\tshow_ff_sub_tab('redeem');\r\n }\r\n\r\n function discounttype(passtype)
|
376
|
+
{\t \r\n var totaladults = jQuery('#oth_adults').val();\r\n var totalseniors
|
377
|
+
= jQuery('#oth_seniors').val();\r\n var totalchilds = jQuery('#oth_children').val();\r\n
|
378
|
+
\ var totalinfants = jQuery('#oth_infants').val();\r\n var totaladperson
|
379
|
+
= parseInt(totaladults) + parseInt(totalseniors) ;\r\n var dischtml='';\r\n
|
380
|
+
\ var count=0;\r\n var sencount =0;\r\n var adtcount= 0;\r\n var
|
381
|
+
j=0;\r\n var k=0;\r\n\r\n if ( totaladperson != 0 ){\r\n for
|
382
|
+
( var i=0; i<totaladperson; i++) {\r\n count++;\r\n var
|
383
|
+
adultopts= \"<option value='Default'>Select</option><option value='Adult'>Adult</option><option
|
333
384
|
value='Senior'>Senior</option><option value='ADAPaxType_Adult'>Passenger with
|
334
385
|
Disability (PWD)</option><option value='ADAPaxType_Companion'>Companion (Book
|
335
386
|
with PWD)</option><option value='AAA Adult'>AAA Adult</option><option value='NARP'>NARP</option><option
|
336
387
|
value='Military'>Military Adult (Active)</option><option value='Veterans Advantage'>Veterans
|
337
388
|
Advantage</option><option value='Student Advantage'>Student Advantage</option><option
|
338
|
-
value='ISIC'>ISIC</option>\";\r\
|
389
|
+
value='ISIC'>ISIC</option>\";\r\n var senopts= \"<option value='Default'>Select</option><option
|
339
390
|
value='Adult'>Adult</option><option value='Senior' selected='selected'>Senior</option><option
|
340
391
|
value='ADAPaxType_Adult'>Passenger with Disability (PWD)</option><option value='ADAPaxType_Companion'>Companion
|
341
392
|
(Book with PWD)</option><option value='AAA Adult'>AAA Adult</option><option
|
342
393
|
value='NARP'>NARP</option><option value='Military'>Military Adult (Active)</option><option
|
343
394
|
value='Veterans Advantage'>Veterans Advantage</option><option value='Student
|
344
|
-
Advantage'>Student Advantage</option><option value='ISIC'>ISIC</option>\";\r\
|
345
|
-
adtlabel=\"Adult\";\r\
|
346
|
-
= \"value='\"+jQuery('#adult_select'+i).val()+\"'\";\r\
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
\"value='
|
358
|
-
|
359
|
-
|
360
|
-
nnewadtval
|
361
|
-
|
362
|
-
else {\r\
|
363
|
-
|
364
|
-
|
395
|
+
Advantage'>Student Advantage</option><option value='ISIC'>ISIC</option>\";\r\n
|
396
|
+
\ var adtlabel=\"Adult\";\r\n if (jQuery('#adult_select'+i).val())
|
397
|
+
{\r\n var curadtval = \"value='\"+jQuery('#adult_select'+i).val()+\"'\";\r\n
|
398
|
+
\ var newadtval = \"value='\"+jQuery('#adult_select'+i).val()+\"'
|
399
|
+
selected='selected'\";\r\n \r\n if
|
400
|
+
(curadtval == \"value='Senior'\" && sencount<totalseniors ){\r\n adtlabel
|
401
|
+
= \"Senior\";\r\n \tsencount++;\r\n \tadultopts
|
402
|
+
= adultopts.replace(curadtval, newadtval); \r\n } else {\r\n
|
403
|
+
\ \tif (curadtval == \"value='Senior'\" && sencount>=totalseniors
|
404
|
+
){\r\n \tif (j==0) {\r\n \tj=i;\r\n
|
405
|
+
\ \t} else {\r\n \t\tj=j+1;\r\n \t}\r\n
|
406
|
+
\ \twhile (j<=totaladperson) {\r\n \t\t
|
407
|
+
if (jQuery('#adult_select'+(j+1)).val() != 'Senior') {\r\n var
|
408
|
+
ncuradtval = \"value='\"+jQuery('#adult_select'+(j+1)).val()+\"'\";\r\n var
|
409
|
+
nnewadtval = \"value='\"+jQuery('#adult_select'+(j+1)).val()+\"' selected='selected'\";\r\n
|
410
|
+
\ adultopts = adultopts.replace(ncuradtval,
|
411
|
+
nnewadtval); \r\n break;\r\n }\r\n
|
412
|
+
\ \t j++; \t\r\n \t }\r\n \t}
|
413
|
+
else {\r\n \t\tif (curadtval != \"value='Senior'\" && adtcount<totaladults
|
414
|
+
){\r\n adtcount++;\r\n adultopts
|
415
|
+
= adultopts.replace(curadtval, newadtval); \r\n }
|
416
|
+
else {\r\n if (curadtval != \"value='Senior'\"
|
417
|
+
&& adtcount>=totaladults ){\r\n if (k==0) {\r\n
|
418
|
+
\ k=i;\r\n }
|
419
|
+
else {\r\n k=k+1;\r\n }\r\n
|
420
|
+
\ while (k<=totaladperson) {\r\n if
|
421
|
+
(jQuery('#adult_select'+(k+1)).val() == 'Senior') {\r\n var
|
422
|
+
ncuradtval = \"value='\"+jQuery('#adult_select'+(k+1)).val()+\"'\";\r\n var
|
423
|
+
nnewadtval = \"value='\"+jQuery('#adult_select'+(k+1)).val()+\"' selected='selected'\";\r\n
|
424
|
+
\ adultopts = adultopts.replace(ncuradtval,
|
425
|
+
nnewadtval); \r\n adtlabel = \"Senior\";\r\n
|
426
|
+
\ break;\r\n }\r\n
|
427
|
+
\ k++; \r\n }\r\n
|
428
|
+
\ } else {\r\n \tadultopts
|
429
|
+
= adultopts.replace(curadtval, newadtval);\r\n }\r\n
|
430
|
+
\ }\r\n\r\n \t}\r\n }\r\n
|
431
|
+
\ \r\n } else {\r\n\r\n if (passtype==
|
432
|
+
'senior' || passtype== 'Senior') {\r\n \t adultopts=senopts;\r\n
|
433
|
+
\ \t adtlabel =\"Senior\";\r\n }\r\n }\r\n
|
434
|
+
\ \r\n dischtml += '<div id =\"pass'+count+'\" class=\"'+adtlabel+'\"><div
|
365
435
|
class=\"ff_disc_passenger\"><label id=\"label'+count+'\" for=\"disc_passenger'+count+'\">Passenger
|
366
436
|
#'+count+' ('+adtlabel+')</label><br/><input type=\"hidden\" value=\"/sessionWorkflow/productWorkflow[@product=\\'Rail\\']/tripRequirements/allJourneyRequirements/person['+count+']/personType\"
|
367
437
|
name=\"xwdf_person_type'+count+'\"><select onfocus=\"this.oldvalue = this.value;\"
|
368
438
|
\ onchange=\"totalpass(this,'+count+');this.oldvalue = this.value;\" name=\"wdf_person_type'+count+'\"
|
369
|
-
id=\"adult_select'+i+'\" class=\"disc_passenger_select\">'+adultopts+'</select></div></div>';\r\n
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
value='
|
375
|
-
|
376
|
-
|
377
|
-
|
439
|
+
id=\"adult_select'+i+'\" class=\"disc_passenger_select\">'+adultopts+'</select></div></div>';\r\n
|
440
|
+
\r\n }\r\n } \r\n \r\n\r\n if ( totalchilds != 0) {\r\n
|
441
|
+
\ for ( var i=0; i<totalchilds; i++) {\r\n count++;\r\n
|
442
|
+
\ var childopts= \"<option value='Default'>Select</option><option
|
443
|
+
value='Child'>Child (Ages 2-12)</option><option value='ADAPaxType_Child'>Passenger
|
444
|
+
with Disability (PWD)</option><option value='AAA Child'>AAA Child (Ages 2-12)</option><option
|
445
|
+
value='Military Child'>Military Child (Ages 2-12)</option>\";\r\n if
|
446
|
+
(jQuery('#child_select'+i).val()) {\r\n var curchival = \"value='\"+jQuery('#child_select'+i).val()+\"'\";\r\n
|
447
|
+
\ var newchival = \"value='\"+jQuery('#child_select'+i).val()+\"'
|
448
|
+
selected='selected'\";\r\n childopts = childopts.replace(curchival,
|
449
|
+
newchival); \r\n }\r\n dischtml += '<div id =\"pass'+count+'\"
|
378
450
|
class=\"ff_disc_passenger\"><label for=\"disc_passenger'+count+'\">Passenger
|
379
451
|
#'+count+' (Child)</label><br/><input type=\"hidden\" value=\"/sessionWorkflow/productWorkflow[@product=\\'Rail\\']/tripRequirements/allJourneyRequirements/person['+count+']/personType\"
|
380
452
|
name=\"xwdf_person_type'+count+'\"><select name=\"wdf_person_type'+count+'\"
|
381
|
-
id=\"child_select'+i+'\" class=\"disc_passenger_select\">'+childopts+'</select></div>'
|
382
|
-
|
453
|
+
id=\"child_select'+i+'\" class=\"disc_passenger_select\">'+childopts+'</select></div>';
|
454
|
+
\ \r\n }\r\n }\r\n if ( totalinfants != 0 ) {\r\n for
|
455
|
+
( var i=0; i<totalinfants; i++) {\r\n count++;\r\n dischtml
|
383
456
|
+= '<div id =\"pass'+count+'\" class=\"ff_disc_passenger\"><label for=\"disc_passenger'+count+'\">Passenger
|
384
457
|
#'+count+' (Infant)</label><br/><p>Infant (Under age 2)</p><input type=\"hidden\"
|
385
|
-
value=\"Infant\" name=\"/sessionWorkflow/productWorkflow[@product=\\'Rail\\']/tripRequirements/allJourneyRequirements/person['+count+']/personType\"></div>'
|
386
|
-
|
387
|
-
|
388
|
-
).style.display = '
|
389
|
-
|
390
|
-
|
391
|
-
=
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
{\r\
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
458
|
+
value=\"Infant\" name=\"/sessionWorkflow/productWorkflow[@product=\\'Rail\\']/tripRequirements/allJourneyRequirements/person['+count+']/personType\"></div>';
|
459
|
+
\ \r\n }\r\n }\r\n \r\n document.getElementById('ff_disctype').innerHTML
|
460
|
+
= dischtml;\r\n if ( count != 0) {\r\n document.getElementById(\"ff_disctype\"
|
461
|
+
).style.display = 'block';\r\n } else {\r\n document.getElementById(\"ff_disctype\"
|
462
|
+
).style.display = 'none';\r\n }\r\n}\r\n\r\nfunction validatePassDiscountSelect(){\r\n\tvar
|
463
|
+
totaladults = jQuery('#oth_adults').val();\r\n\tvar totalseniors = jQuery('#oth_seniors').val();\r\n
|
464
|
+
\ var totaladperson = parseInt(totaladults) + parseInt(totalseniors) ;\r\n
|
465
|
+
\ var totalchilds = jQuery('#oth_children').val();\r\n var errorMsg =
|
466
|
+
\"\";\r\n if ( totaladperson != 0 ){\r\n \t for (i = 0; i < totaladperson;
|
467
|
+
i++) {\r\n \t\t if (jQuery('#adult_select'+i).val() == 'Default') {\r\n
|
468
|
+
\ \t\t \t errorMsg = 'Please make sure you have selected a passenger
|
469
|
+
type for all of the members in your traveling party.';\r\n \t\t }\r\n
|
470
|
+
\ \t}\r\n }\r\n if ( totalchilds != 0 ){\r\n for (i =
|
471
|
+
0; i < totalchilds; i++) {\r\n if (jQuery('#child_select'+i).val()
|
472
|
+
== 'Default') {\r\n errorMsg = 'Please make sure you
|
473
|
+
have selected a passenger type for all of the members in your traveling party.';\r\n
|
474
|
+
\ }\r\n }\r\n }\r\n\r\n if (errorMsg!=\"\"){\r\n
|
475
|
+
\ alert(errorMsg);\r\n return false;\r\n } else {\r\n return
|
476
|
+
true;\r\n }\r\n \r\n}\r\n\r\nfunction totalpass(id, ct) {\r\n\r\n\tvar
|
477
|
+
oldvalue = id.oldvalue;\r\n\tvar newvalue = id.value;\r\n\tvar newlabel =
|
478
|
+
\"label\"+ct;\r\n\r\n\tif (oldvalue == 'Senior' || newvalue == 'Senior') {\r\n\r\n\t\tif
|
479
|
+
(oldvalue == 'Senior' && newvalue != 'Senior') {\r\n\t\t\tvar tadt = parseInt(document.getElementById(\"oth_adults\").value);\r\n\t\t\tvar
|
480
|
+
tsen = parseInt(document.getElementById(\"oth_seniors\").value);\r\n\t\t\ttadt
|
481
|
+
+= 1;\r\n\t\t\ttsen -= 1;\r\n\t\t\tdocument.getElementById(\"oth_adults\").value
|
482
|
+
= tadt;\r\n\t\t\tdocument.getElementById(\"oth_seniors\").value = tsen;\r\n\t\t\tvar
|
483
|
+
res = document.getElementById(newlabel).innerHTML.replace(\"Senior\",\"Adult\");
|
484
|
+
\r\n\t\t\tdocument.getElementById(newlabel).innerHTML =res; \r\n\t\t} else
|
485
|
+
{\r\n\r\n\t\t\tif (newvalue == 'Senior' && oldvalue != 'Senior') {\r\n\t var
|
486
|
+
tadt = parseInt(document.getElementById(\"oth_adults\").value);\r\n\t var
|
487
|
+
tsen = parseInt(document.getElementById(\"oth_seniors\").value);\r\n\t tadt
|
488
|
+
-= 1;\r\n\t tsen += 1;\r\n\t document.getElementById(\"oth_adults\").value
|
489
|
+
= tadt;\r\n\t document.getElementById(\"oth_seniors\").value =
|
490
|
+
tsen;\r\n\t var res = document.getElementById(newlabel).innerHTML.replace(\"Adult\",\"Senior\");
|
491
|
+
\r\n\t document.getElementById(newlabel).innerHTML =res; \r\n\t\t
|
492
|
+
\ \r\n\t } \r\n\t\t} \r\n\t}\r\n\t \r\n\t \r\n}\r\n\r\n\r\nfunction
|
493
|
+
closeAlertBox() { \r\n var $j = jQuery.noConflict();\r\n $j(\".ui-dialog-content\").dialog(\"close\");
|
494
|
+
\r\n}\r\n\r\nfunction ValidateBookingDate(){\r\n\tvar errMinMsg=\"\";\r\n\tvar
|
495
|
+
errMaxMsg=\"\";\r\n\tvar errMsg=\"\";\r\n\tvar newdate = new Date();\r\n\tvar
|
496
|
+
numberOfDaysToAdd = '+335d';\r\n\tnumberOfDaysToAdd = parseInt(numberOfDaysToAdd.replace(/\\D/g,''));\r\n\tvar
|
497
|
+
mindate= $j.datepicker.formatDate('mm/dd/yy', newdate);\r\n\tnewdate.setDate(newdate.getDate()
|
498
|
+
+ numberOfDaysToAdd); \r\n\tvar maxdate= $j.datepicker.formatDate('mm/dd/yy',
|
499
|
+
newdate);\r\n\tvar depdate=document.getElementById(\"wdfdate1\").value;\r\n\t\r\n\tif
|
500
|
+
(depdate != \"\" && validMinDateRange(mindate,depdate) == false ){\r\n \terrMinMsg
|
501
|
+
= 'Problem with Travel Date: Our system cannot make reservations for dates
|
502
|
+
in the past. Check your date(s) and try again. [Error ID: 532S]\\n\\n' ;\r\n
|
503
|
+
\t}\r\n if(document.getElementById('return').checked) {\r\n var
|
504
|
+
retdate=document.getElementById(\"wdfdate2\").value;\r\n if (retdate
|
505
|
+
!= \"\" && validMinDateRange(mindate,retdate) == false ){\r\n errMinMsg
|
506
|
+
= 'Problem with Travel Date: Our system cannot make reservations for dates
|
507
|
+
in the past. Check your date(s) and try again. [Error ID: 532S]\\n\\n' ;\r\n
|
508
|
+
\ } \r\n \r\n }\r\n if (depdate != \"\" && validMaxDateRange(maxdate,depdate)
|
509
|
+
== false ){\r\n \terrMaxMsg = 'Problem with Travel Date: Our system cannot
|
510
|
+
make reservations for dates more than 11 months in the future. Check your
|
511
|
+
date(s) and try again. [Error ID: 533S]' ;\r\n }\r\n if(document.getElementById('return').checked)
|
512
|
+
{\r\n var retdate=document.getElementById(\"wdfdate2\").value;\r\n
|
513
|
+
\ if (retdate != \"\" && validMaxDateRange(maxdate,retdate) == false
|
514
|
+
){\r\n errMaxMsg = 'Problem with Travel Date: Our system cannot
|
515
|
+
make reservations for dates more than 11 months in the future. Check your
|
516
|
+
date(s) and try again. [Error ID: 533S]' ;\r\n } \r\n \r\n
|
517
|
+
\ }\r\n \r\n errMsg += errMinMsg+errMaxMsg;\r\n\r\n if (null !=
|
518
|
+
errMsg && errMsg != \"\" ) {\r\n alert(errMsg);\r\n return
|
519
|
+
false;\r\n } else {\r\n return true;\r\n }\r\n \r\n\r\n}\r\n\r\n</script>\r\n<style>\r\n
|
520
|
+
.disc_passenger_select {\r\n margin-top:2px;\r\n margin-left:0px;\r\n }\r\n
|
521
|
+
</style>\r\n\r\n \r\n \r\n <script type=\"text/javascript\">\r\n
|
522
|
+
\ //<![CDATA[\r\n var $j = jQuery.noConflict();\r\n $j(
|
523
|
+
document ).ready(function() {\r\n \t document.getElementById(\"wdfdate1\").value
|
524
|
+
= ''; \r\n \t document.getElementById(\"wdfdate15\").value = 'Select
|
525
|
+
a date'; \r\n }); \r\n //]]>\r\n </script>\r\n\t
|
526
|
+
\ <script type=\"text/javascript\">\r\n\t if (document.getElementById(\"wdfdate15\")
|
527
|
+
!= null && \r\n\t \t document.getElementById(\"wdfdate15\").value ==
|
528
|
+
'') {\r\n\t document.getElementById(\"wdfdate15\").value = 'Select
|
529
|
+
a date'; \r\n\t } \r\n\t </script>\r\n \r\n\n \n \n
|
530
|
+
\ \r\n\r\n\r\n\r\n\r\n <div id=\"farefinder_tabbody_redeem\"
|
531
|
+
class=\"farefinder_tabbody\">\r\n \t<h2>Redeem Points</h2>\r\n \t\r\n
|
532
|
+
\ \t<form onsubmit=\"javascript: return ValidateRedeemDate()\" name=\"ff_redeem_form\"
|
533
|
+
action=\"https://tickets.amtrak.com/itd/amtrak\" method=\"post\"><input type=\"hidden\"
|
534
|
+
name=\"requestor\" value=\"amtrak.presentation.handler.page.rail.redeem.PresAmtrakRailRedeemFindATicketReqsPageHandler\"
|
535
|
+
/>\r\n \t\t<div id=\"ff_redeem_step_1\" class=\"subdiv\"> \t\t\r\n\t
|
536
|
+
\ \t<div id=\"ff_member_wrapper\">\r\n\t \t\t\r\n\t \t\t\r\n\t
|
537
|
+
\ \t\t\r\n\t \t\t\r\n\t\t\t \r\n\t\t\t \t\r\n\t\t\t
|
538
|
+
\ \t\r\n\t\t\t \t<div class=\"form_line_wrapper first\">\r\n\t\t\t
|
539
|
+
\ \t<label for=\"ff_membernumber\">Member Number</label>\r\n\t\t\t
|
540
|
+
\ \t<span class=\"form_entry\">\r\n\t\t\t \t<input
|
541
|
+
type=\"text\" autocomplete=\"off\" id=\"ff_membernumber\" maxlength=\"10\"
|
542
|
+
name=\"/sessionWorkflow/profileWorkflow/schemeAccount/membershipNumber\" />\r\n\t\t\t
|
543
|
+
\ </span>\r\n\t\t\t </div>\r\n\t\t\t <div
|
544
|
+
class=\"form_line_wrapper\">\r\n\t\t\t \t<label for=\"ff_memberpassword\">Member
|
545
|
+
Password</label>\r\n\t\t\t <span class=\"form_entry\">\t\r\n\t\t\t
|
546
|
+
\ \t<input type=\"password\" autocomplete=\"off\" id=\"ff_memberpassword\"
|
547
|
+
maxlength=\"29\" name=\"/sessionWorkflow/profileWorkflow/schemeAccount/@password\"
|
548
|
+
/>\r\n\t\t\t </span>\t \r\n\t\t\t </div>\r\n\t\t\t
|
549
|
+
\ <br class=\"clear_both\" />\t\t\t \r\n\t\t\t
|
550
|
+
\ \r\n\t \t\t\r\n\t \t\t \r\n\t \t</div>\r\n \t</div>\r\n\t
|
551
|
+
\ \r\n\t <div id=\"ff_tickets_redeem_cities_subdiv\" class=\"subdiv\">\r\n\t\t\t\r\n\t\t
|
552
|
+
\ \t<div id=\"tickets_dep_city\" class=\"ff_city_wrapper\">\t\t\t \t\t\t\t\t\t
|
553
|
+
\ \r\n\t\t \t<input type=\"hidden\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/journeyRequirements[1]/departDate/@radioSelect\"
|
554
|
+
value=\"arrivalTime\" />\r\n\t\t \t<input type=\"hidden\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/@bookpath\"
|
555
|
+
value=\"redeem\" />\t\t\t \t\t\t\r\n\t\t \t\t<label for=\"agrdeparts\">From</label>\t\t\t\t
|
556
|
+
\ \r\n\t\t \t<input type=\"hidden\" name=\"xwdf_origin\"
|
557
|
+
value=\"/sessionWorkflow/productWorkflow[@product='Rail']/travelSelection/journeySelection[1]/departLocation/search\"
|
429
558
|
/><input class=\"text\" type=\"text\" id=\"agrdeparts\" name=\"wdf_origin\"
|
430
|
-
value=\"Providence, RI (PVD)\" />\r\n<p><span class=\"find_a_station\"><a
|
559
|
+
value=\"Providence, RI (PVD)\" />\r\n\t\t \t<p><span class=\"find_a_station\"><a
|
431
560
|
title=\"Click for a list of stations.\" href=\"javascript:fieldName='agrdeparts';
|
432
|
-
openStationList();\">Find a Station</a></span></p
|
433
|
-
|
434
|
-
|
561
|
+
openStationList();\">Find a Station</a></span></p> \t\t\t\t \r\n\t
|
562
|
+
\ \t</div>\r\n\t \r\n\t \t<div id=\"tickets_arr_city\"
|
563
|
+
class=\"ff_city_wrapper level3\">\r\n\t \t\t<label for=\"agrarrives\">To</label>\r\n\t
|
564
|
+
\ \t\t<input type=\"hidden\" name=\"xwdf_destination\" value=\"/sessionWorkflow/productWorkflow[@product='Rail']/travelSelection/journeySelection[1]/arriveLocation/search\"
|
435
565
|
/><input class=\"text\" type=\"text\" id=\"agrarrives\" name=\"wdf_destination\"
|
436
|
-
value=\"Boston - Back Bay, MA (BBY)\" />\r\n<p><span class=\"find_a_station\"><a
|
566
|
+
value=\"Boston - Back Bay, MA (BBY)\" />\r\n\t \t\t<p><span class=\"find_a_station\"><a
|
437
567
|
title=\"Click for a list of stations.\" href=\"javascript:fieldName='agrarrives';
|
438
|
-
openStationList();\">Find a Station</a></span></p>\r\n</div>\r\n
|
439
|
-
class=\"autocomplete level5\" style=\"display:none\"></div>\r\n
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
568
|
+
openStationList();\">Find a Station</a></span></p>\t\t\r\n\t \t</div>\t\r\n\t
|
569
|
+
\ \t \t<div id=\"redeem_from_auto\" class=\"autocomplete level5\" style=\"display:none\"></div>\r\n
|
570
|
+
\ \t<div id=\"redeem_to_auto\" class=\"autocomplete level5\"
|
571
|
+
style=\"display:none\"></div>\t\t\r\n\t \t\r\n\t </div>\r\n \r\n
|
572
|
+
\ <div id=\"ff_redeem_dep_date_subdiv\" class=\"subdiv\">\r\n \t<div
|
573
|
+
id=\"redeem_dep_date_time\">\r\n \t<div class=\"ff_date_wrapper\">
|
574
|
+
\ \r\n \t<label for=\"wdfdate15\">Departs</label>\r\n
|
575
|
+
\ <input class=\"wdfDate\" type=\"text\" size=\"22\" id=\"wdfdate15\"
|
576
|
+
maxlength=\"22\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/journeyRequirements[1]/departDate.usdate\"
|
577
|
+
value=\"12/31/2015\" /><a class=\"calLink noloading\" id=\"calLink15\"> </a><br
|
578
|
+
/><div id=\"calContainer15\" class=\"calContainer\" bookingpath=\"redeemff\"
|
579
|
+
calwrapper=\"farefinder\" caloffsetx=\"50\" calpickerxpos=\"50\" maxdate=\"+335d\"></div></div><div
|
580
|
+
class=\"ff_time_wrapper\"><label for=\"wdftimenull\"><b>Time</b></label><select
|
448
581
|
id=\"wdftime15\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/journeyRequirements[1]/departTime.hourmin\"><option
|
449
|
-
value=\"\">Anytime</option><option value=\"
|
450
|
-
value=\"
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
value=\"10:00\">10 AM</option><option value=\"11:00\">11 AM</option><option
|
457
|
-
value=\"12:00\">Noon</option><option value=\"13:00\">1 PM</option><option
|
458
|
-
value=\"14:00\">2 PM</option><option value=\"15:00\">3 PM</option><option
|
459
|
-
value=\"16:00\">4 PM</option><option value=\"17:00\">5 PM</option><option
|
460
|
-
value=\"18:00\">6 PM</option><option value=\"19:00\">7 PM</option><option
|
461
|
-
value=\"20:00\">8 PM</option><option value=\"21:00\">9 PM</option><option
|
462
|
-
value=\"22:00\">10 PM</option><option value=\"23:00\">11 PM</option></select>\r\n\r\n</div>\r\n</div>\r\n</div>\r\n<div
|
463
|
-
id=\"ff_redeem_passengers_subdiv\" class=\"subdiv\">\r\n<div id=\"redeem_passengers\">\r\n<div
|
464
|
-
id=\"ff_submit_button\">\r\n<input type=\"image\" alt=\"Click to Find Tickets\"
|
465
|
-
name=\"_handler=amtrak.presentation.handler.request.rail.redeem.PresAmtrakRailRedeemSearchRequestHandler\"
|
582
|
+
value=\"\">Anytime</option><option value=\"01:00\">Morning</option><option
|
583
|
+
value=\"13:00\">Afternoon</option><option value=\"19:00\">Evening</option></select>\r\n
|
584
|
+
\ </div> \r\n\t </div>\r\n
|
585
|
+
\ </div>\r\n \r\n <div id=\"ff_redeem_passengers_subdiv\"
|
586
|
+
class=\"subdiv\">\r\n \t<div id=\"redeem_passengers\">\r\n \t<div
|
587
|
+
id=\"ff_submit_button\"> \r\n <input
|
588
|
+
type=\"image\" alt=\"Click to Find Tickets\" name=\"_handler=amtrak.presentation.handler.request.rail.redeem.PresAmtrakRailRedeemSearchRequestHandler\"
|
466
589
|
onclick=\"javascript:return preRedeemSubmitActions('The following information
|
467
|
-
is needed to process your request:')\" src=\"/images/en/btn_ff_findTrains.gif\"
|
468
|
-
border=\"0\"
|
469
|
-
|
470
|
-
|
590
|
+
is needed to process your request:') \" src=\"/images/en/btn_ff_findTrains.gif\"
|
591
|
+
border=\"0\" /> \r\n </div>\r\n
|
592
|
+
\ \t<div id=\"passenger_wrapper\">\r\n \t<label
|
593
|
+
for=\"redeemadults\">Passengers</label><br> (Max. of 8)\t \t
|
594
|
+
\ \r\n </div>\t \r\n <div
|
595
|
+
id=\"ff_redeem_passenger_select_wrapper\">\r\n \t<select id=\"redeemadults\"
|
596
|
+
name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/allJourneyRequirements/numberOfTravellers[@key='Adult']\"><option
|
471
597
|
value=\"1\" selected=\"selected\">1</option><option value=\"2\">2</option><option
|
472
598
|
value=\"3\">3</option><option value=\"4\">4</option><option value=\"5\">5</option><option
|
473
|
-
value=\"6\">6</option><option value=\"7\">7</option><option value=\"8\">8</option></select>\r\n
|
474
|
-
|
599
|
+
value=\"6\">6</option><option value=\"7\">7</option><option value=\"8\">8</option></select>\r\n
|
600
|
+
\ </div>\r\n \r\n </div> \r\n <br/>\r\n
|
601
|
+
\ <p><a href=\"javascript:var child=window.open('http://www.amtrak.com/servlet/Satellite?SnippetName=IBLegacy&pagename=am/AM_Snippet_C/SnippetWrapper&help=agrFindTicket','help','directories=0,dependent=1,menubar=0,top=20,left=20,width=680,height=600,scrollbars=1');child.focus();\"
|
475
602
|
\ CLASS=\"smallblue\">Learn more</a> about redeeming points online for Amtrak
|
476
|
-
travel.</p
|
477
|
-
|
478
|
-
|
479
|
-
){\r\
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
/>\r\n<a class=\"button\" href=\"http://tickets.amtrak.com/itd/amtrak/autotrain\"
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
href=\"
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
\
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
603
|
+
travel.</p> \r\n </div>\r\n \t<br class=\"clear_both\"
|
604
|
+
/> \r\n\t</form>\r\n </div> \r\n\t\t <script language=\"JavaScript\"
|
605
|
+
type=\"text/javascript\"> \r\n\t\t <!--\r\n\t\t\t if( $('ff_sub_tabbar_bookatrip').hasClassName(\"active\")
|
606
|
+
){\r\n\t\t\t\tshow_ff_sub_tab('bookatrip');\r\n\t \t\t } else if( $('ff_sub_tabbar_redeem').hasClassName(\"active\")
|
607
|
+
){\r\n\t\t \t\tshow_ff_sub_tab('redeem');\r\n\t \t\t }\r\n\t\t //-->\r\n\t\t
|
608
|
+
</script>\r\n\t\t \n \n \n <div id=\"farefinder_tabbody_traveloptions\"
|
609
|
+
class=\"farefinder_tabbody\">\n <div class=\"cmstraveloptions\"
|
610
|
+
id=\"cmstraveloptions\">\n <p><a class=\"button\" href=\"/rail-deals-every-week-25-off-amtrak-fares-across-the-us\"><img
|
611
|
+
src='https://www.amtrak.com/servlet/Satellite?blobcol=urldata&blobheader=image%2Fpng&blobkey=id&blobtable=MungoBlobs&blobwhere=1249288596252&ssbinary=true&eHA_media_type=.png'/></a><br
|
612
|
+
/>\r\n<a class=\"button\" href=\"http://tickets.amtrak.com/itd/amtrak/autotrain\"><img
|
613
|
+
src='https://www.amtrak.com/servlet/Satellite?blobcol=urldata&blobheader=image%2Fpng&blobkey=id&blobtable=MungoBlobs&blobwhere=1249288596551&ssbinary=true&eHA_media_type=.png'/></a><br
|
614
|
+
/>\r\n<a class=\"button\" href=\"http://tickets.amtrak.com/itd/amtrak/multiride\"><img
|
615
|
+
src='https://www.amtrak.com/servlet/Satellite?blobcol=urldata&blobheader=image%2Fpng&blobkey=id&blobtable=MungoBlobs&blobwhere=1249288591884&ssbinary=true&eHA_media_type=.png'/></a><br
|
616
|
+
/>\r\n<a class=\"button\" href=\"http://tickets.amtrak.com/itd/amtrak/selectpass\"><img
|
617
|
+
src='https://www.amtrak.com/servlet/Satellite?blobcol=urldata&blobheader=image%2Fpng&blobkey=id&blobtable=MungoBlobs&blobwhere=1249288591915&ssbinary=true&eHA_media_type=.png'/></a><br
|
618
|
+
/>\r\n<a class=\"button\" href=\"/hotels-cars-travel-insurance-and-more\"><img
|
619
|
+
src='https://www.amtrak.com/servlet/Satellite?blobcol=urldata&blobheader=image%2Fpng&blobkey=id&blobtable=MungoBlobs&blobwhere=1249288591946&ssbinary=true&eHA_media_type=.png'/></a><br
|
620
|
+
/>\r\n<a class=\"button\" href=\"http://tickets.amtrak.com/itd/amtrak/grouptravel\"><img
|
621
|
+
src='https://www.amtrak.com/servlet/Satellite?blobcol=urldata&blobheader=image%2Fpng&blobkey=id&blobtable=MungoBlobs&blobwhere=1249288591983&ssbinary=true&eHA_media_type=.png'/></a></p>\n\n
|
622
|
+
\ </div>\n </div>\n \n \n <div id=\"farefinder_tabbody_status\"
|
623
|
+
class=\"farefinder_tabbody\">\n \n \n <div id=\"status_by_train_number\">\n
|
624
|
+
\ <form onsubmit=\"javascript:return CheckMandatoryTrainStatusFieldsForStatusByTrainNumber();\"
|
625
|
+
name=\"ff_status_form1\" action=\"https://tickets.amtrak.com/itd/amtrak\"
|
626
|
+
method=\"post\"><input type=\"hidden\" name=\"requestor\" value=\"amtrak.presentation.handler.page.rail.AmtrakRailGetTrainStatusPageHandler\"
|
627
|
+
/> \n <input type=\"hidden\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/@trainStatusType\"
|
628
|
+
value=\"statusByTrainNumber\" />\n <h2>Status</h2>\n\n <div
|
629
|
+
id=\"ff_status_step_1\" class=\"subdiv1\"> \n <div id=\"status_arr_or_dep_wrapper\">
|
630
|
+
\n \n \n <p>\n
|
631
|
+
\ <input type=\"hidden\" name=\"xwdf_SortBy\"
|
632
|
+
value=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/journeyRequirements[1]/departDate/@radioSelect\"
|
506
633
|
/><input type=\"radio\" id=\"status_arr\" name=\"wdf_SortBy\" value=\"arrivalTime\"
|
507
634
|
onclick=\"javascript:return setDepartOrArrivalFieldVisibility();\" checked=\"checked\"
|
508
|
-
/>\
|
509
|
-
|
635
|
+
/>\n <label for=\"status_arr\">\n Arrival
|
636
|
+
Status\n </label> \n
|
637
|
+
\ </p>\n <p>\n
|
638
|
+
\ <input type=\"hidden\" name=\"xwdf_SortBy\"
|
639
|
+
value=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/journeyRequirements[1]/departDate/@radioSelect\"
|
510
640
|
/><input type=\"radio\" id=\"status_dep\" name=\"wdf_SortBy\" value=\"departTime\"
|
511
|
-
onclick=\"javascript:return setDepartOrArrivalFieldVisibility();\" />\
|
512
|
-
for=\"status_dep\">\
|
513
|
-
|
514
|
-
|
641
|
+
onclick=\"javascript:return setDepartOrArrivalFieldVisibility();\" />\n <label
|
642
|
+
for=\"status_dep\">\n Departure Status\n
|
643
|
+
\ </label>\n </p>\n
|
644
|
+
\ \n \n \n
|
645
|
+
\ \n </div>\n \n
|
646
|
+
\ <div id=\"status_dep_city\" class=\"ff_status_city_wrapper\">
|
647
|
+
\ \n <label for=\"status_from\">\n
|
648
|
+
\ Station\n </label> \n \n
|
649
|
+
\ <!-- itd:locationinput id=\"status_dep\" wdfxpath=\"travelSelection/journeySelection[1]/departLocation\"
|
515
650
|
wdfhtmlname=\"wdf_origin\" wdflimitedlocations=\"resource:TRAVEL_USE_LIMITED_LOCATIONS\"
|
516
|
-
size=\"25\" / -->\
|
517
|
-
name=\"xwdf_origin\" value=\"/sessionWorkflow/productWorkflow[@product='Rail']/travelSelection/journeySelection[1]/departLocation/search\"
|
651
|
+
size=\"25\" / -->\n <div id=\"div_depart_station\">\n\t
|
652
|
+
\ <input type=\"hidden\" name=\"xwdf_origin\" value=\"/sessionWorkflow/productWorkflow[@product='Rail']/travelSelection/journeySelection[1]/departLocation/search\"
|
518
653
|
/><input type=\"text\" autocomplete=\"off\" id=\"status_from\" maxlength=\"150\"
|
519
|
-
name=\"wdf_origin\" value=\"Providence, RI (PVD)\" />\
|
520
|
-
title=\"Click for
|
521
|
-
openStationList();\">Find
|
654
|
+
name=\"wdf_origin\" value=\"Providence, RI (PVD)\" />\n\t <p><span
|
655
|
+
class=\"find_a_station\">\n\t <a title=\"Click for
|
656
|
+
a list of stations.\" href=\"javascript:fieldName='status_from'; openStationList();\">Find
|
657
|
+
a Station</a>\n\t </span></p>\n </div>\n
|
658
|
+
\ <div id=\"div_arrive_station\">\n <input
|
522
659
|
type=\"hidden\" name=\"xwdf_destination\" value=\"/sessionWorkflow/productWorkflow[@product='Rail']/travelSelection/journeySelection[1]/arriveLocation/search\"
|
523
660
|
/><input type=\"text\" autocomplete=\"off\" id=\"status_to\" maxlength=\"150\"
|
524
|
-
name=\"wdf_destination\" value=\"Boston - Back Bay, MA (BBY)\" />\
|
525
|
-
class=\"find_a_station\">\
|
526
|
-
openStationList();\">Find
|
527
|
-
|
528
|
-
|
529
|
-
class=\"
|
530
|
-
|
531
|
-
|
661
|
+
name=\"wdf_destination\" value=\"Boston - Back Bay, MA (BBY)\" />\n <p><span
|
662
|
+
class=\"find_a_station\">\n <a title=\"Click
|
663
|
+
for a list of stations.\" href=\"javascript:fieldName='status_to'; openStationList();\">Find
|
664
|
+
a Station</a>\n </span></p>\n </div>\n
|
665
|
+
\ </div>\n <div id=\"status_from_auto\"
|
666
|
+
class=\"autocomplete\" style=\"display:none\"></div>\n <div
|
667
|
+
id=\"status_to_auto\" class=\"autocomplete\" style=\"display:none\"></div>\n
|
668
|
+
\ \n \n <div class=\"form_line_wrapper1\">
|
669
|
+
\ \n <label for=\"status_train_num\">\n
|
670
|
+
\ Train/Bus No.\n </label>\n
|
671
|
+
\ <span class=\"form_entry\">\n <input
|
672
|
+
type=\"hidden\" name=\"xwdf_trainNumber\" value=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/journeyRequirements[1]/segmentRequirements[1]/serviceCode\"
|
532
673
|
/><input onfocus=\"if (this.value=='optional') { this.value=''; updateMaxLength();
|
533
674
|
};\" type=\"text\" size=\"4\" id=\"status_train_num\" maxlength=\"8\" name=\"wdf_trainNumber\"
|
534
|
-
/>\
|
535
|
-
|
536
|
-
|
675
|
+
/>\n </span>\n </div>\n \n
|
676
|
+
\ <div class=\"form_line_wrapper\">\n <div
|
677
|
+
id=\"div_depart_date_label\">\n <label for=\"status_date\">\n
|
678
|
+
\ Depart Date\n </label>\n
|
679
|
+
\ </div>\n <div id=\"div_arrival_date_label\">\n
|
680
|
+
\ <label for=\"status_date\">\n Arrival
|
681
|
+
Date\n </label>\n </div>\n \n
|
682
|
+
\ <span class=\"form_entry\">\n <input
|
537
683
|
class=\"wdfDate\" type=\"text\" size=\"22\" id=\"wdfdate10\" maxlength=\"22\"
|
538
|
-
name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/journeyRequirements[1]/departDate.
|
539
|
-
value=\"
|
540
|
-
class=\"
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
684
|
+
name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/journeyRequirements[1]/departDate.usdate\"
|
685
|
+
value=\"12/31/2015\" /><a class=\"calLink noloading\" id=\"calLink10\"> </a><br
|
686
|
+
/><div id=\"calContainer10\" class=\"calContainer\" bookingpath=\"checkStatus\"
|
687
|
+
calwrapper=\"status_by_train_number\" caloffsetx=\"53\" calpickerxpos=\"50\"
|
688
|
+
mindate=\"-5d\" maxdate=\"+5d\"></div> \n
|
689
|
+
\ </span>\n </div> \n
|
690
|
+
\ <br class=\"clear_both\" /> \n </div>\n
|
691
|
+
\ <div id=\"ff_status_submit_wrapper\" class=\"subdiv\">\n <input
|
692
|
+
type=\"hidden\" name=\"_handler=amtrak.presentation.handler.request.rail.AmtrakRailTrainStatusSearchRequestHandler/_xpath=/sessionWorkflow/productWorkflow[@product='Rail']\"
|
693
|
+
/>\n <input type=\"image\" alt=\"Check Status\" name=\"_handler=amtrak.presentation.handler.request.rail.AmtrakRailTrainStatusSearchRequestHandler/_xpath=/sessionWorkflow/productWorkflow[@product='Rail']\"
|
694
|
+
onclick=\" javascript:return (ValidateStatusDate('wdfdate10') )\" src=\"/images/en/btn_checkStatus.gif\"
|
695
|
+
border=\"0\" />\n </div>\n \n <div
|
696
|
+
class=\"form_line_wrapper subdiv2\">\n Late trains often
|
697
|
+
make up time en route and may arrive earlier than expected. When trains are
|
698
|
+
late, we suggest you arrive at your departure station prior to the estimated
|
699
|
+
arrival or departure time.\n </div>\n <div class=\"form_line_wrapper
|
700
|
+
subdiv\">\n <h3 style=\"margin-bottom:2px;\">Don't know
|
701
|
+
your train number?</h3>\n <a href=\"javascript:switchToStatusByCity();\">Check
|
702
|
+
status by city</a>\n </div>\n </form> \n </div>
|
703
|
+
\ \n \n \n \n
|
704
|
+
\ <div id=\"status_by_city_pair\">\n <form onsubmit=\"javascript:return
|
705
|
+
CheckMandatoryTrainStatusFieldsForStatusByCityPair();\" name=\"ff_status_form2\"
|
706
|
+
action=\"https://tickets.amtrak.com/itd/amtrak\" method=\"post\"><input type=\"hidden\"
|
707
|
+
name=\"requestor\" value=\"amtrak.presentation.handler.page.rail.AmtrakRailGetTrainStatusPageHandler\"
|
708
|
+
/>\n <input type=\"hidden\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/@trainStatusType\"
|
709
|
+
value=\"statusByCityPair\" />\n <input type=\"hidden\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/journeyRequirements[1]/departDate/@radioSelect\"
|
710
|
+
value=\"arrivalTime\" />\n \n <div id=\"ff_status_step_1\"
|
711
|
+
class=\"subdiv\">\n <div id=\"status_dep_city\" class=\"ff_status_city_wrapper
|
712
|
+
citypair_from\">\n <label for=\"status_from\">\n From\n
|
713
|
+
\ </label> \n \n <!--
|
714
|
+
itd:locationinput id=\"status_dep\" wdfxpath=\"travelSelection/journeySelection[1]/departLocation\"
|
715
|
+
wdfhtmlname=\"wdf_origin\" wdflimitedlocations=\"resource:TRAVEL_USE_LIMITED_LOCATIONS\"
|
716
|
+
size=\"25\" / -->\n <input type=\"hidden\" name=\"xwdf_origin\"
|
717
|
+
value=\"/sessionWorkflow/productWorkflow[@product='Rail']/travelSelection/journeySelection[1]/departLocation/search\"
|
561
718
|
/><input type=\"text\" autocomplete=\"off\" id=\"status_from1\" maxlength=\"150\"
|
562
|
-
name=\"wdf_origin\" value=\"Providence, RI (PVD)\" />\
|
563
|
-
title=\"Click for
|
564
|
-
openStationList();\">Find
|
565
|
-
|
566
|
-
|
719
|
+
name=\"wdf_origin\" value=\"Providence, RI (PVD)\" />\n <p><span
|
720
|
+
class=\"find_a_station\">\n <a title=\"Click for
|
721
|
+
a list of stations.\" href=\"javascript:fieldName='status_from1'; openStationList();\">Find
|
722
|
+
a Station</a>\n </span></p>\n </div>\n\n
|
723
|
+
\ <div id=\"status_arr_city\" class=\"ff_status_city_wrapper\">\n
|
724
|
+
\ <label for=\"status_to\">\n To\n
|
725
|
+
\ </label> \n <!-- itd:locationinput
|
726
|
+
id=\"status_to\" wdfxpath=\"travelSelection/journeySelection[1]/arriveLocation\"
|
567
727
|
wdfhtmlname=\"wdf_destination\" wdflimitedlocations=\"resource:TRAVEL_USE_LIMITED_LOCATIONS\"
|
568
|
-
size=\"25\" / -->\
|
728
|
+
size=\"25\" / -->\n <input type=\"hidden\" name=\"xwdf_destination\"
|
729
|
+
value=\"/sessionWorkflow/productWorkflow[@product='Rail']/travelSelection/journeySelection[1]/arriveLocation/search\"
|
569
730
|
/><input type=\"text\" autocomplete=\"off\" id=\"status_to1\" maxlength=\"150\"
|
570
|
-
name=\"wdf_destination\" value=\"Boston - Back Bay, MA (BBY)\"
|
571
|
-
class=\"find_a_station\">\
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
class=\"
|
609
|
-
openStationList();\">Find a Station</a></span></p>\r\n\r\n</div>\r\n</div>\r\n<div
|
610
|
-
id=\"ff_schedules_dep_ret_date_subdiv\" class=\"subdiv\">\r\n<div id=\"schedule_from_auto\"
|
611
|
-
class=\"autocomplete\" style=\"display:none\"></div>\r\n<div id=\"schedule_to_auto\"
|
612
|
-
class=\"autocomplete\" style=\"display:none\"></div>\r\n<div id=\"schedules_dep_date_time\">\r\n<div
|
613
|
-
class=\"ff_date_wrapper\">\r\n<label for=\"schedules_dep_date\">Depart</label>\r\n\r\n\r\n<input
|
614
|
-
class=\"wdfDate\" type=\"text\" size=\"22\" id=\"wdfdate5\" maxlength=\"22\"
|
615
|
-
name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/journeyRequirements[1]/departDate.date\"
|
616
|
-
value=\"Sun, Dec 7, 2014\" readonly=\"readonly\" /></div><div class=\"ff_time_wrapper\"><label
|
617
|
-
for=\"wdftimenull\"><b>Time</b></label><select onfocus=\"updateTimeState()\"
|
618
|
-
onchange=\"timeChanged(5);updateDayDropDownListTrainStatusWithOffsets()\"
|
619
|
-
id=\"wdftime5\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/journeyRequirements[1]/departTime.hourmin\"><option
|
620
|
-
value=\"\">Anytime</option><option value=\"07:00\">Morning</option><option
|
621
|
-
value=\"14:00\">Afternoon</option><option value=\"19:00\">Evening</option><option
|
622
|
-
value=\"23:59\">Midnight</option><option value=\"01:00\">1 AM</option><option
|
623
|
-
value=\"02:00\">2 AM</option><option value=\"03:00\">3 AM</option><option
|
624
|
-
value=\"04:00\">4 AM</option><option value=\"05:00\">5 AM</option><option
|
625
|
-
value=\"06:00\">6 AM</option><option value=\"07:00\">7 AM</option><option
|
626
|
-
value=\"08:00\">8 AM</option><option value=\"09:00\">9 AM</option><option
|
627
|
-
value=\"10:00\">10 AM</option><option value=\"11:00\">11 AM</option><option
|
628
|
-
value=\"12:00\">Noon</option><option value=\"13:00\">1 PM</option><option
|
629
|
-
value=\"14:00\">2 PM</option><option value=\"15:00\">3 PM</option><option
|
630
|
-
value=\"16:00\">4 PM</option><option value=\"17:00\">5 PM</option><option
|
631
|
-
value=\"18:00\">6 PM</option><option value=\"19:00\">7 PM</option><option
|
632
|
-
value=\"20:00\">8 PM</option><option value=\"21:00\">9 PM</option><option
|
633
|
-
value=\"22:00\">10 PM</option><option value=\"23:00\">11 PM</option></select>\r\n\r\n</div>\r\n</div>\r\n</div>\r\n<div
|
634
|
-
id=\"ff_schedules_timetables_submit_wrapper\" class=\"subdiv\">\r\n<input
|
635
|
-
type=\"hidden\" name=\"_handler=amtrak.presentation.handler.request.rail.AmtrakCMSRailSchedulesSearchRequestHandler/_xpath=/sessionWorkflow/productWorkflow[@product='Rail']\"
|
636
|
-
/>\r\n<input type=\"image\" alt=\"Find Schedules\" name=\"_handler=amtrak.presentation.handler.request.rail.AmtrakCMSRailSchedulesSearchRequestHandler/_xpath=/sessionWorkflow/productWorkflow[@product='Rail']\"
|
637
|
-
src=\"/images/en/btn_findSchedules.gif\" border=\"0\" />\r\n</div>\r\n<div
|
638
|
-
id=\"ff_schedules_timetables_footer_wrapper\">\r\n<p><a href=\"http://www.amtrak.com/servlet/Satellite/Page/1237405732505/1237405732505\">Download
|
639
|
-
printable timetables</a></p>\r\n</div>\r\n</form>\r\n\r\n</div>\r\n<div id=\"farefinder_tabbody_mytrip\"
|
640
|
-
class=\"farefinder_tabbody\">\r\n<h2>My Trip</h2>\r\n<div id=\"ff_mytrip_step_1\"
|
641
|
-
class=\"subdiv\">\r\n<form onsubmit=\"javascript:return CheckMandatoryMyTripFields(this)\"
|
642
|
-
name=\"mytrip_res\" action=\"http://tickets.amtrak.com/itd/amtrak\" method=\"post\"><input
|
643
|
-
type=\"hidden\" name=\"requestor\" value=\"amtrak.presentation.handler.page.rail.AmtrakRailGetTrainStatusPageHandler\"
|
644
|
-
/>\r\n<h3>Find a Reservation</h3>\r\n<div class=\"form_line_wrapper first\">\r\n<label
|
645
|
-
for=\"mytrip_res_num\">Reservation Number</label><span class=\"form_entry\">\r\n<input
|
731
|
+
name=\"wdf_destination\" value=\"Boston - Back Bay, MA (BBY)\" /> \n
|
732
|
+
\ <p><span class=\"find_a_station\">\n <a
|
733
|
+
title=\"Click for a list of stations.\" href=\"javascript:fieldName='status_to1';
|
734
|
+
openStationList();\">Find a Station</a>\n </span></p>\n
|
735
|
+
\ </div>\n \n <div id=\"status_from_auto1\"
|
736
|
+
class=\"autocomplete\" style=\"display:none\"></div>\n <div
|
737
|
+
id=\"status_to_auto1\" class=\"autocomplete\" style=\"display:none\"></div>
|
738
|
+
\ \n \n <div class=\"form_line_wrapper\">
|
739
|
+
\ \n <div id=\"div_depart_date_label\">\n
|
740
|
+
\ <label for=\"status_date\">\n Arrival
|
741
|
+
Date\n </label>\n </div>\n <span
|
742
|
+
class=\"form_entry\">\n <input class=\"wdfDate\" type=\"text\"
|
743
|
+
size=\"22\" id=\"wdfdate11\" maxlength=\"22\" name=\"/sessionWorkflow/productWorkflow[@product='Rail']/tripRequirements/journeyRequirements[1]/departDate.usdate\"
|
744
|
+
value=\"12/31/2015\" /><a class=\"calLink noloading\" id=\"calLink11\"> </a><br
|
745
|
+
/><div id=\"calContainer11\" class=\"calContainer\" bookingpath=\"checkStatus\"
|
746
|
+
calwrapper=\"status_by_train_number\" caloffsetx=\"53\" calpickerxpos=\"50\"
|
747
|
+
mindate=\"-5d\" maxdate=\"+5d\"></div> \n
|
748
|
+
\ </span> \n </div> \n
|
749
|
+
\ <br class=\"clear_both\" /> \n </div>\n \n
|
750
|
+
\ <div id=\"ff_status_submit_wrapper\" class=\"subdiv\">\n <input
|
751
|
+
type=\"hidden\" name=\"_handler=amtrak.presentation.handler.request.rail.AmtrakRailTrainStatusSearchRequestHandler/_xpath=/sessionWorkflow/productWorkflow[@product='Rail']\"
|
752
|
+
/>\n <input type=\"image\" alt=\"Check Status\" name=\"_handler=amtrak.presentation.handler.request.rail.AmtrakRailTrainStatusSearchRequestHandler/_xpath=/sessionWorkflow/productWorkflow[@product='Rail']\"
|
753
|
+
onclick=\" javascript:return (ValidateStatusDate('wdfdate11') )\" src=\"/images/en/btn_checkStatus.gif\"
|
754
|
+
border=\"0\" />\n </div>\n \n\t <div
|
755
|
+
class=\"form_line_wrapper subdiv2\">\n\t Late trains often make
|
756
|
+
up time en route and may arrive earlier than expected. When trains are late,
|
757
|
+
we suggest you arrive at your departure station prior to the estimated arrival
|
758
|
+
or departure time.\n\t </div>\n\t <div class=\"form_line_wrapper
|
759
|
+
subdiv\">\n\t <h3 style=\"margin-bottom:45px;\"><a href=\"javascript:switchToStatusByTrain();\">Check
|
760
|
+
status by train number</a></h3>\t \n </div>\n
|
761
|
+
\ </form>\n </div>\n \n \n </div>\n
|
762
|
+
\ \n <div id=\"farefinder_tabbody_mytrip\" class=\"farefinder_tabbody\">\n
|
763
|
+
\ <h2>My Trip</h2>\n <div id=\"ff_mytrip_step_1\"
|
764
|
+
class=\"subdiv\">\n <form onsubmit=\"javascript:return
|
765
|
+
CheckMandatoryMyTripFields(this)\" name=\"mytrip_res\" action=\"https://tickets.amtrak.com/itd/amtrak\"
|
766
|
+
method=\"post\"><input type=\"hidden\" name=\"requestor\" value=\"amtrak.presentation.handler.page.rail.AmtrakRailGetTrainStatusPageHandler\"
|
767
|
+
/>\n <h3>Find a Reservation</h3>\n <div
|
768
|
+
class=\"form_line_wrapper first\">\n <label for=\"mytrip_res_num\">Reservation
|
769
|
+
Number</label><span class=\"form_entry\">\n <input
|
646
770
|
type=\"text\" id=\"mytrip_res_num\" name=\"/sessionWorkflow/itineraryWorkflow/basket/booking/reference\"
|
647
|
-
value=\"\" />\
|
648
|
-
class=\"form_line_wrapper\">\
|
649
|
-
|
650
|
-
|
651
|
-
class=\"
|
652
|
-
|
771
|
+
value=\"\" />\n </span>\n </div>\n
|
772
|
+
\ <div class=\"form_line_wrapper\">\n <strong>and</strong>\n
|
773
|
+
\ </div>\n <div class=\"form_line_wrapper\">\n
|
774
|
+
\ <label for=\"mytrip_res_email\">E-mail Address</label><span
|
775
|
+
class=\"form_entry\">\n <input type=\"text\" autocomplete=\"off\"
|
776
|
+
id=\"mytrip_res_email\" name=\"/sessionWorkflow/itineraryWorkflow/basket/booking/bookingOptions/bookingFulfilment/contact/contactEmailAddress/emailAddress\"
|
777
|
+
value=\"\" />\n </span>\n </div>\n
|
778
|
+
\ <div class=\"form_line_wrapper\">\n <div
|
779
|
+
class=\"separator\">-or-</div>\n </div>\n <div
|
780
|
+
class=\"form_line_wrapper\">\n <label for=\"mytrip_res_zip\">Telephone
|
781
|
+
Number</label><span class=\"form_entry\">\n <input
|
653
782
|
type=\"text\" id=\"mytrip_res_zip\" name=\"/sessionWorkflow/itineraryWorkflow/basket/booking/bookingOptions/bookingFulfilment/contact/contactTelephone/number\"
|
654
|
-
value=\"\" />\
|
783
|
+
value=\"\" />\n </span>\n </div>\n
|
784
|
+
\ <div id=\"ff_mytrip_res_submit\">\n <input
|
655
785
|
type=\"hidden\" name=\"_handler=com.sita.ats.amtrak.presentation.handler.request.itinerary.AmtrakLoggedOutTripDetailsRequestHandler\"
|
656
|
-
/>\
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
786
|
+
/>\n <input class=\"image\" type=\"image\" alt=\"Find
|
787
|
+
Reservation\" name=\"_handler=com.sita.ats.amtrak.presentation.handler.request.itinerary.AmtrakLoggedOutTripDetailsRequestHandler\"
|
788
|
+
src=\"/images/en/btn_find.gif\" />\n </div>\n </form>\n
|
789
|
+
\ </div>\n\n \n <div
|
790
|
+
id=\"ff_mytrip_step_2\" class=\"subdiv\">\n <div id=\"mytrip_or\"><span>Or</span></div>\n
|
791
|
+
\ \n <form onsubmit=\"javascript:return
|
792
|
+
CheckMandatoryLoginFields(this)\" name=\"mytrip_acct\" action=\"https://tickets.amtrak.com/itd/amtrak\"
|
793
|
+
method=\"post\"><input type=\"hidden\" name=\"requestor\" value=\"amtrak.presentation.handler.page.rail.AmtrakRailGetTrainStatusPageHandler\"
|
794
|
+
/>\n\t\t\t\t\t\t<input type=\"hidden\" name=\"/sessionWorkflow/userWorkflow/profileAccountRequirements/@logontype\"
|
795
|
+
value=\"mytrip\" /> \n <h3>Log in to your Amtrak.com
|
796
|
+
Account</h3>\n <div class=\"form_line_wrapper\">\n
|
797
|
+
\ <label for=\"mytrip_acct_email\">E-mail Address</label><span
|
798
|
+
class=\"form_entry\">\n <input type=\"hidden\"
|
799
|
+
name=\"xwdf_username\" value=\"/sessionWorkflow/userWorkflow/profileAccountRequirements/userName\"
|
666
800
|
/><input autocomplete=\"off\" type=\"text\" id=\"mytrip_acct_email\" maxlength=\"64\"
|
667
|
-
name=\"wdf_username\" />\
|
668
|
-
|
801
|
+
name=\"wdf_username\" />\n </span>\n </div>\n
|
802
|
+
\ <div class=\"form_line_wrapper\">\n <label
|
803
|
+
for=\"mytrip_acct_pwd\">Password</label><span class=\"form_entry\">\n <input
|
669
804
|
type=\"hidden\" name=\"xwdf_password\" value=\"/sessionWorkflow/userWorkflow/profileAccountRequirements/password\"
|
670
|
-
/><input type=\"password\"
|
671
|
-
/>\
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
Ajax.Autocompleter('
|
686
|
-
{\
|
687
|
-
Ajax.Autocompleter('
|
688
|
-
{\
|
805
|
+
/><input type=\"password\" autocomplete=\"off\" id=\"mytrip_acct_pwd\" maxlength=\"20\"
|
806
|
+
name=\"wdf_password\" />\n </span>\n </div>\n
|
807
|
+
\ <div id=\"ff_mytrip_acct_submit\">\n \n
|
808
|
+
\ <a class=\"forgot_pass\" title=\"Click here
|
809
|
+
to request your Password\" href=\"javascript:openForgotPwdBox();\">Forgot
|
810
|
+
password?</a>\n \n \n
|
811
|
+
\ <input type=\"hidden\" name=\"_handler=com.sita.ats.amtrak.presentation.handler.request.profile.AmtrakProfileLogonRequestHandler/_xpath=/sessionWorkflow/userWorkflow/profileAccountRequirements\"
|
812
|
+
/>\n <input type=\"image\" alt=\"Log In\" name=\"_handler=com.sita.ats.amtrak.presentation.handler.request.profile.AmtrakProfileLogonRequestHandler/_xpath=/sessionWorkflow/userWorkflow/profileAccountRequirements\"
|
813
|
+
onclick=\"\" src=\"/images/en/btn_login.gif\" />\n </div>\n
|
814
|
+
\ </form>\n\t\t\t\t\t\n </div>\n\t\t\t\t\t\n
|
815
|
+
\ </div>\t\t\n </div>\n \n \n \n\t \n\t \n\t
|
816
|
+
\ <script type=\"text/javascript\" language=\"javascript\" charset=\"utf-8\">\n
|
817
|
+
\ // <![CDATA[\n\n new Ajax.Autocompleter('departs','autocomplete_availability_from',
|
818
|
+
'/itd/amtrak/AutoComplete', {\n paramName: \"_origin\",\n minChars:
|
819
|
+
2,\n frequency: 0.5\n }\n ); \n \n
|
820
|
+
\ new Ajax.Autocompleter('arrives','autocomplete_availability_to','/itd/amtrak/AutoComplete',
|
821
|
+
{\n paramName: \"_destination\",\n minChars: 2,\n frequency:
|
822
|
+
0.5\n }\n );\n\n new Ajax.Autocompleter('agrdeparts','redeem_from_auto',
|
823
|
+
'/itd/amtrak/AutoComplete', {\n paramName: \"_origin\",\n minChars:
|
824
|
+
2,\n frequency: 0.5\n }\n ); \n
|
825
|
+
\ \n new Ajax.Autocompleter('agrarrives','redeem_to_auto','/itd/amtrak/AutoComplete',
|
826
|
+
{\n paramName: \"_destination\",\n minChars: 2,\n
|
827
|
+
\ frequency: 0.5\n }\n );\n\n\n\t\tnew
|
689
828
|
Ajax.Autocompleter('status_from','status_from_auto','/itd/amtrak/AutoComplete',
|
690
|
-
{\
|
829
|
+
{\n\t\t\tparamName: \"_origin\",\n\t\t\tminChars: 2,\n\t\t\tfrequency: 0.5\n\t\t\t}\n\t\t);\n\t\t\n\t\tnew
|
691
830
|
Ajax.Autocompleter('status_to','status_to_auto','/itd/amtrak/AutoComplete',
|
692
|
-
{\
|
693
|
-
Ajax.Autocompleter('status_from1','status_from_auto1','/itd/amtrak/AutoComplete',
|
694
|
-
{\
|
695
|
-
Ajax.Autocompleter('status_to1','status_to_auto1','/itd/amtrak/AutoComplete',
|
696
|
-
{\
|
697
|
-
]]>\
|
698
|
-
|
699
|
-
|
700
|
-
=
|
701
|
-
= document.ff_status_form1.
|
702
|
-
|
703
|
-
= document.ff_status_form1.
|
704
|
-
|
705
|
-
\"\")\
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
(
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
831
|
+
{\n\t\t\tparamName: \"_destination\",\n\t\t\tminChars: 2,\n\t\t\tfrequency:
|
832
|
+
0.5\n\t\t\t}\n\t\t);\n\t\t\n\t\tnew Ajax.Autocompleter('status_from1','status_from_auto1','/itd/amtrak/AutoComplete',
|
833
|
+
{\n paramName: \"_origin\",\n minChars: 2,\n frequency:
|
834
|
+
0.5\n }\n );\n \n new Ajax.Autocompleter('status_to1','status_to_auto1','/itd/amtrak/AutoComplete',
|
835
|
+
{\n paramName: \"_destination\",\n minChars: 2,\n frequency:
|
836
|
+
0.5\n }\n\t\t);\n\n // ]]>\n </script>\n\t \n
|
837
|
+
\ <!-- End HTML for Fare Finder -->\n \n \n<script language=\"JavaScript\"
|
838
|
+
type=\"text/javascript\"> \n<!--\n\nfunction CheckMandatoryTrainStatusFieldsForStatusByTrainNumber()
|
839
|
+
{\n\tvar errorMsg = \"\";\n\tvar fieldList = \"\";\t \n\n var arrivalStatus_checked
|
840
|
+
= document.ff_status_form1.status_arr.checked;\n var departureStatus_checked
|
841
|
+
= document.ff_status_form1.status_dep.checked; \n var origin = document.ff_status_form1.wdf_origin.value;\n
|
842
|
+
\ var destination = document.ff_status_form1.wdf_destination.value;\n var
|
843
|
+
trainNumber = document.ff_status_form1.wdf_trainNumber.value;\n\n if(trainNumber
|
844
|
+
== \"\") {\n trainNumber = \"\";\n } \n\n if (departureStatus_checked
|
845
|
+
&& origin == \"\") \n fieldList = fieldList + \" -- Departure Station\"
|
846
|
+
+ \"\\n\";\n \t\n if (arrivalStatus_checked && destination == \"\")\n
|
847
|
+
\ fieldList = fieldList + \" -- Arrival Station\" + \"\\n\";\n \n
|
848
|
+
\ if (trainNumber == \"\" || ((trainNumber != \"\") && (!IsNumber(trainNumber))))\n
|
849
|
+
\ fieldList = fieldList + \" -- Valid Train or Bus Number\" + \"\\n\";\n\n
|
850
|
+
\ if (fieldList != \"\") \n errorMsg = \"The following information
|
851
|
+
is needed to process your request:\" + \"\\n\" + fieldList;\n \n \n
|
852
|
+
\ if (errorMsg != \"\"){\n alert(errorMsg);\n return false;\n
|
853
|
+
\ }\n\n if(arrivalStatus_checked) {\n \tdocument.ff_status_form1.wdf_origin.value
|
854
|
+
= '';\n } else if(departureStatus_checked) {\n \tdocument.ff_status_form1.wdf_destination.value
|
855
|
+
= '';\n }\n return true; \n}\n\n\nfunction CheckMandatoryTrainStatusFieldsForStatusByCityPair()
|
856
|
+
{\n var errorMsg =\"\";\n var fieldList = \"\";\n \n var origin
|
857
|
+
= document.ff_status_form2.wdf_origin.value;\n var destination = document.ff_status_form2.wdf_destination.value;\n\n
|
858
|
+
\ if (origin == \"\") \n fieldList = fieldList + \" -- From\" + \"\\n\";\n
|
859
|
+
\ \n if (destination == \"\") \n fieldList =
|
860
|
+
fieldList + \" -- To\" + \"\\n\";\n \n if (fieldList != \"\")\n errorMsg
|
861
|
+
= \"The following information is needed to process your request:\" + \"\\n\"
|
862
|
+
+ fieldList;\n \n if (errorMsg != \"\") {\n alert(errorMsg);\n
|
863
|
+
\ return false;\n }\n \n return true; \n}\n\nfunction
|
864
|
+
CheckMandatoryScheduleFields(statusForm) {\n var errorMsg =\"\";\n var fieldList
|
865
|
+
= \"\";\n\t\n var origin = statusForm.wdf_origin.value;\n var destination
|
866
|
+
= statusForm.wdf_destination.value;\n \n if (origin == \"\" && destination
|
867
|
+
== \"\") \n fieldList = \"Problem with Departure and Arrival Station/City:
|
725
868
|
Please provide a valid departure and arrival station or city name and resubmit.
|
726
|
-
\\n[Error ID: 573S]\" + \"\\n\"
|
727
|
-
= fieldList + \"Problem with Departure and Arrival Station/City:
|
728
|
-
a valid departure and arrival station or city name and resubmit.
|
729
|
-
ID: 573S]\" + \"\\n\"
|
730
|
-
= fieldList + \"Problem with Departure and Arrival
|
731
|
-
a valid departure and arrival station or city
|
732
|
-
ID: 573S]\" + \"\\n\"
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
$('
|
739
|
-
|
869
|
+
\\n[Error ID: 573S]\" + \"\\n\"; \n\n if (origin != \"\" && destination ==
|
870
|
+
\"\") \n fieldList = fieldList + \"Problem with Departure and Arrival Station/City:
|
871
|
+
Please provide a valid departure and arrival station or city name and resubmit.
|
872
|
+
\\n[Error ID: 573S]\" + \"\\n\"; \n \n if (origin == \"\" && destination
|
873
|
+
!= \"\") \n fieldList = fieldList + \"Problem with Departure and Arrival
|
874
|
+
Station/City: Please provide a valid departure and arrival station or city
|
875
|
+
name and resubmit. \\n[Error ID: 573S]\" + \"\\n\"; \n\n if (fieldList !=
|
876
|
+
\"\") { \n errorMsg = \"The following information is needed to process
|
877
|
+
your request:\" + \"\\n\\n\" + fieldList;\n }\n if (errorMsg != \"\") {\n
|
878
|
+
\ alert(errorMsg);\n return false;\n }\n return true;\n}\n\nfunction
|
879
|
+
CheckMandatoryMyTripFields(theForm) {\n var errorMsg =\"\";\n var fieldList
|
880
|
+
= \"\";\n \n if ($('mytrip_res_num').value.empty()) {\n fieldList +=
|
881
|
+
\" -- reservation number\\n\";\n }\n if ($('mytrip_res_email').value.empty()
|
882
|
+
&& $('mytrip_res_zip').value.empty()) {\n fieldList += \" -- email address
|
883
|
+
or telephone number\\n\";\n }\n \n if (fieldList != \"\") {\n errorMsg=\"The
|
740
884
|
following information is needed to process your request:\" + \"\\n\" + fieldList+
|
741
|
-
\"\\n\\n\";\
|
742
|
-
CheckMandatoryMyTripFields(theForm) {\
|
743
|
-
= \"\";\
|
744
|
-
reservation number\\n\";\
|
745
|
-
$('mytrip_res_zip').value.empty()) {\
|
746
|
-
telephone number\\n\";\
|
885
|
+
\"\\n\\n\";\n alert(errorMsg);\n return false;\n }\n return true;\n}\n\nfunction
|
886
|
+
CheckMandatoryMyTripFields(theForm) {\n var errorMsg =\"\";\n var fieldList
|
887
|
+
= \"\";\n \n if ($('mytrip_res_num').value.empty()) {\n fieldList +=
|
888
|
+
\" -- reservation number\\n\";\n }\n if ($('mytrip_res_email').value.empty()
|
889
|
+
&& $('mytrip_res_zip').value.empty()) {\n fieldList += \" -- email address
|
890
|
+
or telephone number\\n\";\n }\n \n if (fieldList != \"\") {\n errorMsg=\"The
|
747
891
|
following information is needed to process your request:\" + \"\\n\" + fieldList+
|
748
|
-
\"\\n\\n\";\
|
749
|
-
CheckMandatoryLoginFields(theForm) {\
|
750
|
-
= \"\";\
|
751
|
-
+= \" -- username\\n\";\
|
752
|
-
\"\") {\
|
753
|
-
{\
|
754
|
-
+ \"\\n\" + fieldList+ \"\\n\\n\";\
|
755
|
-
|
756
|
-
= document.getElementById('status_train_num');\
|
757
|
-
4);\
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
\
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
== \"\") {\
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
==
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
892
|
+
\"\\n\\n\";\n alert(errorMsg);\n return false;\n }\n return true;\n}\n\nfunction
|
893
|
+
CheckMandatoryLoginFields(theForm) {\n var errorMsg =\"\";\n var fieldList
|
894
|
+
= \"\";\n \n if(eval(\"theForm.wdf_username.value\") == \"\") {\n fieldList
|
895
|
+
+= \" -- username\\n\";\n }\n if(eval(\"theForm.wdf_password.value\") ==
|
896
|
+
\"\") {\n fieldList += \" -- password\\n\";\n }\n \n if (fieldList !=
|
897
|
+
\"\") {\n errorMsg=\"The following information is needed to process your
|
898
|
+
request:\" + \"\\n\" + fieldList+ \"\\n\\n\";\n alert(errorMsg);\n return
|
899
|
+
false;\n }\n return true;\n}\n\n//Aibe-2026,Mac safari issue.\nfunction
|
900
|
+
updateMaxLength()\n{\n trainNum = document.getElementById('status_train_num');\n
|
901
|
+
\ trainNum.setAttribute(\"maxLength\", 4);\n}\n\nfunction validatePasswordSize()
|
902
|
+
{\n var memberPwd = document.getElementById('ff_memberpassword');\n if((memberPwd
|
903
|
+
!= null) && (memberPwd.value != \"\")) {\n \tif ((memberPwd.value.length
|
904
|
+
< '6') ||\n \t \t(memberPwd.value.length > '29') ) {\n \t return 'The password
|
905
|
+
you entered is invalid. Please try again or call 1-800-307-5000 for assistance
|
906
|
+
(Sunday - Saturday, 5 am - midnight ET). [Error ID: 1114R]'; \t\n\t} \n
|
907
|
+
\ }\n return \"\";\n}\n\nfunction checkRedeemMandatoryFields(theForm) {\n\t
|
908
|
+
\ var errorMsg =\"\";\n\t var fieldList = \"\";\n\t var origin = document.ff_redeem_form.agrdeparts.value;\n\t
|
909
|
+
\ var destination = document.ff_redeem_form.agrarrives.value;\n\t var startDate
|
910
|
+
= document.getElementById('wdfdate15').value;\n\t var memberNo = document.getElementById('ff_membernumber');\n\t
|
911
|
+
\ var memberPwd = document.getElementById('ff_memberpassword');\n\n\t if
|
912
|
+
(memberNo != null) { //member number null means login was already validated\n\t
|
913
|
+
\ \tif (memberNo.value == \"\") {\n\t\t\tfieldList = fieldList + \" -- Member
|
914
|
+
Number\\n\";\n\t\t}\t\n\t }\n\t \n\t if(memberPwd != null) {//member password
|
915
|
+
null means login was already validated\n\t \tif (memberPwd.value == \"\")
|
916
|
+
{\n\t\t fieldList = fieldList + \" -- Member Passsword\\n\";\n\t\t} \n\t
|
917
|
+
\ }\n\t \n\t if (origin == \"\") {\n\t fieldList = fieldList + \" --
|
918
|
+
From\\n\";\n\t }\n\n\t if(destination == \"\") {\n\t fieldList = fieldList
|
919
|
+
+ \" -- To\\n\";\n\t }\n\t \n\t if (startDate == \"\" || startDate == 'Select
|
920
|
+
a date') {\n\t fieldList = fieldList + \" -- Day\\n\";\n\t }\n\n\t if
|
921
|
+
(fieldList != \"\") {\n\t\terrorMsg=\"The following information is needed
|
922
|
+
to process your request:\" + \"\\n\" + fieldList+ \"\\n\\n\";\n\t\talert(errorMsg);\n\t\treturn
|
923
|
+
false;\n\t }\n\t \n\t return fieldList;\n}\n\nfunction checkValidCouponCode(id){\n\n\tvar
|
924
|
+
errorMsg='';\n\tvar newCouponCode = document.getElementById(id).value;\n\n
|
925
|
+
\ if(newCouponCode == \"Promo Code\") {\n document.getElementById('ff_disc_promoCode').value
|
926
|
+
= \"\";\n newCouponCode= \"\"\n } \n\n\tnewCouponCode = trim(newCouponCode);\n\t\n
|
927
|
+
\ if(newCouponCode == '')\n return true;\n\n var isValidCode =
|
928
|
+
validateCouponCode(newCouponCode);\n \n if(isValidCode == false) {\n
|
929
|
+
\ errorMsg = 'Problem with Promotion Code: The Promotion Code you entered
|
930
|
+
is not valid. Please check for accuracy and re-enter it, or continue without
|
931
|
+
it. \\n[Error ID: 744S]';\n \n } \n\n if (errorMsg!=\"\"){\n
|
932
|
+
\ alert(errorMsg);\n return false;\n } else {\n \treturn
|
933
|
+
true;\n }\n\n}\nfunction trim(s) {\n return s.replace(/^\\s+|\\s+$/g,
|
934
|
+
\"\");\n}\n\nfunction ValidateStatusDate(id){\n var errMsg=\"\";\n var
|
935
|
+
mindate = new Date();\n var maxdate = new Date();\n var numberOfDaysToAdd
|
936
|
+
= +5;\n var numberOfPastDays = -5;\n mindate.setDate(mindate.getDate()
|
937
|
+
+ numberOfPastDays); \n mindate= $j.datepicker.formatDate('mm/dd/yy', mindate);\n
|
938
|
+
\ maxdate.setDate(maxdate.getDate() + numberOfDaysToAdd); \n maxdate=
|
939
|
+
$j.datepicker.formatDate('mm/dd/yy', maxdate);\n var depdate=document.getElementById(id).value;\n
|
940
|
+
\ \n if (depdate != \"\" && validDateRange(mindate,maxdate,depdate) ==
|
941
|
+
false ){\n \terrMsg = 'Train status information is available only for today\\'s
|
942
|
+
date, five days in the past, and five days in the future. Please select a
|
943
|
+
valid date and resubmit.[Error ID: 568S]' ;\n }\n if (null != errMsg
|
944
|
+
&& errMsg != \"\" ) {\n alert(errMsg);\n return false;\n
|
945
|
+
\ } else {\n return true;\n }\n \n\n}\nfunction ValidateRedeemDate(id){\n
|
946
|
+
\ var errMsg=\"\";\n var mindate = new Date();\n var newdate = new
|
947
|
+
Date();\n\tvar numberOfDaysToAdd = '+335d';\n\tnumberOfDaysToAdd = parseInt(numberOfDaysToAdd.replace(/\\D/g,''));\n
|
948
|
+
\ var mindate= $j.datepicker.formatDate('mm/dd/yy', newdate);\n newdate.setDate(newdate.getDate()
|
949
|
+
+ numberOfDaysToAdd); \n var maxdate= $j.datepicker.formatDate('mm/dd/yy',
|
950
|
+
newdate);\n var depdate=document.getElementById(\"wdfdate15\").value;\n
|
951
|
+
\ \n if (depdate != \"\" && validMinDateRange(mindate,depdate) == false
|
952
|
+
){\n errMsg = 'Problem with Travel Date: Our system cannot make reservations
|
953
|
+
for dates in the past. Check your date(s) and try again. [Error ID: 532S]\\n\\n'
|
954
|
+
;\n }\n if (depdate != \"\" && validMaxDateRange(maxdate,depdate) ==
|
955
|
+
false ){\n errMsg = 'Problem with Travel Date: Our system cannot make
|
956
|
+
reservations for dates more than 11 months in the future. Check your date(s)
|
957
|
+
and try again. [Error ID: 533S]' ;\n }\n \n if (null != errMsg &&
|
958
|
+
errMsg != \"\" ) {\n alert(errMsg);\n return false;\n
|
959
|
+
\ } else {\n return true;\n }\n \n\n}\n\n\n//-->\n</script>\n
|
960
|
+
\n \n\r\n\r\n<meta name=\"WT.cg_s\" content=\"book\" />\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div
|
787
961
|
id=\"special_booking_menu\">\r\n\r\n</div>\r\n\r\n\r\n\r\n\r\n\r\n<style type=\"text/css\">\r\n<!--\r\n@import
|
788
|
-
url(/css/basic_booking.css);\r\n-->\r\n</style>\r\n\r\n\r\n\r\n<span
|
789
|
-
id=\"
|
962
|
+
url(/css/basic_booking.css?v=1.3);\r\n-->\r\n</style>\r\n\r\n\r\n\r\n<span
|
963
|
+
id=\"IB_diginet_div\">\r\n\r\n</span>\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div
|
964
|
+
id=\"mb_column_1_confirmation\">\r\n<form name=\"form\" action=\"https://tickets.amtrak.com/itd/amtrak\"
|
790
965
|
method=\"post\"><input type=\"hidden\" name=\"requestor\" value=\"amtrak.presentation.handler.page.rail.AmtrakRailGetTrainStatusPageHandler\"
|
791
966
|
/>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<style type=\"text/css\">\r\n#pagination_bar
|
792
967
|
{\r\nclear:both;\r\npadding-top: 20px;\r\nfont-family: Arial, Verdana, Helvetica,
|
@@ -808,10 +983,12 @@ http_interactions:
|
|
808
983
|
60%;\r\nbackground:#fff;\r\ntext-align:center;\r\npadding:10px;\r\nfont:normal
|
809
984
|
16px Tahoma, Geneva, sans-serif;\r\nborder:1px solid #666;\r\nmargin-left:
|
810
985
|
-50px;\r\nmargin-top: -50px;\r\nz-index:2;\r\noverflow: auto;\r\n}\r\n#overlay
|
811
|
-
{\r\nbackground-color:#EEE;\r\n}\r\n
|
812
|
-
|
986
|
+
{\r\nbackground-color:#EEE;\r\n}\r\n.statusalert_icon{\r\nfloat:left;\r\npadding:
|
987
|
+
9px 10px 0 10px;\r\n}\r\n.statusalert_icon2{\r\npadding-right:10px;\r\npadding-top:3px;\r\nfloat:left;\r\n}\r\n</style>\r\n<script
|
988
|
+
language=\"JavaScript\" type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/basic_pagination_trainstatus.js\"></script>\r\n<script
|
989
|
+
language=\"JavaScript\" type=\"text/javascript\" src=\"/itd/project/scripts/en/amtrak/selecttrain.js\"></script>\r\n<script
|
813
990
|
type=\"text/javascript\">\r\nvar pageDisplay = '10';\r\nvar currentPage =
|
814
|
-
0;\r\nvar availabilityLength = '
|
991
|
+
0;\r\nvar availabilityLength = '16';\r\nvar trainStatusType = 'statusByCityPair';\r\nvar
|
815
992
|
statusResult;\r\nElement.observe(window, 'load', function(){\r\nshow_ff_tab('status');\r\nif(trainStatusType
|
816
993
|
== 'statusByTrainNumber') {\r\nswitchToStatusByTrain();\r\n} else if(trainStatusType
|
817
994
|
== 'statusByCityPair') {\r\nswitchToStatusByCity();\r\n}\r\nsetDepartOrArrivalFieldVisibility();\r\npageFilterDisplay(availabilityLength);\r\n});\r\n</script>\r\n\r\n\r\n<div>\r\n<h1
|
@@ -823,172 +1000,209 @@ http_interactions:
|
|
823
1000
|
id=\"resp_by_citypair_heading_right\">\r\n<div>BBY</div>\r\n<div id=\"resp_by_citypair_heading_line2\">Boston,
|
824
1001
|
MA</div>\r\n</div>\r\n\r\n</div>\r\n<div id=\"train_status_spacing1\"></div>\r\n\r\n\r\n<div
|
825
1002
|
id=\"train_status_resp_by_citypair\">\r\n<div id=\"resp_by_citypair_subheading\">\r\n<div
|
826
|
-
id=\"resp_by_citypair_subheading_trainname\">\r\
|
1003
|
+
id=\"resp_by_citypair_subheading_trainname\">\r\n<a style=\"display:none;\"
|
1004
|
+
class=\"button\" href=\"\" name=\"selecttrainAlerts_Northeast Regional2015-12-30\"><img
|
1005
|
+
class=\"service_alert statusalert_icon\" alt=\"Service Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\"
|
1006
|
+
/></a><div class=\"ts_servicename\">178 Northeast Regional</div>\r\n</div>\r\n</div>\r\n\r\n<div
|
827
1007
|
id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
828
1008
|
class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"arriveDepartDelayedMsg\">
|
829
|
-
Departed</div>\r\n<div class=\"delayedMsg\">
|
830
|
-
class=\"arriveDepartTime\">
|
831
|
-
Dec
|
832
|
-
Departure
|
1009
|
+
Departed</div>\r\n<div class=\"delayedMsg\">1 minute late</div>\r\n\r\n<div
|
1010
|
+
class=\"arriveDepartTime\">11:38 pm</div>\r\n<div class=\"arriveDepartDate\">Wed,
|
1011
|
+
Dec 30 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1012
|
+
Departure 11:37 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
833
1013
|
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n<img src=\"/images/en/ontime-arrived.png\"
|
834
1014
|
/>\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div
|
835
1015
|
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
836
|
-
class=\"arriveDepartOntimeMsg\"> Arrived</div>\r\n<div class=\"ontimeMsg\">
|
837
|
-
minutes early</div>\r\n\r\n\r\n<div class=\"arriveDepartTime\">
|
838
|
-
class=\"arriveDepartDate\">
|
839
|
-
class=\"scheduledArriveDepartMsg\">\r\nScheduled Arrival
|
1016
|
+
class=\"arriveDepartOntimeMsg\"> Arrived</div>\r\n<div class=\"ontimeMsg\">9
|
1017
|
+
minutes early</div>\r\n\r\n\r\n<div class=\"arriveDepartTime\">12:15 am</div>\r\n<div
|
1018
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n<div
|
1019
|
+
class=\"scheduledArriveDepartMsg\">\r\nScheduled Arrival 12:24 am\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
840
1020
|
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
841
|
-
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\
|
842
|
-
|
843
|
-
class=\"
|
844
|
-
|
845
|
-
|
846
|
-
class=\"
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
class=\"
|
854
|
-
class=\"
|
1021
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1022
|
+
style=\"display:none;\" class=\"button\" href=\"\" name=\"selecttrainAlerts_Northeast
|
1023
|
+
Regional2015-12-31\"><img class=\"service_alert statusalert_icon\" alt=\"Service
|
1024
|
+
Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\" /></a><div class=\"ts_servicename\">66 Northeast
|
1025
|
+
Regional</div>\r\n</div>\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div
|
1026
|
+
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1027
|
+
class=\"arriveDepartDelayedMsg\"> Departed</div>\r\n<div class=\"delayedMsg\">11
|
1028
|
+
minutes late</div>\r\n\r\n<div class=\"arriveDepartTime\">7:07 am</div>\r\n<div
|
1029
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1030
|
+
Departure 6:56 am\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1031
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n<img src=\"/images/en/ontime-arrived.png\"
|
1032
|
+
/>\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div
|
1033
|
+
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1034
|
+
class=\"arriveDepartOntimeMsg\"> Arrived</div>\r\n<div class=\"ontimeMsg\">9
|
1035
|
+
minutes early</div>\r\n\r\n\r\n<div class=\"arriveDepartTime\">7:44 am</div>\r\n<div
|
1036
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n<div
|
1037
|
+
class=\"scheduledArriveDepartMsg\">\r\nScheduled Arrival 7:53 am\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
855
1038
|
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
856
|
-
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\
|
857
|
-
|
858
|
-
class=\"
|
859
|
-
|
860
|
-
|
861
|
-
class=\"
|
862
|
-
|
863
|
-
|
864
|
-
|
1039
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1040
|
+
style=\"display:none;\" class=\"button\" href=\"\" name=\"selecttrainAlerts_Acela
|
1041
|
+
Express2015-12-31\"><img class=\"service_alert statusalert_icon\" alt=\"Service
|
1042
|
+
Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\" /></a><div class=\"ts_servicename\">2190 Acela
|
1043
|
+
Express</div>\r\n</div>\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div
|
1044
|
+
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1045
|
+
class=\"arriveDepartDelayedMsg\"> Departed</div>\r\n<div class=\"delayedMsg\">4
|
1046
|
+
minutes late</div>\r\n\r\n<div class=\"arriveDepartTime\">9:22 am</div>\r\n<div
|
1047
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1048
|
+
Departure 9:18 am\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1049
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<img
|
1050
|
+
src=\"/images/en/no-status-available-enroute.png\" />\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div
|
865
1051
|
id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
866
1052
|
class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
867
|
-
class=\"
|
868
|
-
|
869
|
-
|
870
|
-
class=\"scheduledArriveDepartMsg\">\r\nScheduled Arrival 5:13 pm\r\n</div>\r\n\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
871
|
-
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
872
|
-
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n2252 Acela
|
873
|
-
Express\r\n</div>\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div
|
874
|
-
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
875
|
-
class=\"arriveDepartDelayedMsg\">Estimated Departure</div>\r\n<div class=\"delayedMsg\">
|
876
|
-
1 minute late</div>\r\n\r\n<div class=\"arriveDepartTime\">5:01 pm</div>\r\n<div
|
877
|
-
class=\"arriveDepartDate\">Sun, Dec 7 2014</div>\r\n\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
878
|
-
Departure 5:00 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
879
|
-
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<img src=\"/images/en/ontime-enroute.png\"
|
880
|
-
/>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div
|
881
|
-
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
882
|
-
class=\"arriveDepartOntimeMsg\">Estimated Arrival</div>\r\n<div class=\"ontimeMsg\">
|
883
|
-
14 minutes early</div>\r\n\r\n\r\n<div class=\"arriveDepartTime\">5:25 pm</div>\r\n<div
|
884
|
-
class=\"arriveDepartDate\">Sun, Dec 7 2014</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
885
|
-
class=\"scheduledArriveDepartMsg\">\r\nScheduled Arrival 5:39 pm\r\n</div>\r\n\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
886
|
-
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
887
|
-
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n88 Northeast
|
888
|
-
Regional\r\n</div>\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div
|
889
|
-
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
890
|
-
class=\"arriveDepartDelayedMsg\">Estimated Departure</div>\r\n<div class=\"delayedMsg\">
|
891
|
-
2 minutes late</div>\r\n\r\n<div class=\"arriveDepartTime\">6:29 pm</div>\r\n<div
|
892
|
-
class=\"arriveDepartDate\">Sun, Dec 7 2014</div>\r\n\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
893
|
-
Departure 6:27 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
894
|
-
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<img src=\"/images/en/ontime-enroute.png\"
|
895
|
-
/>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div
|
896
|
-
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
897
|
-
class=\"arriveDepartOntimeMsg\">Estimated Arrival</div>\r\n<div class=\"ontimeMsg\">
|
898
|
-
16 minutes early</div>\r\n\r\n\r\n<div class=\"arriveDepartTime\">6:58 pm</div>\r\n<div
|
899
|
-
class=\"arriveDepartDate\">Sun, Dec 7 2014</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
900
|
-
class=\"scheduledArriveDepartMsg\">\r\nScheduled Arrival 7:14 pm\r\n</div>\r\n\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1053
|
+
class=\"statusUnavailableMsg\">Status unavailable</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1054
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1055
|
+
Arrival 9:59 am\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
901
1056
|
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
902
|
-
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\
|
903
|
-
|
904
|
-
class=\"
|
905
|
-
|
906
|
-
|
907
|
-
class=\"
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
class=\"
|
915
|
-
class=\"
|
1057
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1058
|
+
style=\"display:none;\" class=\"button\" href=\"\" name=\"selecttrainAlerts_Northeast
|
1059
|
+
Regional2015-12-31\"><img class=\"service_alert statusalert_icon\" alt=\"Service
|
1060
|
+
Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\" /></a><div class=\"ts_servicename\">190 Northeast
|
1061
|
+
Regional</div>\r\n</div>\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div
|
1062
|
+
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1063
|
+
class=\"arriveDepartDelayedMsg\"> Departed</div>\r\n<div class=\"delayedMsg\">7
|
1064
|
+
minutes late</div>\r\n\r\n<div class=\"arriveDepartTime\">10:24 am</div>\r\n<div
|
1065
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1066
|
+
Departure 10:17 am\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1067
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n<img src=\"/images/en/ontime-arrived.png\"
|
1068
|
+
/>\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div
|
1069
|
+
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1070
|
+
class=\"arriveDepartOntimeMsg\"> Arrived</div>\r\n<div class=\"ontimeMsg\">4
|
1071
|
+
minutes early</div>\r\n\r\n\r\n<div class=\"arriveDepartTime\">10:55 am</div>\r\n<div
|
1072
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n<div
|
1073
|
+
class=\"scheduledArriveDepartMsg\">\r\nScheduled Arrival 10:59 am\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
916
1074
|
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
917
|
-
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\
|
918
|
-
|
919
|
-
class=\"
|
920
|
-
class=\"
|
921
|
-
|
922
|
-
class=\"
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
class=\"
|
1075
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1076
|
+
style=\"display:none;\" class=\"button\" href=\"\" name=\"selecttrainAlerts_null2015-12-31\"><img
|
1077
|
+
class=\"service_alert statusalert_icon\" alt=\"Service Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\"
|
1078
|
+
/></a><div class=\"ts_servicename\">2192 </div>\r\n</div>\r\n</div>\r\n\r\n<div
|
1079
|
+
id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1080
|
+
class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"arriveDepartDelayedMsg\">
|
1081
|
+
Departed</div>\r\n<div class=\"delayedMsg\">16 minutes late</div>\r\n\r\n<div
|
1082
|
+
class=\"arriveDepartTime\">11:09 am</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1083
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1084
|
+
Departure 10:53 am\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1085
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<img
|
1086
|
+
src=\"/images/en/no-status-available-enroute.png\" />\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div
|
1087
|
+
id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1088
|
+
class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1089
|
+
class=\"statusUnavailableMsg\">Status unavailable</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1090
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1091
|
+
Arrival 11:34 am\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
931
1092
|
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
932
|
-
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\
|
933
|
-
|
934
|
-
class=\"
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
1093
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1094
|
+
style=\"display:none;\" class=\"button\" href=\"\" name=\"selecttrainAlerts_Northeast
|
1095
|
+
Regional2015-12-31\"><img class=\"service_alert statusalert_icon\" alt=\"Service
|
1096
|
+
Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\" /></a><div class=\"ts_servicename\">170 Northeast
|
1097
|
+
Regional</div>\r\n</div>\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div
|
1098
|
+
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1099
|
+
class=\"arriveDepartDelayedMsg\"> Departed</div>\r\n<div class=\"delayedMsg\">3
|
1100
|
+
minutes late</div>\r\n\r\n<div class=\"arriveDepartTime\">12:01 pm</div>\r\n<div
|
1101
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1102
|
+
Departure 11:58 am\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1103
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<img
|
1104
|
+
src=\"/images/en/no-status-available-enroute.png\" />\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div
|
940
1105
|
id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
941
1106
|
class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
942
|
-
class=\"statusUnavailableMsg\">Status
|
943
|
-
|
944
|
-
|
1107
|
+
class=\"statusUnavailableMsg\">Status unavailable</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1108
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1109
|
+
Arrival 12:39 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
945
1110
|
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
946
|
-
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\
|
947
|
-
|
948
|
-
class=\"
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
1111
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1112
|
+
style=\"display:none;\" class=\"button\" href=\"\" name=\"selecttrainAlerts_Acela
|
1113
|
+
Express2015-12-31\"><img class=\"service_alert statusalert_icon\" alt=\"Service
|
1114
|
+
Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\" /></a><div class=\"ts_servicename\">2154 Acela
|
1115
|
+
Express</div>\r\n</div>\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div
|
1116
|
+
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1117
|
+
class=\"arriveDepartDelayedMsg\"> Departed</div>\r\n<div class=\"delayedMsg\">6
|
1118
|
+
minutes late</div>\r\n\r\n<div class=\"arriveDepartTime\">1:01 pm</div>\r\n<div
|
1119
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1120
|
+
Departure 12:55 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1121
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<img
|
1122
|
+
src=\"/images/en/no-status-available-enroute.png\" />\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div
|
954
1123
|
id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
955
1124
|
class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
956
|
-
class=\"statusUnavailableMsg\">Status
|
957
|
-
|
958
|
-
|
1125
|
+
class=\"statusUnavailableMsg\">Status unavailable</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1126
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1127
|
+
Arrival 1:34 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
959
1128
|
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
960
|
-
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\
|
961
|
-
|
962
|
-
class=\"
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
1129
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1130
|
+
style=\"display:none;\" class=\"button\" href=\"\" name=\"selecttrainAlerts_Northeast
|
1131
|
+
Regional2015-12-31\"><img class=\"service_alert statusalert_icon\" alt=\"Service
|
1132
|
+
Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\" /></a><div class=\"ts_servicename\">172 Northeast
|
1133
|
+
Regional</div>\r\n</div>\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div
|
1134
|
+
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1135
|
+
class=\"arriveDepartDelayedMsg\"> Departed</div>\r\n<div class=\"delayedMsg\">8
|
1136
|
+
minutes late</div>\r\n\r\n<div class=\"arriveDepartTime\">2:31 pm</div>\r\n<div
|
1137
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1138
|
+
Departure 2:23 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1139
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n<img src=\"/images/en/ontime-arrived.png\"
|
1140
|
+
/>\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div
|
1141
|
+
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1142
|
+
class=\"arriveDepartOntimeMsg\"> Arrived</div>\r\n<div class=\"ontimeMsg\">4
|
1143
|
+
minutes early</div>\r\n\r\n\r\n<div class=\"arriveDepartTime\">3:05 pm</div>\r\n<div
|
1144
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n<div
|
1145
|
+
class=\"scheduledArriveDepartMsg\">\r\nScheduled Arrival 3:09 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1146
|
+
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
1147
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1148
|
+
style=\"display:none;\" class=\"button\" href=\"\" name=\"selecttrainAlerts_Acela
|
1149
|
+
Express2015-12-31\"><img class=\"service_alert statusalert_icon\" alt=\"Service
|
1150
|
+
Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\" /></a><div class=\"ts_servicename\">2158 Acela
|
1151
|
+
Express</div>\r\n</div>\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div
|
1152
|
+
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1153
|
+
class=\"arriveDepartDelayedMsg\"> Departed</div>\r\n<div class=\"delayedMsg\">8
|
1154
|
+
minutes late</div>\r\n\r\n<div class=\"arriveDepartTime\">3:02 pm</div>\r\n<div
|
1155
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1156
|
+
Departure 2:54 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1157
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<img
|
1158
|
+
src=\"/images/en/no-status-available-enroute.png\" />\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div
|
968
1159
|
id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
969
1160
|
class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
970
|
-
class=\"statusUnavailableMsg\">Status
|
971
|
-
|
972
|
-
|
973
|
-
id=\"train_status_spacing\"></div>\r\n\r\n
|
974
|
-
id=\"
|
975
|
-
class=\"
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
1161
|
+
class=\"statusUnavailableMsg\">Status unavailable</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1162
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1163
|
+
Arrival 3:36 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1164
|
+
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
1165
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1166
|
+
style=\"display:none;\" class=\"button\" href=\"\" name=\"selecttrainAlerts_Northeast
|
1167
|
+
Regional2015-12-31\"><img class=\"service_alert statusalert_icon\" alt=\"Service
|
1168
|
+
Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\" /></a><div class=\"ts_servicename\">86 Northeast
|
1169
|
+
Regional</div>\r\n</div>\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div
|
1170
|
+
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1171
|
+
class=\"arriveDepartDelayedMsg\"> Departed</div>\r\n<div class=\"delayedMsg\">2
|
1172
|
+
minutes late</div>\r\n\r\n<div class=\"arriveDepartTime\">3:49 pm</div>\r\n<div
|
1173
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1174
|
+
Departure 3:47 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1175
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n<img src=\"/images/en/delayed-arrived.png\"
|
1176
|
+
/>\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div
|
1177
|
+
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1178
|
+
class=\"arriveDepartDelayedMsg\"> Arrived</div>\r\n<div class=\"delayedMsg\">2
|
1179
|
+
minutes late</div>\r\n\r\n<div class=\"arriveDepartTime\">4:30 pm</div>\r\n<div
|
1180
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n<div
|
1181
|
+
class=\"scheduledArriveDepartMsg\">\r\nScheduled Arrival 4:28 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1182
|
+
id=\"train_status_spacing\"></div>\r\n\r\n</div>\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1183
|
+
id=\"serviceAlertsXml\"></div>\r\n<script language=\"JavaScript\" type=\"text/javascript\">\r\nvar
|
1184
|
+
url = \"/\" + \"itd/amtrak\" + \"/DisplayFareFamiliesServiceInfo\";\r\n//display
|
1185
|
+
service alerts\r\nnew Ajax.Request(url,\r\n{ method: 'post',\r\nparameters:
|
1186
|
+
{'functionName':'serviceAlerts','param1':'depart'},\r\nonSuccess: function
|
1187
|
+
(transport) {\r\nif(transport.responseText!='') {\r\n$('serviceAlertsXml').update(transport.responseText);\r\nvar
|
1188
|
+
xmlstr = transport.responseText;\r\nshowFareFamilyServiceAlertsLinks(xmlstr);\r\n}\r\n}\r\n});\r\n</script>\r\n\r\n<div
|
1189
|
+
id=\"pagination_bar\">\r\n<div id=\"pagination_data\"></div>\r\n<div id=\"pagination_nav\"></div>\r\n<br
|
1190
|
+
class=\"clear_both\" />\r\n</div>\r\n\r\n<hr class=\"after_pagination_bar\"
|
1191
|
+
/>\r\n\r\n<br class=\"clear_both\" />\r\n<div id=\"loadingtrain\" style=\"display:none\">Loading...</div>\r\n<div
|
1192
|
+
id=\"loadingfailed\" style=\"display: none\">We're sorry, we're unable to
|
1193
|
+
process your request.<img src=\"/images/en/error_icon.gif\"></div>\r\n\r\n\r\n\r\n<meta
|
1194
|
+
name=\"WT.cg_s\" content=\"status\" />\r\n\n<meta name=\"DCSext.NBR\" content=\"preencoded:178;66;2190;190;2192;170;2154;172;2158;86\"
|
980
1195
|
/>\n<meta name=\"DCSext.ORG\" content=\"PVD\" />\n<meta name=\"DCSext.DST\"
|
981
|
-
content=\"BBY\" />\n<meta name=\"DCSext.DDT\" content=\"
|
982
|
-
name=\"DCSext.ADT\" content=\"
|
983
|
-
class=\"clear_both\" />\r\n</div>\r\n</div>\r\n</div>\r\n\r\n\r\n<script
|
984
|
-
getProfileStr(){\r\nreturn 'amtrak';\r\n}\r\ndocument.write('<meta
|
985
|
-
content=\"'+getProfileStr()+'\" />');\r\n// -->\r\n</script>\r\n<meta
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
-----------------------------------------------------------------------------------
|
1196
|
+
content=\"BBY\" />\n<meta name=\"DCSext.DDT\" content=\"2015/12/30\" />\n<meta
|
1197
|
+
name=\"DCSext.ADT\" content=\"2015/12/31\" />\n\r\n\r\n\r\n</form>\r\n</div>\r\n<br
|
1198
|
+
class=\"clear_both\" />\r\n</div>\r\n</div>\r\n</div>\r\n\r\n\t \t\r\n<script
|
1199
|
+
language=\"JavaScript\">\r\n<!--\r\nfunction getProfileStr(){\r\nreturn 'amtrak';\r\n}\r\ndocument.write('<meta
|
1200
|
+
name=\"DCSext.PROFILE\" content=\"'+getProfileStr()+'\" />');\r\n// -->\r\n</script>\r\n<meta
|
1201
|
+
name=\"WT.cg_n\" content=\"booking\" />\r\n\r\n\r\n\t \r\n<!-- START OF
|
1202
|
+
SmartSource Data Collector TAG -->\r\n<!-- Copyright (c) 1996-2011 WebTrends
|
1203
|
+
Inc. All rights reserved. -->\r\n<!-- Version: 9.3.0 -->\r\n<!-- Tag Builder
|
1204
|
+
Version: 3.1 -->\r\n<!-- Created: 2/11/2011 4:14:35 PM -->\r\n<script src=\"/itd/project/scripts/en/sitewise/webtrends_session.js\"
|
1205
|
+
type=\"text/javascript\"></script>\r\n<!-- -----------------------------------------------------------------------------------
|
992
1206
|
-->\r\n<!-- Warning: The two script blocks below must remain inline. Moving
|
993
1207
|
them to an external -->\r\n<!-- JavaScript include file can cause serious
|
994
1208
|
problems with cross-domain tracking. -->\r\n<!-- -----------------------------------------------------------------------------------
|
@@ -998,15 +1212,54 @@ http_interactions:
|
|
998
1212
|
type=\"text/javascript\">\r\n//<![CDATA[\r\n_tag.dcsCustom=function(){\r\n//
|
999
1213
|
Add custom parameters here.\r\n//_tag.DCSext.param_name=param_value;\r\n}\r\n_tag.dcsCollect();\r\n//]]>\r\n</script>\r\n<noscript>\r\n<div><img
|
1000
1214
|
alt=\"DCSIMG\" id=\"DCSIMG\" width=\"1\" height=\"1\" src=\"http://statse.webtrendslive.com/dcsn42u4k11e5hyzziz7zntl5_1j8l/njs.gif?dcsuri=/nojavascript&WT.js=No&DCS.dcscfg=1&WT.tv=9.3.0&WT.dcssip=www.amtrak.com\"/></div>\r\n</noscript>\r\n<!--
|
1001
|
-
END OF SmartSource Data Collector TAG -->\r\n\r\n\r\n
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1215
|
+
END OF SmartSource Data Collector TAG -->\r\n\r\n\t \t\r\n \r\n \r\n
|
1216
|
+
\ \r\n\r\n\r\n<div id=\"forgot_passwordwin\" >\r\n<div id=\"pwdwin_error\"
|
1217
|
+
class=\"error\"> </div>\r\n<h3>Reset Your Password</h3>\r\n\r\n<div id=\"confirmpwdreset\"
|
1218
|
+
style=\"display:none;\">\r\n<p>An e-mail with password reset instructions
|
1219
|
+
is on its way.</p>\r\n</div>\r\n<div id=\"pwdresetsec\">\r\n<p>To receive
|
1220
|
+
an e-mail that allows you to reset your password, please enter the e-mail
|
1221
|
+
address associated with your account. </p>\r\n<label for=\"emailaddress\">E-mail
|
1222
|
+
Address</label><br/>\r\n<input type=\"hidden\" name=\"xwdf_email_address\"
|
1223
|
+
value=\"/sessionWorkflow/userWorkflow/profilePersonRequirements/primaryEmailAddress\"
|
1224
|
+
/><input class=\"forgotpwd_emailaddress \" autocomplete=\"off\" type=\"text\"
|
1225
|
+
size=\"32\" id=\"pwdemailaddress\" maxlength=\"64\" name=\"wdf_email_address\"
|
1226
|
+
/><br/>\r\n<input type=\"image\" alt=\"\" name=\"_xpath=/sessionWorkflow/userWorkflow/profilePersonRequirements\"
|
1227
|
+
onclick=\"javascript:sendPasswordReset()\" src=\"/images/en/btn_continue.gif\"
|
1228
|
+
border=\"0\" />\r\n</div>\r\n\r\n</div>\r\n<script>\r\n<!--\r\nvar closeCrossButton
|
1229
|
+
= '<a id=\"forgotpassword_close\" class=\"button right_align\" href=\"javascript:closeForgotPwdBox();\"><img
|
1230
|
+
\ src=\"/images/en/btn_windowClose.png\" alt=\"Close\" /></a>';\r\nfunction
|
1231
|
+
show_disabledFareAlert() {\r\ndocument.getElementById(\"forgot_passwordwin\").style.display
|
1232
|
+
= 'block';\r\n}\r\nfunction closeForgotPwdBox() {\r\nvar $j = jQuery.noConflict();\r\n$j(\".ui-dialog-content\").dialog(\"close\");\r\n}\r\nfunction
|
1233
|
+
openForgotPwdBox() {\r\nvar $j = jQuery.noConflict();\r\n$j( document ).ready(function()
|
1234
|
+
{\r\n$j( \"#forgot_passwordwin\" ).dialog({\r\nresizable: false,\r\nwidth:100,\r\ndialogClass:'pwdwin',\r\nmodal:
|
1235
|
+
true\r\n});\r\nif ($('forgotpassword_close') == null) {\r\n$j($('forgot_passwordwin')).before(closeCrossButton);\r\n}\r\n$j(\".ui-dialog\").position({\r\n\"my\":
|
1236
|
+
\"left top+300\",\r\n\"at\": \"left+400\",\r\n\"of\": $j(\"#top_navigation_body\")\r\n});\r\n$j('#forgotpassword_close').blur();\r\ndocument.getElementById(\"pwdwin_error\").style.display
|
1237
|
+
= 'none';\r\ndocument.getElementById(\"forgot_passwordwin\" ).style.display
|
1238
|
+
= 'block';\r\ndocument.getElementById(\"confirmpwdreset\").style.display =
|
1239
|
+
'none';\r\ndocument.getElementById(\"pwdresetsec\").style.display = 'block';\r\n});\r\n}\r\nfunction
|
1240
|
+
sendPasswordReset(){\r\nvar emailaddress = document.getElementById('pwdemailaddress').value;\r\nvar
|
1241
|
+
url = \"/\" + \"itd/amtrak\" + \"/resetpassword\";\r\ndocument.getElementById(\"pwdwin_error\").innerHTML
|
1242
|
+
= \"\";\r\ndocument.getElementById(\"pwdwin_error\").style.display = 'none';\r\nnew
|
1243
|
+
Ajax.Request(url,\r\n{ method: 'post',\r\nparameters: {'emailaddress':emailaddress},\r\nonComplete:
|
1244
|
+
function (transport) {\r\nif(transport.responseText!='') {\r\nif(transport.responseText
|
1245
|
+
== 'valid') {\r\ndocument.getElementById(\"pwdresetsec\").style.display =
|
1246
|
+
'none';\r\ndocument.getElementById(\"confirmpwdreset\").style.display = 'block';\r\n}
|
1247
|
+
else {\r\ndocument.getElementById(\"confirmpwdreset\").style.display = 'none';\r\ndocument.getElementById(\"pwdresetsec\").style.display
|
1248
|
+
= 'block';\r\ndocument.getElementById(\"pwdwin_error\").innerHTML = transport.responseText;\r\ndocument.getElementById(\"pwdwin_error\").style.display
|
1249
|
+
= 'block';\r\n}\r\n}\r\n},\r\nonFailure: function (transport) {\r\ndocument.getElementById(\"confirmpwdreset\").style.display
|
1250
|
+
= 'none';\r\n}\r\n});\r\n}\r\n//-->\r\n</script>\r\n\r\n \r\n \r\n\t
|
1251
|
+
\ \t\r\n\t \t\r\n <!-- javascript for SSO -->\r\n\t <script type=\"text/javascript\">\r\n\t
|
1252
|
+
\ var agrHost = ((\"https:\"== document.location.protocol) ? \"https://agr.amtrak.com/m/js\":\"http://agr.amtrak.com/m/js\");
|
1253
|
+
\r\n \t document.write(\r\n unescape(\"%3Cscript
|
1254
|
+
src='\" + agrHost + \"/shoebox-simple.js' type='text/javascript'%3E%3C/script%3E\")\r\n
|
1255
|
+
\ );\r\n\t </script>\r\n <!-- mp_trans_remove_start
|
1256
|
+
--><script type=\"text/javascript\" language=\"javascript\" src='https://askjulie.amtrak.com/ui/includes/NIT.Embed.js'
|
1257
|
+
id=\"agentScript\"></script><!-- mp_trans_remove_end -->\r\n \r\n \r\n
|
1258
|
+
\ <script type =\"text/javascript\">_satellite.pageBottom();</script>\r\n
|
1259
|
+
\ \r\n \r\n \r\n\t \r\n \r\n \r\n
|
1260
|
+
\ </body> \t\r\n</html>"
|
1008
1261
|
http_version:
|
1009
|
-
recorded_at:
|
1262
|
+
recorded_at: Mon, 04 Jan 2016 02:35:20 GMT
|
1010
1263
|
- request:
|
1011
1264
|
method: get
|
1012
1265
|
uri: https://tickets.amtrak.com/itd/amtrak/TrainStatusRequest?_trainstatuspage=1
|
@@ -1015,19 +1268,18 @@ http_interactions:
|
|
1015
1268
|
string: ''
|
1016
1269
|
headers:
|
1017
1270
|
Cookie:
|
1018
|
-
- JSESSIONID=
|
1271
|
+
- JSESSIONID=0000-3xn-YFIvMVN1MiJrdCUrRZ:186s77vad
|
1019
1272
|
response:
|
1020
1273
|
status:
|
1021
1274
|
code: 200
|
1022
1275
|
message:
|
1023
1276
|
headers:
|
1277
|
+
Server:
|
1278
|
+
- WebServer
|
1024
1279
|
Content-Length:
|
1025
|
-
- '
|
1280
|
+
- '15478'
|
1026
1281
|
Content-Type:
|
1027
1282
|
- text/html;charset=UTF-8
|
1028
|
-
Set-Cookie:
|
1029
|
-
- _op_aixPageId=a2_aa6345db-3c41-4554-a186-d66a099be8fe; Path=/, TS3f5eae=5f65bf291d024ef84c28cc7a11e95cb42ae20891880e4baa5484ac365f2a2d3ea469c2f6;
|
1030
|
-
Path=/
|
1031
1283
|
X-powered-by:
|
1032
1284
|
- Servlet/3.0
|
1033
1285
|
Content-Language:
|
@@ -1036,10 +1288,8 @@ http_interactions:
|
|
1036
1288
|
- SAMEORIGIN
|
1037
1289
|
Expires:
|
1038
1290
|
- Tue, 01 Jul 2003, 00:00:00 GMT
|
1039
|
-
X-opnet-transaction-trace:
|
1040
|
-
- a2_aa6345db-3c41-4554-a186-d66a099be8fe
|
1041
1291
|
Date:
|
1042
|
-
-
|
1292
|
+
- Mon, 04 Jan 2016 02:35:20 GMT
|
1043
1293
|
Connection:
|
1044
1294
|
- keep-alive
|
1045
1295
|
body:
|
@@ -1051,154 +1301,350 @@ http_interactions:
|
|
1051
1301
|
id=\"resp_by_citypair_heading_right\">\r\n<div>BBY</div>\r\n<div id=\"resp_by_citypair_heading_line2\">Boston,
|
1052
1302
|
MA</div>\r\n</div>\r\n\r\n</div>\r\n<div id=\"train_status_spacing1\"></div>\r\n\r\n\r\n<div
|
1053
1303
|
id=\"train_status_resp_by_citypair\">\r\n<div id=\"resp_by_citypair_subheading\">\r\n<div
|
1054
|
-
id=\"resp_by_citypair_subheading_trainname\">\r\
|
1304
|
+
id=\"resp_by_citypair_subheading_trainname\">\r\n<a style=\"display:none;
|
1305
|
+
float:left; padding: 9px 10px 0 10px;\" class=\"button\" href=\"\" name=\"selecttrainAlerts_Northeast
|
1306
|
+
Regional2015-12-30\"><img class=\"service_alert\" alt=\"Service Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\"
|
1307
|
+
/></a><div class=\"ts_servicename\">178 Northeast Regional</div>\r\n</div>\r\n</div>\r\n\r\n<div
|
1055
1308
|
id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1056
1309
|
class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"arriveDepartDelayedMsg\">
|
1057
|
-
Departed</div>\r\n<div class=\"delayedMsg\">
|
1058
|
-
class=\"arriveDepartTime\">
|
1059
|
-
Dec
|
1060
|
-
Departure
|
1310
|
+
Departed</div>\r\n<div class=\"delayedMsg\">1 minute late</div>\r\n\r\n<div
|
1311
|
+
class=\"arriveDepartTime\">11:38 pm</div>\r\n<div class=\"arriveDepartDate\">Wed,
|
1312
|
+
Dec 30 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1313
|
+
Departure 11:37 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1314
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n<img src=\"/images/en/ontime-arrived.png\"
|
1315
|
+
/>\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div
|
1316
|
+
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1317
|
+
class=\"arriveDepartOntimeMsg\"> Arrived</div>\r\n<div class=\"ontimeMsg\">9
|
1318
|
+
minutes early</div>\r\n\r\n\r\n<div class=\"arriveDepartTime\">12:15 am</div>\r\n<div
|
1319
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n<div
|
1320
|
+
class=\"scheduledArriveDepartMsg\">\r\nScheduled Arrival 12:24 am\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1321
|
+
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
1322
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1323
|
+
style=\"display:none; float:left; padding: 9px 10px 0 10px;\" class=\"button\"
|
1324
|
+
href=\"\" name=\"selecttrainAlerts_Northeast Regional2015-12-31\"><img class=\"service_alert\"
|
1325
|
+
alt=\"Service Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\"
|
1326
|
+
/></a><div class=\"ts_servicename\">66 Northeast Regional</div>\r\n</div>\r\n</div>\r\n\r\n<div
|
1327
|
+
id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1328
|
+
class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"arriveDepartDelayedMsg\">
|
1329
|
+
Departed</div>\r\n<div class=\"delayedMsg\">11 minutes late</div>\r\n\r\n<div
|
1330
|
+
class=\"arriveDepartTime\">7:07 am</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1331
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1332
|
+
Departure 6:56 am\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1333
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n<img src=\"/images/en/ontime-arrived.png\"
|
1334
|
+
/>\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div
|
1335
|
+
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1336
|
+
class=\"arriveDepartOntimeMsg\"> Arrived</div>\r\n<div class=\"ontimeMsg\">9
|
1337
|
+
minutes early</div>\r\n\r\n\r\n<div class=\"arriveDepartTime\">7:44 am</div>\r\n<div
|
1338
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n<div
|
1339
|
+
class=\"scheduledArriveDepartMsg\">\r\nScheduled Arrival 7:53 am\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1340
|
+
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
1341
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1342
|
+
style=\"display:none; float:left; padding: 9px 10px 0 10px;\" class=\"button\"
|
1343
|
+
href=\"\" name=\"selecttrainAlerts_Acela Express2015-12-31\"><img class=\"service_alert\"
|
1344
|
+
alt=\"Service Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\"
|
1345
|
+
/></a><div class=\"ts_servicename\">2190 Acela Express</div>\r\n</div>\r\n</div>\r\n\r\n<div
|
1346
|
+
id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1347
|
+
class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"arriveDepartDelayedMsg\">
|
1348
|
+
Departed</div>\r\n<div class=\"delayedMsg\">4 minutes late</div>\r\n\r\n<div
|
1349
|
+
class=\"arriveDepartTime\">9:22 am</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1350
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1351
|
+
Departure 9:18 am\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1352
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<img
|
1353
|
+
src=\"/images/en/no-status-available-enroute.png\" />\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div
|
1354
|
+
id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1355
|
+
class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1356
|
+
class=\"statusUnavailableMsg\">Status unavailable</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1357
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1358
|
+
Arrival 9:59 am\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1359
|
+
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
1360
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1361
|
+
style=\"display:none; float:left; padding: 9px 10px 0 10px;\" class=\"button\"
|
1362
|
+
href=\"\" name=\"selecttrainAlerts_Northeast Regional2015-12-31\"><img class=\"service_alert\"
|
1363
|
+
alt=\"Service Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\"
|
1364
|
+
/></a><div class=\"ts_servicename\">190 Northeast Regional</div>\r\n</div>\r\n</div>\r\n\r\n<div
|
1365
|
+
id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1366
|
+
class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"arriveDepartDelayedMsg\">
|
1367
|
+
Departed</div>\r\n<div class=\"delayedMsg\">7 minutes late</div>\r\n\r\n<div
|
1368
|
+
class=\"arriveDepartTime\">10:24 am</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1369
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1370
|
+
Departure 10:17 am\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1061
1371
|
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n<img src=\"/images/en/ontime-arrived.png\"
|
1062
1372
|
/>\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div
|
1063
1373
|
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1064
|
-
class=\"arriveDepartOntimeMsg\"> Arrived</div>\r\n<div class=\"ontimeMsg\">
|
1065
|
-
minutes early</div>\r\n\r\n\r\n<div class=\"arriveDepartTime\">
|
1066
|
-
class=\"arriveDepartDate\">
|
1067
|
-
class=\"scheduledArriveDepartMsg\">\r\nScheduled Arrival
|
1374
|
+
class=\"arriveDepartOntimeMsg\"> Arrived</div>\r\n<div class=\"ontimeMsg\">4
|
1375
|
+
minutes early</div>\r\n\r\n\r\n<div class=\"arriveDepartTime\">10:55 am</div>\r\n<div
|
1376
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n<div
|
1377
|
+
class=\"scheduledArriveDepartMsg\">\r\nScheduled Arrival 10:59 am\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1068
1378
|
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
1069
|
-
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1379
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1380
|
+
style=\"display:none; float:left; padding: 9px 10px 0 10px;\" class=\"button\"
|
1381
|
+
href=\"\" name=\"selecttrainAlerts_null2015-12-31\"><img class=\"service_alert\"
|
1382
|
+
alt=\"Service Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\"
|
1383
|
+
/></a><div class=\"ts_servicename\">2192 </div>\r\n</div>\r\n</div>\r\n\r\n<div
|
1384
|
+
id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1385
|
+
class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"arriveDepartDelayedMsg\">
|
1386
|
+
Departed</div>\r\n<div class=\"delayedMsg\">16 minutes late</div>\r\n\r\n<div
|
1387
|
+
class=\"arriveDepartTime\">11:09 am</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1388
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1389
|
+
Departure 10:53 am\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1390
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<img
|
1391
|
+
src=\"/images/en/no-status-available-enroute.png\" />\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div
|
1392
|
+
id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1393
|
+
class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1394
|
+
class=\"statusUnavailableMsg\">Status unavailable</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1395
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1396
|
+
Arrival 11:34 am\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1083
1397
|
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
1084
|
-
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1398
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1399
|
+
style=\"display:none; float:left; padding: 9px 10px 0 10px;\" class=\"button\"
|
1400
|
+
href=\"\" name=\"selecttrainAlerts_Northeast Regional2015-12-31\"><img class=\"service_alert\"
|
1401
|
+
alt=\"Service Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\"
|
1402
|
+
/></a><div class=\"ts_servicename\">170 Northeast Regional</div>\r\n</div>\r\n</div>\r\n\r\n<div
|
1403
|
+
id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1404
|
+
class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"arriveDepartDelayedMsg\">
|
1405
|
+
Departed</div>\r\n<div class=\"delayedMsg\">3 minutes late</div>\r\n\r\n<div
|
1406
|
+
class=\"arriveDepartTime\">12:01 pm</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1407
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1408
|
+
Departure 11:58 am\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1409
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<img
|
1410
|
+
src=\"/images/en/no-status-available-enroute.png\" />\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div
|
1093
1411
|
id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1094
1412
|
class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1095
|
-
class=\"
|
1096
|
-
|
1097
|
-
|
1098
|
-
class=\"scheduledArriveDepartMsg\">\r\nScheduled Arrival 5:13 pm\r\n</div>\r\n\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1413
|
+
class=\"statusUnavailableMsg\">Status unavailable</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1414
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1415
|
+
Arrival 12:39 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1099
1416
|
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
1100
|
-
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1417
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1418
|
+
style=\"display:none; float:left; padding: 9px 10px 0 10px;\" class=\"button\"
|
1419
|
+
href=\"\" name=\"selecttrainAlerts_Acela Express2015-12-31\"><img class=\"service_alert\"
|
1420
|
+
alt=\"Service Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\"
|
1421
|
+
/></a><div class=\"ts_servicename\">2154 Acela Express</div>\r\n</div>\r\n</div>\r\n\r\n<div
|
1422
|
+
id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1423
|
+
class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"arriveDepartDelayedMsg\">
|
1424
|
+
Departed</div>\r\n<div class=\"delayedMsg\">6 minutes late</div>\r\n\r\n<div
|
1425
|
+
class=\"arriveDepartTime\">1:01 pm</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1426
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1427
|
+
Departure 12:55 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1428
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<img
|
1429
|
+
src=\"/images/en/no-status-available-enroute.png\" />\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div
|
1430
|
+
id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1431
|
+
class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1432
|
+
class=\"statusUnavailableMsg\">Status unavailable</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1433
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1434
|
+
Arrival 1:34 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1114
1435
|
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
1115
|
-
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
class=\"
|
1436
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1437
|
+
style=\"display:none; float:left; padding: 9px 10px 0 10px;\" class=\"button\"
|
1438
|
+
href=\"\" name=\"selecttrainAlerts_Northeast Regional2015-12-31\"><img class=\"service_alert\"
|
1439
|
+
alt=\"Service Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\"
|
1440
|
+
/></a><div class=\"ts_servicename\">172 Northeast Regional</div>\r\n</div>\r\n</div>\r\n\r\n<div
|
1441
|
+
id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1442
|
+
class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"arriveDepartDelayedMsg\">
|
1443
|
+
Departed</div>\r\n<div class=\"delayedMsg\">8 minutes late</div>\r\n\r\n<div
|
1444
|
+
class=\"arriveDepartTime\">2:31 pm</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1445
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1446
|
+
Departure 2:23 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1447
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n<img src=\"/images/en/ontime-arrived.png\"
|
1448
|
+
/>\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div
|
1449
|
+
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1450
|
+
class=\"arriveDepartOntimeMsg\"> Arrived</div>\r\n<div class=\"ontimeMsg\">4
|
1451
|
+
minutes early</div>\r\n\r\n\r\n<div class=\"arriveDepartTime\">3:05 pm</div>\r\n<div
|
1452
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n<div
|
1453
|
+
class=\"scheduledArriveDepartMsg\">\r\nScheduled Arrival 3:09 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1129
1454
|
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
1130
|
-
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1455
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1456
|
+
style=\"display:none; float:left; padding: 9px 10px 0 10px;\" class=\"button\"
|
1457
|
+
href=\"\" name=\"selecttrainAlerts_Acela Express2015-12-31\"><img class=\"service_alert\"
|
1458
|
+
alt=\"Service Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\"
|
1459
|
+
/></a><div class=\"ts_servicename\">2158 Acela Express</div>\r\n</div>\r\n</div>\r\n\r\n<div
|
1460
|
+
id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1461
|
+
class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"arriveDepartDelayedMsg\">
|
1462
|
+
Departed</div>\r\n<div class=\"delayedMsg\">8 minutes late</div>\r\n\r\n<div
|
1463
|
+
class=\"arriveDepartTime\">3:02 pm</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1464
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1465
|
+
Departure 2:54 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1466
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<img
|
1467
|
+
src=\"/images/en/no-status-available-enroute.png\" />\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div
|
1468
|
+
id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1469
|
+
class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1470
|
+
class=\"statusUnavailableMsg\">Status unavailable</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1471
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1472
|
+
Arrival 3:36 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1144
1473
|
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
1145
|
-
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
class=\"
|
1474
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1475
|
+
style=\"display:none; float:left; padding: 9px 10px 0 10px;\" class=\"button\"
|
1476
|
+
href=\"\" name=\"selecttrainAlerts_Northeast Regional2015-12-31\"><img class=\"service_alert\"
|
1477
|
+
alt=\"Service Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\"
|
1478
|
+
/></a><div class=\"ts_servicename\">86 Northeast Regional</div>\r\n</div>\r\n</div>\r\n\r\n<div
|
1479
|
+
id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1480
|
+
class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"arriveDepartDelayedMsg\">
|
1481
|
+
Departed</div>\r\n<div class=\"delayedMsg\">2 minutes late</div>\r\n\r\n<div
|
1482
|
+
class=\"arriveDepartTime\">3:49 pm</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1483
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1484
|
+
Departure 3:47 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1485
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n<img src=\"/images/en/delayed-arrived.png\"
|
1486
|
+
/>\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div
|
1487
|
+
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1488
|
+
class=\"arriveDepartDelayedMsg\"> Arrived</div>\r\n<div class=\"delayedMsg\">2
|
1489
|
+
minutes late</div>\r\n\r\n<div class=\"arriveDepartTime\">4:30 pm</div>\r\n<div
|
1490
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n<div
|
1491
|
+
class=\"scheduledArriveDepartMsg\">\r\nScheduled Arrival 4:28 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1492
|
+
id=\"train_status_spacing\"></div>\r\n\r\n\r\n\r\n"
|
1493
|
+
http_version:
|
1494
|
+
recorded_at: Mon, 04 Jan 2016 02:35:20 GMT
|
1495
|
+
- request:
|
1496
|
+
method: get
|
1497
|
+
uri: https://tickets.amtrak.com/itd/amtrak/TrainStatusRequest?_trainstatuspage=2
|
1498
|
+
body:
|
1499
|
+
encoding: US-ASCII
|
1500
|
+
string: ''
|
1501
|
+
headers:
|
1502
|
+
Cookie:
|
1503
|
+
- JSESSIONID=0000-3xn-YFIvMVN1MiJrdCUrRZ:186s77vad
|
1504
|
+
response:
|
1505
|
+
status:
|
1506
|
+
code: 200
|
1507
|
+
message:
|
1508
|
+
headers:
|
1509
|
+
Server:
|
1510
|
+
- WebServer
|
1511
|
+
Content-Length:
|
1512
|
+
- '9476'
|
1513
|
+
Content-Type:
|
1514
|
+
- text/html;charset=UTF-8
|
1515
|
+
X-powered-by:
|
1516
|
+
- Servlet/3.0
|
1517
|
+
Content-Language:
|
1518
|
+
- en-US
|
1519
|
+
X-frame-options:
|
1520
|
+
- SAMEORIGIN
|
1521
|
+
Expires:
|
1522
|
+
- Tue, 01 Jul 2003, 00:00:00 GMT
|
1523
|
+
Date:
|
1524
|
+
- Mon, 04 Jan 2016 02:35:21 GMT
|
1525
|
+
Connection:
|
1526
|
+
- keep-alive
|
1527
|
+
body:
|
1528
|
+
encoding: UTF-8
|
1529
|
+
string: "\r\n\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair_heading\">\r\n\r\n<div
|
1530
|
+
id=\"resp_by_citypair_heading_left\">\r\n<div>PVD</div>\r\n<div id=\"resp_by_citypair_heading_line2\">Providence,
|
1531
|
+
RI</div>\r\n</div>\r\n<div id=\"resp_by_citypair_heading_middle\">\r\n<img
|
1532
|
+
alt=\"\" src=\"/images/en/station-to-station-arrow.png\" />\r\n</div>\r\n<div
|
1533
|
+
id=\"resp_by_citypair_heading_right\">\r\n<div>BBY</div>\r\n<div id=\"resp_by_citypair_heading_line2\">Boston,
|
1534
|
+
MA</div>\r\n</div>\r\n\r\n</div>\r\n<div id=\"train_status_spacing1\"></div>\r\n\r\n\r\n<div
|
1535
|
+
id=\"train_status_resp_by_citypair\">\r\n<div id=\"resp_by_citypair_subheading\">\r\n<div
|
1536
|
+
id=\"resp_by_citypair_subheading_trainname\">\r\n<a style=\"display:none;
|
1537
|
+
float:left; padding: 9px 10px 0 10px;\" class=\"button\" href=\"\" name=\"selecttrainAlerts_Northeast
|
1538
|
+
Regional2015-12-31\"><img class=\"service_alert\" alt=\"Service Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\"
|
1539
|
+
/></a><div class=\"ts_servicename\">174 Northeast Regional</div>\r\n</div>\r\n</div>\r\n\r\n<div
|
1540
|
+
id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1541
|
+
class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"arriveDepartDelayedMsg\">
|
1542
|
+
Departed</div>\r\n<div class=\"delayedMsg\">8 minutes late</div>\r\n\r\n<div
|
1543
|
+
class=\"arriveDepartTime\">5:38 pm</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1544
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1545
|
+
Departure 5:30 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1546
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n<img src=\"/images/en/delayed-arrived.png\"
|
1547
|
+
/>\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div
|
1548
|
+
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1549
|
+
class=\"arriveDepartDelayedMsg\"> Arrived</div>\r\n<div class=\"delayedMsg\">5
|
1550
|
+
minutes late</div>\r\n\r\n<div class=\"arriveDepartTime\">6:30 pm</div>\r\n<div
|
1551
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n<div
|
1552
|
+
class=\"scheduledArriveDepartMsg\">\r\nScheduled Arrival 6:25 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1159
1553
|
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
1160
|
-
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
class=\"
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1554
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1555
|
+
style=\"display:none; float:left; padding: 9px 10px 0 10px;\" class=\"button\"
|
1556
|
+
href=\"\" name=\"selecttrainAlerts_Acela Express2015-12-31\"><img class=\"service_alert\"
|
1557
|
+
alt=\"Service Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\"
|
1558
|
+
/></a><div class=\"ts_servicename\">2164 Acela Express</div>\r\n</div>\r\n</div>\r\n\r\n<div
|
1559
|
+
id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1560
|
+
class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"arriveDepartDelayedMsg\">
|
1561
|
+
Departed</div>\r\n<div class=\"delayedMsg\">3 minutes late</div>\r\n\r\n<div
|
1562
|
+
class=\"arriveDepartTime\">5:53 pm</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1563
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1564
|
+
Departure 5:50 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1565
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<img
|
1566
|
+
src=\"/images/en/no-status-available-enroute.png\" />\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div
|
1168
1567
|
id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1169
1568
|
class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1170
|
-
class=\"statusUnavailableMsg\">Status
|
1171
|
-
|
1172
|
-
|
1569
|
+
class=\"statusUnavailableMsg\">Status unavailable</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1570
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1571
|
+
Arrival 6:34 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1173
1572
|
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
1174
|
-
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1178
|
-
class=\"
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1573
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1574
|
+
style=\"display:none; float:left; padding: 9px 10px 0 10px;\" class=\"button\"
|
1575
|
+
href=\"\" name=\"selecttrainAlerts_Northeast Regional2015-12-31\"><img class=\"service_alert\"
|
1576
|
+
alt=\"Service Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\"
|
1577
|
+
/></a><div class=\"ts_servicename\">176 Northeast Regional</div>\r\n</div>\r\n</div>\r\n\r\n<div
|
1578
|
+
id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1579
|
+
class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"arriveDepartOntimeMsg\">
|
1580
|
+
Departed</div>\r\n<div class=\"ontimeMsg\">On time</div>\r\n\r\n\r\n<div class=\"arriveDepartTime\">7:19
|
1581
|
+
pm</div>\r\n<div class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n<div
|
1582
|
+
class=\"scheduledArriveDepartMsg\">\r\nScheduled Departure 7:19 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1583
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n<img src=\"/images/en/ontime-arrived.png\"
|
1584
|
+
/>\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div
|
1585
|
+
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1586
|
+
class=\"arriveDepartOntimeMsg\"> Arrived</div>\r\n<div class=\"ontimeMsg\">16
|
1587
|
+
minutes early</div>\r\n\r\n\r\n<div class=\"arriveDepartTime\">7:50 pm</div>\r\n<div
|
1588
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n<div
|
1589
|
+
class=\"scheduledArriveDepartMsg\">\r\nScheduled Arrival 8:06 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1590
|
+
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
1591
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1592
|
+
style=\"display:none; float:left; padding: 9px 10px 0 10px;\" class=\"button\"
|
1593
|
+
href=\"\" name=\"selecttrainAlerts_Acela Express2015-12-31\"><img class=\"service_alert\"
|
1594
|
+
alt=\"Service Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\"
|
1595
|
+
/></a><div class=\"ts_servicename\">2168 Acela Express</div>\r\n</div>\r\n</div>\r\n\r\n<div
|
1596
|
+
id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1597
|
+
class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"arriveDepartDelayedMsg\">
|
1598
|
+
Departed</div>\r\n<div class=\"delayedMsg\">3 minutes late</div>\r\n\r\n<div
|
1599
|
+
class=\"arriveDepartTime\">7:59 pm</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1600
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1601
|
+
Departure 7:56 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1602
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<img
|
1603
|
+
src=\"/images/en/no-status-available-enroute.png\" />\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div
|
1182
1604
|
id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1183
1605
|
class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1184
|
-
class=\"statusUnavailableMsg\">Status
|
1185
|
-
|
1186
|
-
|
1606
|
+
class=\"statusUnavailableMsg\">Status unavailable</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1607
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1608
|
+
Arrival 8:38 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1187
1609
|
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
1188
|
-
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
class=\"
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1610
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1611
|
+
style=\"display:none; float:left; padding: 9px 10px 0 10px;\" class=\"button\"
|
1612
|
+
href=\"\" name=\"selecttrainAlerts_Northeast Regional2015-12-31\"><img class=\"service_alert\"
|
1613
|
+
alt=\"Service Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\"
|
1614
|
+
/></a><div class=\"ts_servicename\">94 Northeast Regional</div>\r\n</div>\r\n</div>\r\n\r\n<div
|
1615
|
+
id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1616
|
+
class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"arriveDepartDelayedMsg\">
|
1617
|
+
Departed</div>\r\n<div class=\"delayedMsg\">2 minutes late</div>\r\n\r\n<div
|
1618
|
+
class=\"arriveDepartTime\">9:18 pm</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1619
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1620
|
+
Departure 9:16 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1621
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n<img src=\"/images/en/ontime-arrived.png\"
|
1622
|
+
/>\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div
|
1623
|
+
class=\"statusDetailsSection\">\r\n<div class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1624
|
+
class=\"arriveDepartOntimeMsg\"> Arrived</div>\r\n<div class=\"ontimeMsg\">1
|
1625
|
+
minute early</div>\r\n\r\n\r\n<div class=\"arriveDepartTime\">10:01 pm</div>\r\n<div
|
1626
|
+
class=\"arriveDepartDate\">Thu, Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n<div
|
1627
|
+
class=\"scheduledArriveDepartMsg\">\r\nScheduled Arrival 10:02 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1628
|
+
id=\"train_status_spacing\"></div>\r\n\r\n\r\n<div id=\"train_status_resp_by_citypair\">\r\n<div
|
1629
|
+
id=\"resp_by_citypair_subheading\">\r\n<div id=\"resp_by_citypair_subheading_trainname\">\r\n<a
|
1630
|
+
style=\"display:none; float:left; padding: 9px 10px 0 10px;\" class=\"button\"
|
1631
|
+
href=\"\" name=\"selecttrainAlerts_Acela Express2015-12-31\"><img class=\"service_alert\"
|
1632
|
+
alt=\"Service Alert\" src=\"/images/en/icon_servicealert_trainstatus.png\"
|
1633
|
+
/></a><div class=\"ts_servicename\">2172 Acela Express</div>\r\n</div>\r\n</div>\r\n\r\n<div
|
1634
|
+
id=\"resp_by_citypair_depart_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1635
|
+
class=\"cityName\">PVD</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"arriveDepartDelayedMsg\">
|
1636
|
+
Departed</div>\r\n<div class=\"delayedMsg\">24 minutes late</div>\r\n\r\n<div
|
1637
|
+
class=\"arriveDepartTime\">10:18 pm</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1638
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1639
|
+
Departure 9:54 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1640
|
+
id=\"resp_by_citypair_arrow_img\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<img
|
1641
|
+
src=\"/images/en/no-status-available-enroute.png\" />\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n</div>\r\n\r\n<div
|
1196
1642
|
id=\"resp_by_citypair_arrive_status_details\">\r\n\r\n\r\n<div class=\"statusDetailsSection\">\r\n<div
|
1197
1643
|
class=\"cityName\">BBY</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div
|
1198
|
-
class=\"statusUnavailableMsg\">Status
|
1199
|
-
|
1200
|
-
|
1644
|
+
class=\"statusUnavailableMsg\">Status unavailable</div>\r\n<div class=\"arriveDepartDate\">Thu,
|
1645
|
+
Dec 31 2015</div>\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"scheduledArriveDepartMsg\">\r\nScheduled
|
1646
|
+
Arrival 10:35 pm\r\n</div>\r\n\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n</div>\r\n\r\n<div
|
1201
1647
|
id=\"train_status_spacing\"></div>\r\n\r\n\r\n\r\n"
|
1202
1648
|
http_version:
|
1203
|
-
recorded_at:
|
1649
|
+
recorded_at: Mon, 04 Jan 2016 02:35:21 GMT
|
1204
1650
|
recorded_with: VCR 2.9.3
|