-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrothacher_3OFRBB.html
2494 lines (2329 loc) · 170 KB
/
rothacher_3OFRBB.html
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
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
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
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
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
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<HTML dir=ltr lang=en xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><HEAD><TITLE>checkmytrip.com - your travel itinerary</TITLE><!-- PTR03048448 -->
<META content=IE=EmulateIE7 http-equiv=X-UA-Compatible>
<SCRIPT type=text/javascript>
</SCRIPT>
<!-- template name: cmtr --><BASE href="https://www.checkmytrip.com/plnext/XCMTXITN/201103291323/static/">
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=Description content="Search Flight Schedules, Search Flight Timetables, Get Current Flight Status, Find Hotels, Find Car Rental, Get Trip Tools, Plan Trip. Find Airport Information">
<META name=Keywords content="Air availability, Flights, Flight schedules, Flight Times, Cheap Flights, Flight Status, Hotel Search, Car Rental, Business Travel, Travel Guides, World clock, World Time, E-travel"><LINK rel=stylesheet type=text/css href="https://www.checkmytrip.com/plnext/default/WPN_AeRE_v14.1_117O_180411/static/css_v2/main.css"><LINK rel=stylesheet type=text/css href="https://www.checkmytrip.com/plnext/default/WPN_AeRE_v14.1_117O_180411/static/css_v2/CONF.css"><LINK rel=stylesheet type=text/css href="./css/custom_image_cal.css" media="screen, print"><LINK rel=stylesheet type=text/css href="./css/custom_image_content.css" media="screen, print"><LINK rel=stylesheet type=text/css href="./css/custom_image_PLTG.css" media="screen, print"><LINK rel=stylesheet type=text/css href="./css/custom_image_TL.css" media="screen, print"><LINK rel=stylesheet type=text/css href="./css/custom_image_SeatMap.css" media="screen, print"><LINK rel=stylesheet type=text/css href="./css/custom_image_holiday.css" media="screen, print"><LINK rel=stylesheet type=text/css href="./css/custom.css" media="screen, print"><LINK rel=stylesheet type=text/css href="https://www.checkmytrip.com/plnext/default/WPN_AeRE_v14.1_117O_180411/static/css/style_print.css" media=print><LINK rel=stylesheet type=text/css href="./css/style_print.css" media=print>
<SCRIPT language=JavaScript type=text/javascript src="https://www.checkmytrip.com/plnext/js/WPN_AeRE_v14.1_117O_180411/lib/WDSCore.js"></SCRIPT>
<SCRIPT language=JavaScript type=text/javascript src="https://www.checkmytrip.com/plnext/js/WPN_AeRE_v14.1_117O_180411/ui/PLTGWDSDefinitions.js"></SCRIPT>
<SCRIPT language=JavaScript type=text/javascript src="https://www.checkmytrip.com/plnext/js/WPN_AeRE_v14.1_117O_180411/ui/hbp/Common/utils/json.js"></SCRIPT>
<SCRIPT language=JavaScript type=text/javascript>
<!--
function emailToAFriend() {
if (CONF.divTabsCmp) {
document.forms.emailToAFriend.TAB_TO_MAIL.value = CONF.divTabsCmp.id;
} else {
document.forms.emailToAFriend.TAB_TO_MAIL.value = "tripSum";
}
document.forms.emailToAFriend.TICKET_TO_MAIL.value = '';
document.forms.emailToAFriend.JSP_NAME_KEY.value = "SITE_JSP_STATE_RETRIEVED";
submitFormToNewPopUp(document.forms.emailToAFriend,'popupEMail',550,520);
}
// -------------------------------------------------------------------------- \\
// Close every viewclose links of the ticket sections (except if there is
// Only one ticket)
// -------------------------------------------------------------------------- \\
function CONF_closeTicketViews() {
}
// -------------------------------------------------------------------------- \\
// CONF_pageOnLoad
// -------------------------------------------------------------------------- \\
function CONF_pageOnLoad () {
// Get the last tab displayed (in case of a backbrowser with eticket tab enabled only)
// and display it correctly
var backConfViewType = document.getElementById("backConfViewType");
var backConfViewTypeValue = "";
if (backConfViewType != null) {
backConfViewTypeValue = backConfViewType.value;
}
if (backConfViewTypeValue == "tripSum"){
CONF.tripSumTab();
} else if(backConfViewTypeValue == "eTicket") {
CONF.eticketTab();
} else if(backConfViewTypeValue == "eTicketWarning") {
CONF.eticketTabITRWarning();
} else {
if("true" == "true") {
// not E-Mail case (in case of E-Mail, displayEticketTab is set to false
backConfViewType.value = "tripSum";
}
}
}
//-------------------------------------------------------------------------- \\
//CONF_init
//-------------------------------------------------------------------------- \\
function CONF_init () {
// Set the string for the link in view/close details
CONF.viewDetailsStr = "view details";
CONF.closeDetailsStr = "close details";
CONF.divTabsCmp = document.getElementById("tripSum");
// closes ticket views in the ITR part, to have a clear ITR tab display
CONF.closeTicketViews();
CONF.initialisation = 1;
}
// -------------------------------------------------------------------------- \\
// CONF_printTicket
// Print only the chosen eticket
// -------------------------------------------------------------------------- \\
function CONF_printTicket(ticketId) {
var styleTxt = "";
if (ticketId != 'ticket_047-5158025008-09') {
styleTxt = styleTxt + "div#ticket_047-5158025008-09div {display:none!important;}";
styleTxt = styleTxt + "div#sh_selectionTicket_ticket_047-5158025008-09 {display:none!important;}";
}
// We dont display passenger informations
styleTxt = styleTxt + "div#divTablePassenger {display:none!important;}";
styleTxt = styleTxt + "div#tablePassengerTitle {display:none!important;}";
// Add the style
this.addStyle("ticketPrintStyle","print",styleTxt);
window.print();
// Remove the style after the print
// Works only for IE
if(WDSBrowser.ie) {
this.addStyle("ticketPrintStyle","print","");
}
}
// -------------------------------------------------------------------------- \\
// CONF_mailTicket
// Mail only the chosen eticket
// -------------------------------------------------------------------------- \\
function CONF_mailTicket(ticketId) {
document.forms.emailToAFriend.TAB_TO_MAIL.value = CONF.divTabsCmp.id;
document.forms.emailToAFriend.TICKET_TO_MAIL.value = ticketId;
document.forms.emailToAFriend.JSP_NAME_KEY.value = "SITE_JSP_STATE_RETRIEVED_ETICKET";
submitFormToNewPopUp(document.forms.emailToAFriend,'popupEMail',550,520);
}
// -------------------------------------------------------------------------- \\
// CONF_checkCancelReservation
// -------------------------------------------------------------------------- \\
function CONF_checkCancelReservation() {
if (confirm("Are you sure you want to cancel your reservation?")) {
document.CONFCancelReservationForm.submit();
}
}
// -------------------------------------------------------------------------- \\
// CONF_checkCancelFlights
// -------------------------------------------------------------------------- \\
function CONF_checkCancelFlights() {
var msg;
msg = "Are you sure you want to delete all of your flights? Note that this will cancel the entire reservation.";
if (confirm(msg)) {
document.CONFCancelReservationForm.submit();
}
}
// -------------------------------------------------------------------------- \\
// PTR 1489503 : CONF_checkPendingFlights : allows to confirm the reservation
// if it is on hold and launches a pop up asking the user if he wants to confirm
// his reservation.
// -------------------------------------------------------------------------- \\
function CONF_checkPendingFlights() {
if (confirm("Are you sure you want to confirm your reservation?")) {
document.CONFPendingFlightsForm.submit();
}
}
// -------------------------------------------------------------------------- \\
// CR 1464840 : CONF_checkPayPendingFlights : allows to pay the reservation
// if it is on hold and launches a pop up asking the user if he wants to pay
// his reservation.
// -------------------------------------------------------------------------- \\
function CONF_checkPayPendingFlights() {
if (confirm("Are you sure you want to pay your reservation?")) {
document.CONFPayPendingFlightsForm.submit();
}
}
// -------------------------------------------------------------------------- \\
// PTR 2385272 : CONF_checkReconfirmFlights : allows to reconfirm flights
// -------------------------------------------------------------------------- \\
function CONF_checkReconfirmFlights() {
if (confirm("Are you sure you want to reconfirm yours flights?")) {
document.CONFReconfirmForm.submit();
}
}
// -------------------------------------------------------------------------- \\
// CR 1882880 : CONF_checkCancelCar : allow to cancel a car reservation
// -------------------------------------------------------------------------- \\
function CONF_checkCancelCar(itemId, showCancellationPopup) {
if (showCancellationPopup){
this.displayCancellationPopup(itemId);
} else {
var msg;
msg = "Are you sure you want to cancel this car?";
if (confirm(msg)) {
WDSCommon.updateTag(document.CONFCancelCarForm, "ITEM_ID", itemId);
document.CONFCancelCarForm.submit();
}
}
}
function CONF_CancelSegmentOrEntirePnr(ITEM_ID, ConfirmMessage, onlyOneHotel)
{
//Confirmation popup
this.m_yesNoJsWindow = new YesNoJsWindow();
var _i18n = {};
_i18n['Yes'] = "Yes";
_i18n['No'] = "No";
this.m_yesNoJsWindow.setI18n(_i18n);
//When only one hotel segment, cancel the whole PNR
if (onlyOneHotel) {
this.m_yesNoJsWindow.setJsOnYes(function(){document.CONFCancelReservationForm.submit();});
ConfirmMessage = "Are you sure you want to really cancel the entire PNR ?";
}else{
this.m_yesNoJsWindow.setJsOnYes(function(){document.CONFRemoveHotelSegmentForm.submit();});
document.CONFRemoveHotelSegmentForm.ITEM_ID.value=ITEM_ID;
}
this.m_yesNoJsWindow.setWidth("25%");
//Yes/No Js Window
this.m_yesNoJsWindow.setContent(ConfirmMessage);
this.m_yesNoJsWindow.open();
}
function CONF_AddRoom(ITEM_ID, ConfirmMessage,B_DATE,E_DATE,PROPERTY,COUNTRY_CODE,ACCESS_LEVEL, HOTEL_STATUS, CITY_NAME, CITY_CODE, LONGITUDE, LATITUDE)
{
document.CONFAddRoomForm.B_DATE.value=B_DATE;
document.CONFAddRoomForm.E_DATE.value=E_DATE;
document.CONFAddRoomForm.PROPERTY.value=PROPERTY;
document.CONFAddRoomForm.COUNTRY_CODE.value=COUNTRY_CODE;
document.CONFAddRoomForm.ACCESS_LEVEL.value=ACCESS_LEVEL;
document.CONFAddRoomForm.LONGITUDE.value=LONGITUDE;
document.CONFAddRoomForm.LATITUDE.value=LATITUDE;
document.CONFAddRoomForm.HOT_PARAMS.value="|sT-C|cI-"+CITY_NAME+"|cIC-"+CITY_CODE+"|cIA-D|cICt-"+COUNTRY_CODE+"|SCI||";
document.CONFAddRoomForm.submit();
}
function CONF_ChangeHotelReservation(ITEM_ID,ConfirmMessage,B_DATE,E_DATE,B_LOCATION,COUNTRY_CODE,CITY_CODE,CITY_NAME)
{
//Confirmation popup
this.m_yesNoJsWindow = new YesNoJsWindow();
var _i18n = {};
_i18n['Yes'] = "Yes";
_i18n['No'] = "No";
this.m_yesNoJsWindow.setI18n(_i18n);
this.m_yesNoJsWindow.setJsOnYes(function(){document.CONFChangeHotelReservationForm.submit();});
this.m_yesNoJsWindow.setWidth("25%");
document.CONFChangeHotelReservationForm.ITEM_ID.value=ITEM_ID;
document.CONFChangeHotelReservationForm.B_DATE.value=B_DATE;
document.CONFChangeHotelReservationForm.E_DATE.value=E_DATE;
document.CONFChangeHotelReservationForm.B_LOCATION.value=B_LOCATION;
document.CONFChangeHotelReservationForm.COUNTRY_CODE.value=COUNTRY_CODE;
document.CONFChangeHotelReservationForm.HOT_PARAMS.value="|sT-C|cI-"+CITY_NAME+"|cIC-"+CITY_CODE+"|cIA-D|cICt-"+COUNTRY_CODE+"|SCI||";
//Yes/No Js Window
this.m_yesNoJsWindow.setContent(ConfirmMessage);
this.m_yesNoJsWindow.open();
}
function CONF_ChangeRoomReservation(ITEM_ID, ConfirmMessage,B_DATE,E_DATE,PROPERTY,COUNTRY_CODE,ACCESS_LEVEL, HOTEL_STATUS, CITY_NAME, CITY_CODE, LONGITUDE, LATITUDE)
{
//Confirmation popup
this.m_yesNoJsWindow = new YesNoJsWindow();
var _i18n = {};
_i18n['Yes'] = "Yes";
_i18n['No'] = "No";
this.m_yesNoJsWindow.setI18n(_i18n);
this.m_yesNoJsWindow.setJsOnYes(function(){document.CONFChangeRoomReservationForm.submit();});
this.m_yesNoJsWindow.setWidth("25%");
document.CONFChangeRoomReservationForm.ITEM_ID.value=ITEM_ID;
document.CONFChangeRoomReservationForm.B_DATE.value=B_DATE;
document.CONFChangeRoomReservationForm.E_DATE.value=E_DATE;
document.CONFChangeRoomReservationForm.PROPERTY.value=PROPERTY;
document.CONFChangeRoomReservationForm.COUNTRY_CODE.value=COUNTRY_CODE;
document.CONFChangeRoomReservationForm.ACCESS_LEVEL.value=ACCESS_LEVEL;
document.CONFChangeRoomReservationForm.LONGITUDE.value=LONGITUDE;
document.CONFChangeRoomReservationForm.LATITUDE.value=LATITUDE;
document.CONFChangeRoomReservationForm.HOT_PARAMS.value="|sT-C|cI-"+CITY_NAME+"|cIC-"+CITY_CODE+"|cIA-D|cICt-"+COUNTRY_CODE+"|SCI||";
//Yes/No Js Window
this.m_yesNoJsWindow.setContent(ConfirmMessage);
this.m_yesNoJsWindow.open();
}
/**
* create a popup that will be used to confirm the cancellation of a car segment
*/
function CONF_initCancellationPopup(){
c.require('uic.dialog.SimpleDialog');
this.cancellationPopup = new uic.dialog.SimpleDialog({
isCentered: true,
isModal: true,
isAutoResized: true,
width: 370,
height: 130,
isClosable: true,
title: "Cancel this car?",
content: "",
id: "carCancellationPopup"
});
}
function CONF_initMap(){
this.map = $("confMap", {_section: "confMapSection"}); // undefined if the map is not generated
this.mapStatus = "notLoaded";
if (this.map){
// the map is generated hidden, it must be set to visible
// however, it must be delayed otherwise it won't work
// (some existing scripts seems to take some time at load time?)
setTimeout("CONF.initializeMap()", 2000);
}
}
//-->
</SCRIPT>
<SCRIPT language=JavaScript type=text/javascript src="https://www.checkmytrip.com/plnext/js/WPN_AeRE_v14.1_117O_180411/ui/CONF.js"></SCRIPT>
<SCRIPT language=JavaScript type=text/javascript src="https://www.checkmytrip.com/plnext/js/WPN_AeRE_v14.1_117O_180411/ui/script.js"></SCRIPT>
<SCRIPT language=JavaScript type=text/javascript src="https://www.checkmytrip.com/plnext/js/WPN_AeRE_v14.1_117O_180411/ui/ExtraInfoPopUp.js"></SCRIPT>
<SCRIPT language=JavaScript type=text/javascript src="https://www.checkmytrip.com/plnext/js/WPN_AeRE_v14.1_117O_180411/ui/FarefamilyDescriptionPopUp.js"></SCRIPT>
<SCRIPT language=JavaScript type=text/javascript src="https://www.checkmytrip.com/plnext/js/WPN_AeRE_v14.1_117O_180411/ui/dw_tooltip.js"></SCRIPT>
<SCRIPT language=JavaScript type=text/javascript src="https://www.checkmytrip.com/plnext/js/WPN_AeRE_v14.1_117O_180411/ui/dw_event.js"></SCRIPT>
<SCRIPT language=JavaScript type=text/javascript src="https://www.checkmytrip.com/plnext/js/WPN_AeRE_v14.1_117O_180411/ui/dw_viewport.js"></SCRIPT>
<SCRIPT language=JavaScript type=text/javascript src="https://www.checkmytrip.com/plnext/js/WPN_AeRE_v14.1_117O_180411/ui/NbDayBetweenDepAndArrDates.js"></SCRIPT>
<SCRIPT language=JavaScript type=text/javascript src="https://www.checkmytrip.com/plnext/js/WPN_AeRE_v14.1_117O_180411/ui/Tips.js"></SCRIPT>
<SCRIPT language=JavaScript type=text/javascript src="https://www.checkmytrip.com/plnext/js/WPN_AeRE_v14.1_117O_180411/ui/DOM.js"></SCRIPT>
<SCRIPT language=javascript type=text/javascript>
<!--
var LOCK_CHECK_ENTER = false;
Netscape = (navigator.appName.substring(0,3) == "Net");
function checkEnter(event) {
var code = 0;
if(Netscape) {
code = event.which;
} else {
code = window.event.keyCode;
}
if (code == 13) {
var result = false;
return result;
}
}
document.onkeypress = checkEnter;
-->
</SCRIPT>
<SCRIPT language=JavaScript type=text/javascript>
<!--
function nameTheWindow() {
if (!window.opener && window.name == '') {
window.name='mainplnext';
}
}
function sellingPlatformLock() { }
//-->
</SCRIPT>
<STYLE type=text/css media=screen>#massiveGoodSwf {
VISIBILITY: hidden
}
</STYLE>
</HEAD>
<BODY id=cmtr onload="nameTheWindow(); javascript:CONF.pageOnLoad();javascript:Tooltip.init();; " onunload="">
<DIV style="DISPLAY: none" id=customDHTML>
<CENTER>
<FORM name=custom>
<TABLE border=1>
<TBODY>
<TR>
<TD><B>segment information 0:</B></TD>
<TD></TD></TR>
<TR>
<TD><B>segment 0:</B></TD>
<TD>departure <INPUT id=departureCode_0_0 name=departureCode_0_0 value=ZRH> <BR>departure city code <INPUT id=departureCityCode_0_0 name=departureCityCode_0_0 value=ZRH> <BR>departure city <INPUT id=departureCity_0_0 name=departureCity_0_0 value=Zurich> <BR>departure country code <INPUT id=departureCountryCode_0_0 name=departureCountryCode_0_0 value=CH> <BR>arrival <INPUT id=arrivalCode_0_0 name=arrivalCode_0_0 value=LIS> <BR>arrival city code <INPUT id=arrivalCityCode_0_0 name=arrivalCityCode_0_0 value=LIS> <BR>arrival city <INPUT id=arrivalCity_0_0 name=arrivalCity_0_0 value=Lisbon> <BR>arrival country code <INPUT id=arrivalCountryCode_0_0 name=arrivalCountryCode_0_0 value=PT> <BR>departure date <INPUT id=departureDate_0_0 name=departureDate_0_0 value="Wed Nov 02 19:05:00 GMT 2011"> <BR>arrival date <INPUT id=arrivalDate_0_0 name=arrivalDate_0_0 value="Wed Nov 02 20:55:00 GMT 2011"> <BR>flightNumber <INPUT id=flightNumber_0_0 name=flightNumber_0_0 value=927> <BR>airline Name <INPUT id=airlineName_0_0 name=airlineName_0_0 value="TAP Portugal"> <BR>airline Code <INPUT id=airlineCode_0_0 name=airlineCode_0_0 value=TP> <BR>fare basis adult(s) <INPUT id=FARE_BASIS_0_0_ADT name=FARE_BASIS_0_0_ADT value=KLCHTAP> <BR></TD></TR>
<TR>
<TD><B>segment 1:</B></TD>
<TD>departure <INPUT id=departureCode_0_1 name=departureCode_0_1 value=LIS> <BR>departure city code <INPUT id=departureCityCode_0_1 name=departureCityCode_0_1 value=LIS> <BR>departure city <INPUT id=departureCity_0_1 name=departureCity_0_1 value=Lisbon> <BR>departure country code <INPUT id=departureCountryCode_0_1 name=departureCountryCode_0_1 value=PT> <BR>arrival <INPUT id=arrivalCode_0_1 name=arrivalCode_0_1 value=GRU> <BR>arrival city code <INPUT id=arrivalCityCode_0_1 name=arrivalCityCode_0_1 value=SAO> <BR>arrival city <INPUT id=arrivalCity_0_1 name=arrivalCity_0_1 value="Sao Paulo"> <BR>arrival country code <INPUT id=arrivalCountryCode_0_1 name=arrivalCountryCode_0_1 value=BR> <BR>departure date <INPUT id=departureDate_0_1 name=departureDate_0_1 value="Wed Nov 02 23:20:00 GMT 2011"> <BR>arrival date <INPUT id=arrivalDate_0_1 name=arrivalDate_0_1 value="Thu Nov 03 07:20:00 GMT 2011"> <BR>flightNumber <INPUT id=flightNumber_0_1 name=flightNumber_0_1 value=087> <BR>airline Name <INPUT id=airlineName_0_1 name=airlineName_0_1 value="TAP Portugal"> <BR>airline Code <INPUT id=airlineCode_0_1 name=airlineCode_0_1 value=TP> <BR></TD></TR>
<TR>
<TD><B>segment 2:</B></TD>
<TD>departure <INPUT id=departureCode_0_2 name=departureCode_0_2 value=GRU> <BR>departure city code <INPUT id=departureCityCode_0_2 name=departureCityCode_0_2 value=SAO> <BR>departure city <INPUT id=departureCity_0_2 name=departureCity_0_2 value="Sao Paulo"> <BR>departure country code <INPUT id=departureCountryCode_0_2 name=departureCountryCode_0_2 value=BR> <BR>arrival <INPUT id=arrivalCode_0_2 name=arrivalCode_0_2 value=IGU> <BR>arrival city code <INPUT id=arrivalCityCode_0_2 name=arrivalCityCode_0_2 value=IGU> <BR>arrival city <INPUT id=arrivalCity_0_2 name=arrivalCity_0_2 value="Iguassu Falls"> <BR>arrival country code <INPUT id=arrivalCountryCode_0_2 name=arrivalCountryCode_0_2 value=BR> <BR>departure date <INPUT id=departureDate_0_2 name=departureDate_0_2 value="Thu Nov 03 12:30:00 GMT 2011"> <BR>arrival date <INPUT id=arrivalDate_0_2 name=arrivalDate_0_2 value="Thu Nov 03 14:10:00 GMT 2011"> <BR>flightNumber <INPUT id=flightNumber_0_2 name=flightNumber_0_2 value=1716> <BR>airline Name <INPUT id=airlineName_0_2 name=airlineName_0_2 value="GOL VRG Linhas Aereas"> <BR>airline Code <INPUT id=airlineCode_0_2 name=airlineCode_0_2 value=G3> <BR></TD></TR>fare Family Name <INPUT id=fareFamilyName_0 name=fareFamilyName_0>
<TR>
<TD><B>segment information 1:</B></TD>
<TD></TD></TR>
<TR>
<TD><B>segment 0:</B></TD>
<TD>departure <INPUT id=departureCode_1_0 name=departureCode_1_0 value=IGU> <BR>departure city code <INPUT id=departureCityCode_1_0 name=departureCityCode_1_0 value=IGU> <BR>departure city <INPUT id=departureCity_1_0 name=departureCity_1_0 value="Iguassu Falls"> <BR>departure country code <INPUT id=departureCountryCode_1_0 name=departureCountryCode_1_0 value=BR> <BR>arrival <INPUT id=arrivalCode_1_0 name=arrivalCode_1_0 value=CWB> <BR>arrival city code <INPUT id=arrivalCityCode_1_0 name=arrivalCityCode_1_0 value=CWB> <BR>arrival city <INPUT id=arrivalCity_1_0 name=arrivalCity_1_0 value=Curitiba> <BR>arrival country code <INPUT id=arrivalCountryCode_1_0 name=arrivalCountryCode_1_0 value=BR> <BR>departure date <INPUT id=departureDate_1_0 name=departureDate_1_0 value="Sun Nov 06 06:00:00 GMT 2011"> <BR>arrival date <INPUT id=arrivalDate_1_0 name=arrivalDate_1_0 value="Sun Nov 06 06:57:00 GMT 2011"> <BR>flightNumber <INPUT id=flightNumber_1_0 name=flightNumber_1_0 value=1630> <BR>airline Name <INPUT id=airlineName_1_0 name=airlineName_1_0 value="GOL VRG Linhas Aereas"> <BR>airline Code <INPUT id=airlineCode_1_0 name=airlineCode_1_0 value=G3> <BR></TD></TR>
<TR>
<TD><B>segment 1:</B></TD>
<TD>departure <INPUT id=departureCode_1_1 name=departureCode_1_1 value=CWB> <BR>departure city code <INPUT id=departureCityCode_1_1 name=departureCityCode_1_1 value=CWB> <BR>departure city <INPUT id=departureCity_1_1 name=departureCity_1_1 value=Curitiba> <BR>departure country code <INPUT id=departureCountryCode_1_1 name=departureCountryCode_1_1 value=BR> <BR>arrival <INPUT id=arrivalCode_1_1 name=arrivalCode_1_1 value=CGB> <BR>arrival city code <INPUT id=arrivalCityCode_1_1 name=arrivalCityCode_1_1 value=CGB> <BR>arrival city <INPUT id=arrivalCity_1_1 name=arrivalCity_1_1 value=Cuiaba> <BR>arrival country code <INPUT id=arrivalCountryCode_1_1 name=arrivalCountryCode_1_1 value=BR> <BR>departure date <INPUT id=departureDate_1_1 name=departureDate_1_1 value="Sun Nov 06 09:30:00 GMT 2011"> <BR>arrival date <INPUT id=arrivalDate_1_1 name=arrivalDate_1_1 value="Sun Nov 06 11:40:00 GMT 2011"> <BR>flightNumber <INPUT id=flightNumber_1_1 name=flightNumber_1_1 value=1725> <BR>airline Name <INPUT id=airlineName_1_1 name=airlineName_1_1 value="GOL VRG Linhas Aereas"> <BR>airline Code <INPUT id=airlineCode_1_1 name=airlineCode_1_1 value=G3> <BR></TD></TR>fare Family Name <INPUT id=fareFamilyName_1 name=fareFamilyName_1>
<TR>
<TD><B>segment information 2:</B></TD>
<TD></TD></TR>
<TR>
<TD><B>segment 0:</B></TD>
<TD>departure <INPUT id=departureCode_2_0 name=departureCode_2_0 value=CGB> <BR>departure city code <INPUT id=departureCityCode_2_0 name=departureCityCode_2_0 value=CGB> <BR>departure city <INPUT id=departureCity_2_0 name=departureCity_2_0 value=Cuiaba> <BR>departure country code <INPUT id=departureCountryCode_2_0 name=departureCountryCode_2_0 value=BR> <BR>arrival <INPUT id=arrivalCode_2_0 name=arrivalCode_2_0 value=CGH> <BR>arrival city code <INPUT id=arrivalCityCode_2_0 name=arrivalCityCode_2_0 value=SAO> <BR>arrival city <INPUT id=arrivalCity_2_0 name=arrivalCity_2_0 value="Sao Paulo"> <BR>arrival country code <INPUT id=arrivalCountryCode_2_0 name=arrivalCountryCode_2_0 value=BR> <BR>departure date <INPUT id=departureDate_2_0 name=departureDate_2_0 value="Thu Nov 17 11:00:00 GMT 2011"> <BR>arrival date <INPUT id=arrivalDate_2_0 name=arrivalDate_2_0 value="Thu Nov 17 13:55:00 GMT 2011"> <BR>flightNumber <INPUT id=flightNumber_2_0 name=flightNumber_2_0 value=1371> <BR>airline Name <INPUT id=airlineName_2_0 name=airlineName_2_0 value="GOL VRG Linhas Aereas"> <BR>airline Code <INPUT id=airlineCode_2_0 name=airlineCode_2_0 value=G3> <BR></TD></TR>
<TR>
<TD><B>segment 1:</B></TD>
<TD>departure <INPUT id=departureCode_2_1 name=departureCode_2_1 value=CGH> <BR>departure city code <INPUT id=departureCityCode_2_1 name=departureCityCode_2_1 value=SAO> <BR>departure city <INPUT id=departureCity_2_1 name=departureCity_2_1 value="Sao Paulo"> <BR>departure country code <INPUT id=departureCountryCode_2_1 name=departureCountryCode_2_1 value=BR> <BR>arrival <INPUT id=arrivalCode_2_1 name=arrivalCode_2_1 value=SDU> <BR>arrival city code <INPUT id=arrivalCityCode_2_1 name=arrivalCityCode_2_1 value=RIO> <BR>arrival city <INPUT id=arrivalCity_2_1 name=arrivalCity_2_1 value="Rio De Janeiro"> <BR>arrival country code <INPUT id=arrivalCountryCode_2_1 name=arrivalCountryCode_2_1 value=BR> <BR>departure date <INPUT id=departureDate_2_1 name=departureDate_2_1 value="Thu Nov 17 14:40:00 GMT 2011"> <BR>arrival date <INPUT id=arrivalDate_2_1 name=arrivalDate_2_1 value="Thu Nov 17 15:40:00 GMT 2011"> <BR>flightNumber <INPUT id=flightNumber_2_1 name=flightNumber_2_1 value=1534> <BR>airline Name <INPUT id=airlineName_2_1 name=airlineName_2_1 value="GOL VRG Linhas Aereas"> <BR>airline Code <INPUT id=airlineCode_2_1 name=airlineCode_2_1 value=G3> <BR></TD></TR>fare Family Name <INPUT id=fareFamilyName_2 name=fareFamilyName_2>
<TR>
<TD><B>segment information 3:</B></TD>
<TD></TD></TR>
<TR>
<TD><B>segment 0:</B></TD>
<TD>departure <INPUT id=departureCode_3_0 name=departureCode_3_0 value=GIG> <BR>departure city code <INPUT id=departureCityCode_3_0 name=departureCityCode_3_0 value=RIO> <BR>departure city <INPUT id=departureCity_3_0 name=departureCity_3_0 value="Rio De Janeiro"> <BR>departure country code <INPUT id=departureCountryCode_3_0 name=departureCountryCode_3_0 value=BR> <BR>arrival <INPUT id=arrivalCode_3_0 name=arrivalCode_3_0 value=SSA> <BR>arrival city code <INPUT id=arrivalCityCode_3_0 name=arrivalCityCode_3_0 value=SSA> <BR>arrival city <INPUT id=arrivalCity_3_0 name=arrivalCity_3_0 value=Salvador> <BR>arrival country code <INPUT id=arrivalCountryCode_3_0 name=arrivalCountryCode_3_0 value=BR> <BR>departure date <INPUT id=departureDate_3_0 name=departureDate_3_0 value="Sun Nov 20 11:15:00 GMT 2011"> <BR>arrival date <INPUT id=arrivalDate_3_0 name=arrivalDate_3_0 value="Sun Nov 20 13:20:00 GMT 2011"> <BR>flightNumber <INPUT id=flightNumber_3_0 name=flightNumber_3_0 value=1600> <BR>airline Name <INPUT id=airlineName_3_0 name=airlineName_3_0 value="GOL VRG Linhas Aereas"> <BR>airline Code <INPUT id=airlineCode_3_0 name=airlineCode_3_0 value=G3> <BR></TD></TR>fare Family Name <INPUT id=fareFamilyName_3 name=fareFamilyName_3>
<TR>
<TD><B>segment information 4:</B></TD>
<TD></TD></TR>
<TR>
<TD><B>segment 0:</B></TD>
<TD>departure <INPUT id=departureCode_4_0 name=departureCode_4_0 value=GIG> <BR>departure city code <INPUT id=departureCityCode_4_0 name=departureCityCode_4_0 value=RIO> <BR>departure city <INPUT id=departureCity_4_0 name=departureCity_4_0 value="Rio De Janeiro"> <BR>departure country code <INPUT id=departureCountryCode_4_0 name=departureCountryCode_4_0 value=BR> <BR>arrival <INPUT id=arrivalCode_4_0 name=arrivalCode_4_0 value=LIS> <BR>arrival city code <INPUT id=arrivalCityCode_4_0 name=arrivalCityCode_4_0 value=LIS> <BR>arrival city <INPUT id=arrivalCity_4_0 name=arrivalCity_4_0 value=Lisbon> <BR>arrival country code <INPUT id=arrivalCountryCode_4_0 name=arrivalCountryCode_4_0 value=PT> <BR>departure date <INPUT id=departureDate_4_0 name=departureDate_4_0 value="Mon Nov 28 23:50:00 GMT 2011"> <BR>arrival date <INPUT id=arrivalDate_4_0 name=arrivalDate_4_0 value="Tue Nov 29 11:30:00 GMT 2011"> <BR>flightNumber <INPUT id=flightNumber_4_0 name=flightNumber_4_0 value=072> <BR>airline Name <INPUT id=airlineName_4_0 name=airlineName_4_0 value="TAP Portugal"> <BR>airline Code <INPUT id=airlineCode_4_0 name=airlineCode_4_0 value=TP> <BR></TD></TR>
<TR>
<TD><B>segment 1:</B></TD>
<TD>departure <INPUT id=departureCode_4_1 name=departureCode_4_1 value=LIS> <BR>departure city code <INPUT id=departureCityCode_4_1 name=departureCityCode_4_1 value=LIS> <BR>departure city <INPUT id=departureCity_4_1 name=departureCity_4_1 value=Lisbon> <BR>departure country code <INPUT id=departureCountryCode_4_1 name=departureCountryCode_4_1 value=PT> <BR>arrival <INPUT id=arrivalCode_4_1 name=arrivalCode_4_1 value=ZRH> <BR>arrival city code <INPUT id=arrivalCityCode_4_1 name=arrivalCityCode_4_1 value=ZRH> <BR>arrival city <INPUT id=arrivalCity_4_1 name=arrivalCity_4_1 value=Zurich> <BR>arrival country code <INPUT id=arrivalCountryCode_4_1 name=arrivalCountryCode_4_1 value=CH> <BR>departure date <INPUT id=departureDate_4_1 name=departureDate_4_1 value="Tue Nov 29 14:30:00 GMT 2011"> <BR>arrival date <INPUT id=arrivalDate_4_1 name=arrivalDate_4_1 value="Tue Nov 29 18:20:00 GMT 2011"> <BR>flightNumber <INPUT id=flightNumber_4_1 name=flightNumber_4_1 value=926> <BR>airline Name <INPUT id=airlineName_4_1 name=airlineName_4_1 value="TAP Portugal"> <BR>airline Code <INPUT id=airlineCode_4_1 name=airlineCode_4_1 value=TP> <BR>fare basis adult(s) <INPUT id=FARE_BASIS_4_1_ADT name=FARE_BASIS_4_1_ADT value=ALCHTAP> <BR></TD></TR>fare Family Name <INPUT id=fareFamilyName_4 name=fareFamilyName_4>
<TR>
<TD><B>segment information 5:</B></TD>
<TD></TD></TR>
<TR>
<TD><B>segment 0:</B></TD>
<TD>departure <INPUT id=departureCode_5_0 name=departureCode_5_0 value=SSA> <BR>departure city code <INPUT id=departureCityCode_5_0 name=departureCityCode_5_0 value=SSA> <BR>departure city <INPUT id=departureCity_5_0 name=departureCity_5_0 value=Salvador> <BR>departure country code <INPUT id=departureCountryCode_5_0 name=departureCountryCode_5_0 value=BR> <BR>arrival <INPUT id=arrivalCode_5_0 name=arrivalCode_5_0 value=LIS> <BR>arrival city code <INPUT id=arrivalCityCode_5_0 name=arrivalCityCode_5_0 value=LIS> <BR>arrival city <INPUT id=arrivalCity_5_0 name=arrivalCity_5_0 value=Lisbon> <BR>arrival country code <INPUT id=arrivalCountryCode_5_0 name=arrivalCountryCode_5_0 value=PT> <BR>departure date <INPUT id=departureDate_5_0 name=departureDate_5_0 value="Tue Nov 29 23:55:00 GMT 2011"> <BR>arrival date <INPUT id=arrivalDate_5_0 name=arrivalDate_5_0 value="Wed Nov 30 11:10:00 GMT 2011"> <BR>flightNumber <INPUT id=flightNumber_5_0 name=flightNumber_5_0 value=020> <BR>airline Name <INPUT id=airlineName_5_0 name=airlineName_5_0 value="TAP Portugal"> <BR>airline Code <INPUT id=airlineCode_5_0 name=airlineCode_5_0 value=TP> <BR></TD></TR>fare Family Name <INPUT id=fareFamilyName_5 name=fareFamilyName_5>
<TR>
<TD>Number of Traveller : </TD>
<TD><INPUT id=nbTrav name=nbTrav value=1></TD></TR>
<TR>
<TD>Cabin : </TD>
<TD><INPUT id=cabin name=cabin></TD></TR>
<TR>
<TD>Language : </TD>
<TD><INPUT id=language name=language value=GB></TD></TR>
<TR>
<TD>Office Id : </TD>
<TD><INPUT id=officeId name=officeId value=NCE1A0RTI></TD></TR>
<TR>
<TD>Initial Office Id : </TD>
<TD><INPUT id=initialOfficeId name=initialOfficeId value=FLNB2212M></TD></TR>
<TR>
<TD>Currency : </TD>
<TD><INPUT id=currency name=currency></TD></TR>
<TR>
<TD>Total Price : </TD>
<TD><INPUT id=totalPrice name=totalPrice></TD></TR>
<TR>
<TD><B>PNR information:</B></TD>
<TD></TD></TR>
<TR>
<TD>pnr : </TD>
<TD><INPUT id=pnrNbr name=pnrNbr value=3OFRBB></TD></TR>
<TR>
<TD>airline record : </TD>
<TD><INPUT id=airLineConfNbr name=airLineConfNbr value="TAP Portugal:3OFRBB"><INPUT id=airLineConfNbr name=airLineConfNbr value="GOL VRG Linhas Aereas:LCR5GA"></TD></TR>
<TR>
<TD>pnr ticketing method : </TD>
<TD><INPUT id=pnrTicketingMethod name=pnrTicketingMethod value=ET></TD></TR>
<TR>
<TD>pnr Cabin : </TD>
<TD><INPUT id=pnrCabin name=pnrCabin value=R></TD></TR>
<TR>
<TD>gds : </TD>
<TD><INPUT id=pnrGDS name=pnrGDS value=1A></TD></TR>
<TR>
<TD>pnr creation Date : </TD>
<TD><INPUT id=pnrCreationDate name=pnrCreationDate value="Mon Apr 11 17:29:00 GMT 2011"></TD></TR>
<TR>
<TD>pnr transaction Date : </TD>
<TD><INPUT id=pnrEndTransactionDate name=pnrEndTransactionDate value="Fri May 06 09:59:00 GMT 2011"></TD></TR>
<TR>
<TD>pnr last modification Date : </TD>
<TD><INPUT id=pnrLastModifDate name=pnrLastModifDate></TD></TR>
<TR>
<TD><B>traveller information:</B></TD>
<TD></TD></TR>
<TR>
<TD>First name : </TD>
<TD><INPUT id=primaryTravellerFirstName name=primaryTravellerFirstName value=Bernd></TD></TR>
<TR>
<TD>Last name : </TD>
<TD><INPUT id=primaryTravellerLastName name=primaryTravellerLastName value=Rothacher></TD></TR>
<TR>
<TD>Pax type : </TD>
<TD><INPUT id=primaryTravellerPaxType name=primaryTravellerPaxType value=ADT></TD></TR>
<TR>
<TD>passport country code : </TD>
<TD><INPUT id=primaryTravellerPassportCountryCode name=primaryTravellerPassportCountryCode></TD></TR>
<TR>
<TD>passport number : </TD>
<TD><INPUT id=primaryTravellerPassportNumber name=primaryTravellerPassportNumber></TD></TR>
<TR>
<TD>email 1 : </TD>
<TD><INPUT id=primaryTravellerEmail1 name=primaryTravellerEmail1></TD></TR>
<TR>
<TD>email 2 : </TD>
<TD><INPUT id=primaryTravellerEmail2 name=primaryTravellerEmail2></TD></TR>
<TR>
<TD>email 3 : </TD>
<TD><INPUT id=primaryTravellerEmail3 name=primaryTravellerEmail3></TD></TR>
<TR>
<TD>Home phone : </TD>
<TD><INPUT id=primaryTravellerHomePhone1 name=primaryTravellerHomePhone1></TD></TR>
<TR>
<TD>Mobile phone : </TD>
<TD><INPUT id=primaryTravellerMobilePhone1 name=primaryTravellerMobilePhone1></TD></TR>
<TR>
<TD>Business phone : </TD>
<TD><INPUT id=primaryTravellerBusinessPhone1 name=primaryTravellerBusinessPhone1></TD></TR>
<TR>
<TD>Fax : </TD>
<TD><INPUT id=primaryTravellerFax1 name=primaryTravellerFax1></TD></TR>
<TR>
<TD>Other : </TD>
<TD><INPUT id=primaryTravellerOtherPhone1 name=primaryTravellerOtherPhone1></TD></TR>
<TR>
<TD>Pager : </TD>
<TD><INPUT id=primaryTravellerPager1 name=primaryTravellerPager1></TD></TR>
<TR>
<TD>emergency contact name : </TD>
<TD><INPUT id=primaryTravellerEmergencyName name=primaryTravellerEmergencyName></TD></TR>
<TR>
<TD>emergency contact phone : </TD>
<TD><INPUT id=primaryTravellerEmergencyPhone name=primaryTravellerEmergencyPhone></TD></TR>
<TR>
<TD><B>Mode of Payment :</B> </TD>
<TD></TD></TR>
<TR>
<TD>Credit Card : </TD>
<TD><INPUT id=paymentCC name=paymentCC value=true></TD></TR>
<TR>
<TD>seat preference :</TD>
<TD><INPUT id=seatMapSelectionList name=seatMapSelectionList value=[segment.beginLocation.cityCode|segment.endLocation.cityName|seatsList][segment.beginLocation.cityCode|segment.endLocation.cityName|seatsList][segment.beginLocation.cityCode|segment.endLocation.cityName|seatsList][segment.beginLocation.cityCode|segment.endLocation.cityName|seatsList]><BR></TD></TR>
<TR>
<TD>ext id :</TD>
<TD><INPUT id=cust_external_id name=cust_external_id></TD></TR>
<TR>
<TD>templateName :</TD>
<TD><INPUT id=custom_templateName name=custom_templateName value=cmtr> </TD></TR>
<TR>
<TD>Portal Environment Variable 1:</TD>
<TD><INPUT id=pe_variable1 name=pe_variable1> </TD></TR>
<TR>
<TD>Portal Environment Variable 2:</TD>
<TD><INPUT id=pe_variable2 name=pe_variable2> </TD></TR>
<TR>
<TD>Portal Environment Variable 3:</TD>
<TD><INPUT id=pe_variable3 name=pe_variable3> </TD></TR>
<TR>
<TD>Portal Environment Variable 4:</TD>
<TD><INPUT id=pe_variable4 name=pe_variable4> </TD></TR>
<TR>
<TD>Portal Environment Variable 5:</TD>
<TD><INPUT id=pe_variable5 name=pe_variable5> </TD></TR>
<TR>
<TD>Flex Pricer Mode:</TD>
<TD><INPUT id=flex_pricer_mode name=flex_pricer_mode> </TD></TR>
<TR>
<TD>Flex Pricer Page Type:</TD>
<TD><INPUT id=flex_pricer_page_type name=flex_pricer_page_type> </TD></TR></TBODY></TABLE></FORM></CENTER></DIV>
<SCRIPT type=text/javascript>
// Variables and methods needed through out the page
function Right(str, n){
if (n <= 0) {return "";}
else if (n > String(str).length) {return str;}
else {
var iLen = String(str).length;
return String(str).substring(iLen, iLen - n);
}
}
function days_between(date1_ms, date2_ms) {
var ONE_DAY = 1000 * 60 * 60 * 24;
var difference_ms = Math.abs(date1_ms - date2_ms);
return Math.round(difference_ms/ONE_DAY);
}
function minutes_between(date1_ms, date2_ms) {
var ONE_MINUTE = 1000 * 60;
var difference_ms = Math.abs(date1_ms - date2_ms);
return Math.round(difference_ms/ONE_MINUTE);
}
if(!window.data_isInitialized) {
rtowin="";//Trip type (OW,RT,MULTI)
wt_flights=""; //Flight numbers
wt_origin=""; //Origin
wt_ddate=""; // Departure date
wt_destination=""; //Destination
wt_countryfrom=""; //Country from
wt_countryto=""; //Country to
wt_numcitypairs=""; //Number of itineraries
wt_numsegments=""; //Number of segments
wt_flighthrs=""; //Total flight time in hours
wt_route=""; //Full list of segments
wt_countries=""; //Full list of countries
wt_cpair=""; //Full list of itineraries
wt_apurchcat=""; //Advance purchase
wt_services=""; // non air segments
var dcode = new Array(); // departure codes
var dctry = new Array(); // departure countries
var acode = new Array(); // arrival codes
var actry = new Array(); // arrival countries
var ddate = new Array(); // departure dates
var ddatems = new Array(); // departure dates in ms
var adate = new Array(); // arrival dates
var adatems = new Array(); // arrival dates in ms
var fnumb = new Array(); // flight numbers
var alcode = new Array(); // airline codes
var segmentminutes = new Array(); // segment flight times, in minutes
var ArVal = new Array();
ArFcde = ["nbTrav","pnrCabin","officeId","currency","totalPrice","pnrNbr","pnrTicketingMethod","SITE","language","pnrGDS","pnrCreationDate","custom_templateName","initialOfficeId"];
ArTnme = ["CMTL","CMTR"];
// Variables initialization from custom dhtml
for (i=0;i<ArFcde.length;i++) {
if(document.getElementById(ArFcde[i])){
ArVal[i] = document.getElementById(ArFcde[i]).value;
}
else ArVal[i] = "";
}
if (document.body.id){tnme = document.body.id.toUpperCase();}
else {tnme = "NotBookingEngine";}
// For CMTR we retrieve more details
if (tnme == "CMTR") {
i=0;
j=0;
totalsegments=0;
totalflighttime=0;
while (document.getElementById("departureCode_" + i + "_" + j)) {
dcode[i] = new Array(); dctry[i] = new Array();
acode[i] = new Array(); actry[i] = new Array();
ddatems[i] = new Array(); ddate[i] = new Array(); adate[i] = new Array(); adatems[i] = new Array();
fnumb[i] = new Array(); alcode[i] = new Array(); segmentminutes[i] = new Array();
while (document.getElementById("departureCode_" + i + "_" + j)) {
depcode = "departureCode_" + i + "_" + j;
depcountry = "departureCountryCode_" + i + "_" + j;
arrcode = "arrivalCode_" + i + "_" + j;
arrcountry = "arrivalCountryCode_" + i + "_" + j;
depdate = "departureDate_" + i + "_" + j;
arrdate = "arrivalDate_" + i + "_" + j;
fnumber = "flightNumber_" + i + "_" + j;
airline = "airlineName_" + i + "_" + j;
airlinecode = "airlineCode_" + i + "_" + j;
dcode[i][j] = document.getElementById(depcode).value;
dctry[i][j] = document.getElementById(depcountry).value;
acode[i][j] = document.getElementById(arrcode).value;
actry[i][j] = document.getElementById(arrcountry).value;
ddate[i][j] = document.getElementById(depdate).value.slice(4,10) + " " + Right(document.getElementById(depdate).value, 4);
ddatems[i][j] = Date.parse(document.getElementById(depdate).value);
adate[i][j] = document.getElementById(arrdate).value.slice(4,10) + " " + Right(document.getElementById(arrdate).value, 4);
adatems[i][j] = Date.parse(document.getElementById(arrdate).value);
fnumb[i][j] = document.getElementById(fnumber).value;
alcode[i][j] = document.getElementById(airlinecode).value;
segmentminutes[i][j] = minutes_between(ddatems[i][j],adatems[i][j]);
totalflighttime = totalflighttime + segmentminutes[i][j];
wt_flights = wt_flights + (wt_flights != "" ? "_" : "") + alcode[i][j];
wt_route = wt_route + (wt_route != "" ? "_" : "") + dcode[i][j] + "-" + acode[i][j];
wt_countries = wt_countries + (wt_countries != "" ? "_" : "") + dctry[i][j] + "-" + actry[i][j];
totalsegments++;
j++;
}
j=0;
i++;
}
citypairs = dcode.length;
if (citypairs > 0) {
for (i=0;i<citypairs;i++) {
wt_cpair = wt_cpair + (wt_cpair != "" ? "_" : "") + dcode[i][0] + "-" + acode[i][acode[i].length-1];
}
totalflighttime = Math.round(totalflighttime/60);
var curdate = new Date();
advancepurchase = days_between(curdate.getTime(), ddatems[0][0]);
wt_origin = (!dcode[0][0] ? "" : dcode[0][0]);
wt_destination = (!acode[0][acode[0].length-1] ? "" : acode[0][acode[0].length-1]);
wt_countryfrom = (!dctry[0][0] ? "" : dctry[0][0]);
wt_countryto = (!actry[0][actry[0].length-1] ? "" : actry[0][actry[0].length-1]);
wt_ddate = (!ddate[0][0] ? "" : ddate[0][0]);
wt_numcitypairs = (!citypairs ? "" : citypairs);
wt_numsegments = (!totalsegments ? "" : totalsegments);
wt_flighthrs = (!totalflighttime ? "" : totalflighttime);
wt_advpurch = (!advancepurchase ? "" : advancepurchase);
rtowin = "RT";
if (citypairs == 1) {rtowin = "OW";}
if (citypairs > 2) {rtowin = "MULTI";}
for(i=0;i<=151;i=i+30){
j=i+30;
if (wt_advpurch > 0 && wt_advpurch <= 30) {wt_apurchcat = "30 days or less"; break;}
else if (wt_advpurch > i && wt_advpurch <= j) {wt_apurchcat = (i+1) + " to " + j + " days"; break;}
}
if (wt_apurchcat == "" && wt_advpurch > 180) wt_apurchcat = "more than 180 days";
}
wt_office = (!ArVal[2] ? "" : ArVal[2]);
wt_pax = (!ArVal[0] ? "" : ArVal[0]);
wt_currency = (!ArVal[3] ? "" : ArVal[3]);
if (document.getElementById("hasCar")) {
wt_services = "C";
}
if (document.getElementById("hasHotel")) {
wt_services = wt_services + (wt_services != "" ? "_" : "") + "H";
}
if (document.getElementById("hasTrain")) {
wt_services = wt_services + (wt_services != "" ? "_" : "") + "T";
}
}
data_isInitialized = true;
}
</SCRIPT>
<SCRIPT type=text/javascript>
function AmadeusAdServer(aas_pageid,aas_formatid,aas_target) {
request='https://mediasolutions.amadeus.net/1ASIHADV/ADVRAD/GetBannerContent.html?';
request += 'ptype='+aas_formatid;
if(document.getElementById("language").value == "GB"){
request += '&language=EN';
}
else{
request += '&language='+document.getElementById("language").value;
}
request += '&stype='+aas_pageid;
request += aas_target;
request += '&mode=JSCLKD&net=EXT&si=PRD';
document.write('<scr'+'ipt src="'+ request+ '"></scr'+'ipt>');
}
</SCRIPT>
<DIV id=ads_cmtr_header>
<SCRIPT type=text/javascript>
aas_pageid=17; // Page : checkmytrip/itinerary
aas_formatid="W08"; // Format : Leaderboard 728x90
var adatedep = new Date();
adatedep.setTime(ddatems[0][0]);
var adatedepmonth = adatedep.getMonth() + 1;
if(adatedepmonth < 10){
adatedepmonth = '0'+adatedepmonth;
}
var adatedepday = adatedep.getDate();
var adatedepyear = adatedep.getFullYear();
aas_target='&board=' + wt_origin
+ '&off=' + wt_destination
+ '&provider=' + wt_flights.split('_')[0] + '0'
+ '&office=' + ArVal[12]
+ '&date=' + adatedepday + adatedepmonth + adatedepyear
+ '&fn=' + fnumb[0][0]; // Targeting
AmadeusAdServer(aas_pageid,aas_formatid,aas_target);
</SCRIPT>
<SCRIPT src="https://mediasolutions.amadeus.net/1ASIHADV/ADVRAD/GetBannerContent.html?ptype=W08&language=EN&stype=17&board=ZRH&off=IGU&provider=TP0&office=FLNB2212M&date=2112011&fn=927&mode=JSCLKD&net=EXT&si=PRD"></SCRIPT>
<A href="https://mediasolutions.amadeus.net/1ASIHADV/ADVRAD/GetBannerLink.html?msg=890339&si=PRD&office=FLNB2212M&provider=TP0&language=EN&mode=JSCLKD&ptype=W08&stype=17&board=ZRH&off=IGU&date=2112011&fn=927&adlink=http://nextgen.checkmytrip.com" target=_blank><IMG border=0 src="http://content.amadeus.com/B2BRichMedia/1117182718.gif"></A> <NOSCRIPT></NOSCRIPT></DIV>
<SCRIPT language=javascript type=text/javascript>
<!--
var waitLanguage = 'GB';
if (waitLanguage == 'GB') {
waitLanguage = 'en';
}
WDSWaitingImage.setLanguage("languages/" + waitLanguage);
WDSWaitingImage.setPrivateLabel(null);
WDSWaitingImage.setProgressImg("progress.gif")
WDSWaitingImage.preload("wait");
-->
</SCRIPT>
<CENTER>
<DIV style="DISPLAY: none; align: center" id=WDSWaitingImageDivID>
<DIV id=divWait>
<P id=logo><IMG id=WDSWaitingImageImgID name=WDSWaitingImageName></P>
<P id=title>We are processing your request, please wait...</P>
<P id=indicator><IMG id=WDSProgressImageImgID alt="We are processing your request, please wait..."></P>
<P id=info></P></DIV></DIV></CENTER>
<DIV id=container>
<TABLE class=layoutTable>
<TBODY>
<TR>
<TD class=layoutLeft rowSpan=3>
<DIV id=cmtLogout><A href="/plnext/XCMTXITN/CleanUpSessionPui.action?SITE=XCMTXITN&LANGUAGE=GB">Logout</A> </DIV>
<DIV id=cmtMenu>
<DL id=cmtNav>
<DT>trip tools
<DD><A title="Destination Guides" href="http://www.amadeus.net/home/destinations/en/index.htm" target=_blank>Destination Guides</A>
<DD><A title="Airport Guides" href="http://www.amadeus.net/home/airports/en/index.htm" target=_blank>Airport Guides</A>
<DD><A title="Subway Maps" href="http://www.amadeus.net/home/subwaymaps/en/index.htm" target=_blank>Subway Maps</A>
<DD><A title=Currency href="http://www.amadeus.net/home/Currency/currency_en.htm" target=_blank>Currency</A>
<DD><A title="World Clock" href="http://www.amadeus.net/home/worldtime/en/wt_en.htm" target=_blank>World Clock</A>
<DD><A title="Map Search" href="http://www.amadeus.net/home/multimap/en/index.html" target=_blank>Map Search</A>
<DD><A title="World Dialling Codes" href="http://www.amadeus.net/home/dialing_codes/en/index.htm" target=_blank>World Dialling Codes</A>
<DT><A title="about Amadeus" href="http://www.amadeus.com" target=_blank>about Amadeus</A> </DT></DL></DIV>
<DIV id=massivegoodad class=ad>
<SCRIPT type=text/javascript src="https://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></SCRIPT>
<SCRIPT type=text/javascript>
var flashvars = {
LANGUAGE: "GB",
SITE: "MFMFMFMF",
PROVIDER_GDS_ID: "1A",
PROVIDER_OFFICE_ID: document.getElementById('officeId').value,
PRODUCT_NAME: "CMT_ITI",
PRODUCT_VERSION: "14.0",
LAYOUT_TYPE: "3",
DONOR_FIRST_NAME: document.getElementById('primaryTravellerFirstName').value,
DONOR_LAST_NAME: document.getElementById('primaryTravellerLastName').value
};
var params = {};
var attributes = {};
swfobject.embedSWF("https://www.checkmytrip.com/checkmytrip/MG_160-120_GB.swf", "massiveGoodSwf", "160", "120", "9.0.0","https://www.checkmytrip.com/checkmytrip/expressInstall.swf", flashvars, params, attributes);
</SCRIPT>
<DIV style="VISIBILITY: visible" id=massiveGoodSwf></DIV></DIV>
<SCRIPT type=text/javascript>
function MCMTTeaser () {
this.availableImages = ["BR","DE","ES","FR","GB","IT"];
}
MCMTTeaser.prototype = {
create: function() {
var lang = document.getElementById("language").value;
var imgLang = "GB";
for (var i = 0; i < this.availableImages.length; i++) {
if (this.availableImages[i] === lang) {
imgLang = lang;
}
}
var html = "<img src='./img/client/MCMT_small_" + imgLang + ".gif' />";
document.getElementById("cmtMCMT").innerHTML=html;
}
}
</SCRIPT>
<DIV id=cmtMCMT><IMG src="https://www.checkmytrip.com/plnext/XCMTXITN/201103291323/static/img/client/MCMT_small_GB.gif"></DIV>
<SCRIPT type=text/javascript>
var mcmt = new MCMTTeaser();
mcmt.create();
</SCRIPT>
</TD>
<TD class=layoutTop>
<DIV id=cmtHeader>
<H1> </H1>
<H3> </H3>
<H5> </H5></DIV></TD>
<TD class=layoutRight rowSpan=3>
<DIV id=ads_cmtr_right>
<SCRIPT type=text/javascript>
aas_pageid=17; // Page : checkmytrip/itinerary
aas_formatid="W19"; // Format : Wide_Skyscraper_IAB 160x600
var adatedep = new Date();
adatedep.setTime(ddatems[0][0]);
var adatedepmonth = adatedep.getMonth() + 1;
if(adatedepmonth < 10){
adatedepmonth = '0'+adatedepmonth;
}
var adatedepday = adatedep.getDate();
var adatedepyear = adatedep.getFullYear();
aas_target='&board=' + wt_origin
+ '&off=' + wt_destination
+ '&provider=' + wt_flights.split('_')[0] + '0'
+ '&office=' + ArVal[12]
+ '&date=' + adatedepday + adatedepmonth + adatedepyear
+ '&fn=' + fnumb[0][0]; // Targeting
AmadeusAdServer(aas_pageid,aas_formatid,aas_target);
</SCRIPT>
<SCRIPT src="https://mediasolutions.amadeus.net/1ASIHADV/ADVRAD/GetBannerContent.html?ptype=W19&language=EN&stype=17&board=ZRH&off=IGU&provider=TP0&office=FLNB2212M&date=2112011&fn=927&mode=JSCLKD&net=EXT&si=PRD"></SCRIPT>
<NOSCRIPT></NOSCRIPT></DIV></TD></TR>
<TR>
<TD class=layoutBody>
<FORM id=backConfViewTypeform class=transparentForm name=backConfViewTypeform><INPUT id=backConfViewType name=backConfViewType value=tripSum type=hidden> </FORM>
<DIV id=tripSum>
<UL id=conf_tabs>
<LI id=t1><A id=tabTripSum href="javascript:CONF.tripSumTab();">trip summary</A>
<LI id=t2><A id=tabETicket href="javascript:CONF.eticketTab();">e-ticket receipt</A> </LI></UL></DIV>
<DIV id=conf_tabs_noborder class=container>
<TABLE class=tableHeader cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD id=th_td1 class=ImgCase><SPAN id=id_tripResTitle>your trip reservation </SPAN><SPAN style="DISPLAY: none; HEIGHT: 0px; VISIBILITY: hidden" id=id_eticketTitle>electronic ticket receipt </SPAN></TD></TR></TBODY></TABLE>
<DIV style="DISPLAY: none; HEIGHT: 0px; VISIBILITY: hidden" id=ITRWarning>
<TABLE class=tableError cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD class=textBold vAlign=top>
<DIV class=ImgError> </DIV></TD>
<TD class=textNormal width="100%">
<DIV>
<H1 style="FONT-SIZE: 120%">The following error(s) occured</H1>
<UL>
<LI class=WDSErrorE>This information is not available for this reservation. Please contact your reservation agent for additional information</LI></UL></DIV></TD></TR></TBODY></TABLE></DIV>
<DIV class=divtableTripSummary>
<SCRIPT language=javascript type=text/javascript>
// init messages
WDSMessage.setMessage("WDSError.HeaderMessage", "HeaderMessage");
WDSMessage.setMessage("WDSError.Title.E", "The following error(s) occured");
WDSMessage.setMessage("WDSError.Title.W", "The following warning(s) occured");
WDSMessage.setMessage("WDSError.Title.I", "The following warning(s) occured");
WDSMessage.setMessage("WDSError.Title.F", "The following fatal error(s) occured");
//init local error message list
function LocalErrorInit () {
}
</SCRIPT>
<DIV style="DISPLAY: none" id=WDSError>
<TABLE class=tableError cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD class=textBold vAlign=top>
<DIV class=ImgError> </DIV></TD>
<TD class=textNormal width="100%">
<DIV id=WDSErrorContainer></DIV></TD></TR></TBODY></TABLE></DIV>
<FORM class=transparentForm method=post name=emailToAFriend action=/plnext/XCMTXITN/EmailFromConfPopUp.action;jsessionid=jq1vNFhXqFp1dBTYZypvXm20XJpbGxM5p1yfzvkhlGrWyfTrw9CJ!1434425015!687901274 target=popupEMail><INPUT name=SITE value=XCMTXITN type=hidden> <INPUT name=LANGUAGE value=GB type=hidden> <INPUT name=JSP_NAME_KEY value=SITE_JSP_STATE_RETRIEVED type=hidden> <INPUT name=DISABLE_START_OVER value=TRUE type=hidden> <INPUT name=TAB_TO_MAIL type=hidden> <INPUT name=TICKET_TO_MAIL type=hidden> </FORM>
<DIV id=po_top class=page_options>
<UL><!-- Print link --><!-- PTR03068518 - www - AeRE121 - CONF Icon not well displayed under FF2 -->
<LI class=po_1><A class=po_print href="javascript:CONF.print();">print page</A> <!-- Download to Calendar link --><!-- PTR03068518 - www - AeRE121 - CONF Icon not well displayed under FF2 --></LI>
<LI class=po_2><A class=po_download href="javascript:redirectToAnExternalPopUp('/plnext/XCMTXITN/CalendarDownload.action;jsessionid=jq1vNFhXqFp1dBTYZypvXm20XJpbGxM5p1yfzvkhlGrWyfTrw9CJ!1434425015!687901274?SITE=XCMTXITN&LANGUAGE=GB',500,500);">download to calendar</A> <!-- EMail to a friend link --><!-- PTR03068518 - www - AeRE121 - CONF Icon not well displayed under FF2 --></LI>
<LI class=po_3><A class=po_email href="javascript:emailToAFriend();">e-mail to a friend</A> <!-- Start Over link --><!-- PTR03068518 - www - AeRE121 - CONF Icon not well displayed under FF2 --><!-- Cancel Reservation link --><!-- PTR03068518 - www - AeRE121 - CONF Icon not well displayed under FF2 --></LI></UL>
<DIV class=clear></DIV></DIV>
<TABLE class=tableTripSummary cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD> </TD></TR>
<TR>
<TD><SPAN style="DISPLAY: none; HEIGHT: 0px; VISIBILITY: hidden" id=id_eticketExplanation></SPAN></TD></TR>
<TR>
<TD class=textBoldlarge>Booking reservation number: <SPAN class=textColor>3OFRBB</SPAN> </TD>
<TD vAlign=top rowSpan=12></TD></TR>
<TR>
<TD class=textBoldlarge></TD></TR>
<TR>
<TD class=space></TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=space></TD></TR>
<TR>
<TD>• We recommend you make a note of the booking reservation number or <A href="javascript:window.print()">print</A> this page.</TD></TR>
<TR>
<TD class=space></TD></TR>
<TR>
<TD class=space></TD></TR>
<TR>
<TD> </TD></TR></TBODY></TABLE></DIV><!-- set all common variables --><!-- etv i18n separator -->
<DIV id=tablePassengerTitle>
<TABLE class=tableSubHeader cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD><SPAN class=ImgPassenger> </SPAN><A id=passenger name=passenger></A>traveller information</TD></TR></TBODY></TABLE></DIV>
<DIV id=divTablePassenger class=divTablePassenger><!--Compact Traveller information-->
<TABLE id=pax2 class=tablePassenger cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD width="75%"> </TD>
<TD width="25%"> </TD></TR>
<TR>