-
Notifications
You must be signed in to change notification settings - Fork 0
/
status.htm
553 lines (500 loc) · 20.4 KB
/
status.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
<html>
<head>
<meta name="mobileoptimized" content="0">
<!-- put no-referrer so preload reqs match later fetch reqs instead of double req -->
<meta name="referrer" content="no-referrer">
<link href="//collector-otp-prod.camsys-apps.com/realtime/gtfsrt/ALL/alerts?type=json&apikey=qeqy84JE7hUKfaI0Lxm2Ttcm6ZA0bYrP" as="fetch" rel="preload" crossorigin>
<!-- older browsers -->
<link href="//collector-otp-prod.camsys-apps.com" rel="preconnect" crossorigin>
<link href="//collector-otp-prod.camsys-apps.com" rel="dns-prefetch">
<script async defer src=routes.js></script>
<script>var R/*allRoutes*/;</script>
<style>:root{color-scheme:light dark}</style>
</head>
<body>No javascript</body>
<script>
"use strict";
(function(){
/*STARTSUBCOLOR*/
var colorStrsSUB = ["00933c","ff6319","fccc0a","6d6e71","ee352e","286ded","0078c6","996633","b933ad"];
var colorRoutesSUB = {/*"4":0,*//*"5":0,*//*"6":0,*//*"5X":0,*//*"6X":0,*/"F":1,"D":1,"M":1,"FX":1,"B":1,"N":2,"Q":2,"R":2,"W":2,"H":3,"GS":3,"FS":3,"S":3,"1":4,"3":4,"2":4,"A":5,"C":5,"E":5,"SI":6,"SIR":6,"J":7,"Z":7,"7X":8,"7":8,"G":"6cbe45","L":"a7a9ac"};
/*ENDSUBCOLOR*/
/*
//LIRR has more routes
function AGENCY_MNR() {return 1}
function AGENCY_LI() {return 0}
function AGENCIES_MAP_RAIL() {return ['LI', 'MNR']}
//NYCT has more routes
function AGENCY_MTABC() {return 1};
function AGENCY_MTA_NYCT() {return 0};
function AGENCIES_MAP_BUS() {return ['MTA NYCT', 'MTABC']}
//
function AGENCY_MTASBWY() {return 0};
function AGENCIES_MAP_SUBWAY() {return ['MTASBWY']}
*/
var _window = window;
var _location = location;
var _document = document;
var head = _document.documentElement.firstChild;
var jsonp;
var url_alerts = '//collector-otp-prod.camsys-apps.com/realtime/gtfsrt/ALL/alerts?type=json&apikey=qeqy84JE7hUKfaI0Lxm2Ttcm6ZA0bYrP';
/* on Chrome, refresh does a 200 or 304 on stop.htm on GH Pages plus MTA call
even though if I do a "back" then navigate back to stop.htm, no TCPIP traffic
related to stop.htm because stop.htm is fetched from browser cache, sadly there
seems to be no way to do a refresh or a replace without triggering network traffic
so just implement a "Fast" path that does the AJAX call alone, kindda important
for latency reasons on 2G networks, 200 always if .reload(1),
304 typ if .reload(0)
*/
/* generate body top string once, its later used for fast refresh */
/* var t is "top" as in top of body (header), func y() real name is getStop */
/* put y() first b/c 3rd party AJAX APIs (MTA alerts API) are usually
slower/larger/latency/often not preconnected vs our
very tiny in gz bytes, same origin, /routes.js */
var t = '<a href=javascript:history.back()>Back</a> Refresh[<a href="javascript:y();void 0">Fast</a> <a href=\"javascript:location.replace(\''
+
/*STARTINSERTPATH*/
(/status\.htm$/.test(_location.pathname) ? "status_.htm" : "status.htm")
/*ENDINSERTPATH*/
+'\')">Slow</a>] <a href='+url_alerts+'>Raw</a><br>';
_window.y = y;
if(!_window.onpopstate) {
/* real nav (UA refresh) to status.htm after prior spa load of status.htm
do reload() to draw index.htm back on the screen
*/
_window.onpopstate = function (evt) {evt.state !== null && _location.reload()};
/* reqs
fetch C42, S10.1, FF 39,Op 29
array.find C45, S7.1, FF25, OP 32
object.values C50, S10.1, FF 47, OP 41
*/
if (Object.values) {
y/*getStop*/();
} else {
//IE 5.5 and 6.0 don't have document.head
head.appendChild(_document.createElement("script")).src = 'f.js';
}
} else {
onhashchange = y;
}
/*y=getStop, must be var "y" for f.js polyfill to find and call on f.js load/exec */
function y(ls /*unused args in PF mode, empty reg*/) {
function fCB(r) {
r.status != 200 ? //put != first for r.status gzip reasons
alert("error http status " + r.status)
:
r.json().then(function /*gotAlerts*/(r, jspFlag) { /*r=resp*/
jsonp = jspFlag;
/* filter out irrelavent future alerts, route DB not needed yet, parallelism */
alertsResp = filterCurrentStatii(r.entity);
if (R/*allRoutes*/)
drawHTML();
else
R = drawHTML;
});
}
if ((ls = _window.S) && ((_window.S = 0),ls.s == "")
&& (Date.now()-ls.t < 3000)
) {
ls.f(fCB);
} else {
fetch(url_alerts).then(fCB);
}
if (R === 0) { //fast refresh, R eq undef is root load or SPA
head.appendChild(_document.createElement("script")).src = 'routes.js';
}
_document.body.innerHTML = t; /*t=top*/
}
//typ a .replace() CB, but manual call sometimes
function mkSubFontTag(tag_unused, route) {
tag_unused = colorRoutesSUB[route];
if(typeof tag_unused !== 'string') {
tag_unused = colorRoutesSUB[route] = colorStrsSUB[tag_unused|0]; //undef to 0
}
return '<font color='+tag_unused+'>['+route+']</font>';
}
/* inlined
const BANNED_XBUS_ROUTE_TYPE = 702;
const NEW_HAVEN_BRANCHES = ['MNR:4', 'MNR:5', 'MNR:6'];
const HARLEM_BRANCHES = ['Wassaic'];
const WEIRD_RAIL_LINES = [{
id: "MNR:Wassaic",
// agency: "MNR",
color: "0039A6",
// unused
//inService: true,
//mode: "RAIL",
longName: "Wassaic",
//routeId: "MNR_Wassaic",
routeType: 2
}]
*/
function filterCurrentStatii (statii) {
var alertsByRoute = {}, status, isCurrent_routeId,
mercury_alert, n, arr_activePeriod_informedEntity, period_entity, startTime_route;
var currentTime = Math.round(Date.now() / 1000);
// Reduce the number of statii to only those that are current
for(var i = 0; i < statii.length; i++) {
status = statii[i];
isCurrent_routeId = +false;
try {
//MNR elevators do not have .active_period member, NYCT elevators do, both no mercury alert
//no active_period 31 records, no mercury_alert 126 records, put mercury_alert test first
if ((mercury_alert = status.alert['transit_realtime.mercury_alert']) && status.alert.active_period
/* b88 removed because GTFS spec says required field
&& status.alert['transit_realtime.mercury_alert'].alert_type */
) {
/* <p>Exit/Entry for 3 Av will only be available from 2 PM to 10 PM on weekdays.
at 53/lex DOES NOT HAVE A display_before_active field, this is opposite of MTA GTFS spec
it has an alert_type of "Station Notice" */
/* was mercury_alert.hasOwnProperty('display_before_active') but switched for IE compat, this int 0 sometimes */
var hasBeforeActive = typeof mercury_alert.display_before_active !== 'undefined';
var isPlannedWork = ~status.id.indexOf('planned_work');
if (isPlannedWork && !hasBeforeActive) {
isCurrent_routeId = +false;
} else {
arr_activePeriod_informedEntity = status.alert.active_period;
for(n=0; n < arr_activePeriod_informedEntity.length; n++) {
period_entity = arr_activePeriod_informedEntity[n];
if (period_entity.start && !isCurrent_routeId) {
startTime_route = period_entity.start;
if (hasBeforeActive) {
startTime_route = startTime_route - mercury_alert.display_before_active;
}
if (currentTime > startTime_route) {
isCurrent_routeId = +true;
}
if (period_entity.end && currentTime > period_entity.end) {
isCurrent_routeId = +false;
}
}
}
}
}
} catch (e) {
}
// add to output byRoutes hash, initial props if needed
if (isCurrent_routeId) {
arr_activePeriod_informedEntity = status.alert.informed_entity;
for(n=0; n < arr_activePeriod_informedEntity.length; n++) {
/*now entity*/
period_entity = arr_activePeriod_informedEntity[n];
/*now routeId*/
isCurrent_routeId = period_entity.route_id;
if (isCurrent_routeId) { // some alerts are "stop_id" only
//MNR:wassaic has diff caps between alerts and routes servers
isCurrent_routeId = isCurrent_routeId.toLowerCase();
/*now route*/
startTime_route = alertsByRoute[period_entity.agency_id] = alertsByRoute[period_entity.agency_id] || {};
startTime_route = (startTime_route[isCurrent_routeId] = startTime_route[isCurrent_routeId] || []);
startTime_route.push(status);
}
}
}
}
return alertsByRoute;
}
function transArrToHTML(translations) {
var en,
none,
translation,
language,
text,
i;
if (translations) { //shorter than object type chk
translations = translations.translation;
i = translations.length;
while (translation = translations[--i]) {
text = translation.text;
if ((language = translation.language) === 'en-html')
//note we skip if(text) anti empty string MTA logic
return text;
else if (language === 'en') {
en = text;
} else { // was if (language === '') {
none = text;
}
}
}
return en ? en : none ? none : '';
}
function noPTag(str) {
return str
//remove root <p> tags and double blank lines and blank lines at end of HTML string
//and zero width non joiner char for IE5.0
? str.replace(/(\xE2\x80\u0152)|(<p style="min-height:10px"><\/p>)|(^<p>)|((<p><\/p>|<\/p>)+$)/g,'')
.replace(/\[(\w+)\]/g, mkSubFontTag)
: '';
}
var alertsResp;
function drawHTML() {
function BUSROUTES() { return 0;}
function RAILLINES() { return 1;}
function SUBWAYLINES() { return 2;}
//field 1 and 3 same for bus/rail/sub, all others differ
//rail+bus is unified
function ROUTE_ID() {return 0};
function ROUTE_AGENCY() {return 2};
function ROUTE_SUB_SORTORDER() {return 1};
function ROUTE_COLOR() {return 1};
function ROUTE_NAME() {return 3};
function ROUTE_STATUSDETAILS() {return 4};
//SI statusItem, idx 0 and 1 shared between grouped lines and statusitem structs
function SI_SUMMARY () {return 0;}
function SI_PRIORITY () {return 1;}
function GRPLINES_LINES () {return 2;}
function SI_TITLE () {return 2;}
function SI_DESCRIPTION () {return 3;}
function SI_DURATION () {return 4;}
function sortPriority(a, b) {
return b[SI_PRIORITY()] - a[SI_PRIORITY()]
}
function mergeStatii (routes, alertsByRoute, agencyMap) {
function getSummary (status) {
return (status = status.alert['transit_realtime.mercury_alert'])
? status.alert_type
: "No Status Summary";
}
function getPriority (entity_sortorder) {
var priority = -10;
if (entity_sortorder = entity_sortorder['transit_realtime.mercury_entity_selector']) {
if (entity_sortorder = entity_sortorder.sort_order) {
priority = entity_sortorder.split(':')[2];
priority = priority ? priority * 1 : 100;
}
}
return priority;
};
routes.forEach(function (route) {
var key = (""+route[ROUTE_ID()]).toLowerCase();
var agency = agencyMap[route[ROUTE_AGENCY()] || 0];
var alertedRoute;
var i;
var status;
var entity;
if ((alertedRoute = alertsByRoute[agency]) && (alertedRoute = alertedRoute[key])) {
//convert GTFS alert structures to a friendlier alert format
for(i = 0; i < alertedRoute.length; i++) {
status = alertedRoute[i];
entity = status.alert.informed_entity.find(function (entity) {
return entity.agency_id === agency && entity.route_id.toLowerCase() === key ? 1 : 0
});
//reuse array from GTFS feed, dont alloc new one, saves mem
alertedRoute[i] = [ //statusItem
getSummary(status), //SI_SUMMARY
getPriority(entity), //SI_PRIORITY
transArrToHTML(status.alert.header_text), //SI_TITLE
transArrToHTML(status.alert.description_text), //SI_DESCRIPTION
transArrToHTML(status.alert["transit_realtime.mercury_alert"].human_readable_active_period) //SI_DURATION
];
}
route[ROUTE_STATUSDETAILS()] = alertedRoute;
}
});
/*MTA code originally duped the array, no point, we filter routes for display
later on*/
return routes;
}
/*returns an array of status category objs,
each which has an array of lines under it*, SUBWAYS ONLY*/
function groupedLines (lines){
var statii = {};
var line;
var status;
var statusDetails;
for (var i = 0; i < lines.length; i++){
line = lines[i];
// Sort statii by priority
line[ROUTE_STATUSDETAILS()].sort(sortPriority);
statusDetails = line[ROUTE_STATUSDETAILS()][0];
status = statusDetails[SI_SUMMARY()];
status = (statii[status] = statii[status] || [
status,
statusDetails[SI_PRIORITY()],
[]//lines arr
]);
status[GRPLINES_LINES()].push(line); //add line to line arr
}
//strip category labels, and sort by label priority code (MTA server)
return Object.values(statii).sort(sortPriority);
}
function sortSubwayLines (routes) {
routes.sort(function (rd1, rd2) {
return rd1[ROUTE_SUB_SORTORDER()] - rd2[ROUTE_SUB_SORTORDER()]
})
}
function SET_SUBWAY_LINES(subwayLines, goodServiceLines, subwayLinesAlertsMerged) {
subwayLinesAlertsMerged.forEach(function (route) {
if (route[ROUTE_STATUSDETAILS()]) {
subwayLines.push(route)
} else {
goodServiceLines.push(route)
}
})
sortSubwayLines(subwayLines)
sortSubwayLines(goodServiceLines)
}
function SET_BUS_ROUTES(alertedBuses, busRoutes) {
busRoutes.forEach(function (route) {
if (route[ROUTE_STATUSDETAILS()]) {
route[ROUTE_STATUSDETAILS()].sort(sortPriority)
alertedBuses.push(route)
}
})
}
function SET_RAIL_LINES(mnrLines, longIslandLines, railLines) {
railLines.forEach(function (line) {
( /* line.agency == AGENCY_MNR() mnr == 1 */ line[ROUTE_AGENCY()] ? mnrLines : longIslandLines
// : agency === 'MNR' || agency === 'NJT' ? mnrLines
// b88 original MTA logic says maybe there are non-MTA rail lines
// but I can't find any in real data
// : (function() {debugger})()
).push(line);
if (line[ROUTE_STATUSDETAILS()]) {
line[ROUTE_STATUSDETAILS()].sort(sortPriority)
}
})
}
function getStatus(obj) {
if (obj[ROUTE_STATUSDETAILS()]) {
// console.log('rail-line-list-vue obj.statusDetails[0][SI_SUMMARY()]', obj.statusDetails[0][SI_SUMMARY()])
//assume array if present has atleast 1 elem
return obj[ROUTE_STATUSDETAILS()][0][SI_SUMMARY()];
}
//todo b88, inService is a front end MTA UI field, hard wired in front end HTML route DB to true for bus & rail
//manually downgraded by mercury alert above, maybe remove field totally??
//DONE
//return obj.inService ? "On or Close" : "No Scheduled Service";
return "On or Close";
}
function emitRRStatus(name, lines) {
for(var statusDetail, n, i = 0; i < lines.length; i++) {
var route = lines[i];
var status = getStatus(route);
var has_alert = status != "On or Close";
var statusDetails = '';
if(has_alert) {
statusDetails = route[ROUTE_STATUSDETAILS()];
for(n = 0; n < statusDetails.length; n++) {
statusDetail = statusDetails[n];
statusDetails[n] = '<b>' + statusDetail[SI_SUMMARY()] + '</b>'
+ '<br>' + noPTag(statusDetail[SI_TITLE()])
+ (statusDetail[SI_DURATION()] ? '<br>' + statusDetail[SI_DURATION()] : '')
+ '<br>' + noPTag(statusDetail[SI_DESCRIPTION()]);
}
statusDetails = statusDetails.join('<hr>');
}
lines[i] = '<hr>' + (has_alert ? '<details><summary>' : '') + '<font color=' + route[ROUTE_COLOR()] + '>' + (route[ROUTE_NAME()] ? route[ROUTE_NAME()] : (n = (route[ROUTE_ID()].indexOf("BX") ? route[ROUTE_ID()] : /*0=eq*/ "Bx"+route[ROUTE_ID()].slice(2))).slice(-1) == "+" ? n.slice(0, -1)+'-SBS': n) + '</font>' + ' ' + status + (has_alert ? '</summary>' + statusDetails + '</details>' : '');
}
return '<hr>' + name + '<br>' +lines.join('');
}
var h=(new Date()).toLocaleTimeString('en-US')+(jsonp ? ' via JSONP' : ' via CORS') + "<br>",i,linearr,route,o,n,statusDetail;
var alertedBuses = [];
var mnrLines = [];
var longIslandLines = [];
var subwayLines = [];
var goodServiceLines = [];
SET_SUBWAY_LINES(subwayLines, goodServiceLines, mergeStatii(R/*allRoutes*/[SUBWAYLINES()], alertsResp, /*AGENCIES_MAP_SUBWAY()*/ ['MTASBWY']));
SET_RAIL_LINES(mnrLines, longIslandLines, mergeStatii(R/*allRoutes*/[RAILLINES()], alertsResp, /*AGENCIES_MAP_RAIL()*/ ['LI', 'MNR']));
SET_BUS_ROUTES(alertedBuses, mergeStatii(R/*allRoutes*/[BUSROUTES()], alertsResp, /*AGENCIES_MAP_BUS()*/ ['MTA NYCT', 'MTABC']));
var groupedByStatusLines = groupedLines(subwayLines);
for (i=0; i < groupedByStatusLines.length; i++) {
linearr = groupedByStatusLines[i];
h += '<hr>' + linearr[SI_SUMMARY()] + '<br>';
linearr = linearr[GRPLINES_LINES()];
for (o=0; o < linearr.length; o++) {
route = linearr[o];
//if(route.name=='SI') {debugger;}
h+='<details><summary>'+mkSubFontTag(0, route[ROUTE_ID()])+'</summary>';
//route now alerts array, overwrite status-details array of objs with string.
route = route[ROUTE_STATUSDETAILS()];
for (n=0; n < route.length; n++) {
statusDetail = route[n];
route[n] ='<b>'+statusDetail[SI_SUMMARY()]+'</b>'
+ '<br>' + noPTag(statusDetail[SI_TITLE()])
+ (statusDetail[SI_DURATION()] ? '<br>' + statusDetail[SI_DURATION()] : '')
+ '<br>' + noPTag(statusDetail[SI_DESCRIPTION()]);
}
h += route.join('<hr>');
h += '</details>';
}
}
if(goodServiceLines.length) {
h += '<hr>No Active Alerts<br>';
for (i=0; i < goodServiceLines.length; i++) {
h+=mkSubFontTag(0, goodServiceLines[i][ROUTE_ID()])+' ';
}
}
h += emitRRStatus('Metro-North Railroad', mnrLines);
h += emitRRStatus('Long Island Rail Road', longIslandLines);
h += emitRRStatus('Bus', alertedBuses);
_document.body.innerHTML += h;
alertsResp = 0;
R/*allRoutes*/ = 0;
}
})();
</script></html>
<!--
JSONP innerhtml on body element/appendchild script element to body IE6 crash
> mshtml.dll!CTreePos::SourceIndex() + 0x3
mshtml.dll!CMarkup::InsertElementInternal() + 0x37b
mshtml.dll!CDoc::InsertElement() + 0x98
mshtml.dll!CDocument::get_implementation() + 0x135
mshtml.dll!CElement::insertBefore() + 0xd0
mshtml.dll!CElement::appendChild() + 0x33
mshtml.dll!Method_IDispatchpp_IDispatchp() + 0x60
mshtml.dll!CBase::ContextInvokeEx() + 0x15b
mshtml.dll!CElement::ContextInvokeEx() + 0x49
mshtml.dll!CElement::ContextThunk_InvokeEx() + 0x43
jscript.dll!IDispatchExInvokeEx2() + 0x6f
jscript.dll!IDispatchExInvokeEx() + 0x3e
jscript.dll!InvokeDispatchEx() + 0x78
jscript.dll!VAR::InvokeByName() + 0x9f0
jscript.dll!VAR::InvokeDispName() + 0x40
jscript.dll!VAR::InvokeByDispID() + 0x54
jscript.dll!CScriptRuntime::Run() + 0x2db0
jscript.dll!ScrFncObj::Call() + 0x85
jscript.dll!CSession::Execute() + 0x9c
jscript.dll!NameTbl::InvokeDef() + 0x101
jscript.dll!NameTbl::InvokeEx() + 0xb6
jscript.dll!IDispatchExInvokeEx2() + 0x6f
jscript.dll!IDispatchExInvokeEx() + 0x3e
jscript.dll!NameTbl::InvokeEx() - 0x194a0
mshtml.dll!CScriptCollection::InvokeEx() + 0x8f
mshtml.dll!CWindow::InvokeEx() + 0x2c49e
mshtml.dll!COmWindowProxy::InvokeEx() + 0x3379c
mshtml.dll!COmWindowProxy::subInvokeEx() + 0x26
jscript.dll!IDispatchExInvokeEx2() + 0x6f
jscript.dll!IDispatchExInvokeEx() + 0x3e
jscript.dll!InvokeDispatchEx() + 0x78
jscript.dll!VAR::InvokeByDispID() - 0x3b65
jscript.dll!CScriptRuntime::Run() + 0x2db0
jscript.dll!ScrFncObj::Call() + 0x85
jscript.dll!CSession::Execute() + 0x9c
jscript.dll!NameTbl::InvokeDef() + 0x101
jscript.dll!NameTbl::InvokeEx() + 0xb6
mshtml.dll!CBase::InvokeDispatchWithThis() + 0xce
mshtml.dll!CBase::InvokeEvent() + 0x70e2d
mshtml.dll!CBase::FireEvent() + 0xc5
mshtml.dll!CElement::BubbleEventHelper() - 0x6ed
mshtml.dll!CElement::FireEvent() + 0x10168
mshtml.dll!CElement::Fire_onclick() + 0x1c
mshtml.dll!CElement::DoClick() + 0x67
mshtml.dll!CInput::DoClick() + 0x3a
mshtml.dll!CDoc::PumpMessage() + 0x279b9
mshtml.dll!CDoc::OnMouseMessage() + 0x1a7
mshtml.dll!CDoc::OnWindowMessage() + 0x5a60a
mshtml.dll!CServer::WndProc() + 0x76
user32.dll!_InternalCallWinProc@20() + 0x28
user32.dll!_UserCallWinProcCheckWow@32() + 0xb7
user32.dll!_DispatchMessageWorker@8() + 0xdc
user32.dll!_DispatchMessageW@4() + 0xf
browseui.dll!TimedDispatchMessage() + 0x33
browseui.dll!BrowserThreadProc() + 0x336
browseui.dll!BrowserProtectedThreadProc() + 0x50
browseui.dll!_SHOpenFolderWindow@4() + 0x22c
shdocvw.dll!_IEWinMain@8() + 0x133
IEXPLORE.EXE!WinMainT() + 0x2de
IEXPLORE.EXE!__ModuleEntry@0() + 0x99
kernel32.dll!_BaseProcessStart@4() + 0x23
-->