home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 October / Gamestar_77_2005-10_dvd.iso / Programy / nsb-install-8-0.exe / chrome / aim.jar next >
PKZip Archive  |  2005-07-29  |  986.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: PKZip Archive (archive/zip).

You can browse this item here: aim.jar

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert PKZip Archive (archive/zip) magic Supported
66% dexvert JAR Archive (archive/jar) ext Supported
100% file Zip archive data, made by v2.3 UNIX, extract using at least v1.0, last modified, last modified Sun, Jul 29 2005 13:14:52, uncompressed size 1739, method=store default
99% file Zip archive, with extra data prepended default
98% file data default
48% TrID Sweet Home 3D design (generic) default (weak)
32% TrID Mozilla Archive Format (gen) default (weak)
18% TrID ZIP compressed archive default
100% dexmagic PrintFox/Pagefox WEAK default
100% siegfried x-fmt/263 ZIP Format default
100% lsar Zip default
100% gt2 ZIP Archiv gefunden (Auflistung ist deaktiviert) default
100% detectItEasy Archive: Zip(1.0)[100.0%,186 files] default
100% binwalkID Zip archive data, at least v1.0 to extract, compressed size: 1739, uncompressed size: 1739, name: content/aim/newActivationOverlay.xul default
100% xdgMime application/zip default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 4b 03 04 0a 00 00 00 | 00 00 da 69 fd 32 f8 d6 |PK......|...i.2..|
|00000010| 05 8f cb 06 00 00 cb 06 | 00 00 24 00 15 00 63 6f |........|..$...co|
|00000020| 6e 74 65 6e 74 2f 61 69 | 6d 2f 6e 65 77 41 63 74 |ntent/ai|m/newAct|
|00000030| 69 76 61 74 69 6f 6e 4f | 76 65 72 6c 61 79 2e 78 |ivationO|verlay.x|
|00000040| 75 6c 55 54 09 00 03 3c | 8e ea 42 3c 8e ea 42 55 |ulUT...<|..B<..BU|
|00000050| 78 04 00 90 01 91 01 3c | 3f 78 6d 6c 20 76 65 72 |x......<|?xml ver|
|00000060| 73 69 6f 6e 3d 22 31 2e | 30 22 3f 3e 0d 0a 0d 0a |sion="1.|0"?>....|
|00000070| 3c 3f 78 6d 6c 2d 73 74 | 79 6c 65 73 68 65 65 74 |<?xml-st|ylesheet|
|00000080| 20 68 72 65 66 3d 22 63 | 68 72 6f 6d 65 3a 2f 2f | href="c|hrome://|
|00000090| 61 69 6d 2f 63 6f 6e 74 | 65 6e 74 2f 61 63 74 69 |aim/cont|ent/acti|
|000000a0| 76 61 74 69 6f 6e 2e 63 | 73 73 22 20 74 79 70 65 |vation.c|ss" type|
|000000b0| 3d 22 74 65 78 74 2f 63 | 73 73 22 3f 3e 0d 0a 3c |="text/c|ss"?>..<|
|000000c0| 21 44 4f 43 54 59 50 45 | 20 77 69 6e 64 6f 77 20 |!DOCTYPE| window |
|000000d0| 5b 0d 0a 3c 21 45 4e 54 | 49 54 59 20 25 20 62 72 |[..<!ENT|ITY % br|
|000000e0| 61 6e 64 44 54 44 20 53 | 59 53 54 45 4d 20 22 63 |andDTD S|YSTEM "c|
|000000f0| 68 72 6f 6d 65 3a 2f 2f | 67 6c 6f 62 61 6c 2f 6c |hrome://|global/l|
|00000100| 6f 63 61 6c 65 2f 62 72 | 61 6e 64 2e 64 74 64 22 |ocale/br|and.dtd"|
|00000110| 20 3e 0d 0a 25 62 72 61 | 6e 64 44 54 44 3b 0d 0a | >..%bra|ndDTD;..|
|00000120| 3c 21 45 4e 54 49 54 59 | 20 25 20 6e 65 77 41 63 |<!ENTITY| % newAc|
|00000130| 74 69 76 61 74 69 6f 6e | 4f 76 65 72 6c 61 79 44 |tivation|OverlayD|
|00000140| 54 44 20 53 59 53 54 45 | 4d 20 22 63 68 72 6f 6d |TD SYSTE|M "chrom|
|00000150| 65 3a 2f 2f 63 6f 6d 6d | 75 6e 69 63 61 74 6f 72 |e://comm|unicator|
|00000160| 2f 6c 6f 63 61 6c 65 2f | 70 72 6f 66 69 6c 65 2f |/locale/|profile/|
|00000170| 6e 65 77 41 63 74 69 76 | 61 74 69 6f 6e 4f 76 65 |newActiv|ationOve|
|00000180| 72 6c 61 79 2e 64 74 64 | 22 20 3e 0d 0a 25 6e 65 |rlay.dtd|" >..%ne|
|00000190| 77 41 63 74 69 76 61 74 | 69 6f 6e 4f 76 65 72 6c |wActivat|ionOverl|
|000001a0| 61 79 44 54 44 3b 0d 0a | 5d 3e 20 0d 0a 0d 0a 3c |ayDTD;..|]> ....<|
|000001b0| 6f 76 65 72 6c 61 79 20 | 69 64 3d 22 61 63 74 69 |overlay |id="acti|
|000001c0| 76 61 74 69 6f 6e 4f 76 | 65 72 6c 61 79 22 20 0d |vationOv|erlay" .|
|000001d0| 0a 20 20 20 20 20 20 20 | 20 20 78 6d 6c 6e 73 3a |. | xmlns:|
|000001e0| 72 64 66 3d 22 68 74 74 | 70 3a 2f 2f 77 77 77 2e |rdf="htt|p://www.|
|000001f0| 77 33 2e 6f 72 67 2f 31 | 39 39 39 2f 30 32 2f 32 |w3.org/1|999/02/2|
|00000200| 32 2d 72 64 66 2d 73 79 | 6e 74 61 78 2d 6e 73 23 |2-rdf-sy|ntax-ns#|
|00000210| 22 0d 0a 20 20 20 20 20 | 20 20 20 20 78 6d 6c 6e |".. | xmln|
|00000220| 73 3d 22 68 74 74 70 3a | 2f 2f 77 77 77 2e 6d 6f |s="http:|//www.mo|
|00000230| 7a 69 6c 6c 61 2e 6f 72 | 67 2f 6b 65 79 6d 61 73 |zilla.or|g/keymas|
|00000240| 74 65 72 2f 67 61 74 65 | 6b 65 65 70 65 72 2f 74 |ter/gate|keeper/t|
|00000250| 68 65 72 65 2e 69 73 2e | 6f 6e 6c 79 2e 78 75 6c |here.is.|only.xul|
|00000260| 22 3e 0d 0a 0d 0a 20 20 | 3c 73 63 72 69 70 74 20 |">.... |<script |
|00000270| 74 79 70 65 3d 22 61 70 | 70 6c 69 63 61 74 69 6f |type="ap|plicatio|
|00000280| 6e 2f 78 2d 6a 61 76 61 | 73 63 72 69 70 74 22 20 |n/x-java|script" |
|00000290| 73 72 63 3d 22 63 68 72 | 6f 6d 65 3a 2f 2f 61 69 |src="chr|ome://ai|
|000002a0| 6d 2f 63 6f 6e 74 65 6e | 74 2f 6e 65 77 41 63 74 |m/conten|t/newAct|
|000002b0| 69 76 61 74 69 6f 6e 4f | 76 65 72 6c 61 79 2e 6a |ivationO|verlay.j|
|000002c0| 73 22 2f 3e 0d 0a 20 20 | 3c 73 74 72 69 6e 67 62 |s"/>.. |<stringb|
|000002d0| 75 6e 64 6c 65 20 69 64 | 3d 22 62 75 6e 64 6c 65 |undle id|="bundle|
|000002e0| 5f 61 63 74 69 76 61 74 | 69 6f 6e 22 20 73 72 63 |_activat|ion" src|
|000002f0| 3d 22 63 68 72 6f 6d 65 | 3a 2f 2f 63 6f 6d 6d 75 |="chrome|://commu|
|00000300| 6e 69 63 61 74 6f 72 2f | 6c 6f 63 61 6c 65 2f 70 |nicator/|locale/p|
|00000310| 72 6f 66 69 6c 65 2f 61 | 63 74 69 76 61 74 69 6f |rofile/a|ctivatio|
|00000320| 6e 2e 70 72 6f 70 65 72 | 74 69 65 73 22 2f 3e 0d |n.proper|ties"/>.|
|00000330| 0a 20 20 3c 73 74 72 69 | 6e 67 62 75 6e 64 6c 65 |. <stri|ngbundle|
|00000340| 20 69 64 3d 22 62 75 6e | 64 6c 65 5f 62 72 61 6e | id="bun|dle_bran|
|00000350| 64 22 20 73 72 63 3d 22 | 63 68 72 6f 6d 65 3a 2f |d" src="|chrome:/|
|00000360| 2f 67 6c 6f 62 61 6c 2f | 6c 6f 63 61 6c 65 2f 62 |/global/|locale/b|
|00000370| 72 61 6e 64 2e 70 72 6f | 70 65 72 74 69 65 73 22 |rand.pro|perties"|
|00000380| 2f 3e 0d 0a 0d 0a 20 20 | 3c 77 69 7a 61 72 64 70 |/>.... |<wizardp|
|00000390| 61 67 65 20 69 64 3d 22 | 69 73 70 50 61 67 65 31 |age id="|ispPage1|
|000003a0| 22 20 70 61 67 65 69 64 | 3d 22 69 73 70 50 61 67 |" pageid|="ispPag|
|000003b0| 65 31 22 20 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |e1" .. | |
|000003c0| 20 20 20 20 6f 6e 70 61 | 67 65 73 68 6f 77 3d 22 | onpa|geshow="|
|000003d0| 72 65 74 75 72 6e 20 61 | 63 63 6f 75 6e 74 54 79 |return a|ccountTy|
|000003e0| 70 65 4c 6f 61 64 28 29 | 3b 22 0d 0a 20 20 20 20 |peLoad()|;".. |
|000003f0| 20 20 20 20 20 20 20 20 | 20 20 6f 6e 70 61 67 65 | | onpage|
|00000400| 61 64 76 61 6e 63 65 64 | 3d 22 72 65 74 75 72 6e |advanced|="return|
|00000410| 20 61 63 63 6f 75 6e 74 | 54 79 70 65 55 6e 4c 6f | account|TypeUnLo|
|00000420| 61 64 28 29 3b 22 0d 0a | 20 20 20 20 20 20 20 20 |ad();"..| |
|00000430| 20 20 20 20 20 20 6c 61 | 62 65 6c 3d 22 26 77 65 | la|bel="&we|
|00000440| 62 4d 61 69 6c 41 63 63 | 6f 75 6e 74 54 69 74 6c |bMailAcc|ountTitl|
|00000450| 65 2e 6c 61 62 65 6c 3b | 22 3e 0d 0a 0d 0a 20 20 |e.label;|">.... |
|00000460| 20 20 3c 73 63 72 69 70 | 74 20 74 79 70 65 3d 22 | <scrip|t type="|
|00000470| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2f 78 2d 6a 61 |applicat|ion/x-ja|
|00000480| 76 61 73 63 72 69 70 74 | 22 20 73 72 63 3d 22 63 |vascript|" src="c|
|00000490| 68 72 6f 6d 65 3a 2f 2f | 63 6f 6d 6d 75 6e 69 63 |hrome://|communic|
|000004a0| 61 74 6f 72 2f 63 6f 6e | 74 65 6e 74 2f 70 72 6f |ator/con|tent/pro|
|000004b0| 66 69 6c 65 2f 61 63 63 | 74 54 79 70 65 4f 76 65 |file/acc|tTypeOve|
|000004c0| 72 6c 61 79 2e 6a 73 22 | 2f 3e 0d 0a 0d 0a 20 20 |rlay.js"|/>.... |
|000004d0| 20 20 3c 76 62 6f 78 20 | 69 64 3d 22 61 63 74 5f | <vbox |id="act_|
|000004e0| 61 63 63 6f 75 6e 74 74 | 79 70 65 22 3e 0d 0a 20 |accountt|ype">.. |
|000004f0| 20 20 20 20 20 3c 64 65 | 73 63 72 69 70 74 69 6f | <de|scriptio|
|00000500| 6e 3e 26 63 68 6f 6f 73 | 65 41 63 63 6f 75 6e 74 |n>&choos|eAccount|
|00000510| 2e 6c 61 62 65 6c 3b 3c | 2f 64 65 73 63 72 69 70 |.label;<|/descrip|
|00000520| 74 69 6f 6e 3e 0d 0a 20 | 20 20 20 20 20 3c 73 65 |tion>.. | <se|
|00000530| 70 61 72 61 74 6f 72 2f | 3e 0d 0a 20 20 20 20 20 |parator/|>.. |
|00000540| 20 3c 72 61 64 69 6f 67 | 72 6f 75 70 20 6e 61 6d | <radiog|roup nam|
|00000550| 65 3d 22 77 65 62 6d 61 | 69 6c 41 63 63 6f 75 6e |e="webma|ilAccoun|
|00000560| 74 22 20 69 64 3d 22 77 | 65 62 6d 61 69 6c 41 63 |t" id="w|ebmailAc|
|00000570| 63 6f 75 6e 74 22 3e 0d | 0a 20 20 20 20 20 20 20 |count">.|. |
|00000580| 20 3c 72 61 64 69 6f 20 | 69 64 3d 22 65 78 69 73 | <radio |id="exis|
|00000590| 74 69 6e 67 61 63 63 6f | 75 6e 74 22 20 76 61 6c |tingacco|unt" val|
|000005a0| 75 65 3d 22 65 78 69 73 | 74 69 6e 67 61 63 63 6f |ue="exis|tingacco|
|000005b0| 75 6e 74 22 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |unt".. | |
|000005c0| 20 20 20 20 20 6f 6e 63 | 6f 6d 6d 61 6e 64 3d 22 | onc|ommand="|
|000005d0| 73 65 6c 65 63 74 65 64 | 45 78 69 73 74 69 6e 67 |selected|Existing|
|000005e0| 41 63 63 6f 75 6e 74 28 | 29 3b 22 0d 0a 20 20 20 |Account(|);".. |
|000005f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 73 65 6c 65 | | sele|
|00000600| 63 74 65 64 3d 22 74 72 | 75 65 22 0d 0a 20 20 20 |cted="tr|ue".. |
|00000610| 20 20 20 20 20 20 20 20 | 20 20 20 20 6c 61 62 65 | | labe|
|00000620| 6c 3d 22 26 65 78 69 73 | 74 69 6e 67 57 65 62 6d |l="&exis|tingWebm|
|00000630| 61 69 6c 41 63 63 6f 75 | 6e 74 2e 6c 61 62 65 6c |ailAccou|nt.label|
|00000640| 3b 22 2f 3e 0d 0a 0d 0a | 20 20 20 20 20 20 20 20 |;"/>....| |
|00000650| 3c 72 61 64 69 6f 20 69 | 64 3d 22 6e 65 77 61 63 |<radio i|d="newac|
|00000660| 63 6f 75 6e 74 22 20 76 | 61 6c 75 65 3d 22 6e 65 |count" v|alue="ne|
|00000670| 77 61 63 63 6f 75 6e 74 | 22 0d 0a 20 20 20 20 20 |waccount|".. |
|00000680| 20 20 20 20 20 20 20 20 | 20 20 6f 6e 63 6f 6d 6d | | oncomm|
|00000690| 61 6e 64 3d 22 73 65 6c | 65 63 74 65 64 4e 65 77 |and="sel|ectedNew|
|000006a0| 41 63 63 6f 75 6e 74 28 | 29 3b 22 0d 0a 20 20 20 |Account(|);".. |
|000006b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 6c 61 62 65 | | labe|
|000006c0| 6c 3d 22 26 6e 65 77 57 | 65 62 6d 61 69 6c 41 63 |l="&newW|ebmailAc|
|000006d0| 63 6f 75 6e 74 2e 6c 61 | 62 65 6c 3b 22 2f 3e 0d |count.la|bel;"/>.|
|000006e0| 0a 20 20 20 20 20 20 3c | 2f 72 61 64 69 6f 67 72 |. <|/radiogr|
|000006f0| 6f 75 70 3e 0d 0a 20 20 | 20 20 3c 2f 76 62 6f 78 |oup>.. | </vbox|
|00000700| 3e 0d 0a 20 20 3c 2f 77 | 69 7a 61 72 64 70 61 67 |>.. </w|izardpag|
|00000710| 65 3e 0d 0a 0d 0a 3c 2f | 6f 76 65 72 6c 61 79 3e |e>....</|overlay>|
|00000720| 0d 0a 50 4b 03 04 0a 00 | 00 00 00 00 da 69 fd 32 |..PK....|.....i.2|
|00000730| 5b 4d 06 f2 69 27 00 00 | 69 27 00 00 23 00 15 00 |[M..i'..|i'..#...|
|00000740| 63 6f 6e 74 65 6e 74 2f | 61 69 6d 2f 6e 65 77 41 |content/|aim/newA|
|00000750| 63 74 69 76 61 74 69 6f | 6e 4f 76 65 72 6c 61 79 |ctivatio|nOverlay|
|00000760| 2e 6a 73 55 54 09 00 03 | 3c 8e ea 42 3c 8e ea 42 |.jsUT...|<..B<..B|
|00000770| 55 78 04 00 90 01 91 01 | 2f 2a 20 54 68 65 20 63 |Ux......|/* The c|
|00000780| 6f 6e 74 65 6e 74 73 20 | 6f 66 20 74 68 69 73 20 |ontents |of this |
|00000790| 66 69 6c 65 20 61 72 65 | 20 73 75 62 6a 65 63 74 |file are| subject|
|000007a0| 20 74 6f 20 74 68 65 20 | 4e 65 74 73 63 61 70 65 | to the |Netscape|
|000007b0| 20 50 75 62 6c 69 63 0d | 0a 20 2a 20 4c 69 63 65 | Public.|. * Lice|
|000007c0| 6e 73 65 20 56 65 72 73 | 69 6f 6e 20 31 2e 31 20 |nse Vers|ion 1.1 |
|000007d0| 28 74 68 65 20 22 4c 69 | 63 65 6e 73 65 22 29 3b |(the "Li|cense");|
|000007e0| 20 79 6f 75 20 6d 61 79 | 20 6e 6f 74 20 75 73 65 | you may| not use|
|000007f0| 20 74 68 69 73 20 66 69 | 6c 65 0d 0a 20 2a 20 65 | this fi|le.. * e|
|00000800| 78 63 65 70 74 20 69 6e | 20 63 6f 6d 70 6c 69 61 |xcept in| complia|
|00000810| 6e 63 65 20 77 69 74 68 | 20 74 68 65 20 4c 69 63 |nce with| the Lic|
|00000820| 65 6e 73 65 2e 20 59 6f | 75 20 6d 61 79 20 6f 62 |ense. Yo|u may ob|
|00000830| 74 61 69 6e 20 61 20 63 | 6f 70 79 20 6f 66 0d 0a |tain a c|opy of..|
|00000840| 20 2a 20 74 68 65 20 4c | 69 63 65 6e 73 65 20 61 | * the L|icense a|
|00000850| 74 20 68 74 74 70 3a 2f | 2f 77 77 77 2e 6d 6f 7a |t http:/|/www.moz|
|00000860| 69 6c 6c 61 2e 6f 72 67 | 2f 4e 50 4c 2f 0d 0a 20 |illa.org|/NPL/.. |
|00000870| 2a 0d 0a 20 2a 20 53 6f | 66 74 77 61 72 65 20 64 |*.. * So|ftware d|
|00000880| 69 73 74 72 69 62 75 74 | 65 64 20 75 6e 64 65 72 |istribut|ed under|
|00000890| 20 74 68 65 20 4c 69 63 | 65 6e 73 65 20 69 73 20 | the Lic|ense is |
|000008a0| 64 69 73 74 72 69 62 75 | 74 65 64 20 6f 6e 20 61 |distribu|ted on a|
|000008b0| 6e 20 22 41 53 0d 0a 20 | 2a 20 49 53 22 20 62 61 |n "AS.. |* IS" ba|
|000008c0| 73 69 73 2c 20 57 49 54 | 48 4f 55 54 20 57 41 52 |sis, WIT|HOUT WAR|
|000008d0| 52 41 4e 54 59 20 4f 46 | 20 41 4e 59 20 4b 49 4e |RANTY OF| ANY KIN|
|000008e0| 44 2c 20 65 69 74 68 65 | 72 20 65 78 70 72 65 73 |D, eithe|r expres|
|000008f0| 73 20 6f 72 0d 0a 20 2a | 20 69 6d 70 6c 69 65 64 |s or.. *| implied|
|00000900| 2e 20 53 65 65 20 74 68 | 65 20 4c 69 63 65 6e 73 |. See th|e Licens|
|00000910| 65 20 66 6f 72 20 74 68 | 65 20 73 70 65 63 69 66 |e for th|e specif|
|00000920| 69 63 20 6c 61 6e 67 75 | 61 67 65 20 67 6f 76 65 |ic langu|age gove|
|00000930| 72 6e 69 6e 67 0d 0a 20 | 2a 20 72 69 67 68 74 73 |rning.. |* rights|
|00000940| 20 61 6e 64 20 6c 69 6d | 69 74 61 74 69 6f 6e 73 | and lim|itations|
|00000950| 20 75 6e 64 65 72 20 74 | 68 65 20 4c 69 63 65 6e | under t|he Licen|
|00000960| 73 65 2e 0d 0a 20 2a 0d | 0a 20 2a 20 54 68 65 20 |se... *.|. * The |
|00000970| 4f 72 69 67 69 6e 61 6c | 20 43 6f 64 65 20 69 73 |Original| Code is|
|00000980| 20 4d 6f 7a 69 6c 6c 61 | 20 43 6f 6d 6d 75 6e 69 | Mozilla| Communi|
|00000990| 63 61 74 6f 72 20 63 6c | 69 65 6e 74 20 63 6f 64 |cator cl|ient cod|
|000009a0| 65 2c 20 72 65 6c 65 61 | 73 65 64 0d 0a 20 2a 20 |e, relea|sed.. * |
|000009b0| 4d 61 72 63 68 20 33 31 | 2c 20 31 39 39 38 2e 0d |March 31|, 1998..|
|000009c0| 0a 20 2a 0d 0a 20 2a 20 | 54 68 65 20 49 6e 69 74 |. *.. * |The Init|
|000009d0| 69 61 6c 20 44 65 76 65 | 6c 6f 70 65 72 20 6f 66 |ial Deve|loper of|
|000009e0| 20 74 68 65 20 4f 72 69 | 67 69 6e 61 6c 20 43 6f | the Ori|ginal Co|
|000009f0| 64 65 20 69 73 20 4e 65 | 74 73 63 61 70 65 0d 0a |de is Ne|tscape..|
|00000a00| 20 2a 20 43 6f 6d 6d 75 | 6e 69 63 61 74 69 6f 6e | * Commu|nication|
|00000a10| 73 20 43 6f 72 70 6f 72 | 61 74 69 6f 6e 2e 20 50 |s Corpor|ation. P|
|00000a20| 6f 72 74 69 6f 6e 73 20 | 63 72 65 61 74 65 64 20 |ortions |created |
|00000a30| 62 79 20 4e 65 74 73 63 | 61 70 65 20 61 72 65 0d |by Netsc|ape are.|
|00000a40| 0a 20 2a 20 43 6f 70 79 | 72 69 67 68 74 20 28 43 |. * Copy|right (C|
|00000a50| 29 20 31 39 39 38 2d 31 | 39 39 39 20 4e 65 74 73 |) 1998-1|999 Nets|
|00000a60| 63 61 70 65 20 43 6f 6d | 6d 75 6e 69 63 61 74 69 |cape Com|municati|
|00000a70| 6f 6e 73 20 43 6f 72 70 | 6f 72 61 74 69 6f 6e 2e |ons Corp|oration.|
|00000a80| 20 41 6c 6c 0d 0a 20 2a | 20 52 69 67 68 74 73 20 | All.. *| Rights |
|00000a90| 52 65 73 65 72 76 65 64 | 2e 0d 0a 20 2a 0d 0a 20 |Reserved|... *.. |
|00000aa0| 2a 2f 20 0d 0a 0d 0a 76 | 61 72 20 67 50 72 65 66 |*/ ....v|ar gPref|
|00000ab0| 73 20 3d 20 43 6f 6d 70 | 6f 6e 65 6e 74 73 2e 63 |s = Comp|onents.c|
|00000ac0| 6c 61 73 73 65 73 5b 27 | 40 6d 6f 7a 69 6c 6c 61 |lasses['|@mozilla|
|00000ad0| 2e 6f 72 67 2f 70 72 65 | 66 65 72 65 6e 63 65 73 |.org/pre|ferences|
|00000ae0| 2d 73 65 72 76 69 63 65 | 3b 31 27 5d 2e 67 65 74 |-service|;1'].get|
|00000af0| 53 65 72 76 69 63 65 28 | 43 6f 6d 70 6f 6e 65 6e |Service(|Componen|
|00000b00| 74 73 2e 69 6e 74 65 72 | 66 61 63 65 73 2e 6e 73 |ts.inter|faces.ns|
|00000b10| 49 50 72 65 66 42 72 61 | 6e 63 68 29 3b 0d 0a 64 |IPrefBra|nch);..d|
|00000b20| 75 6d 70 20 28 67 50 72 | 65 66 73 20 2b 20 22 5c |ump (gPr|efs + "\|
|00000b30| 6e 22 29 3b 0d 0a 0d 0a | 76 61 72 20 61 63 74 76 |n");....|var actv|
|00000b40| 49 6e 73 74 20 3d 20 43 | 6f 6d 70 6f 6e 65 6e 74 |Inst = C|omponent|
|00000b50| 73 2e 63 6c 61 73 73 65 | 73 5b 27 40 6d 6f 7a 69 |s.classe|s['@mozi|
|00000b60| 6c 6c 61 2e 6f 72 67 2f | 70 72 6f 66 69 6c 65 2f |lla.org/|profile/|
|00000b70| 61 63 74 69 76 61 74 69 | 6f 6e 3b 31 27 5d 2e 63 |activati|on;1'].c|
|00000b80| 72 65 61 74 65 49 6e 73 | 74 61 6e 63 65 28 29 3b |reateIns|tance();|
|00000b90| 0d 0a 61 63 74 76 49 6e | 73 74 20 3d 20 61 63 74 |..actvIn|st = act|
|00000ba0| 76 49 6e 73 74 2e 51 75 | 65 72 79 49 6e 74 65 72 |vInst.Qu|eryInter|
|00000bb0| 66 61 63 65 28 43 6f 6d | 70 6f 6e 65 6e 74 73 2e |face(Com|ponents.|
|00000bc0| 69 6e 74 65 72 66 61 63 | 65 73 2e 6e 73 49 41 63 |interfac|es.nsIAc|
|00000bd0| 74 69 76 61 74 69 6f 6e | 29 3b 0d 0a 0d 0a 0d 0a |tivation|);......|
|00000be0| 0d 0a 63 6f 6e 73 74 20 | 6b 49 4d 53 63 72 65 65 |..const |kIMScree|
|00000bf0| 6e 4e 61 6d 65 50 72 65 | 66 20 3d 20 22 61 69 6d |nNamePre|f = "aim|
|00000c00| 2e 73 65 73 73 69 6f 6e | 2e 73 63 72 65 65 6e 6e |.session|.screenn|
|00000c10| 61 6d 65 22 3b 0d 0a 63 | 6f 6e 73 74 20 6b 57 65 |ame";..c|onst kWe|
|00000c20| 62 4d 61 69 6c 44 6f 6d | 61 69 6e 20 3d 20 22 6e |bMailDom|ain = "n|
|00000c30| 65 74 73 63 61 70 65 2e | 6e 65 74 22 3b 0d 0a 63 |etscape.|net";..c|
|00000c40| 6f 6e 73 74 20 6b 54 65 | 73 74 41 63 74 69 76 61 |onst kTe|stActiva|
|00000c50| 74 69 6f 6e 20 3d 20 22 | 62 72 6f 77 73 65 72 2e |tion = "|browser.|
|00000c60| 74 65 73 74 5f 6e 65 77 | 5f 61 63 74 69 76 61 74 |test_new|_activat|
|00000c70| 69 6f 6e 22 3b 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |ion";...|.functio|
|00000c80| 6e 20 73 65 74 48 65 6c | 70 54 65 78 74 28 65 6c |n setHel|pText(el|
|00000c90| 65 6d 65 6e 74 2c 20 68 | 65 6c 70 41 72 65 61 49 |ement, h|elpAreaI|
|00000ca0| 64 2c 20 68 65 6c 70 45 | 6c 65 6d 65 6e 74 49 64 |d, helpE|lementId|
|00000cb0| 29 0d 0a 7b 0d 0a 20 20 | 63 6c 65 61 72 48 65 6c |)..{.. |clearHel|
|00000cc0| 70 54 65 78 74 28 68 65 | 6c 70 41 72 65 61 49 64 |pText(he|lpAreaId|
|00000cd0| 2c 20 68 65 6c 70 45 6c | 65 6d 65 6e 74 49 64 29 |, helpEl|ementId)|
|00000ce0| 3b 0d 0a 0d 0a 20 20 76 | 61 72 20 68 65 6c 70 41 |;.... v|ar helpA|
|00000cf0| 72 65 61 20 20 3d 20 64 | 6f 63 75 6d 65 6e 74 2e |rea = d|ocument.|
|00000d00| 67 65 74 45 6c 65 6d 65 | 6e 74 42 79 49 64 28 68 |getEleme|ntById(h|
|00000d10| 65 6c 70 41 72 65 61 49 | 64 29 3b 0d 0a 20 20 68 |elpAreaI|d);.. h|
|00000d20| 65 6c 70 41 72 65 61 2e | 73 65 74 41 74 74 72 69 |elpArea.|setAttri|
|00000d30| 62 75 74 65 28 22 68 69 | 64 64 65 6e 22 2c 20 66 |bute("hi|dden", f|
|00000d40| 61 6c 73 65 29 3b 0d 0a | 0d 0a 20 20 76 61 72 20 |alse);..|.. var |
|00000d50| 63 75 72 72 65 6e 74 45 | 6c 65 6d 65 6e 74 20 20 |currentE|lement |
|00000d60| 3d 20 64 6f 63 75 6d 65 | 6e 74 2e 67 65 74 45 6c |= docume|nt.getEl|
|00000d70| 65 6d 65 6e 74 42 79 49 | 64 28 65 6c 65 6d 65 6e |ementByI|d(elemen|
|00000d80| 74 29 3b 0d 0a 20 20 76 | 61 72 20 68 65 6c 70 54 |t);.. v|ar helpT|
|00000d90| 65 78 74 20 20 3d 20 63 | 75 72 72 65 6e 74 45 6c |ext = c|urrentEl|
|00000da0| 65 6d 65 6e 74 2e 67 65 | 74 41 74 74 72 69 62 75 |ement.ge|tAttribu|
|00000db0| 74 65 28 22 68 65 6c 70 | 74 65 78 74 22 29 3b 0d |te("help|text");.|
|00000dc0| 0a 0d 0a 20 20 76 61 72 | 20 68 65 6c 70 54 65 78 |... var| helpTex|
|00000dd0| 74 4e 6f 64 65 20 3d 20 | 64 6f 63 75 6d 65 6e 74 |tNode = |document|
|00000de0| 2e 63 72 65 61 74 65 54 | 65 78 74 4e 6f 64 65 28 |.createT|extNode(|
|00000df0| 68 65 6c 70 54 65 78 74 | 29 3b 0d 0a 0d 0a 20 20 |helpText|);.... |
|00000e00| 76 61 72 20 68 65 6c 70 | 45 6c 65 6d 65 6e 74 20 |var help|Element |
|00000e10| 20 3d 20 64 6f 63 75 6d | 65 6e 74 2e 67 65 74 45 | = docum|ent.getE|
|00000e20| 6c 65 6d 65 6e 74 42 79 | 49 64 28 68 65 6c 70 45 |lementBy|Id(helpE|
|00000e30| 6c 65 6d 65 6e 74 49 64 | 29 3b 0d 0a 20 20 68 65 |lementId|);.. he|
|00000e40| 6c 70 45 6c 65 6d 65 6e | 74 2e 61 70 70 65 6e 64 |lpElemen|t.append|
|00000e50| 43 68 69 6c 64 28 68 65 | 6c 70 54 65 78 74 4e 6f |Child(he|lpTextNo|
|00000e60| 64 65 29 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |de);..}.|...funct|
|00000e70| 69 6f 6e 20 63 6c 65 61 | 72 48 65 6c 70 54 65 78 |ion clea|rHelpTex|
|00000e80| 74 28 68 65 6c 70 41 72 | 65 61 49 64 2c 20 68 65 |t(helpAr|eaId, he|
|00000e90| 6c 70 45 6c 65 6d 65 6e | 74 49 64 29 0d 0a 7b 0d |lpElemen|tId)..{.|
|00000ea0| 0a 20 20 76 61 72 20 68 | 65 6c 70 45 6c 65 6d 65 |. var h|elpEleme|
|00000eb0| 6e 74 20 20 3d 20 64 6f | 63 75 6d 65 6e 74 2e 67 |nt = do|cument.g|
|00000ec0| 65 74 45 6c 65 6d 65 6e | 74 42 79 49 64 28 68 65 |etElemen|tById(he|
|00000ed0| 6c 70 45 6c 65 6d 65 6e | 74 49 64 29 3b 0d 0a 20 |lpElemen|tId);.. |
|00000ee0| 20 69 66 20 28 68 65 6c | 70 45 6c 65 6d 65 6e 74 | if (hel|pElement|
|00000ef0| 2e 66 69 72 73 74 43 68 | 69 6c 64 29 0d 0a 20 20 |.firstCh|ild).. |
|00000f00| 20 20 68 65 6c 70 45 6c | 65 6d 65 6e 74 2e 72 65 | helpEl|ement.re|
|00000f10| 6d 6f 76 65 43 68 69 6c | 64 28 68 65 6c 70 45 6c |moveChil|d(helpEl|
|00000f20| 65 6d 65 6e 74 2e 66 69 | 72 73 74 43 68 69 6c 64 |ement.fi|rstChild|
|00000f30| 29 3b 0d 0a 0d 0a 20 20 | 76 61 72 20 68 65 6c 70 |);.... |var help|
|00000f40| 41 72 65 61 20 20 3d 20 | 64 6f 63 75 6d 65 6e 74 |Area = |document|
|00000f50| 2e 67 65 74 45 6c 65 6d | 65 6e 74 42 79 49 64 28 |.getElem|entById(|
|00000f60| 68 65 6c 70 41 72 65 61 | 49 64 29 3b 0d 0a 20 20 |helpArea|Id);.. |
|00000f70| 68 65 6c 70 41 72 65 61 | 2e 73 65 74 41 74 74 72 |helpArea|.setAttr|
|00000f80| 69 62 75 74 65 28 22 68 | 69 64 64 65 6e 22 2c 20 |ibute("h|idden", |
|00000f90| 74 72 75 65 29 3b 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |true);..|}....fun|
|00000fa0| 63 74 69 6f 6e 20 73 65 | 74 4e 65 77 41 63 63 6f |ction se|tNewAcco|
|00000fb0| 75 6e 74 47 6c 6f 62 61 | 6c 73 28 29 0d 0a 7b 0d |untGloba|ls()..{.|
|00000fc0| 0a 20 20 67 4e 65 77 41 | 63 63 6f 75 6e 74 20 3d |. gNewA|ccount =|
|00000fd0| 20 74 72 75 65 3b 0d 0a | 20 20 67 45 78 69 73 74 | true;..| gExist|
|00000fe0| 69 6e 67 41 63 63 6f 75 | 6e 74 20 3d 20 66 61 6c |ingAccou|nt = fal|
|00000ff0| 73 65 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |se;..}..|..functi|
|00001000| 6f 6e 20 73 65 74 45 78 | 69 73 74 69 6e 67 41 63 |on setEx|istingAc|
|00001010| 63 6f 75 6e 74 47 6c 6f | 62 61 6c 73 28 29 0d 0a |countGlo|bals()..|
|00001020| 7b 0d 0a 20 20 67 45 78 | 69 73 74 69 6e 67 41 63 |{.. gEx|istingAc|
|00001030| 63 6f 75 6e 74 20 3d 20 | 74 72 75 65 3b 0d 0a 20 |count = |true;.. |
|00001040| 20 67 4e 65 77 41 63 63 | 6f 75 6e 74 20 3d 20 66 | gNewAcc|ount = f|
|00001050| 61 6c 73 65 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |alse;..}|....func|
|00001060| 74 69 6f 6e 20 65 6e 61 | 62 6c 65 42 75 74 74 6f |tion ena|bleButto|
|00001070| 6e 28 62 75 74 74 6f 6e | 4c 61 62 65 6c 29 0d 0a |n(button|Label)..|
|00001080| 7b 0d 0a 20 20 76 61 72 | 20 62 75 74 74 6f 6e 20 |{.. var| button |
|00001090| 3d 20 64 6f 63 75 6d 65 | 6e 74 2e 64 6f 63 75 6d |= docume|nt.docum|
|000010a0| 65 6e 74 45 6c 65 6d 65 | 6e 74 2e 67 65 74 42 75 |entEleme|nt.getBu|
|000010b0| 74 74 6f 6e 28 62 75 74 | 74 6f 6e 4c 61 62 65 6c |tton(but|tonLabel|
|000010c0| 29 3b 0d 0a 20 20 62 75 | 74 74 6f 6e 2e 72 65 6d |);.. bu|tton.rem|
|000010d0| 6f 76 65 41 74 74 72 69 | 62 75 74 65 28 22 64 69 |oveAttri|bute("di|
|000010e0| 73 61 62 6c 65 64 22 29 | 3b 0d 0a 7d 0d 0a 0d 0a |sabled")|;..}....|
|000010f0| 66 75 6e 63 74 69 6f 6e | 20 64 69 73 61 62 6c 65 |function| disable|
|00001100| 42 75 74 74 6f 6e 28 62 | 75 74 74 6f 6e 4c 61 62 |Button(b|uttonLab|
|00001110| 65 6c 29 0d 0a 7b 0d 0a | 20 20 76 61 72 20 62 75 |el)..{..| var bu|
|00001120| 74 74 6f 6e 20 3d 20 64 | 6f 63 75 6d 65 6e 74 2e |tton = d|ocument.|
|00001130| 64 6f 63 75 6d 65 6e 74 | 45 6c 65 6d 65 6e 74 2e |document|Element.|
|00001140| 67 65 74 42 75 74 74 6f | 6e 28 62 75 74 74 6f 6e |getButto|n(button|
|00001150| 4c 61 62 65 6c 29 3b 0d | 0a 20 20 62 75 74 74 6f |Label);.|. butto|
|00001160| 6e 2e 73 65 74 41 74 74 | 72 69 62 75 74 65 28 22 |n.setAtt|ribute("|
|00001170| 64 69 73 61 62 6c 65 64 | 22 2c 20 22 74 72 75 65 |disabled|", "true|
|00001180| 22 29 3b 0d 0a 7d 0d 0a | 0d 0a 0d 0a 66 75 6e 63 |");..}..|....func|
|00001190| 74 69 6f 6e 20 73 65 74 | 45 72 72 6f 72 4d 65 73 |tion set|ErrorMes|
|000011a0| 73 61 67 65 28 65 72 72 | 6f 72 4d 65 73 73 61 67 |sage(err|orMessag|
|000011b0| 65 29 0d 0a 7b 0d 0a 20 | 20 63 6c 65 61 72 45 72 |e)..{.. | clearEr|
|000011c0| 72 6f 72 4d 65 73 73 61 | 67 65 28 29 3b 0d 0a 0d |rorMessa|ge();...|
|000011d0| 0a 20 20 76 61 72 20 65 | 72 72 6f 72 54 65 78 74 |. var e|rrorText|
|000011e0| 4e 6f 64 65 20 3d 20 64 | 6f 63 75 6d 65 6e 74 2e |Node = d|ocument.|
|000011f0| 63 72 65 61 74 65 54 65 | 78 74 4e 6f 64 65 28 65 |createTe|xtNode(e|
|00001200| 72 72 6f 72 4d 65 73 73 | 61 67 65 29 3b 0d 0a 0d |rrorMess|age);...|
|00001210| 0a 20 20 76 61 72 20 65 | 72 72 6f 72 4d 65 73 73 |. var e|rrorMess|
|00001220| 61 67 65 45 6c 65 6d 65 | 6e 74 20 20 3d 20 64 6f |ageEleme|nt = do|
|00001230| 63 75 6d 65 6e 74 2e 67 | 65 74 45 6c 65 6d 65 6e |cument.g|etElemen|
|00001240| 74 42 79 49 64 28 22 65 | 72 72 6f 72 4d 65 73 73 |tById("e|rrorMess|
|00001250| 61 67 65 22 29 3b 0d 0a | 20 20 65 72 72 6f 72 4d |age");..| errorM|
|00001260| 65 73 73 61 67 65 45 6c | 65 6d 65 6e 74 2e 61 70 |essageEl|ement.ap|
|00001270| 70 65 6e 64 43 68 69 6c | 64 28 65 72 72 6f 72 54 |pendChil|d(errorT|
|00001280| 65 78 74 4e 6f 64 65 29 | 3b 0d 0a 7d 0d 0a 0d 0a |extNode)|;..}....|
|00001290| 66 75 6e 63 74 69 6f 6e | 20 63 6c 65 61 72 45 72 |function| clearEr|
|000012a0| 72 6f 72 4d 65 73 73 61 | 67 65 28 29 0d 0a 7b 0d |rorMessa|ge()..{.|
|000012b0| 0a 20 20 76 61 72 20 65 | 72 72 6f 72 4d 65 73 73 |. var e|rrorMess|
|000012c0| 61 67 65 45 6c 65 6d 65 | 6e 74 20 20 3d 20 64 6f |ageEleme|nt = do|
|000012d0| 63 75 6d 65 6e 74 2e 67 | 65 74 45 6c 65 6d 65 6e |cument.g|etElemen|
|000012e0| 74 42 79 49 64 28 22 65 | 72 72 6f 72 4d 65 73 73 |tById("e|rrorMess|
|000012f0| 61 67 65 22 29 3b 0d 0a | 20 20 69 66 20 28 65 72 |age");..| if (er|
|00001300| 72 6f 72 4d 65 73 73 61 | 67 65 45 6c 65 6d 65 6e |rorMessa|geElemen|
|00001310| 74 2e 66 69 72 73 74 43 | 68 69 6c 64 29 0d 0a 20 |t.firstC|hild).. |
|00001320| 20 20 20 65 72 72 6f 72 | 4d 65 73 73 61 67 65 45 | error|MessageE|
|00001330| 6c 65 6d 65 6e 74 2e 72 | 65 6d 6f 76 65 43 68 69 |lement.r|emoveChi|
|00001340| 6c 64 28 65 72 72 6f 72 | 4d 65 73 73 61 67 65 45 |ld(error|MessageE|
|00001350| 6c 65 6d 65 6e 74 2e 66 | 69 72 73 74 43 68 69 6c |lement.f|irstChil|
|00001360| 64 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |d);..}..|..functi|
|00001370| 6f 6e 20 73 65 74 4e 65 | 78 74 50 61 67 65 28 63 |on setNe|xtPage(c|
|00001380| 75 72 72 65 6e 74 50 61 | 67 65 49 64 2c 20 6e 65 |urrentPa|geId, ne|
|00001390| 78 74 50 61 67 65 49 64 | 29 20 0d 0a 7b 0d 0a 09 |xtPageId|) ..{...|
|000013a0| 2f 2f 61 6c 65 72 74 28 | 22 58 58 58 20 73 65 74 |//alert(|"XXX set|
|000013b0| 4e 65 78 74 50 61 67 65 | 20 22 20 2b 20 63 75 72 |NextPage| " + cur|
|000013c0| 72 65 6e 74 50 61 67 65 | 49 64 20 2b 20 22 20 22 |rentPage|Id + " "|
|000013d0| 20 2b 20 6e 65 78 74 50 | 61 67 65 49 64 29 3b 0d | + nextP|ageId);.|
|000013e0| 0a 20 20 20 20 64 75 6d | 70 28 22 58 58 58 20 73 |. dum|p("XXX s|
|000013f0| 65 74 4e 65 78 74 50 61 | 67 65 20 22 20 2b 20 63 |etNextPa|ge " + c|
|00001400| 75 72 72 65 6e 74 50 61 | 67 65 49 64 20 2b 20 22 |urrentPa|geId + "|
|00001410| 20 22 20 2b 20 6e 65 78 | 74 50 61 67 65 49 64 20 | " + nex|tPageId |
|00001420| 2b 20 22 5c 6e 22 29 3b | 0d 0a 20 20 20 20 76 61 |+ "\n");|.. va|
|00001430| 72 20 63 75 72 72 65 6e | 74 50 61 67 65 20 3d 20 |r curren|tPage = |
|00001440| 64 6f 63 75 6d 65 6e 74 | 2e 67 65 74 45 6c 65 6d |document|.getElem|
|00001450| 65 6e 74 42 79 49 64 28 | 63 75 72 72 65 6e 74 50 |entById(|currentP|
|00001460| 61 67 65 49 64 29 3b 0d | 0a 20 20 20 20 63 75 72 |ageId);.|. cur|
|00001470| 72 65 6e 74 50 61 67 65 | 2e 6e 65 78 74 20 3d 20 |rentPage|.next = |
|00001480| 6e 65 78 74 50 61 67 65 | 49 64 3b 0d 0a 7d 0d 0a |nextPage|Id;..}..|
|00001490| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 73 65 74 44 61 |..functi|on setDa|
|000014a0| 79 44 65 66 61 75 6c 74 | 28 29 0d 0a 7b 0d 0a 20 |yDefault|()..{.. |
|000014b0| 20 76 61 72 20 64 61 79 | 4d 65 6e 75 4c 69 73 74 | var day|MenuList|
|000014c0| 20 3d 20 64 6f 63 75 6d | 65 6e 74 2e 67 65 74 45 | = docum|ent.getE|
|000014d0| 6c 65 6d 65 6e 74 42 79 | 49 64 28 22 64 61 79 22 |lementBy|Id("day"|
|000014e0| 29 3b 0d 0a 20 20 64 61 | 79 4d 65 6e 75 4c 69 73 |);.. da|yMenuLis|
|000014f0| 74 2e 73 65 6c 65 63 74 | 65 64 49 6e 64 65 78 20 |t.select|edIndex |
|00001500| 3d 20 30 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |= 0;..}.|...funct|
|00001510| 69 6f 6e 20 73 65 74 4d | 6f 6e 74 68 44 65 66 61 |ion setM|onthDefa|
|00001520| 75 6c 74 28 29 0d 0a 7b | 0d 0a 20 20 76 61 72 20 |ult()..{|.. var |
|00001530| 6d 6f 6e 74 68 4d 65 6e | 75 4c 69 73 74 20 3d 20 |monthMen|uList = |
|00001540| 64 6f 63 75 6d 65 6e 74 | 2e 67 65 74 45 6c 65 6d |document|.getElem|
|00001550| 65 6e 74 42 79 49 64 28 | 22 6d 6f 6e 74 68 22 29 |entById(|"month")|
|00001560| 3b 0d 0a 20 20 6d 6f 6e | 74 68 4d 65 6e 75 4c 69 |;.. mon|thMenuLi|
|00001570| 73 74 2e 73 65 6c 65 63 | 74 65 64 49 6e 64 65 78 |st.selec|tedIndex|
|00001580| 20 3d 20 30 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 | = 0;..}|....func|
|00001590| 74 69 6f 6e 20 73 65 74 | 59 65 61 72 44 65 66 61 |tion set|YearDefa|
|000015a0| 75 6c 74 28 29 0d 0a 7b | 0d 0a 20 20 76 61 72 20 |ult()..{|.. var |
|000015b0| 79 65 61 72 54 65 78 74 | 42 6f 78 20 3d 20 64 6f |yearText|Box = do|
|000015c0| 63 75 6d 65 6e 74 2e 67 | 65 74 45 6c 65 6d 65 6e |cument.g|etElemen|
|000015d0| 74 42 79 49 64 28 22 79 | 65 61 72 22 29 3b 0d 0a |tById("y|ear");..|
|000015e0| 20 20 69 66 20 28 21 79 | 65 61 72 54 65 78 74 42 | if (!y|earTextB|
|000015f0| 6f 78 2e 76 61 6c 75 65 | 29 20 0d 0a 20 20 20 20 |ox.value|) .. |
|00001600| 79 65 61 72 54 65 78 74 | 42 6f 78 2e 76 61 6c 75 |yearText|Box.valu|
|00001610| 65 20 3d 20 61 63 74 69 | 76 61 74 69 6f 6e 53 74 |e = acti|vationSt|
|00001620| 72 42 75 6e 64 6c 65 2e | 47 65 74 53 74 72 69 6e |rBundle.|GetStrin|
|00001630| 67 46 72 6f 6d 4e 61 6d | 65 28 22 79 65 61 72 44 |gFromNam|e("yearD|
|00001640| 65 66 61 75 6c 74 22 29 | 3b 0d 0a 7d 0d 0a 0d 0a |efault")|;..}....|
|00001650| 66 75 6e 63 74 69 6f 6e | 20 62 75 69 6c 64 43 6f |function| buildCo|
|00001660| 75 6e 74 72 79 4c 69 73 | 74 28 29 0d 0a 7b 0d 0a |untryLis|t()..{..|
|00001670| 20 20 69 66 20 28 21 67 | 43 6f 75 6e 74 72 79 4c | if (!g|CountryL|
|00001680| 69 73 74 42 75 69 6c 74 | 29 20 7b 0d 0a 20 20 20 |istBuilt|) {.. |
|00001690| 20 76 61 72 20 63 6f 75 | 6e 74 72 79 4c 69 73 74 | var cou|ntryList|
|000016a0| 20 3d 20 64 6f 63 75 6d | 65 6e 74 2e 67 65 74 45 | = docum|ent.getE|
|000016b0| 6c 65 6d 65 6e 74 42 79 | 49 64 28 22 6e 65 77 41 |lementBy|Id("newA|
|000016c0| 63 63 6f 75 6e 74 43 6f | 75 6e 74 72 79 22 29 3b |ccountCo|untry");|
|000016d0| 0d 0a 0d 0a 20 20 20 20 | 76 61 72 20 63 6f 75 6e |.... |var coun|
|000016e0| 74 72 79 50 72 65 66 69 | 78 20 3d 20 22 63 6f 75 |tryPrefi|x = "cou|
|000016f0| 6e 74 72 79 22 3b 0d 0a | 20 20 20 20 76 61 72 20 |ntry";..| var |
|00001700| 63 6f 75 6e 74 72 79 43 | 6f 64 65 53 75 66 66 69 |countryC|odeSuffi|
|00001710| 78 20 3d 20 22 43 6f 64 | 65 22 3b 0d 0a 20 20 20 |x = "Cod|e";.. |
|00001720| 20 66 6f 72 20 28 76 61 | 72 20 69 20 3d 20 30 3b | for (va|r i = 0;|
|00001730| 20 69 20 3c 20 32 33 39 | 3b 20 69 2b 2b 29 20 7b | i < 239|; i++) {|
|00001740| 0d 0a 20 20 20 20 20 20 | 76 61 72 20 63 6f 75 6e |.. |var coun|
|00001750| 74 72 79 20 3d 20 61 63 | 74 69 76 61 74 69 6f 6e |try = ac|tivation|
|00001760| 53 74 72 42 75 6e 64 6c | 65 2e 47 65 74 53 74 72 |StrBundl|e.GetStr|
|00001770| 69 6e 67 46 72 6f 6d 4e | 61 6d 65 28 63 6f 75 6e |ingFromN|ame(coun|
|00001780| 74 72 79 50 72 65 66 69 | 78 2b 28 69 2b 31 29 29 |tryPrefi|x+(i+1))|
|00001790| 3b 0d 0a 20 20 20 20 20 | 20 76 61 72 20 63 6f 75 |;.. | var cou|
|000017a0| 6e 74 72 79 43 6f 64 65 | 20 3d 20 61 63 74 69 76 |ntryCode| = activ|
|000017b0| 61 74 69 6f 6e 53 74 72 | 42 75 6e 64 6c 65 2e 47 |ationStr|Bundle.G|
|000017c0| 65 74 53 74 72 69 6e 67 | 46 72 6f 6d 4e 61 6d 65 |etString|FromName|
|000017d0| 28 63 6f 75 6e 74 72 79 | 50 72 65 66 69 78 2b 28 |(country|Prefix+(|
|000017e0| 69 2b 31 29 2b 63 6f 75 | 6e 74 72 79 43 6f 64 65 |i+1)+cou|ntryCode|
|000017f0| 53 75 66 66 69 78 29 3b | 0d 0a 0d 0a 20 20 20 20 |Suffix);|.... |
|00001800| 20 20 76 61 72 20 69 74 | 65 6d 20 3d 20 63 6f 75 | var it|em = cou|
|00001810| 6e 74 72 79 4c 69 73 74 | 2e 61 70 70 65 6e 64 49 |ntryList|.appendI|
|00001820| 74 65 6d 28 63 6f 75 6e | 74 72 79 2c 20 69 29 3b |tem(coun|try, i);|
|00001830| 0d 0a 20 20 20 20 20 20 | 69 74 65 6d 2e 73 65 74 |.. |item.set|
|00001840| 41 74 74 72 69 62 75 74 | 65 28 22 76 61 6c 75 65 |Attribut|e("value|
|00001850| 22 2c 20 63 6f 75 6e 74 | 72 79 43 6f 64 65 29 3b |", count|ryCode);|
|00001860| 0d 0a 20 20 20 20 7d 0d | 0a 20 20 20 20 63 6f 75 |.. }.|. cou|
|00001870| 6e 74 72 79 4c 69 73 74 | 2e 73 65 6c 65 63 74 65 |ntryList|.selecte|
|00001880| 64 49 6e 64 65 78 20 3d | 20 70 61 72 73 65 49 6e |dIndex =| parseIn|
|00001890| 74 28 61 63 74 69 76 61 | 74 69 6f 6e 53 74 72 42 |t(activa|tionStrB|
|000018a0| 75 6e 64 6c 65 2e 47 65 | 74 53 74 72 69 6e 67 46 |undle.Ge|tStringF|
|000018b0| 72 6f 6d 4e 61 6d 65 28 | 22 73 65 6c 65 63 74 43 |romName(|"selectC|
|000018c0| 6f 75 6e 74 72 79 49 6e | 64 65 78 22 29 29 2d 31 |ountryIn|dex"))-1|
|000018d0| 3b 0d 0a 20 20 20 20 67 | 43 6f 75 6e 74 72 79 4c |;.. g|CountryL|
|000018e0| 69 73 74 42 75 69 6c 74 | 20 3d 20 74 72 75 65 3b |istBuilt| = true;|
|000018f0| 0d 0a 20 20 7d 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |.. }..}|....func|
|00001900| 74 69 6f 6e 20 73 68 6f | 77 45 72 72 6f 72 4d 73 |tion sho|wErrorMs|
|00001910| 67 28 65 72 72 6f 72 49 | 64 29 0d 0a 7b 0d 0a 20 |g(errorI|d)..{.. |
|00001920| 20 76 61 72 20 65 72 72 | 6f 72 54 69 74 6c 65 20 | var err|orTitle |
|00001930| 3d 20 61 63 74 69 76 61 | 74 69 6f 6e 53 74 72 42 |= activa|tionStrB|
|00001940| 75 6e 64 6c 65 2e 47 65 | 74 53 74 72 69 6e 67 46 |undle.Ge|tStringF|
|00001950| 72 6f 6d 4e 61 6d 65 28 | 22 65 72 72 6f 72 4d 73 |romName(|"errorMs|
|00001960| 67 57 69 6e 64 6f 77 54 | 69 74 6c 65 22 29 3b 0d |gWindowT|itle");.|
|00001970| 0a 20 20 76 61 72 20 65 | 72 72 6f 72 4d 73 67 20 |. var e|rrorMsg |
|00001980| 3d 20 61 63 74 69 76 61 | 74 69 6f 6e 53 74 72 42 |= activa|tionStrB|
|00001990| 75 6e 64 6c 65 2e 47 65 | 74 53 74 72 69 6e 67 46 |undle.Ge|tStringF|
|000019a0| 72 6f 6d 4e 61 6d 65 28 | 65 72 72 6f 72 49 64 29 |romName(|errorId)|
|000019b0| 3b 0d 0a 20 20 76 61 72 | 20 70 72 6f 6d 70 74 53 |;.. var| promptS|
|000019c0| 65 72 76 69 63 65 20 3d | 20 43 6f 6d 70 6f 6e 65 |ervice =| Compone|
|000019d0| 6e 74 73 2e 63 6c 61 73 | 73 65 73 5b 22 40 6d 6f |nts.clas|ses["@mo|
|000019e0| 7a 69 6c 6c 61 2e 6f 72 | 67 2f 65 6d 62 65 64 63 |zilla.or|g/embedc|
|000019f0| 6f 6d 70 2f 70 72 6f 6d | 70 74 2d 73 65 72 76 69 |omp/prom|pt-servi|
|00001a00| 63 65 3b 31 22 5d 2e 67 | 65 74 53 65 72 76 69 63 |ce;1"].g|etServic|
|00001a10| 65 28 29 3b 0d 0a 20 20 | 70 72 6f 6d 70 74 53 65 |e();.. |promptSe|
|00001a20| 72 76 69 63 65 20 3d 20 | 70 72 6f 6d 70 74 53 65 |rvice = |promptSe|
|00001a30| 72 76 69 63 65 2e 51 75 | 65 72 79 49 6e 74 65 72 |rvice.Qu|eryInter|
|00001a40| 66 61 63 65 28 43 6f 6d | 70 6f 6e 65 6e 74 73 2e |face(Com|ponents.|
|00001a50| 69 6e 74 65 72 66 61 63 | 65 73 2e 6e 73 49 50 72 |interfac|es.nsIPr|
|00001a60| 6f 6d 70 74 53 65 72 76 | 69 63 65 29 3b 0d 0a 0d |omptServ|ice);...|
|00001a70| 0a 20 20 69 66 20 28 70 | 72 6f 6d 70 74 53 65 72 |. if (p|romptSer|
|00001a80| 76 69 63 65 29 20 7b 20 | 20 0d 0a 20 20 20 20 70 |vice) { | .. p|
|00001a90| 72 6f 6d 70 74 53 65 72 | 76 69 63 65 2e 61 6c 65 |romptSer|vice.ale|
|00001aa0| 72 74 28 77 69 6e 64 6f | 77 2c 20 65 72 72 6f 72 |rt(windo|w, error|
|00001ab0| 54 69 74 6c 65 2c 20 65 | 72 72 6f 72 4d 73 67 29 |Title, e|rrorMsg)|
|00001ac0| 3b 0d 0a 20 20 7d 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |;.. }..|}....fun|
|00001ad0| 63 74 69 6f 6e 20 53 65 | 74 43 75 73 74 6f 6d 69 |ction Se|tCustomi|
|00001ae0| 7a 65 64 57 69 7a 61 72 | 64 44 69 6d 65 6e 73 69 |zedWizar|dDimensi|
|00001af0| 6f 6e 73 28 29 0d 0a 7b | 0d 0a 20 20 76 61 72 20 |ons()..{|.. var |
|00001b00| 77 69 64 74 68 20 20 3d | 20 61 63 74 69 76 61 74 |width =| activat|
|00001b10| 69 6f 6e 53 74 72 42 75 | 6e 64 6c 65 2e 47 65 74 |ionStrBu|ndle.Get|
|00001b20| 53 74 72 69 6e 67 46 72 | 6f 6d 4e 61 6d 65 28 22 |StringFr|omName("|
|00001b30| 77 69 7a 61 72 64 57 69 | 6e 64 6f 77 57 69 64 74 |wizardWi|ndowWidt|
|00001b40| 68 22 29 3b 0d 0a 20 20 | 76 61 72 20 68 65 69 67 |h");.. |var heig|
|00001b50| 68 74 20 3d 20 61 63 74 | 69 76 61 74 69 6f 6e 53 |ht = act|ivationS|
|00001b60| 74 72 42 75 6e 64 6c 65 | 2e 47 65 74 53 74 72 69 |trBundle|.GetStri|
|00001b70| 6e 67 46 72 6f 6d 4e 61 | 6d 65 28 22 77 69 7a 61 |ngFromNa|me("wiza|
|00001b80| 72 64 57 69 6e 64 6f 77 | 48 65 69 67 68 74 22 29 |rdWindow|Height")|
|00001b90| 3b 0d 0a 0d 0a 20 20 64 | 6f 63 75 6d 65 6e 74 2e |;.... d|ocument.|
|00001ba0| 64 6f 63 75 6d 65 6e 74 | 45 6c 65 6d 65 6e 74 2e |document|Element.|
|00001bb0| 77 69 64 74 68 20 3d 20 | 77 69 64 74 68 3b 0d 0a |width = |width;..|
|00001bc0| 20 20 64 6f 63 75 6d 65 | 6e 74 2e 64 6f 63 75 6d | docume|nt.docum|
|00001bd0| 65 6e 74 45 6c 65 6d 65 | 6e 74 2e 68 65 69 67 68 |entEleme|nt.heigh|
|00001be0| 74 20 3d 20 68 65 69 67 | 68 74 3b 0d 0a 0d 0a 20 |t = heig|ht;.... |
|00001bf0| 20 2f 2f 20 41 6c 73 6f | 20 63 68 65 63 6b 20 69 | // Also| check i|
|00001c00| 66 20 74 68 65 72 65 20 | 61 72 65 20 61 6e 79 20 |f there |are any |
|00001c10| 61 72 67 75 6d 65 6e 74 | 73 2e 20 49 66 20 74 68 |argument|s. If th|
|00001c20| 65 72 65 20 61 72 65 20 | 61 72 67 75 6d 65 6e 74 |ere are |argument|
|00001c30| 73 20 74 6f 20 73 74 61 | 72 74 0d 0a 20 20 2f 2f |s to sta|rt.. //|
|00001c40| 20 69 6e 20 70 61 67 65 | 2c 20 72 65 71 75 65 73 | in page|, reques|
|00001c50| 74 20 69 73 20 63 6f 6d | 69 6e 67 20 66 72 6f 6d |t is com|ing from|
|00001c60| 20 47 65 74 20 46 72 65 | 65 20 57 65 62 20 4d 61 | Get Fre|e Web Ma|
|00001c70| 69 6c 20 70 61 67 65 2e | 20 50 72 6f 63 65 73 73 |il page.| Process|
|00001c80| 20 74 68 61 74 20 6f 6e | 65 2e 0d 0a 20 20 69 66 | that on|e... if|
|00001c90| 20 28 77 69 6e 64 6f 77 | 2e 61 72 67 75 6d 65 6e | (window|.argumen|
|00001ca0| 74 73 20 26 26 20 77 69 | 6e 64 6f 77 2e 61 72 67 |ts && wi|ndow.arg|
|00001cb0| 75 6d 65 6e 74 73 5b 30 | 5d 29 20 7b 0d 0a 20 20 |uments[0|]) {.. |
|00001cc0| 20 20 69 66 20 28 77 69 | 6e 64 6f 77 2e 61 72 67 | if (wi|ndow.arg|
|00001cd0| 75 6d 65 6e 74 73 5b 30 | 5d 2e 70 61 67 65 20 3d |uments[0|].page =|
|00001ce0| 3d 20 22 69 73 70 50 61 | 67 65 34 22 29 20 7b 0d |= "ispPa|ge4") {.|
|00001cf0| 0a 20 20 20 20 20 20 76 | 61 72 20 70 72 6f 67 72 |. v|ar progr|
|00001d00| 65 73 73 57 69 6e 64 6f | 77 20 3d 20 67 65 74 50 |essWindo|w = getP|
|00001d10| 72 6f 67 72 65 73 73 44 | 69 61 6c 6f 67 28 22 61 |rogressD|ialog("a|
|00001d20| 63 74 69 76 61 74 69 6f | 6e 53 74 61 72 74 57 69 |ctivatio|nStartWi|
|00001d30| 6e 64 6f 77 22 29 3b 0d | 0a 20 20 20 20 20 20 69 |ndow");.|. i|
|00001d40| 66 20 28 70 72 6f 67 72 | 65 73 73 57 69 6e 64 6f |f (progr|essWindo|
|00001d50| 77 29 20 0d 0a 20 20 20 | 20 20 20 20 20 70 72 6f |w) .. | pro|
|00001d60| 67 72 65 73 73 57 69 6e | 64 6f 77 2e 63 6c 6f 73 |gressWin|dow.clos|
|00001d70| 65 28 29 3b 0d 0a 0d 0a | 09 20 20 2f 2f 61 6c 65 |e();....|. //ale|
|00001d80| 72 74 28 22 53 65 74 4e | 65 77 50 61 67 65 4d 61 |rt("SetN|ewPageMa|
|00001d90| 70 70 69 6e 67 73 20 31 | 5c 6e 22 29 3b 0d 0a 20 |ppings 1|\n");.. |
|00001da0| 20 20 20 20 20 53 65 74 | 4e 65 77 50 61 67 65 4d | Set|NewPageM|
|00001db0| 61 70 70 69 6e 67 73 28 | 77 69 6e 64 6f 77 2e 61 |appings(|window.a|
|00001dc0| 72 67 75 6d 65 6e 74 73 | 5b 30 5d 2e 70 61 67 65 |rguments|[0].page|
|00001dd0| 2c 20 22 69 73 70 50 61 | 67 65 35 22 2c 20 22 64 |, "ispPa|ge5", "d|
|00001de0| 6f 6e 65 22 29 3b 0d 0a | 20 20 20 20 20 20 67 4e |one");..| gN|
|00001df0| 65 77 41 63 63 6f 75 6e | 74 55 72 6c 20 3d 20 77 |ewAccoun|tUrl = w|
|00001e00| 69 6e 64 6f 77 2e 61 72 | 67 75 6d 65 6e 74 73 5b |indow.ar|guments[|
|00001e10| 30 5d 2e 6e 65 77 61 63 | 63 74 75 72 6c 3b 0d 0a |0].newac|cturl;..|
|00001e20| 20 20 20 20 20 20 67 44 | 69 73 61 62 6c 65 42 61 | gD|isableBa|
|00001e30| 63 6b 42 75 74 74 6f 6e | 20 3d 20 74 72 75 65 3b |ckButton| = true;|
|00001e40| 0d 0a 0d 0a 20 20 20 20 | 20 20 2f 2f 20 67 65 74 |.... | // get|
|00001e50| 20 61 6c 6c 20 6f 74 68 | 65 72 20 75 72 6c 73 20 | all oth|er urls |
|00001e60| 74 6f 6f 0d 0a 20 20 20 | 20 20 20 67 41 75 74 68 |too.. | gAuth|
|00001e70| 65 6e 74 69 63 61 74 69 | 6f 6e 55 72 6c 20 3d 20 |enticati|onUrl = |
|00001e80| 77 69 6e 64 6f 77 2e 61 | 72 67 75 6d 65 6e 74 73 |window.a|rguments|
|00001e90| 5b 30 5d 2e 61 75 74 68 | 75 72 6c 3b 0d 0a 20 20 |[0].auth|url;.. |
|00001ea0| 20 20 20 20 67 52 65 61 | 64 55 72 6c 20 3d 20 77 | gRea|dUrl = w|
|00001eb0| 69 6e 64 6f 77 2e 61 72 | 67 75 6d 65 6e 74 73 5b |indow.ar|guments[|
|00001ec0| 30 5d 2e 72 65 61 64 75 | 72 6c 3b 0d 0a 20 20 20 |0].readu|rl;.. |
|00001ed0| 20 20 20 67 57 72 69 74 | 65 55 72 6c 20 3d 20 77 | gWrit|eUrl = w|
|00001ee0| 69 6e 64 6f 77 2e 61 72 | 67 75 6d 65 6e 74 73 5b |indow.ar|guments[|
|00001ef0| 30 5d 2e 77 72 69 74 65 | 75 72 6c 3b 0d 0a 20 20 |0].write|url;.. |
|00001f00| 20 20 20 20 67 46 6f 72 | 67 6f 74 74 65 6e 50 77 | gFor|gottenPw|
|00001f10| 64 55 72 6c 20 3d 20 77 | 69 6e 64 6f 77 2e 61 72 |dUrl = w|indow.ar|
|00001f20| 67 75 6d 65 6e 74 73 5b | 30 5d 2e 66 6f 72 67 6f |guments[|0].forgo|
|00001f30| 74 70 77 64 75 72 6c 3b | 0d 0a 20 20 20 20 20 20 |tpwdurl;|.. |
|00001f40| 67 53 75 67 67 65 73 74 | 53 6e 55 72 6c 20 3d 20 |gSuggest|SnUrl = |
|00001f50| 77 69 6e 64 6f 77 2e 61 | 72 67 75 6d 65 6e 74 73 |window.a|rguments|
|00001f60| 5b 30 5d 2e 73 75 67 67 | 65 73 74 73 6e 75 72 6c |[0].sugg|estsnurl|
|00001f70| 3b 0d 0a 20 20 20 20 20 | 20 67 53 65 74 55 73 65 |;.. | gSetUse|
|00001f80| 72 42 72 61 6e 64 55 72 | 6c 20 3d 20 77 69 6e 64 |rBrandUr|l = wind|
|00001f90| 6f 77 2e 61 72 67 75 6d | 65 6e 74 73 5b 30 5d 2e |ow.argum|ents[0].|
|00001fa0| 73 65 74 62 72 61 6e 64 | 75 72 6c 3b 0d 0a 20 20 |setbrand|url;.. |
|00001fb0| 20 20 20 20 67 41 67 65 | 53 75 73 70 65 6e 64 55 | gAge|SuspendU|
|00001fc0| 72 6c 20 3d 20 77 69 6e | 64 6f 77 2e 61 72 67 75 |rl = win|dow.argu|
|00001fd0| 6d 65 6e 74 73 5b 30 5d | 2e 61 67 65 73 75 73 70 |ments[0]|.agesusp|
|00001fe0| 65 6e 64 75 72 6c 3b 0d | 0a 20 20 20 20 20 20 67 |endurl;.|. g|
|00001ff0| 43 72 65 64 69 74 43 61 | 72 64 56 61 6c 69 64 61 |CreditCa|rdValida|
|00002000| 74 69 6f 6e 55 72 6c 20 | 3d 20 77 69 6e 64 6f 77 |tionUrl |= window|
|00002010| 2e 61 72 67 75 6d 65 6e | 74 73 5b 30 5d 2e 63 72 |.argumen|ts[0].cr|
|00002020| 65 64 69 74 76 61 6c 69 | 64 75 72 6c 3b 0d 0a 20 |editvali|durl;.. |
|00002030| 20 20 20 20 20 67 47 65 | 74 52 65 67 49 6d 61 67 | gGe|tRegImag|
|00002040| 65 55 72 6c 20 3d 20 77 | 69 6e 64 6f 77 2e 61 72 |eUrl = w|indow.ar|
|00002050| 67 75 6d 65 6e 74 73 5b | 30 5d 2e 67 65 74 72 65 |guments[|0].getre|
|00002060| 67 69 6d 61 67 65 75 72 | 6c 3b 0d 0a 20 20 20 20 |gimageur|l;.. |
|00002070| 20 20 64 6f 63 75 6d 65 | 6e 74 2e 64 6f 63 75 6d | docume|nt.docum|
|00002080| 65 6e 74 45 6c 65 6d 65 | 6e 74 2e 67 6f 54 6f 28 |entEleme|nt.goTo(|
|00002090| 77 69 6e 64 6f 77 2e 61 | 72 67 75 6d 65 6e 74 73 |window.a|rguments|
|000020a0| 5b 30 5d 2e 70 61 67 65 | 29 3b 0d 0a 20 20 20 20 |[0].page|);.. |
|000020b0| 7d 0d 0a 20 20 7d 0d 0a | 20 20 65 6c 73 65 20 69 |}.. }..| else i|
|000020c0| 66 20 28 77 69 6e 64 6f | 77 2e 61 72 67 75 6d 65 |f (windo|w.argume|
|000020d0| 6e 74 73 20 26 26 20 77 | 69 6e 64 6f 77 2e 61 72 |nts && w|indow.ar|
|000020e0| 67 75 6d 65 6e 74 73 5b | 31 5d 29 20 7b 0d 0a 20 |guments[|1]) {.. |
|000020f0| 20 20 20 69 66 20 28 77 | 69 6e 64 6f 77 2e 61 72 | if (w|indow.ar|
|00002100| 67 75 6d 65 6e 74 73 5b | 31 5d 2e 70 61 67 65 20 |guments[|1].page |
|00002110| 3d 3d 20 22 69 73 70 50 | 61 67 65 33 22 29 20 7b |== "ispP|age3") {|
|00002120| 0d 0a 20 20 20 20 20 20 | 76 61 72 20 70 72 6f 67 |.. |var prog|
|00002130| 72 65 73 73 57 69 6e 64 | 6f 77 20 3d 20 67 65 74 |ressWind|ow = get|
|00002140| 50 72 6f 67 72 65 73 73 | 44 69 61 6c 6f 67 28 22 |Progress|Dialog("|
|00002150| 61 63 74 69 76 61 74 69 | 6f 6e 53 74 61 72 74 57 |activati|onStartW|
|00002160| 69 6e 64 6f 77 22 29 3b | 0d 0a 20 20 20 20 20 20 |indow");|.. |
|00002170| 69 66 20 28 70 72 6f 67 | 72 65 73 73 57 69 6e 64 |if (prog|ressWind|
|00002180| 6f 77 29 20 0d 0a 20 20 | 20 20 20 20 20 20 70 72 |ow) .. | pr|
|00002190| 6f 67 72 65 73 73 57 69 | 6e 64 6f 77 2e 63 6c 6f |ogressWi|ndow.clo|
|000021a0| 73 65 28 29 3b 0d 0a 0d | 0a 20 20 20 20 20 20 2f |se();...|. /|
|000021b0| 2f 61 6c 65 72 74 28 22 | 53 65 74 4e 65 77 50 61 |/alert("|SetNewPa|
|000021c0| 67 65 4d 61 70 70 69 6e | 67 73 20 32 5c 6e 22 29 |geMappin|gs 2\n")|
|000021d0| 3b 0d 0a 20 20 20 20 20 | 20 53 65 74 4e 65 77 50 |;.. | SetNewP|
|000021e0| 61 67 65 4d 61 70 70 69 | 6e 67 73 28 77 69 6e 64 |ageMappi|ngs(wind|
|000021f0| 6f 77 2e 61 72 67 75 6d | 65 6e 74 73 5b 31 5d 2e |ow.argum|ents[1].|
|00002200| 70 61 67 65 2c 20 22 69 | 73 70 50 61 67 65 35 22 |page, "i|spPage5"|
|00002210| 2c 20 22 64 6f 6e 65 22 | 29 3b 0d 0a 0d 0a 20 20 |, "done"|);.... |
|00002220| 20 20 20 20 2f 2f 20 67 | 65 74 20 61 6c 6c 20 75 | // g|et all u|
|00002230| 72 6c 73 0d 0a 20 20 20 | 20 20 20 67 4e 65 77 41 |rls.. | gNewA|
|00002240| 63 63 6f 75 6e 74 55 72 | 6c 20 3d 20 77 69 6e 64 |ccountUr|l = wind|
|00002250| 6f 77 2e 61 72 67 75 6d | 65 6e 74 73 5b 31 5d 2e |ow.argum|ents[1].|
|00002260| 6e 65 77 61 63 63 74 75 | 72 6c 3b 0d 0a 20 20 20 |newacctu|rl;.. |
|00002270| 20 20 20 67 41 75 74 68 | 65 6e 74 69 63 61 74 69 | gAuth|enticati|
|00002280| 6f 6e 55 72 6c 20 3d 20 | 77 69 6e 64 6f 77 2e 61 |onUrl = |window.a|
|00002290| 72 67 75 6d 65 6e 74 73 | 5b 31 5d 2e 61 75 74 68 |rguments|[1].auth|
|000022a0| 75 72 6c 3b 0d 0a 20 20 | 20 20 20 20 67 52 65 61 |url;.. | gRea|
|000022b0| 64 55 72 6c 20 3d 20 77 | 69 6e 64 6f 77 2e 61 72 |dUrl = w|indow.ar|
|000022c0| 67 75 6d 65 6e 74 73 5b | 31 5d 2e 72 65 61 64 75 |guments[|1].readu|
|000022d0| 72 6c 3b 0d 0a 20 20 20 | 20 20 20 67 57 72 69 74 |rl;.. | gWrit|
|000022e0| 65 55 72 6c 20 3d 20 77 | 69 6e 64 6f 77 2e 61 72 |eUrl = w|indow.ar|
|000022f0| 67 75 6d 65 6e 74 73 5b | 31 5d 2e 77 72 69 74 65 |guments[|1].write|
|00002300| 75 72 6c 3b 0d 0a 20 20 | 20 20 20 20 67 46 6f 72 |url;.. | gFor|
|00002310| 67 6f 74 74 65 6e 50 77 | 64 55 72 6c 20 3d 20 77 |gottenPw|dUrl = w|
|00002320| 69 6e 64 6f 77 2e 61 72 | 67 75 6d 65 6e 74 73 5b |indow.ar|guments[|
|00002330| 31 5d 2e 66 6f 72 67 6f | 74 70 77 64 75 72 6c 3b |1].forgo|tpwdurl;|
|00002340| 0d 0a 20 20 20 20 20 20 | 67 53 75 67 67 65 73 74 |.. |gSuggest|
|00002350| 53 6e 55 72 6c 20 3d 20 | 77 69 6e 64 6f 77 2e 61 |SnUrl = |window.a|
|00002360| 72 67 75 6d 65 6e 74 73 | 5b 31 5d 2e 73 75 67 67 |rguments|[1].sugg|
|00002370| 65 73 74 73 6e 75 72 6c | 3b 0d 0a 20 20 20 20 20 |estsnurl|;.. |
|00002380| 20 67 53 65 74 55 73 65 | 72 42 72 61 6e 64 55 72 | gSetUse|rBrandUr|
|00002390| 6c 20 3d 20 77 69 6e 64 | 6f 77 2e 61 72 67 75 6d |l = wind|ow.argum|
|000023a0| 65 6e 74 73 5b 31 5d 2e | 73 65 74 62 72 61 6e 64 |ents[1].|setbrand|
|000023b0| 75 72 6c 3b 0d 0a 20 20 | 20 20 20 20 67 41 67 65 |url;.. | gAge|
|000023c0| 53 75 73 70 65 6e 64 55 | 72 6c 20 3d 20 77 69 6e |SuspendU|rl = win|
|000023d0| 64 6f 77 2e 61 72 67 75 | 6d 65 6e 74 73 5b 31 5d |dow.argu|ments[1]|
|000023e0| 2e 61 67 65 73 75 73 70 | 65 6e 64 75 72 6c 3b 0d |.agesusp|endurl;.|
|000023f0| 0a 20 20 20 20 20 20 67 | 43 72 65 64 69 74 43 61 |. g|CreditCa|
|00002400| 72 64 56 61 6c 69 64 61 | 74 69 6f 6e 55 72 6c 20 |rdValida|tionUrl |
|00002410| 3d 20 77 69 6e 64 6f 77 | 2e 61 72 67 75 6d 65 6e |= window|.argumen|
|00002420| 74 73 5b 31 5d 2e 63 72 | 65 64 69 74 76 61 6c 69 |ts[1].cr|editvali|
|00002430| 64 75 72 6c 3b 0d 0a 20 | 20 20 20 20 20 67 47 65 |durl;.. | gGe|
|00002440| 74 52 65 67 49 6d 61 67 | 65 55 72 6c 20 3d 20 77 |tRegImag|eUrl = w|
|00002450| 69 6e 64 6f 77 2e 61 72 | 67 75 6d 65 6e 74 73 5b |indow.ar|guments[|
|00002460| 31 5d 2e 67 65 74 72 65 | 67 69 6d 61 67 65 75 72 |1].getre|gimageur|
|00002470| 6c 3b 0d 0a 20 20 20 20 | 20 20 64 6f 63 75 6d 65 |l;.. | docume|
|00002480| 6e 74 2e 64 6f 63 75 6d | 65 6e 74 45 6c 65 6d 65 |nt.docum|entEleme|
|00002490| 6e 74 2e 67 6f 54 6f 28 | 77 69 6e 64 6f 77 2e 61 |nt.goTo(|window.a|
|000024a0| 72 67 75 6d 65 6e 74 73 | 5b 31 5d 2e 70 61 67 65 |rguments|[1].page|
|000024b0| 29 3b 0d 0a 20 20 20 20 | 7d 0d 0a 20 20 7d 0d 0a |);.. |}.. }..|
|000024c0| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 73 65 |}....fun|ction se|
|000024d0| 74 4f 74 68 65 72 49 53 | 50 53 65 72 76 69 63 65 |tOtherIS|PService|
|000024e0| 73 28 29 0d 0a 7b 0d 0a | 20 20 2f 2f 20 74 69 6d |s()..{..| // tim|
|000024f0| 65 20 74 6f 20 73 65 74 | 20 49 4d 20 73 63 72 65 |e to set| IM scre|
|00002500| 65 6e 6e 61 6d 65 20 70 | 72 65 66 2c 20 69 66 20 |enname p|ref, if |
|00002510| 74 68 65 72 65 20 69 73 | 6e 27 74 20 61 6c 72 65 |there is|n't alre|
|00002520| 61 64 79 20 6f 6e 65 0d | 0a 20 20 76 61 72 20 49 |ady one.|. var I|
|00002530| 4d 53 63 72 65 65 6e 4e | 61 6d 65 3b 0d 0a 20 20 |MScreenN|ame;.. |
|00002540| 76 61 72 20 70 72 65 66 | 53 65 72 76 69 63 65 20 |var pref|Service |
|00002550| 3d 20 43 6f 6d 70 6f 6e | 65 6e 74 73 2e 63 6c 61 |= Compon|ents.cla|
|00002560| 73 73 65 73 5b 22 40 6d | 6f 7a 69 6c 6c 61 2e 6f |sses["@m|ozilla.o|
|00002570| 72 67 2f 70 72 65 66 65 | 72 65 6e 63 65 73 2d 73 |rg/prefe|rences-s|
|00002580| 65 72 76 69 63 65 3b 31 | 22 5d 2e 67 65 74 53 65 |ervice;1|"].getSe|
|00002590| 72 76 69 63 65 28 43 6f | 6d 70 6f 6e 65 6e 74 73 |rvice(Co|mponents|
|000025a0| 2e 69 6e 74 65 72 66 61 | 63 65 73 2e 6e 73 49 50 |.interfa|ces.nsIP|
|000025b0| 72 65 66 42 72 61 6e 63 | 68 29 3b 0d 0a 0d 0a 20 |refBranc|h);.... |
|000025c0| 20 74 72 79 20 7b 0d 0a | 20 20 20 20 49 4d 53 63 | try {..| IMSc|
|000025d0| 72 65 65 6e 4e 61 6d 65 | 20 3d 20 70 72 65 66 53 |reenName| = prefS|
|000025e0| 65 72 76 69 63 65 2e 67 | 65 74 43 6f 6d 70 6c 65 |ervice.g|etComple|
|000025f0| 78 56 61 6c 75 65 28 6b | 49 4d 53 63 72 65 65 6e |xValue(k|IMScreen|
|00002600| 4e 61 6d 65 50 72 65 66 | 2c 0d 0a 20 20 20 20 20 |NamePref|,.. |
|00002610| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002620| 20 20 20 20 20 20 20 20 | 20 20 43 6f 6d 70 6f 6e | | Compon|
|00002630| 65 6e 74 73 2e 69 6e 74 | 65 72 66 61 63 65 73 2e |ents.int|erfaces.|
|00002640| 6e 73 49 50 72 65 66 4c | 6f 63 61 6c 69 7a 65 64 |nsIPrefL|ocalized|
|00002650| 53 74 72 69 6e 67 29 3b | 0d 0a 20 20 7d 0d 0a 20 |String);|.. }.. |
|00002660| 20 63 61 74 63 68 20 28 | 65 78 29 20 7b 0d 0a 20 | catch (|ex) {.. |
|00002670| 20 7d 0d 0a 0d 0a 20 20 | 69 66 20 28 21 49 4d 53 | }.... |if (!IMS|
|00002680| 63 72 65 65 6e 4e 61 6d | 65 29 20 7b 0d 0a 20 20 |creenNam|e) {.. |
|00002690| 20 20 69 66 20 28 67 53 | 63 72 65 65 6e 4e 61 6d | if (gS|creenNam|
|000026a0| 65 29 20 7b 0d 0a 20 20 | 20 20 20 20 74 72 79 20 |e) {.. | try |
|000026b0| 7b 0d 0a 20 20 20 20 20 | 20 76 61 72 20 73 74 72 |{.. | var str|
|000026c0| 20 3d 20 43 6f 6d 70 6f | 6e 65 6e 74 73 2e 63 6c | = Compo|nents.cl|
|000026d0| 61 73 73 65 73 5b 22 40 | 6d 6f 7a 69 6c 6c 61 2e |asses["@|mozilla.|
|000026e0| 6f 72 67 2f 73 75 70 70 | 6f 72 74 73 2d 77 73 74 |org/supp|orts-wst|
|000026f0| 72 69 6e 67 3b 31 22 5d | 0d 0a 20 20 20 20 20 20 |ring;1"]|.. |
|00002700| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002710| 20 20 20 20 2e 63 72 65 | 61 74 65 49 6e 73 74 61 | .cre|ateInsta|
|00002720| 6e 63 65 28 43 6f 6d 70 | 6f 6e 65 6e 74 73 2e 69 |nce(Comp|onents.i|
|00002730| 6e 74 65 72 66 61 63 65 | 73 2e 6e 73 49 53 75 70 |nterface|s.nsISup|
|00002740| 70 6f 72 74 73 57 53 74 | 72 69 6e 67 29 3b 0d 0a |portsWSt|ring);..|
|00002750| 20 20 20 20 20 20 73 74 | 72 2e 64 61 74 61 20 3d | st|r.data =|
|00002760| 20 67 53 63 72 65 65 6e | 4e 61 6d 65 3b 0d 0a 20 | gScreen|Name;.. |
|00002770| 20 20 20 20 20 70 72 65 | 66 53 65 72 76 69 63 65 | pre|fService|
|00002780| 2e 73 65 74 43 6f 6d 70 | 6c 65 78 56 61 6c 75 65 |.setComp|lexValue|
|00002790| 28 6b 49 4d 53 63 72 65 | 65 6e 4e 61 6d 65 50 72 |(kIMScre|enNamePr|
|000027a0| 65 66 2c 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ef,.. | |
|000027b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000027c0| 20 20 20 20 43 6f 6d 70 | 6f 6e 65 6e 74 73 2e 69 | Comp|onents.i|
|000027d0| 6e 74 65 72 66 61 63 65 | 73 2e 6e 73 49 53 75 70 |nterface|s.nsISup|
|000027e0| 70 6f 72 74 73 57 53 74 | 72 69 6e 67 2c 20 73 74 |portsWSt|ring, st|
|000027f0| 72 29 3b 0d 0a 20 20 20 | 20 7d 0d 0a 20 20 20 20 |r);.. | }.. |
|00002800| 20 20 63 61 74 63 68 20 | 28 65 78 29 20 7b 0d 0a | catch |(ex) {..|
|00002810| 20 20 20 20 20 20 7d 0d | 0a 20 20 20 20 7d 0d 0a | }.|. }..|
|00002820| 20 20 7d 0d 0a 7d 0d 0a | 0d 0a 76 61 72 20 67 57 | }..}..|..var gW|
|00002830| 65 62 4d 61 69 6c 54 69 | 6d 65 72 49 6e 74 65 72 |ebMailTi|merInter|
|00002840| 76 61 6c 49 44 3b 0d 0a | 76 61 72 20 67 57 65 62 |valID;..|var gWeb|
|00002850| 4d 61 69 6c 54 69 6d 65 | 72 3d 30 3b 0d 0a 0d 0a |MailTime|r=0;....|
|00002860| 66 75 6e 63 74 69 6f 6e | 20 63 68 65 63 6b 57 65 |function| checkWe|
|00002870| 62 4d 61 69 6c 52 65 70 | 6c 79 28 29 0d 0a 7b 0d |bMailRep|ly()..{.|
|00002880| 0a 20 20 76 61 72 20 77 | 65 62 6d 61 69 6c 43 6f |. var w|ebmailCo|
|00002890| 6f 6b 69 65 49 44 20 3d | 20 22 57 4d 5f 52 43 22 |okieID =| "WM_RC"|
|000028a0| 3b 0d 0a 20 20 76 61 72 | 20 63 72 65 61 74 65 64 |;.. var| created|
|000028b0| 57 65 62 4d 61 69 6c 41 | 63 63 6f 75 6e 74 20 3d |WebMailA|ccount =|
|000028c0| 20 66 61 6c 73 65 3b 0d | 0a 20 20 76 61 72 20 62 | false;.|. var b|
|000028d0| 65 67 69 6e 2c 20 65 6e | 64 3b 0d 0a 0d 0a 20 20 |egin, en|d;.... |
|000028e0| 2f 2f 20 47 65 74 20 77 | 65 62 6d 61 69 6c 20 63 |// Get w|ebmail c|
|000028f0| 6f 6f 6b 69 65 2e 0d 0a | 20 20 77 65 62 6d 61 69 |ookie...| webmai|
|00002900| 6c 43 6f 6f 6b 69 65 20 | 20 20 3d 20 61 63 74 76 |lCookie | = actv|
|00002910| 49 6e 73 74 2e 67 65 74 | 57 65 62 4d 61 69 6c 43 |Inst.get|WebMailC|
|00002920| 6f 6f 6b 69 65 28 29 3b | 0d 0a 0d 0a 20 20 69 66 |ookie();|.... if|
|00002930| 20 28 77 65 62 6d 61 69 | 6c 43 6f 6f 6b 69 65 29 | (webmai|lCookie)|
|00002940| 20 7b 0d 0a 20 20 20 20 | 62 65 67 69 6e 20 3d 20 | {.. |begin = |
|00002950| 77 65 62 6d 61 69 6c 43 | 6f 6f 6b 69 65 2e 69 6e |webmailC|ookie.in|
|00002960| 64 65 78 4f 66 28 77 65 | 62 6d 61 69 6c 43 6f 6f |dexOf(we|bmailCoo|
|00002970| 6b 69 65 49 44 29 3b 0d | 0a 20 20 20 20 69 66 20 |kieID);.|. if |
|00002980| 28 62 65 67 69 6e 20 21 | 3d 20 2d 31 29 20 7b 0d |(begin !|= -1) {.|
|00002990| 0a 20 20 20 20 20 20 2f | 2f 20 49 6e 63 72 65 61 |. /|/ Increa|
|000029a0| 73 65 20 62 65 67 69 6e | 20 69 6e 64 65 78 20 74 |se begin| index t|
|000029b0| 6f 20 69 67 6e 6f 72 65 | 20 74 68 65 20 63 6f 6f |o ignore| the coo|
|000029c0| 6b 69 65 20 49 44 20 6e | 61 6d 65 20 61 6e 64 20 |kie ID n|ame and |
|000029d0| 27 3d 27 20 70 61 72 74 | 20 0d 0a 20 20 20 20 20 |'=' part| .. |
|000029e0| 20 62 65 67 69 6e 20 2b | 3d 20 77 65 62 6d 61 69 | begin +|= webmai|
|000029f0| 6c 43 6f 6f 6b 69 65 49 | 44 2e 6c 65 6e 67 74 68 |lCookieI|D.length|
|00002a00| 20 2b 20 31 3b 0d 0a 0d | 0a 20 20 20 20 20 20 65 | + 1;...|. e|
|00002a10| 6e 64 20 3d 20 77 65 62 | 6d 61 69 6c 43 6f 6f 6b |nd = web|mailCook|
|00002a20| 69 65 2e 69 6e 64 65 78 | 4f 66 28 22 3b 22 2c 20 |ie.index|Of(";", |
|00002a30| 62 65 67 69 6e 29 3b 0d | 0a 20 20 20 20 20 20 69 |begin);.|. i|
|00002a40| 66 20 28 65 6e 64 20 3d | 3d 20 2d 31 29 20 0d 0a |f (end =|= -1) ..|
|00002a50| 20 20 20 20 20 20 20 20 | 20 20 65 6e 64 20 3d 20 | | end = |
|00002a60| 77 65 62 6d 61 69 6c 43 | 6f 6f 6b 69 65 2e 6c 65 |webmailC|ookie.le|
|00002a70| 6e 67 74 68 3b 0d 0a 0d | 0a 20 20 20 20 20 20 77 |ngth;...|. w|
|00002a80| 65 62 6d 61 69 6c 43 6f | 6f 6b 69 65 20 3d 20 77 |ebmailCo|okie = w|
|00002a90| 65 62 6d 61 69 6c 43 6f | 6f 6b 69 65 2e 73 75 62 |ebmailCo|okie.sub|
|00002aa0| 73 74 72 69 6e 67 28 62 | 65 67 69 6e 2c 20 65 6e |string(b|egin, en|
|00002ab0| 64 29 3b 0d 0a 0d 0a 20 | 20 20 20 20 20 69 66 20 |d);.... | if |
|00002ac0| 28 77 65 62 6d 61 69 6c | 43 6f 6f 6b 69 65 29 20 |(webmail|Cookie) |
|00002ad0| 7b 0d 0a 0d 0a 20 20 20 | 20 20 20 20 20 20 20 69 |{.... | i|
|00002ae0| 66 20 28 77 65 62 6d 61 | 69 6c 43 6f 6f 6b 69 65 |f (webma|ilCookie|
|00002af0| 20 3d 3d 20 30 29 0d 0a | 20 20 20 20 20 20 20 20 | == 0)..| |
|00002b00| 20 20 20 20 63 72 65 61 | 74 65 64 57 65 62 4d 61 | crea|tedWebMa|
|00002b10| 69 6c 41 63 63 6f 75 6e | 74 20 3d 20 74 72 75 65 |ilAccoun|t = true|
|00002b20| 3b 0d 0a 20 20 20 20 20 | 20 7d 0d 0a 20 20 20 20 |;.. | }.. |
|00002b30| 7d 0d 0a 20 20 7d 0d 0a | 20 20 72 65 74 75 72 6e |}.. }..| return|
|00002b40| 20 63 72 65 61 74 65 64 | 57 65 62 4d 61 69 6c 41 | created|WebMailA|
|00002b50| 63 63 6f 75 6e 74 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |ccount;.|.}....fu|
|00002b60| 6e 63 74 69 6f 6e 20 70 | 69 6e 67 57 65 62 4d 61 |nction p|ingWebMa|
|00002b70| 69 6c 53 65 72 76 65 72 | 28 68 69 64 64 65 6e 57 |ilServer|(hiddenW|
|00002b80| 69 6e 64 6f 77 49 44 29 | 20 0d 0a 7b 20 0d 0a 20 |indowID)| ..{ .. |
|00002b90| 20 20 20 2f 2f 20 43 72 | 65 61 74 65 20 61 20 73 | // Cr|eate a s|
|00002ba0| 65 73 73 69 6f 6e 20 68 | 69 73 74 6f 72 79 20 6f |ession h|istory o|
|00002bb0| 62 6a 65 63 74 20 61 6e | 64 20 73 65 74 20 69 74 |bject an|d set it|
|00002bc0| 20 6f 6e 20 74 68 65 20 | 63 6f 6e 74 65 6e 74 20 | on the |content |
|00002bd0| 64 6f 63 73 68 65 6c 6c | 0d 0a 20 20 20 20 67 57 |docshell|.. gW|
|00002be0| 65 62 4d 61 69 6c 54 69 | 6d 65 72 49 6e 74 65 72 |ebMailTi|merInter|
|00002bf0| 76 61 6c 49 44 20 3d 20 | 73 65 74 49 6e 74 65 72 |valID = |setInter|
|00002c00| 76 61 6c 28 22 69 73 57 | 65 62 4d 61 69 6c 41 63 |val("isW|ebMailAc|
|00002c10| 63 6f 75 6e 74 43 72 65 | 61 74 65 64 28 29 22 2c |countCre|ated()",|
|00002c20| 20 31 30 30 30 29 3b 0d | 0a 0d 0a 20 20 20 20 76 | 1000);.|... v|
|00002c30| 61 72 20 77 65 62 4d 61 | 69 6c 55 72 6c 20 3d 20 |ar webMa|ilUrl = |
|00002c40| 67 50 72 65 66 73 2e 67 | 65 74 43 6f 6d 70 6c 65 |gPrefs.g|etComple|
|00002c50| 78 56 61 6c 75 65 28 22 | 62 72 6f 77 73 65 72 2e |xValue("|browser.|
|00002c60| 6e 65 77 5f 72 65 67 69 | 73 74 72 61 74 69 6f 6e |new_regi|stration|
|00002c70| 2e 77 65 62 6d 61 69 6c | 5f 70 72 6f 64 75 63 74 |.webmail|_product|
|00002c80| 69 6f 6e 5f 75 72 6c 22 | 2c 0d 0a 20 20 20 20 20 |ion_url"|,.. |
|00002c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 43 6f | | Co|
|00002cb0| 6d 70 6f 6e 65 6e 74 73 | 2e 69 6e 74 65 72 66 61 |mponents|.interfa|
|00002cc0| 63 65 73 2e 6e 73 49 50 | 72 65 66 4c 6f 63 61 6c |ces.nsIP|refLocal|
|00002cd0| 69 7a 65 64 53 74 72 69 | 6e 67 29 2e 64 61 74 61 |izedStri|ng).data|
|00002ce0| 3b 0d 0a 20 20 20 20 76 | 61 72 20 68 69 64 64 65 |;.. v|ar hidde|
|00002cf0| 6e 57 69 6e 64 6f 77 20 | 3d 20 64 6f 63 75 6d 65 |nWindow |= docume|
|00002d00| 6e 74 2e 67 65 74 45 6c | 65 6d 65 6e 74 42 79 49 |nt.getEl|ementByI|
|00002d10| 64 28 68 69 64 64 65 6e | 57 69 6e 64 6f 77 49 44 |d(hidden|WindowID|
|00002d20| 29 3b 0d 0a 20 20 20 20 | 74 72 79 20 7b 0d 0a 20 |);.. |try {.. |
|00002d30| 20 20 20 20 20 68 69 64 | 64 65 6e 57 69 6e 64 6f | hid|denWindo|
|00002d40| 77 2e 73 65 74 41 74 74 | 72 69 62 75 74 65 28 22 |w.setAtt|ribute("|
|00002d50| 73 72 63 22 2c 20 77 65 | 62 4d 61 69 6c 55 72 6c |src", we|bMailUrl|
|00002d60| 29 3b 0d 0a 20 20 20 20 | 7d 0d 0a 20 20 20 20 63 |);.. |}.. c|
|00002d70| 61 74 63 68 20 28 65 29 | 20 7b 0d 0a 20 20 20 20 |atch (e)| {.. |
|00002d80| 7d 0d 0a 20 20 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |}.. }..|..functi|
|00002d90| 6f 6e 20 74 65 73 74 69 | 6e 67 4e 65 77 41 63 74 |on testi|ngNewAct|
|00002da0| 69 76 61 74 69 6f 6e 28 | 29 0d 0a 7b 0d 0a 20 20 |ivation(|)..{.. |
|00002db0| 76 61 72 20 70 72 65 66 | 53 65 72 76 69 63 65 20 |var pref|Service |
|00002dc0| 3d 20 43 6f 6d 70 6f 6e | 65 6e 74 73 2e 63 6c 61 |= Compon|ents.cla|
|00002dd0| 73 73 65 73 5b 22 40 6d | 6f 7a 69 6c 6c 61 2e 6f |sses["@m|ozilla.o|
|00002de0| 72 67 2f 70 72 65 66 65 | 72 65 6e 63 65 73 2d 73 |rg/prefe|rences-s|
|00002df0| 65 72 76 69 63 65 3b 31 | 22 5d 2e 67 65 74 53 65 |ervice;1|"].getSe|
|00002e00| 72 76 69 63 65 28 43 6f | 6d 70 6f 6e 65 6e 74 73 |rvice(Co|mponents|
|00002e10| 2e 69 6e 74 65 72 66 61 | 63 65 73 2e 6e 73 49 50 |.interfa|ces.nsIP|
|00002e20| 72 65 66 42 72 61 6e 63 | 68 29 3b 0d 0a 20 20 76 |refBranc|h);.. v|
|00002e30| 61 72 20 74 65 73 74 69 | 6e 67 41 63 74 69 76 61 |ar testi|ngActiva|
|00002e40| 74 69 6f 6e 20 3d 20 70 | 72 65 66 53 65 72 76 69 |tion = p|refServi|
|00002e50| 63 65 2e 67 65 74 42 6f | 6f 6c 50 72 65 66 28 6b |ce.getBo|olPref(k|
|00002e60| 54 65 73 74 41 63 74 69 | 76 61 74 69 6f 6e 29 3b |TestActi|vation);|
|00002e70| 0d 0a 0d 0a 20 20 72 65 | 74 75 72 6e 20 74 65 73 |.... re|turn tes|
|00002e80| 74 69 6e 67 41 63 74 69 | 76 61 74 69 6f 6e 3b 0d |tingActi|vation;.|
|00002e90| 0a 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |...}....|function|
|00002ea0| 20 74 65 73 74 69 6e 67 | 49 73 70 53 65 72 76 69 | testing|IspServi|
|00002eb0| 63 65 73 28 29 0d 0a 7b | 0d 0a 20 20 72 65 74 75 |ces()..{|.. retu|
|00002ec0| 72 6e 20 74 65 73 74 69 | 6e 67 4e 65 77 41 63 74 |rn testi|ngNewAct|
|00002ed0| 69 76 61 74 69 6f 6e 28 | 29 3b 0d 0a 7d 0d 0a 0d |ivation(|);..}...|
|00002ee0| 0a 50 4b 03 04 0a 00 00 | 00 00 00 da 69 fd 32 32 |.PK.....|....i.22|
|00002ef0| d3 27 01 6d cc 00 00 6d | cc 00 00 22 00 15 00 63 |.'.m...m|..."...c|
|00002f00| 6f 6e 74 65 6e 74 2f 61 | 69 6d 2f 6e 65 74 77 6f |ontent/a|im/netwo|
|00002f10| 72 6b 54 72 61 6e 73 61 | 63 74 69 6f 6e 73 2e 6a |rkTransa|ctions.j|
|00002f20| 73 55 54 09 00 03 3c 8e | ea 42 3c 8e ea 42 55 78 |sUT...<.|.B<..BUx|
|00002f30| 04 00 90 01 91 01 2f 2a | 20 2d 2a 2d 20 4d 6f 64 |....../*| -*- Mod|
|00002f40| 65 3a 20 4a 61 76 61 3b | 20 74 61 62 2d 77 69 64 |e: Java;| tab-wid|
|00002f50| 74 68 3a 20 34 3b 20 69 | 6e 64 65 6e 74 2d 74 61 |th: 4; i|ndent-ta|
|00002f60| 62 73 2d 6d 6f 64 65 3a | 20 6e 69 6c 3b 20 63 2d |bs-mode:| nil; c-|
|00002f70| 62 61 73 69 63 2d 6f 66 | 66 73 65 74 3a 20 34 20 |basic-of|fset: 4 |
|00002f80| 2d 2a 2d 20 2a 2f 0d 0a | 2f 2a 20 2a 2a 2a 2a 2a |-*- */..|/* *****|
|00002f90| 20 42 45 47 49 4e 20 4c | 49 43 45 4e 53 45 20 42 | BEGIN L|ICENSE B|
|00002fa0| 4c 4f 43 4b 20 2a 2a 2a | 2a 2a 0d 0a 20 2a 20 56 |LOCK ***|**.. * V|
|00002fb0| 65 72 73 69 6f 6e 3a 20 | 4e 50 4c 20 31 2e 31 2f |ersion: |NPL 1.1/|
|00002fc0| 47 50 4c 20 32 2e 30 2f | 4c 47 50 4c 20 32 2e 31 |GPL 2.0/|LGPL 2.1|
|00002fd0| 0d 0a 20 2a 0d 0a 20 2a | 20 54 68 65 20 63 6f 6e |.. *.. *| The con|
|00002fe0| 74 65 6e 74 73 20 6f 66 | 20 74 68 69 73 20 66 69 |tents of| this fi|
|00002ff0| 6c 65 20 61 72 65 20 73 | 75 62 6a 65 63 74 20 74 |le are s|ubject t|
|00003000| 6f 20 74 68 65 20 4e 65 | 74 73 63 61 70 65 20 50 |o the Ne|tscape P|
|00003010| 75 62 6c 69 63 20 4c 69 | 63 65 6e 73 65 0d 0a 20 |ublic Li|cense.. |
|00003020| 2a 20 56 65 72 73 69 6f | 6e 20 31 2e 31 20 28 74 |* Versio|n 1.1 (t|
|00003030| 68 65 20 22 4c 69 63 65 | 6e 73 65 22 29 3b 20 79 |he "Lice|nse"); y|
|00003040| 6f 75 20 6d 61 79 20 6e | 6f 74 20 75 73 65 20 74 |ou may n|ot use t|
|00003050| 68 69 73 20 66 69 6c 65 | 20 65 78 63 65 70 74 20 |his file| except |
|00003060| 69 6e 0d 0a 20 2a 20 63 | 6f 6d 70 6c 69 61 6e 63 |in.. * c|omplianc|
|00003070| 65 20 77 69 74 68 20 74 | 68 65 20 4c 69 63 65 6e |e with t|he Licen|
|00003080| 73 65 2e 20 59 6f 75 20 | 6d 61 79 20 6f 62 74 61 |se. You |may obta|
|00003090| 69 6e 20 61 20 63 6f 70 | 79 20 6f 66 20 74 68 65 |in a cop|y of the|
|000030a0| 20 4c 69 63 65 6e 73 65 | 20 61 74 0d 0a 20 2a 20 | License| at.. * |
|000030b0| 68 74 74 70 3a 2f 2f 77 | 77 77 2e 6d 6f 7a 69 6c |http://w|ww.mozil|
|000030c0| 6c 61 2e 6f 72 67 2f 4e | 50 4c 2f 0d 0a 20 2a 0d |la.org/N|PL/.. *.|
|000030d0| 0a 20 2a 20 53 6f 66 74 | 77 61 72 65 20 64 69 73 |. * Soft|ware dis|
|000030e0| 74 72 69 62 75 74 65 64 | 20 75 6e 64 65 72 20 74 |tributed| under t|
|000030f0| 68 65 20 4c 69 63 65 6e | 73 65 20 69 73 20 64 69 |he Licen|se is di|
|00003100| 73 74 72 69 62 75 74 65 | 64 20 6f 6e 20 61 6e 20 |stribute|d on an |
|00003110| 22 41 53 20 49 53 22 20 | 62 61 73 69 73 2c 0d 0a |"AS IS" |basis,..|
|00003120| 20 2a 20 57 49 54 48 4f | 55 54 20 57 41 52 52 41 | * WITHO|UT WARRA|
|00003130| 4e 54 59 20 4f 46 20 41 | 4e 59 20 4b 49 4e 44 2c |NTY OF A|NY KIND,|
|00003140| 20 65 69 74 68 65 72 20 | 65 78 70 72 65 73 73 20 | either |express |
|00003150| 6f 72 20 69 6d 70 6c 69 | 65 64 2e 20 53 65 65 20 |or impli|ed. See |
|00003160| 74 68 65 20 4c 69 63 65 | 6e 73 65 0d 0a 20 2a 20 |the Lice|nse.. * |
|00003170| 66 6f 72 20 74 68 65 20 | 73 70 65 63 69 66 69 63 |for the |specific|
|00003180| 20 6c 61 6e 67 75 61 67 | 65 20 67 6f 76 65 72 6e | languag|e govern|
|00003190| 69 6e 67 20 72 69 67 68 | 74 73 20 61 6e 64 20 6c |ing righ|ts and l|
|000031a0| 69 6d 69 74 61 74 69 6f | 6e 73 20 75 6e 64 65 72 |imitatio|ns under|
|000031b0| 20 74 68 65 0d 0a 20 2a | 20 4c 69 63 65 6e 73 65 | the.. *| License|
|000031c0| 2e 0d 0a 20 2a 0d 0a 20 | 2a 20 54 68 65 20 4f 72 |... *.. |* The Or|
|000031d0| 69 67 69 6e 61 6c 20 43 | 6f 64 65 20 69 73 20 4d |iginal C|ode is M|
|000031e0| 6f 7a 69 6c 6c 61 20 43 | 6f 6d 6d 75 6e 69 63 61 |ozilla C|ommunica|
|000031f0| 74 6f 72 20 63 6c 69 65 | 6e 74 20 63 6f 64 65 2e |tor clie|nt code.|
|00003200| 0d 0a 20 2a 0d 0a 20 2a | 20 54 68 65 20 49 6e 69 |.. *.. *| The Ini|
|00003210| 74 69 61 6c 20 44 65 76 | 65 6c 6f 70 65 72 20 6f |tial Dev|eloper o|
|00003220| 66 20 74 68 65 20 4f 72 | 69 67 69 6e 61 6c 20 43 |f the Or|iginal C|
|00003230| 6f 64 65 20 69 73 20 0d | 0a 20 2a 20 4e 65 74 73 |ode is .|. * Nets|
|00003240| 63 61 70 65 20 43 6f 6d | 6d 75 6e 69 63 61 74 69 |cape Com|municati|
|00003250| 6f 6e 73 20 43 6f 72 70 | 6f 72 61 74 69 6f 6e 2e |ons Corp|oration.|
|00003260| 0d 0a 20 2a 20 50 6f 72 | 74 69 6f 6e 73 20 63 72 |.. * Por|tions cr|
|00003270| 65 61 74 65 64 20 62 79 | 20 74 68 65 20 49 6e 69 |eated by| the Ini|
|00003280| 74 69 61 6c 20 44 65 76 | 65 6c 6f 70 65 72 20 61 |tial Dev|eloper a|
|00003290| 72 65 20 43 6f 70 79 72 | 69 67 68 74 20 28 43 29 |re Copyr|ight (C)|
|000032a0| 20 31 39 39 38 0d 0a 20 | 2a 20 74 68 65 20 49 6e | 1998.. |* the In|
|000032b0| 69 74 69 61 6c 20 44 65 | 76 65 6c 6f 70 65 72 2e |itial De|veloper.|
|000032c0| 20 41 6c 6c 20 52 69 67 | 68 74 73 20 52 65 73 65 | All Rig|hts Rese|
|000032d0| 72 76 65 64 2e 0d 0a 20 | 2a 0d 0a 20 2a 20 43 6f |rved... |*.. * Co|
|000032e0| 6e 74 72 69 62 75 74 6f | 72 28 73 29 3a 0d 0a 20 |ntributo|r(s):.. |
|000032f0| 2a 20 20 09 4d 61 72 74 | 69 6a 6e 20 50 69 65 74 |* .Mart|ijn Piet|
|00003300| 65 72 73 20 3c 6d 6a 40 | 64 69 67 69 63 6f 6f 6c |ers <mj@|digicool|
|00003310| 2e 63 6f 6d 3e 20 0d 0a | 20 2a 20 20 20 20 20 20 |.com> ..| * |
|00003320| 66 6f 72 20 74 6f 42 61 | 73 65 36 34 28 29 20 63 |for toBa|se64() c|
|00003330| 6f 70 69 65 64 20 66 72 | 6f 6d 20 0d 0a 20 2a 20 |opied fr|om .. * |
|00003340| 20 20 20 20 20 6d 6f 7a | 69 6c 6c 61 5c 65 78 74 | moz|illa\ext|
|00003350| 65 6e 73 69 6f 6e 73 5c | 78 6d 6c 2d 72 70 63 5c |ensions\|xml-rpc\|
|00003360| 73 72 63 5c 6e 73 58 6d | 6c 52 70 63 43 6c 69 65 |src\nsXm|lRpcClie|
|00003370| 6e 74 2e 6a 73 0d 0a 20 | 2a 0d 0a 20 2a 20 41 6c |nt.js.. |*.. * Al|
|00003380| 74 65 72 6e 61 74 69 76 | 65 6c 79 2c 20 74 68 65 |ternativ|ely, the|
|00003390| 20 63 6f 6e 74 65 6e 74 | 73 20 6f 66 20 74 68 69 | content|s of thi|
|000033a0| 73 20 66 69 6c 65 20 6d | 61 79 20 62 65 20 75 73 |s file m|ay be us|
|000033b0| 65 64 20 75 6e 64 65 72 | 20 74 68 65 20 74 65 72 |ed under| the ter|
|000033c0| 6d 73 20 6f 66 0d 0a 20 | 2a 20 65 69 74 68 65 72 |ms of.. |* either|
|000033d0| 20 74 68 65 20 47 4e 55 | 20 47 65 6e 65 72 61 6c | the GNU| General|
|000033e0| 20 50 75 62 6c 69 63 20 | 4c 69 63 65 6e 73 65 20 | Public |License |
|000033f0| 56 65 72 73 69 6f 6e 20 | 32 20 6f 72 20 6c 61 74 |Version |2 or lat|
|00003400| 65 72 20 28 74 68 65 20 | 22 47 50 4c 22 29 2c 20 |er (the |"GPL"), |
|00003410| 6f 72 20 0d 0a 20 2a 20 | 74 68 65 20 47 4e 55 20 |or .. * |the GNU |
|00003420| 4c 65 73 73 65 72 20 47 | 65 6e 65 72 61 6c 20 50 |Lesser G|eneral P|
|00003430| 75 62 6c 69 63 20 4c 69 | 63 65 6e 73 65 20 56 65 |ublic Li|cense Ve|
|00003440| 72 73 69 6f 6e 20 32 2e | 31 20 6f 72 20 6c 61 74 |rsion 2.|1 or lat|
|00003450| 65 72 20 28 74 68 65 20 | 22 4c 47 50 4c 22 29 2c |er (the |"LGPL"),|
|00003460| 0d 0a 20 2a 20 69 6e 20 | 77 68 69 63 68 20 63 61 |.. * in |which ca|
|00003470| 73 65 20 74 68 65 20 70 | 72 6f 76 69 73 69 6f 6e |se the p|rovision|
|00003480| 73 20 6f 66 20 74 68 65 | 20 47 50 4c 20 6f 72 20 |s of the| GPL or |
|00003490| 74 68 65 20 4c 47 50 4c | 20 61 72 65 20 61 70 70 |the LGPL| are app|
|000034a0| 6c 69 63 61 62 6c 65 20 | 69 6e 73 74 65 61 64 0d |licable |instead.|
|000034b0| 0a 20 2a 20 6f 66 20 74 | 68 6f 73 65 20 61 62 6f |. * of t|hose abo|
|000034c0| 76 65 2e 20 49 66 20 79 | 6f 75 20 77 69 73 68 20 |ve. If y|ou wish |
|000034d0| 74 6f 20 61 6c 6c 6f 77 | 20 75 73 65 20 6f 66 20 |to allow| use of |
|000034e0| 79 6f 75 72 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 |your ver|sion of |
|000034f0| 74 68 69 73 20 66 69 6c | 65 20 6f 6e 6c 79 0d 0a |this fil|e only..|
|00003500| 20 2a 20 75 6e 64 65 72 | 20 74 68 65 20 74 65 72 | * under| the ter|
|00003510| 6d 73 20 6f 66 20 65 69 | 74 68 65 72 20 74 68 65 |ms of ei|ther the|
|00003520| 20 47 50 4c 20 6f 72 20 | 74 68 65 20 4c 47 50 4c | GPL or |the LGPL|
|00003530| 2c 20 61 6e 64 20 6e 6f | 74 20 74 6f 20 61 6c 6c |, and no|t to all|
|00003540| 6f 77 20 6f 74 68 65 72 | 73 20 74 6f 0d 0a 20 2a |ow other|s to.. *|
|00003550| 20 75 73 65 20 79 6f 75 | 72 20 76 65 72 73 69 6f | use you|r versio|
|00003560| 6e 20 6f 66 20 74 68 69 | 73 20 66 69 6c 65 20 75 |n of thi|s file u|
|00003570| 6e 64 65 72 20 74 68 65 | 20 74 65 72 6d 73 20 6f |nder the| terms o|
|00003580| 66 20 74 68 65 20 4e 50 | 4c 2c 20 69 6e 64 69 63 |f the NP|L, indic|
|00003590| 61 74 65 20 79 6f 75 72 | 0d 0a 20 2a 20 64 65 63 |ate your|.. * dec|
|000035a0| 69 73 69 6f 6e 20 62 79 | 20 64 65 6c 65 74 69 6e |ision by| deletin|
|000035b0| 67 20 74 68 65 20 70 72 | 6f 76 69 73 69 6f 6e 73 |g the pr|ovisions|
|000035c0| 20 61 62 6f 76 65 20 61 | 6e 64 20 72 65 70 6c 61 | above a|nd repla|
|000035d0| 63 65 20 74 68 65 6d 20 | 77 69 74 68 20 74 68 65 |ce them |with the|
|000035e0| 20 6e 6f 74 69 63 65 0d | 0a 20 2a 20 61 6e 64 20 | notice.|. * and |
|000035f0| 6f 74 68 65 72 20 70 72 | 6f 76 69 73 69 6f 6e 73 |other pr|ovisions|
|00003600| 20 72 65 71 75 69 72 65 | 64 20 62 79 20 74 68 65 | require|d by the|
|00003610| 20 47 50 4c 20 6f 72 20 | 74 68 65 20 4c 47 50 4c | GPL or |the LGPL|
|00003620| 2e 20 49 66 20 79 6f 75 | 20 64 6f 20 6e 6f 74 20 |. If you| do not |
|00003630| 64 65 6c 65 74 65 0d 0a | 20 2a 20 74 68 65 20 70 |delete..| * the p|
|00003640| 72 6f 76 69 73 69 6f 6e | 73 20 61 62 6f 76 65 2c |rovision|s above,|
|00003650| 20 61 20 72 65 63 69 70 | 69 65 6e 74 20 6d 61 79 | a recip|ient may|
|00003660| 20 75 73 65 20 79 6f 75 | 72 20 76 65 72 73 69 6f | use you|r versio|
|00003670| 6e 20 6f 66 20 74 68 69 | 73 20 66 69 6c 65 20 75 |n of thi|s file u|
|00003680| 6e 64 65 72 0d 0a 20 2a | 20 74 68 65 20 74 65 72 |nder.. *| the ter|
|00003690| 6d 73 20 6f 66 20 61 6e | 79 20 6f 6e 65 20 6f 66 |ms of an|y one of|
|000036a0| 20 74 68 65 20 4e 50 4c | 2c 20 74 68 65 20 47 50 | the NPL|, the GP|
|000036b0| 4c 20 6f 72 20 74 68 65 | 20 4c 47 50 4c 2e 0d 0a |L or the| LGPL...|
|000036c0| 20 2a 0d 0a 20 2a 20 2a | 2a 2a 2a 2a 20 45 4e 44 | *.. * *|**** END|
|000036d0| 20 4c 49 43 45 4e 53 45 | 20 42 4c 4f 43 4b 20 2a | LICENSE| BLOCK *|
|000036e0| 2a 2a 2a 2a 20 2a 2f 0d | 0a 0d 0a 76 61 72 20 67 |**** */.|...var g|
|000036f0| 49 4f 53 65 72 76 69 63 | 65 3b 0d 0a 76 61 72 20 |IOServic|e;..var |
|00003700| 67 44 61 74 61 52 65 63 | 65 69 76 65 64 20 3d 20 |gDataRec|eived = |
|00003710| 6e 75 6c 6c 3b 0d 0a 76 | 61 72 20 67 49 6d 61 67 |null;..v|ar gImag|
|00003720| 65 44 61 74 61 20 3d 20 | 5b 5d 3b 0d 0a 76 61 72 |eData = |[];..var|
|00003730| 20 67 41 75 74 68 65 6e | 74 69 63 61 74 69 6f 6e | gAuthen|tication|
|00003740| 55 72 6c 3b 0d 0a 76 61 | 72 20 67 4e 65 77 41 63 |Url;..va|r gNewAc|
|00003750| 63 6f 75 6e 74 55 72 6c | 3b 0d 0a 76 61 72 20 67 |countUrl|;..var g|
|00003760| 53 75 67 67 65 73 74 53 | 6e 55 72 6c 3b 0d 0a 76 |SuggestS|nUrl;..v|
|00003770| 61 72 20 67 52 65 61 64 | 55 72 6c 3b 0d 0a 76 61 |ar gRead|Url;..va|
|00003780| 72 20 67 57 72 69 74 65 | 55 72 6c 3b 0d 0a 76 61 |r gWrite|Url;..va|
|00003790| 72 20 67 46 6f 72 67 6f | 74 74 65 6e 50 77 64 55 |r gForgo|ttenPwdU|
|000037a0| 72 6c 3b 0d 0a 76 61 72 | 20 67 53 65 74 55 73 65 |rl;..var| gSetUse|
|000037b0| 72 42 72 61 6e 64 55 72 | 6c 3b 0d 0a 76 61 72 20 |rBrandUr|l;..var |
|000037c0| 67 41 67 65 53 75 73 70 | 65 6e 64 55 72 6c 3b 0d |gAgeSusp|endUrl;.|
|000037d0| 0a 76 61 72 20 67 43 72 | 65 64 69 74 43 61 72 64 |.var gCr|editCard|
|000037e0| 56 61 6c 69 64 61 74 69 | 6f 6e 55 72 6c 3b 0d 0a |Validati|onUrl;..|
|000037f0| 76 61 72 20 67 47 65 74 | 52 65 67 49 6d 61 67 65 |var gGet|RegImage|
|00003800| 55 72 6c 3b 0d 0a 76 61 | 72 20 67 43 75 72 72 65 |Url;..va|r gCurre|
|00003810| 6e 74 50 61 67 65 44 65 | 66 69 6e 65 64 3b 0d 0a |ntPageDe|fined;..|
|00003820| 76 61 72 20 67 53 74 61 | 72 74 49 6e 50 61 67 65 |var gSta|rtInPage|
|00003830| 3b 0d 0a 76 61 72 20 67 | 43 61 74 65 67 6f 72 79 |;..var g|Category|
|00003840| 3b 0d 0a 76 61 72 20 67 | 43 6c 6f 73 65 50 72 6f |;..var g|ClosePro|
|00003850| 67 72 65 73 73 4d 65 74 | 65 72 20 3d 20 66 61 6c |gressMet|er = fal|
|00003860| 73 65 3b 0d 0a 76 61 72 | 20 67 45 6e 74 72 79 50 |se;..var| gEntryP|
|00003870| 6f 69 6e 74 3b 0d 0a 76 | 61 72 20 67 43 75 72 72 |oint;..v|ar gCurr|
|00003880| 65 6e 74 45 72 72 6f 72 | 4d 73 67 3b 0d 0a 76 61 |entError|Msg;..va|
|00003890| 72 20 67 41 75 74 68 54 | 6f 6b 65 6e 3b 0d 0a 76 |r gAuthT|oken;..v|
|000038a0| 61 72 20 67 53 6e 54 6f | 6b 65 6e 3b 0d 0a 76 61 |ar gSnTo|ken;..va|
|000038b0| 72 20 67 43 63 54 6f 6b | 65 6e 3b 0d 0a 76 61 72 |r gCcTok|en;..var|
|000038c0| 20 67 57 72 6f 74 65 49 | 6e 66 6f 20 3d 20 66 61 | gWroteI|nfo = fa|
|000038d0| 6c 73 65 3b 0d 0a 76 61 | 72 20 67 52 65 61 64 49 |lse;..va|r gReadI|
|000038e0| 6e 66 6f 20 3d 20 66 61 | 6c 73 65 3b 0d 0a 76 61 |nfo = fa|lse;..va|
|000038f0| 72 20 67 55 73 65 72 42 | 72 61 6e 64 49 73 53 65 |r gUserB|randIsSe|
|00003900| 74 20 3d 20 66 61 6c 73 | 65 3b 0d 0a 76 61 72 20 |t = fals|e;..var |
|00003910| 67 46 61 69 6c 65 64 54 | 6f 43 72 65 61 74 65 57 |gFailedT|oCreateW|
|00003920| 65 62 4d 61 69 6c 41 63 | 63 6f 75 6e 74 20 3d 20 |ebMailAc|count = |
|00003930| 66 61 6c 73 65 3b 0d 0a | 76 61 72 20 67 43 6f 6c |false;..|var gCol|
|00003940| 6c 65 63 74 44 61 74 61 | 46 72 6f 6d 45 78 69 73 |lectData|FromExis|
|00003950| 74 69 6e 67 4d 65 6d 62 | 65 72 20 3d 20 66 61 6c |tingMemb|er = fal|
|00003960| 73 65 3b 0d 0a 76 61 72 | 20 67 53 4e 53 45 6e 74 |se;..var| gSNSEnt|
|00003970| 72 79 43 72 65 61 74 65 | 64 20 3d 20 66 61 6c 73 |ryCreate|d = fals|
|00003980| 65 3b 0d 0a 76 61 72 20 | 67 50 69 6e 67 65 64 46 |e;..var |gPingedF|
|00003990| 6f 72 45 78 69 73 74 69 | 6e 67 49 6e 66 6f 20 3d |orExisti|ngInfo =|
|000039a0| 20 66 61 6c 73 65 3b 0d | 0a 76 61 72 20 67 4d 69 | false;.|.var gMi|
|000039b0| 67 72 61 74 65 64 55 73 | 65 72 53 63 72 65 65 6e |gratedUs|erScreen|
|000039c0| 4e 61 6d 65 3b 0d 0a 76 | 61 72 20 67 46 69 72 73 |Name;..v|ar gFirs|
|000039d0| 74 4e 61 6d 65 3b 0d 0a | 76 61 72 20 67 4c 61 73 |tName;..|var gLas|
|000039e0| 74 4e 61 6d 65 3b 0d 0a | 76 61 72 20 67 53 69 74 |tName;..|var gSit|
|000039f0| 65 49 64 50 65 72 41 63 | 74 69 76 61 74 69 6f 6e |eIdPerAc|tivation|
|00003a00| 53 63 68 65 6d 61 3b 0d | 0a 76 61 72 20 67 46 69 |Schema;.|.var gFi|
|00003a10| 6e 61 6c 53 69 64 65 42 | 61 72 50 61 6e 65 6c 3b |nalSideB|arPanel;|
|00003a20| 0d 0a 76 61 72 20 67 4e | 65 74 73 63 61 70 65 4e |..var gN|etscapeN|
|00003a30| 65 74 77 6f 72 6b 46 6c | 61 67 3b 0d 0a 76 61 72 |etworkFl|ag;..var|
|00003a40| 20 67 50 61 79 69 6e 67 | 4d 65 6d 62 65 72 20 3d | gPaying|Member =|
|00003a50| 20 66 61 6c 73 65 3b 0d | 0a 76 61 72 20 67 41 67 | false;.|.var gAg|
|00003a60| 65 53 75 73 70 65 6e 64 | 65 64 20 3d 20 66 61 6c |eSuspend|ed = fal|
|00003a70| 73 65 3b 0d 0a 76 61 72 | 20 67 41 67 65 53 75 73 |se;..var| gAgeSus|
|00003a80| 70 65 6e 64 65 64 50 6c | 75 73 20 3d 20 66 61 6c |pendedPl|us = fal|
|00003a90| 73 65 3b 0d 0a 76 61 72 | 20 67 41 67 65 53 75 73 |se;..var| gAgeSus|
|00003aa0| 70 65 6e 64 65 64 53 65 | 74 20 3d 20 66 61 6c 73 |pendedSe|t = fals|
|00003ab0| 65 3b 0d 0a 76 61 72 20 | 67 4e 75 6d 4f 66 43 72 |e;..var |gNumOfCr|
|00003ac0| 65 64 69 74 73 20 3d 20 | 30 3b 0d 0a 76 61 72 20 |edits = |0;..var |
|00003ad0| 67 56 61 6c 69 64 61 74 | 65 3b 0d 0a 76 61 72 20 |gValidat|e;..var |
|00003ae0| 67 4e 65 74 73 63 61 70 | 65 4e 65 74 77 6f 72 6b |gNetscap|eNetwork|
|00003af0| 53 69 74 65 3b 0d 0a 76 | 61 72 20 67 53 65 74 41 |Site;..v|ar gSetA|
|00003b00| 67 65 53 75 73 70 65 6e | 64 20 3d 20 66 61 6c 73 |geSuspen|d = fals|
|00003b10| 65 3b 0d 0a 76 61 72 20 | 67 57 72 6f 74 65 41 67 |e;..var |gWroteAg|
|00003b20| 65 44 61 74 61 20 3d 20 | 66 61 6c 73 65 3b 0d 0a |eData = |false;..|
|00003b30| 76 61 72 20 67 53 63 72 | 65 65 6e 4e 61 6d 65 3b |var gScr|eenName;|
|00003b40| 0d 0a 76 61 72 20 67 43 | 72 65 64 69 74 50 61 67 |..var gC|reditPag|
|00003b50| 65 43 61 6e 63 65 6c 6c | 65 64 20 3d 20 66 61 6c |eCancell|ed = fal|
|00003b60| 73 65 3b 0d 0a 76 61 72 | 20 67 45 78 69 73 74 69 |se;..var| gExisti|
|00003b70| 6e 67 41 63 63 6f 75 6e | 74 44 4f 42 59 65 61 72 |ngAccoun|tDOBYear|
|00003b80| 3b 0d 0a 76 61 72 20 67 | 45 78 69 73 74 69 6e 67 |;..var g|Existing|
|00003b90| 41 63 63 6f 75 6e 74 44 | 4f 42 4d 6f 6e 74 68 3b |AccountD|OBMonth;|
|00003ba0| 0d 0a 76 61 72 20 67 45 | 78 69 73 74 69 6e 67 41 |..var gE|xistingA|
|00003bb0| 63 63 6f 75 6e 74 44 4f | 42 44 61 79 3b 20 0d 0a |ccountDO|BDay; ..|
|00003bc0| 76 61 72 20 67 45 78 69 | 73 74 69 6e 67 41 63 63 |var gExi|stingAcc|
|00003bd0| 6f 75 6e 74 5a 69 70 3b | 0d 0a 76 61 72 20 67 45 |ountZip;|..var gE|
|00003be0| 78 69 73 74 69 6e 67 41 | 63 63 6f 75 6e 74 43 6f |xistingA|ccountCo|
|00003bf0| 75 6e 74 72 79 3b 0d 0a | 76 61 72 20 67 45 78 69 |untry;..|var gExi|
|00003c00| 73 74 69 6e 67 41 63 63 | 6f 75 6e 74 47 65 6e 64 |stingAcc|ountGend|
|00003c10| 65 72 3b 0d 0a 0d 0a 0d | 0a 63 6f 6e 73 74 20 6b |er;.....|.const k|
|00003c20| 50 6f 73 74 4d 65 74 68 | 6f 64 20 3d 20 22 50 4f |PostMeth|od = "PO|
|00003c30| 53 54 22 3b 0d 0a 63 6f | 6e 73 74 20 6b 47 65 74 |ST";..co|nst kGet|
|00003c40| 4d 65 74 68 6f 64 20 3d | 20 22 47 45 54 22 3b 0d |Method =| "GET";.|
|00003c50| 0a 63 6f 6e 73 74 20 6b | 53 63 72 65 65 6e 6e 61 |.const k|Screenna|
|00003c60| 6d 65 4e 61 6d 65 73 70 | 61 63 65 20 3d 20 22 30 |meNamesp|ace = "0|
|00003c70| 2d 39 61 2d 7a 41 2d 5a | 22 3b 0d 0a 63 6f 6e 73 |-9a-zA-Z|";..cons|
|00003c80| 74 20 6b 4e 65 74 73 63 | 61 70 65 4e 65 74 77 6f |t kNetsc|apeNetwo|
|00003c90| 72 6b 42 72 61 6e 64 20 | 3d 20 22 4e 45 54 53 43 |rkBrand |= "NETSC|
|00003ca0| 41 50 45 2d 4e 45 54 57 | 4f 52 4b 22 3b 0d 0a 0d |APE-NETW|ORK";...|
|00003cb0| 0a 76 61 72 20 73 74 72 | 42 75 6e 64 6c 65 53 65 |.var str|BundleSe|
|00003cc0| 72 76 69 63 65 20 3d 20 | 43 6f 6d 70 6f 6e 65 6e |rvice = |Componen|
|00003cd0| 74 73 2e 63 6c 61 73 73 | 65 73 5b 22 40 6d 6f 7a |ts.class|es["@moz|
|00003ce0| 69 6c 6c 61 2e 6f 72 67 | 2f 69 6e 74 6c 2f 73 74 |illa.org|/intl/st|
|00003cf0| 72 69 6e 67 62 75 6e 64 | 6c 65 3b 31 22 5d 2e 67 |ringbund|le;1"].g|
|00003d00| 65 74 53 65 72 76 69 63 | 65 28 29 3b 20 0d 0a 73 |etServic|e(); ..s|
|00003d10| 74 72 42 75 6e 64 6c 65 | 53 65 72 76 69 63 65 20 |trBundle|Service |
|00003d20| 3d 20 73 74 72 42 75 6e | 64 6c 65 53 65 72 76 69 |= strBun|dleServi|
|00003d30| 63 65 2e 51 75 65 72 79 | 49 6e 74 65 72 66 61 63 |ce.Query|Interfac|
|00003d40| 65 28 43 6f 6d 70 6f 6e | 65 6e 74 73 2e 69 6e 74 |e(Compon|ents.int|
|00003d50| 65 72 66 61 63 65 73 2e | 6e 73 49 53 74 72 69 6e |erfaces.|nsIStrin|
|00003d60| 67 42 75 6e 64 6c 65 53 | 65 72 76 69 63 65 29 3b |gBundleS|ervice);|
|00003d70| 0d 0a 0d 0a 76 61 72 20 | 61 63 74 69 76 61 74 69 |....var |activati|
|00003d80| 6f 6e 53 74 72 42 75 6e | 64 6c 65 20 3d 20 73 74 |onStrBun|dle = st|
|00003d90| 72 42 75 6e 64 6c 65 53 | 65 72 76 69 63 65 2e 63 |rBundleS|ervice.c|
|00003da0| 72 65 61 74 65 42 75 6e | 64 6c 65 28 22 63 68 72 |reateBun|dle("chr|
|00003db0| 6f 6d 65 3a 2f 2f 63 6f | 6d 6d 75 6e 69 63 61 74 |ome://co|mmunicat|
|00003dc0| 6f 72 2f 6c 6f 63 61 6c | 65 2f 70 72 6f 66 69 6c |or/local|e/profil|
|00003dd0| 65 2f 61 63 74 69 76 61 | 74 69 6f 6e 2e 70 72 6f |e/activa|tion.pro|
|00003de0| 70 65 72 74 69 65 73 22 | 29 3b 0d 0a 0d 0a 66 75 |perties"|);....fu|
|00003df0| 6e 63 74 69 6f 6e 20 50 | 6f 73 74 44 61 74 61 28 |nction P|ostData(|
|00003e00| 64 65 73 74 69 6e 61 74 | 69 6f 6e 44 69 72 65 63 |destinat|ionDirec|
|00003e10| 74 6f 72 79 4c 6f 63 61 | 74 69 6f 6e 2c 20 64 61 |toryLoca|tion, da|
|00003e20| 74 61 29 0d 0a 7b 0d 0a | 20 20 67 41 63 74 69 76 |ta)..{..| gActiv|
|00003e30| 61 74 69 6f 6e 4c 69 73 | 74 65 6e 65 72 28 64 65 |ationLis|tener(de|
|00003e40| 73 74 69 6e 61 74 69 6f | 6e 44 69 72 65 63 74 6f |stinatio|nDirecto|
|00003e50| 72 79 4c 6f 63 61 74 69 | 6f 6e 2c 20 64 61 74 61 |ryLocati|on, data|
|00003e60| 2c 20 6b 50 6f 73 74 4d | 65 74 68 6f 64 29 3b 0d |, kPostM|ethod);.|
|00003e70| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 67 |.}....fu|nction g|
|00003e80| 65 74 49 4f 53 65 72 76 | 69 63 65 28 29 0d 0a 7b |etIOServ|ice()..{|
|00003e90| 0d 0a 20 20 69 66 20 28 | 67 49 4f 53 65 72 76 69 |.. if (|gIOServi|
|00003ea0| 63 65 29 0d 0a 20 20 20 | 20 72 65 74 75 72 6e 20 |ce).. | return |
|00003eb0| 67 49 4f 53 65 72 76 69 | 63 65 3b 0d 0a 0d 0a 20 |gIOServi|ce;.... |
|00003ec0| 20 67 49 4f 53 65 72 76 | 69 63 65 20 3d 20 43 6f | gIOServ|ice = Co|
|00003ed0| 6d 70 6f 6e 65 6e 74 73 | 2e 63 6c 61 73 73 65 73 |mponents|.classes|
|00003ee0| 5b 22 40 6d 6f 7a 69 6c | 6c 61 2e 6f 72 67 2f 6e |["@mozil|la.org/n|
|00003ef0| 65 74 77 6f 72 6b 2f 69 | 6f 2d 73 65 72 76 69 63 |etwork/i|o-servic|
|00003f00| 65 3b 31 22 5d 2e 67 65 | 74 53 65 72 76 69 63 65 |e;1"].ge|tService|
|00003f10| 28 43 6f 6d 70 6f 6e 65 | 6e 74 73 2e 69 6e 74 65 |(Compone|nts.inte|
|00003f20| 72 66 61 63 65 73 2e 6e | 73 49 49 4f 53 65 72 76 |rfaces.n|sIIOServ|
|00003f30| 69 63 65 29 3b 0d 0a 20 | 20 72 65 74 75 72 6e 20 |ice);.. | return |
|00003f40| 67 49 4f 53 65 72 76 69 | 63 65 3b 0d 0a 7d 0d 0a |gIOServi|ce;..}..|
|00003f50| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 67 65 74 5f 75 |..functi|on get_u|
|00003f60| 72 69 28 75 72 6c 29 0d | 0a 7b 0d 0a 20 20 76 61 |ri(url).|.{.. va|
|00003f70| 72 20 6e 73 69 75 72 69 | 20 3d 20 43 6f 6d 70 6f |r nsiuri| = Compo|
|00003f80| 6e 65 6e 74 73 2e 63 6c | 61 73 73 65 73 5b 22 40 |nents.cl|asses["@|
|00003f90| 6d 6f 7a 69 6c 6c 61 2e | 6f 72 67 2f 6e 65 74 77 |mozilla.|org/netw|
|00003fa0| 6f 72 6b 2f 73 74 61 6e | 64 61 72 64 2d 75 72 6c |ork/stan|dard-url|
|00003fb0| 3b 31 22 5d 2e 63 72 65 | 61 74 65 49 6e 73 74 61 |;1"].cre|ateInsta|
|00003fc0| 6e 63 65 28 43 6f 6d 70 | 6f 6e 65 6e 74 73 2e 69 |nce(Comp|onents.i|
|00003fd0| 6e 74 65 72 66 61 63 65 | 73 2e 6e 73 49 55 52 49 |nterface|s.nsIURI|
|00003fe0| 29 3b 0d 0a 20 20 6e 73 | 69 75 72 69 2e 73 70 65 |);.. ns|iuri.spe|
|00003ff0| 63 20 3d 20 75 72 6c 3b | 0d 0a 20 20 72 65 74 75 |c = url;|.. retu|
|00004000| 72 6e 20 6e 73 69 75 72 | 69 3b 0d 0a 7d 0d 0a 0d |rn nsiur|i;..}...|
|00004010| 0a 66 75 6e 63 74 69 6f | 6e 20 70 6f 73 74 5f 64 |.functio|n post_d|
|00004020| 61 74 61 5f 74 6f 5f 73 | 65 72 76 65 72 28 6e 65 |ata_to_s|erver(ne|
|00004030| 77 4c 6f 63 61 74 69 6f | 6e 2c 20 64 61 74 61 2c |wLocatio|n, data,|
|00004040| 20 70 69 6e 67 4d 65 74 | 68 6f 64 29 0d 0a 7b 0d | pingMet|hod)..{.|
|00004050| 0a 20 20 74 72 79 0d 0a | 20 20 7b 0d 0a 20 20 20 |. try..| {.. |
|00004060| 20 2f 2f 20 53 65 74 20 | 75 70 20 63 68 61 6e 6e | // Set |up chann|
|00004070| 65 6c 2e 0d 0a 20 20 20 | 20 76 61 72 20 69 6f 53 |el... | var ioS|
|00004080| 65 72 76 69 63 65 20 3d | 20 67 65 74 49 4f 53 65 |ervice =| getIOSe|
|00004090| 72 76 69 63 65 28 29 3b | 0d 0a 0d 0a 20 20 20 20 |rvice();|.... |
|000040a0| 64 75 6d 70 20 28 22 2d | 2d 2d 29 20 69 6f 53 65 |dump ("-|--) ioSe|
|000040b0| 72 76 69 63 65 20 69 73 | 20 22 20 2b 20 69 6f 53 |rvice is| " + ioS|
|000040c0| 65 72 76 69 63 65 20 2b | 20 22 5c 6e 22 29 3b 0d |ervice +| "\n");.|
|000040d0| 0a 20 20 20 20 76 61 72 | 20 75 72 69 20 3d 20 67 |. var| uri = g|
|000040e0| 65 74 5f 75 72 69 28 6e | 65 77 4c 6f 63 61 74 69 |et_uri(n|ewLocati|
|000040f0| 6f 6e 29 3b 0d 0a 0d 0a | 20 20 20 20 64 75 6d 70 |on);....| dump|
|00004100| 20 28 22 2d 2d 2d 29 20 | 75 72 69 20 69 73 20 22 | ("---) |uri is "|
|00004110| 20 2b 20 75 72 69 20 2b | 20 22 5c 6e 22 29 3b 0d | + uri +| "\n");.|
|00004120| 0a 20 20 20 20 0d 0a 20 | 20 20 20 76 61 72 20 63 |. .. | var c|
|00004130| 68 61 6e 6e 20 3d 20 69 | 6f 53 65 72 76 69 63 65 |hann = i|oService|
|00004140| 2e 6e 65 77 43 68 61 6e | 6e 65 6c 46 72 6f 6d 55 |.newChan|nelFromU|
|00004150| 52 49 28 75 72 69 29 0d | 0a 20 20 20 20 20 20 20 |RI(uri).|. |
|00004160| 20 2e 51 75 65 72 79 49 | 6e 74 65 72 66 61 63 65 | .QueryI|nterface|
|00004170| 28 43 6f 6d 70 6f 6e 65 | 6e 74 73 2e 69 6e 74 65 |(Compone|nts.inte|
|00004180| 72 66 61 63 65 73 2e 6e | 73 49 48 74 74 70 43 68 |rfaces.n|sIHttpCh|
|00004190| 61 6e 6e 65 6c 29 3b 0d | 0a 0d 0a 20 20 20 20 64 |annel);.|... d|
|000041a0| 75 6d 70 20 28 22 2d 2d | 2d 29 20 63 68 61 6e 6e |ump ("--|-) chann|
|000041b0| 20 69 73 20 22 20 2b 20 | 63 68 61 6e 6e 20 2b 20 | is " + |chann + |
|000041c0| 22 5c 6e 22 29 3b 0d 0a | 20 20 20 20 0d 0a 20 20 |"\n");..| .. |
|000041d0| 20 20 69 66 20 28 70 69 | 6e 67 4d 65 74 68 6f 64 | if (pi|ngMethod|
|000041e0| 20 3d 3d 20 6b 50 6f 73 | 74 4d 65 74 68 6f 64 29 | == kPos|tMethod)|
|000041f0| 20 7b 0d 0a 20 20 20 20 | 20 20 2f 2f 20 43 72 65 | {.. | // Cre|
|00004200| 61 74 65 20 61 20 73 74 | 72 65 61 6d 20 6f 75 74 |ate a st|ream out|
|00004210| 20 6f 66 20 74 68 65 20 | 72 65 71 75 65 73 74 20 | of the |request |
|00004220| 61 6e 64 20 61 74 74 61 | 63 68 20 69 74 20 74 6f |and atta|ch it to|
|00004230| 20 74 68 65 20 63 68 61 | 6e 6e 65 6c 0d 0a 20 20 | the cha|nnel.. |
|00004240| 20 20 20 20 76 61 72 20 | 75 70 6c 6f 61 64 20 3d | var |upload =|
|00004250| 20 63 68 61 6e 6e 2e 51 | 75 65 72 79 49 6e 74 65 | chann.Q|ueryInte|
|00004260| 72 66 61 63 65 28 43 6f | 6d 70 6f 6e 65 6e 74 73 |rface(Co|mponents|
|00004270| 2e 69 6e 74 65 72 66 61 | 63 65 73 2e 6e 73 49 55 |.interfa|ces.nsIU|
|00004280| 70 6c 6f 61 64 43 68 61 | 6e 6e 65 6c 29 3b 0d 0a |ploadCha|nnel);..|
|00004290| 20 20 20 20 20 20 0d 0a | 20 20 20 20 20 20 64 75 | ..| du|
|000042a0| 6d 70 20 28 22 2d 2d 2d | 29 20 75 70 6c 6f 61 64 |mp ("---|) upload|
|000042b0| 20 69 73 20 22 20 2b 20 | 75 70 6c 6f 61 64 20 2b | is " + |upload +|
|000042c0| 20 22 5c 6e 22 29 3b 0d | 0a 20 20 20 20 20 20 0d | "\n");.|. .|
|000042d0| 0a 20 20 20 20 20 20 76 | 61 72 20 70 6f 73 74 53 |. v|ar postS|
|000042e0| 74 72 65 61 6d 20 3d 20 | 63 72 65 61 74 65 49 6e |tream = |createIn|
|000042f0| 73 74 61 6e 63 65 28 27 | 40 6d 6f 7a 69 6c 6c 61 |stance('|@mozilla|
|00004300| 2e 6f 72 67 2f 69 6f 2f | 73 74 72 69 6e 67 2d 69 |.org/io/|string-i|
|00004310| 6e 70 75 74 2d 73 74 72 | 65 61 6d 3b 31 27 2c 0d |nput-str|eam;1',.|
|00004320| 0a 20 20 20 20 20 20 20 | 20 20 20 27 6e 73 49 53 |. | 'nsIS|
|00004330| 74 72 69 6e 67 49 6e 70 | 75 74 53 74 72 65 61 6d |tringInp|utStream|
|00004340| 27 29 3b 0d 0a 0d 0a 20 | 20 20 20 20 20 64 75 6d |');.... | dum|
|00004350| 70 20 28 22 2d 2d 2d 29 | 20 70 6f 73 74 53 74 72 |p ("---)| postStr|
|00004360| 65 61 6d 20 69 73 20 22 | 20 2b 20 70 6f 73 74 53 |eam is "| + postS|
|00004370| 74 72 65 61 6d 20 2b 20 | 22 5c 6e 22 29 3b 0d 0a |tream + |"\n");..|
|00004380| 20 20 20 20 20 20 0d 0a | 20 20 20 20 20 20 69 66 | ..| if|
|00004390| 20 28 21 67 53 69 74 65 | 49 64 50 65 72 41 63 74 | (!gSite|IdPerAct|
|000043a0| 69 76 61 74 69 6f 6e 53 | 63 68 65 6d 61 29 0d 0a |ivationS|chema)..|
|000043b0| 20 20 20 20 20 20 20 20 | 67 53 69 74 65 49 64 50 | |gSiteIdP|
|000043c0| 65 72 41 63 74 69 76 61 | 74 69 6f 6e 53 63 68 65 |erActiva|tionSche|
|000043d0| 6d 61 20 3d 20 61 63 74 | 69 76 61 74 69 6f 6e 53 |ma = act|ivationS|
|000043e0| 74 72 42 75 6e 64 6c 65 | 2e 47 65 74 53 74 72 69 |trBundle|.GetStri|
|000043f0| 6e 67 46 72 6f 6d 4e 61 | 6d 65 28 22 64 65 66 61 |ngFromNa|me("defa|
|00004400| 75 6c 74 53 69 74 65 49 | 64 22 29 3b 0d 0a 0d 0a |ultSiteI|d");....|
|00004410| 20 20 20 20 20 20 64 75 | 6d 70 20 28 22 2d 2d 2d | du|mp ("---|
|00004420| 29 20 67 53 69 74 65 49 | 64 50 65 72 41 63 74 69 |) gSiteI|dPerActi|
|00004430| 76 61 74 69 6f 6e 53 63 | 68 65 6d 61 20 69 73 20 |vationSc|hema is |
|00004440| 22 20 2b 20 67 53 69 74 | 65 49 64 50 65 72 41 63 |" + gSit|eIdPerAc|
|00004450| 74 69 76 61 74 69 6f 6e | 53 63 68 65 6d 61 20 2b |tivation|Schema +|
|00004460| 20 22 5c 6e 22 29 3b 0d | 0a 20 20 20 20 20 20 0d | "\n");.|. .|
|00004470| 0a 20 20 20 20 20 20 63 | 68 61 6e 6e 2e 73 65 74 |. c|hann.set|
|00004480| 52 65 71 75 65 73 74 48 | 65 61 64 65 72 28 22 53 |RequestH|eader("S|
|00004490| 4e 53 2d 53 49 54 45 49 | 44 22 2c 20 67 53 69 74 |NS-SITEI|D", gSit|
|000044a0| 65 49 64 50 65 72 41 63 | 74 69 76 61 74 69 6f 6e |eIdPerAc|tivation|
|000044b0| 53 63 68 65 6d 61 2c 20 | 74 72 75 65 29 3b 20 2f |Schema, |true); /|
|000044c0| 2f 20 77 61 73 20 66 61 | 6c 73 65 20 53 4c 0d 0a |/ was fa|lse SL..|
|000044d0| 0d 0a 20 20 20 20 20 20 | 2f 2f 20 67 65 74 20 74 |.. |// get t|
|000044e0| 68 65 20 63 68 61 72 73 | 65 74 0d 0a 20 20 20 20 |he chars|et.. |
|000044f0| 20 20 76 61 72 20 63 68 | 61 72 73 65 74 20 3d 20 | var ch|arset = |
|00004500| 61 63 74 69 76 61 74 69 | 6f 6e 53 74 72 42 75 6e |activati|onStrBun|
|00004510| 64 6c 65 2e 47 65 74 53 | 74 72 69 6e 67 46 72 6f |dle.GetS|tringFro|
|00004520| 6d 4e 61 6d 65 28 22 63 | 68 61 72 73 65 74 22 29 |mName("c|harset")|
|00004530| 3b 0d 0a 0d 0a 20 20 20 | 20 20 20 69 66 20 28 21 |;.... | if (!|
|00004540| 64 61 74 61 29 20 7b 0d | 0a 20 20 20 20 20 20 20 |data) {.|. |
|00004550| 20 64 61 74 61 20 3d 20 | 22 73 69 74 65 49 64 3d | data = |"siteId=|
|00004560| 22 20 2b 20 65 73 63 61 | 70 65 28 67 53 69 74 65 |" + esca|pe(gSite|
|00004570| 49 64 50 65 72 41 63 74 | 69 76 61 74 69 6f 6e 53 |IdPerAct|ivationS|
|00004580| 63 68 65 6d 61 29 20 2b | 20 22 26 63 68 61 72 73 |chema) +| "&chars|
|00004590| 65 74 3d 22 20 2b 20 65 | 73 63 61 70 65 28 63 68 |et=" + e|scape(ch|
|000045a0| 61 72 73 65 74 29 3b 0d | 0a 20 20 20 20 20 20 20 |arset);.|. |
|000045b0| 20 63 68 61 6e 6e 2e 73 | 65 74 52 65 71 75 65 73 | chann.s|etReques|
|000045c0| 74 48 65 61 64 65 72 28 | 22 48 54 54 50 2d 43 4f |tHeader(|"HTTP-CO|
|000045d0| 4f 4b 49 45 22 2c 20 64 | 6f 63 75 6d 65 6e 74 2e |OKIE", d|ocument.|
|000045e0| 63 6f 6f 6b 69 65 2c 20 | 74 72 75 65 29 3b 0d 0a |cookie, |true);..|
|000045f0| 20 20 20 20 20 20 7d 0d | 0a 20 20 20 20 20 20 65 | }.|. e|
|00004600| 6c 73 65 20 7b 0d 0a 20 | 20 20 20 20 20 20 20 2f |lse {.. | /|
|00004610| 2f 20 41 64 64 20 63 68 | 61 72 73 65 74 20 74 6f |/ Add ch|arset to|
|00004620| 20 74 68 65 20 64 61 74 | 61 20 77 65 20 61 72 65 | the dat|a we are|
|00004630| 20 70 6f 73 74 69 6e 67 | 0d 0a 20 20 20 20 20 20 | posting|.. |
|00004640| 20 20 64 61 74 61 20 2b | 3d 20 22 26 73 69 74 65 | data +|= "&site|
|00004650| 49 64 3d 22 20 2b 20 65 | 73 63 61 70 65 28 67 53 |Id=" + e|scape(gS|
|00004660| 69 74 65 49 64 50 65 72 | 41 63 74 69 76 61 74 69 |iteIdPer|Activati|
|00004670| 6f 6e 53 63 68 65 6d 61 | 29 20 2b 20 22 26 63 68 |onSchema|) + "&ch|
|00004680| 61 72 73 65 74 3d 22 20 | 2b 20 65 73 63 61 70 65 |arset=" |+ escape|
|00004690| 28 63 68 61 72 73 65 74 | 29 3b 0d 0a 20 20 20 20 |(charset|);.. |
|000046a0| 20 20 7d 0d 0a 20 20 20 | 20 20 20 64 75 6d 70 28 | }.. | dump(|
|000046b0| 22 2d 2d 2d 29 20 69 6e | 20 6e 65 74 77 6f 72 6b |"---) in| network|
|000046c0| 54 72 61 6e 73 61 63 74 | 69 6f 6e 73 2e 6a 73 2c |Transact|ions.js,|
|000046d0| 20 70 6f 73 74 20 64 61 | 74 61 20 74 6f 20 73 65 | post da|ta to se|
|000046e0| 72 76 65 72 5c 6e 22 29 | 3b 0d 0a 20 20 20 20 20 |rver\n")|;.. |
|000046f0| 20 64 75 6d 70 28 22 58 | 58 58 20 22 20 2b 20 6e | dump("X|XX " + n|
|00004700| 65 77 4c 6f 63 61 74 69 | 6f 6e 20 2b 20 22 20 22 |ewLocati|on + " "|
|00004710| 20 2b 20 64 61 74 61 20 | 2b 20 22 5c 6e 22 29 3b | + data |+ "\n");|
|00004720| 0d 0a 20 20 20 20 20 20 | 70 6f 73 74 53 74 72 65 |.. |postStre|
|00004730| 61 6d 2e 73 65 74 44 61 | 74 61 28 64 61 74 61 2c |am.setDa|ta(data,|
|00004740| 20 64 61 74 61 2e 6c 65 | 6e 67 74 68 29 3b 0d 0a | data.le|ngth);..|
|00004750| 20 20 20 20 20 20 76 61 | 72 20 63 6f 6f 6b 69 65 | va|r cookie|
|00004760| 53 74 72 69 6e 67 20 3d | 20 64 6f 63 75 6d 65 6e |String =| documen|
|00004770| 74 2e 63 6f 6f 6b 69 65 | 3b 0d 0a 0d 0a 20 20 20 |t.cookie|;.... |
|00004780| 20 20 20 75 70 6c 6f 61 | 64 2e 73 65 74 55 70 6c | uploa|d.setUpl|
|00004790| 6f 61 64 53 74 72 65 61 | 6d 28 70 6f 73 74 53 74 |oadStrea|m(postSt|
|000047a0| 72 65 61 6d 2c 20 27 61 | 70 70 6c 69 63 61 74 69 |ream, 'a|pplicati|
|000047b0| 6f 6e 2f 78 2d 77 77 77 | 2d 66 6f 72 6d 2d 75 72 |on/x-www|-form-ur|
|000047c0| 6c 65 6e 63 6f 64 65 64 | 27 2c 20 2d 31 29 3b 0d |lencoded|', -1);.|
|000047d0| 0a 20 20 20 20 7d 0d 0a | 0d 0a 20 20 20 20 63 68 |. }..|.. ch|
|000047e0| 61 6e 6e 2e 72 65 71 75 | 65 73 74 4d 65 74 68 6f |ann.requ|estMetho|
|000047f0| 64 20 3d 20 70 69 6e 67 | 4d 65 74 68 6f 64 3b 0d |d = ping|Method;.|
|00004800| 0a 0d 0a 20 20 20 20 63 | 68 61 6e 6e 2e 6e 6f 74 |... c|hann.not|
|00004810| 69 66 69 63 61 74 69 6f | 6e 43 61 6c 6c 62 61 63 |ificatio|nCallbac|
|00004820| 6b 73 20 3d 20 67 50 72 | 6f 67 72 65 73 73 4e 6f |ks = gPr|ogressNo|
|00004830| 74 69 66 69 63 61 74 69 | 6f 6e 73 3b 0d 0a 0d 0a |tificati|ons;....|
|00004840| 20 20 20 20 63 68 61 6e | 6e 2e 61 73 79 6e 63 4f | chan|n.asyncO|
|00004850| 70 65 6e 28 67 41 63 74 | 69 76 61 74 69 6f 6e 4c |pen(gAct|ivationL|
|00004860| 69 73 74 65 6e 65 72 2c | 20 6e 75 6c 6c 29 3b 0d |istener,| null);.|
|00004870| 0a 20 20 7d 0d 0a 20 20 | 63 61 74 63 68 20 28 65 |. }.. |catch (e|
|00004880| 29 0d 0a 20 20 7b 0d 0a | 20 20 7d 0d 0a 7d 0d 0a |).. {..| }..}..|
|00004890| 0d 0a 76 61 72 20 67 41 | 63 74 69 76 61 74 69 6f |..var gA|ctivatio|
|000048a0| 6e 4c 69 73 74 65 6e 65 | 72 20 3d 0d 0a 7b 0d 0a |nListene|r =..{..|
|000048b0| 20 20 51 75 65 72 79 49 | 6e 74 65 72 66 61 63 65 | QueryI|nterface|
|000048c0| 3a 20 66 75 6e 63 74 69 | 6f 6e 28 61 49 49 64 2c |: functi|on(aIId,|
|000048d0| 20 69 6e 73 74 61 6e 63 | 65 29 0d 0a 20 20 7b 0d | instanc|e).. {.|
|000048e0| 0a 20 20 20 20 69 66 20 | 28 61 49 49 64 2e 65 71 |. if |(aIId.eq|
|000048f0| 75 61 6c 73 28 43 6f 6d | 70 6f 6e 65 6e 74 73 2e |uals(Com|ponents.|
|00004900| 69 6e 74 65 72 66 61 63 | 65 73 2e 6e 73 49 53 74 |interfac|es.nsISt|
|00004910| 72 65 61 6d 4c 69 73 74 | 65 6e 65 72 29 29 0d 0a |reamList|ener))..|
|00004920| 20 20 20 20 20 20 72 65 | 74 75 72 6e 20 74 68 69 | re|turn thi|
|00004930| 73 3b 0d 0a 20 20 20 20 | 69 66 20 28 61 49 49 64 |s;.. |if (aIId|
|00004940| 2e 65 71 75 61 6c 73 28 | 43 6f 6d 70 6f 6e 65 6e |.equals(|Componen|
|00004950| 74 73 2e 69 6e 74 65 72 | 66 61 63 65 73 2e 6e 73 |ts.inter|faces.ns|
|00004960| 49 53 75 70 70 6f 72 74 | 73 29 29 0d 0a 20 20 20 |ISupport|s)).. |
|00004970| 20 20 20 72 65 74 75 72 | 6e 20 74 68 69 73 3b 0d | retur|n this;.|
|00004980| 0a 20 20 20 20 0d 0a 20 | 20 20 20 74 68 72 6f 77 |. .. | throw|
|00004990| 20 43 6f 6d 70 6f 6e 65 | 6e 74 73 2e 72 65 73 75 | Compone|nts.resu|
|000049a0| 6c 74 73 2e 4e 53 5f 4e | 4f 49 4e 54 45 52 46 41 |lts.NS_N|OINTERFA|
|000049b0| 43 45 3b 0d 0a 20 20 7d | 2c 0d 0a 0d 0a 20 20 6f |CE;.. }|,.... o|
|000049c0| 6e 53 74 61 72 74 52 65 | 71 75 65 73 74 3a 20 66 |nStartRe|quest: f|
|000049d0| 75 6e 63 74 69 6f 6e 28 | 72 65 71 75 65 73 74 2c |unction(|request,|
|000049e0| 20 63 74 78 74 29 0d 0a | 20 20 7b 0d 0a 20 20 20 | ctxt)..| {.. |
|000049f0| 20 67 49 6d 61 67 65 44 | 61 74 61 20 3d 20 5b 5d | gImageD|ata = []|
|00004a00| 3b 0d 0a 20 20 20 20 67 | 44 61 74 61 52 65 63 65 |;.. g|DataRece|
|00004a10| 69 76 65 64 20 3d 20 22 | 22 3b 0d 0a 20 20 20 20 |ived = "|";.. |
|00004a20| 67 43 6c 6f 73 65 50 72 | 6f 67 72 65 73 73 4d 65 |gClosePr|ogressMe|
|00004a30| 74 65 72 20 3d 20 66 61 | 6c 73 65 3b 0d 0a 20 20 |ter = fa|lse;.. |
|00004a40| 7d 2c 0d 0a 0d 0a 20 20 | 6f 6e 53 74 6f 70 52 65 |},.... |onStopRe|
|00004a50| 71 75 65 73 74 3a 20 66 | 75 6e 63 74 69 6f 6e 28 |quest: f|unction(|
|00004a60| 72 65 71 75 65 73 74 2c | 20 63 74 78 74 2c 20 73 |request,| ctxt, s|
|00004a70| 74 61 74 75 73 2c 20 65 | 72 72 6f 72 4d 73 67 29 |tatus, e|rrorMsg)|
|00004a80| 0d 0a 20 20 7b 0d 0a 20 | 20 20 20 76 61 72 20 63 |.. {.. | var c|
|00004a90| 75 72 72 50 61 67 65 3b | 0d 0a 20 20 20 20 76 61 |urrPage;|.. va|
|00004aa0| 72 20 73 63 72 65 65 6e | 4e 61 6d 65 73 3b 0d 0a |r screen|Names;..|
|00004ab0| 20 20 20 20 76 61 72 20 | 73 74 61 74 75 73 41 72 | var |statusAr|
|00004ac0| 72 61 79 3b 0d 0a 20 20 | 20 20 76 61 72 20 69 73 |ray;.. | var is|
|00004ad0| 45 78 69 73 74 69 6e 67 | 41 63 63 6f 75 6e 74 20 |Existing|Account |
|00004ae0| 3d 20 66 61 6c 73 65 3b | 0d 0a 20 20 20 20 76 61 |= false;|.. va|
|00004af0| 72 20 69 73 56 61 6c 69 | 64 41 63 63 6f 75 6e 74 |r isVali|dAccount|
|00004b00| 20 3d 20 66 61 6c 73 65 | 3b 0d 0a 20 20 20 20 76 | = false|;.. v|
|00004b10| 61 72 20 65 72 72 6f 72 | 43 6f 64 65 3b 0d 0a 20 |ar error|Code;.. |
|00004b20| 20 20 20 76 61 72 20 63 | 6f 6f 6b 69 65 43 68 65 | var c|ookieChe|
|00004b30| 63 6b 49 6e 76 61 6c 69 | 64 20 3d 20 66 61 6c 73 |ckInvali|d = fals|
|00004b40| 65 3b 0d 0a 20 20 20 20 | 76 61 72 20 63 6f 70 70 |e;.. |var copp|
|00004b50| 61 56 69 6f 6c 61 74 69 | 6f 6e 20 3d 20 66 61 6c |aViolati|on = fal|
|00004b60| 73 65 3b 0d 0a 20 20 20 | 20 76 61 72 20 69 6e 76 |se;.. | var inv|
|00004b70| 61 6c 69 64 43 72 65 64 | 69 74 43 61 72 64 20 3d |alidCred|itCard =|
|00004b80| 20 66 61 6c 73 65 3b 0d | 0a 20 20 20 20 67 4d 69 | false;.|. gMi|
|00004b90| 73 6d 61 74 63 68 65 64 | 49 6d 61 67 65 57 6f 72 |smatched|ImageWor|
|00004ba0| 64 20 3d 20 66 61 6c 73 | 65 3b 0d 0a 20 0d 0a 20 |d = fals|e;.. .. |
|00004bb0| 20 20 20 74 72 79 20 7b | 0d 0a 20 20 20 20 20 20 | try {|.. |
|00004bc0| 69 66 20 28 67 43 75 72 | 72 65 6e 74 50 61 67 65 |if (gCur|rentPage|
|00004bd0| 44 65 66 69 6e 65 64 29 | 0d 0a 20 20 20 20 20 20 |Defined)|.. |
|00004be0| 20 20 63 75 72 72 50 61 | 67 65 20 3d 20 67 43 75 | currPa|ge = gCu|
|00004bf0| 72 72 65 6e 74 50 61 67 | 65 44 65 66 69 6e 65 64 |rrentPag|eDefined|
|00004c00| 3b 0d 0a 20 20 20 20 20 | 20 65 6c 73 65 0d 0a 20 |;.. | else.. |
|00004c10| 20 20 20 20 20 20 20 63 | 75 72 72 50 61 67 65 20 | c|urrPage |
|00004c20| 3d 20 64 6f 63 75 6d 65 | 6e 74 2e 64 6f 63 75 6d |= docume|nt.docum|
|00004c30| 65 6e 74 45 6c 65 6d 65 | 6e 74 2e 63 75 72 72 65 |entEleme|nt.curre|
|00004c40| 6e 74 50 61 67 65 2e 69 | 64 3b 0d 0a 20 20 20 20 |ntPage.i|d;.. |
|00004c50| 7d 0d 0a 20 20 20 20 63 | 61 74 63 68 20 28 65 78 |}.. c|atch (ex|
|00004c60| 29 20 7b 0d 0a 20 20 20 | 20 7d 0d 0a 20 20 20 20 |) {.. | }.. |
|00004c70| 0d 0a 20 20 20 20 2f 2f | 20 69 66 20 74 68 65 72 |.. //| if ther|
|00004c80| 65 20 77 61 73 20 6e 6f | 20 64 61 74 61 20 28 67 |e was no| data (g|
|00004c90| 49 6d 61 67 65 44 61 74 | 61 2e 6c 65 6e 67 74 68 |ImageDat|a.length|
|00004ca0| 20 3d 3d 20 30 29 0d 0a | 20 20 20 20 2f 2f 20 77 | == 0)..| // w|
|00004cb0| 65 20 73 68 6f 75 6c 64 | 20 73 65 6e 64 20 74 68 |e should| send th|
|00004cc0| 65 20 75 73 65 72 20 74 | 6f 20 74 68 65 20 22 54 |e user t|o the "T|
|00004cd0| 72 79 20 41 67 61 69 6e | 20 4c 61 74 65 72 22 20 |ry Again| Later" |
|00004ce0| 70 61 67 65 0d 0a 20 20 | 20 20 69 66 20 28 63 75 |page.. | if (cu|
|00004cf0| 72 72 50 61 67 65 20 3d | 3d 20 22 69 73 70 50 61 |rrPage =|= "ispPa|
|00004d00| 67 65 31 37 22 20 26 26 | 20 67 49 6d 61 67 65 44 |ge17" &&| gImageD|
|00004d10| 61 74 61 2e 6c 65 6e 67 | 74 68 29 0d 0a 20 20 20 |ata.leng|th).. |
|00004d20| 20 7b 0d 0a 20 20 20 20 | 20 20 2f 2f 20 69 66 20 | {.. | // if |
|00004d30| 74 68 65 20 69 6d 61 67 | 65 20 64 61 74 61 20 69 |the imag|e data i|
|00004d40| 73 20 72 65 61 6c 6c 79 | 20 61 6e 20 65 72 72 6f |s really| an erro|
|00004d50| 72 20 63 6f 64 65 0d 0a | 20 20 20 20 20 20 2f 2f |r code..| //|
|00004d60| 20 6c 69 6b 65 20 22 72 | 63 3d 33 30 34 22 2c 20 | like "r|c=304", |
|00004d70| 77 65 20 6e 65 65 64 20 | 74 6f 20 68 61 6e 64 6c |we need |to handl|
|00004d80| 65 20 69 74 20 64 69 66 | 66 65 72 65 6e 74 6c 79 |e it dif|ferently|
|00004d90| 0d 0a 20 20 20 20 20 20 | 69 66 20 28 67 49 6d 61 |.. |if (gIma|
|00004da0| 67 65 44 61 74 61 5b 30 | 5d 20 3d 3d 20 31 31 34 |geData[0|] == 114|
|00004db0| 20 26 26 0d 0a 20 20 20 | 20 20 20 20 20 20 20 67 | &&.. | g|
|00004dc0| 49 6d 61 67 65 44 61 74 | 61 5b 31 5d 20 3d 3d 20 |ImageDat|a[1] == |
|00004dd0| 39 39 20 26 26 0d 0a 20 | 20 20 20 20 20 20 20 20 |99 &&.. | |
|00004de0| 20 67 49 6d 61 67 65 44 | 61 74 61 5b 32 5d 20 3d | gImageD|ata[2] =|
|00004df0| 3d 20 36 31 29 0d 0a 20 | 20 20 20 20 20 7b 0d 0a |= 61).. | {..|
|00004e00| 20 20 20 20 20 20 20 20 | 2f 2f 20 63 6f 6e 76 65 | |// conve|
|00004e10| 72 74 20 74 68 65 20 62 | 79 74 65 73 20 69 6e 74 |rt the b|ytes int|
|00004e20| 6f 20 61 20 73 74 72 69 | 6e 67 0d 0a 20 20 20 20 |o a stri|ng.. |
|00004e30| 20 20 20 20 67 44 61 74 | 61 52 65 63 65 69 76 65 | gDat|aReceive|
|00004e40| 64 20 3d 20 22 22 3b 0d | 0a 20 20 20 20 20 20 20 |d = "";.|. |
|00004e50| 20 66 6f 72 20 28 69 3d | 30 3b 69 3c 67 49 6d 61 | for (i=|0;i<gIma|
|00004e60| 67 65 44 61 74 61 2e 6c | 65 6e 67 74 68 3b 69 2b |geData.l|ength;i+|
|00004e70| 2b 29 0d 0a 20 20 20 20 | 20 20 20 20 7b 0d 0a 20 |+).. | {.. |
|00004e80| 20 20 20 20 20 20 20 20 | 20 67 44 61 74 61 52 65 | | gDataRe|
|00004e90| 63 65 69 76 65 64 20 2b | 3d 20 53 74 72 69 6e 67 |ceived +|= String|
|00004ea0| 2e 66 72 6f 6d 43 68 61 | 72 43 6f 64 65 28 67 49 |.fromCha|rCode(gI|
|00004eb0| 6d 61 67 65 44 61 74 61 | 5b 69 5d 29 3b 0d 0a 20 |mageData|[i]);.. |
|00004ec0| 20 20 20 20 20 20 20 7d | 0d 0a 20 20 20 20 20 20 | }|.. |
|00004ed0| 7d 0d 0a 20 20 20 20 20 | 20 65 6c 73 65 20 20 0d |}.. | else .|
|00004ee0| 0a 20 20 20 20 20 20 7b | 0d 0a 20 20 20 20 20 20 |. {|.. |
|00004ef0| 20 20 76 61 72 20 69 6d | 61 67 65 57 6f 72 64 49 | var im|ageWordI|
|00004f00| 6d 67 20 3d 20 64 6f 63 | 75 6d 65 6e 74 2e 67 65 |mg = doc|ument.ge|
|00004f10| 74 45 6c 65 6d 65 6e 74 | 42 79 49 64 28 22 69 6d |tElement|ById("im|
|00004f20| 61 67 65 57 6f 72 64 49 | 6d 67 22 29 3b 0d 0a 20 |ageWordI|mg");.. |
|00004f30| 20 20 20 20 20 20 20 69 | 6d 61 67 65 57 6f 72 64 | i|mageWord|
|00004f40| 49 6d 67 2e 73 65 74 41 | 74 74 72 69 62 75 74 65 |Img.setA|ttribute|
|00004f50| 28 22 73 72 63 22 2c 20 | 22 64 61 74 61 3a 69 6d |("src", |"data:im|
|00004f60| 61 67 65 2f 67 69 66 3b | 62 61 73 65 36 34 2c 22 |age/gif;|base64,"|
|00004f70| 20 2b 20 74 6f 42 61 73 | 65 36 34 28 67 49 6d 61 | + toBas|e64(gIma|
|00004f80| 67 65 44 61 74 61 29 29 | 3b 0d 0a 20 20 20 20 20 |geData))|;.. |
|00004f90| 20 20 20 2f 2f 20 66 61 | 6b 65 20 74 68 65 20 22 | // fa|ke the "|
|00004fa0| 72 63 3d 30 22 0d 0a 20 | 20 20 20 20 20 20 20 67 |rc=0".. | g|
|00004fb0| 44 61 74 61 52 65 63 65 | 69 76 65 64 20 3d 20 22 |DataRece|ived = "|
|00004fc0| 72 63 3d 30 22 3b 0d 0a | 20 20 20 20 20 20 7d 0d |rc=0";..| }.|
|00004fd0| 0a 20 20 20 20 7d 0d 0a | 0d 0a 20 20 20 20 2f 2f |. }..|.. //|
|00004fe0| 20 4e 65 74 77 6f 72 6b | 20 74 72 61 6e 73 61 63 | Network| transac|
|00004ff0| 74 69 6f 6e 20 69 73 20 | 6f 76 65 72 2e 20 54 69 |tion is |over. Ti|
|00005000| 6d 65 20 74 6f 20 63 6c | 6f 73 65 20 74 68 65 20 |me to cl|ose the |
|00005010| 70 72 6f 67 72 65 73 73 | 20 64 69 61 6c 6f 67 0d |progress| dialog.|
|00005020| 0a 20 20 20 20 2f 2f 67 | 43 6c 6f 73 65 50 72 6f |. //g|ClosePro|
|00005030| 67 72 65 73 73 4d 65 74 | 65 72 20 3d 20 74 72 75 |gressMet|er = tru|
|00005040| 65 3b 0d 0a 20 20 20 20 | 69 66 20 28 67 44 61 74 |e;.. |if (gDat|
|00005050| 61 52 65 63 65 69 76 65 | 64 20 26 26 20 63 75 72 |aReceive|d && cur|
|00005060| 72 50 61 67 65 29 20 7b | 0d 0a 20 20 20 20 20 20 |rPage) {|.. |
|00005070| 2f 2f 20 54 68 65 72 65 | 20 61 72 65 20 32 20 63 |// There| are 2 c|
|00005080| 61 73 65 73 20 77 68 65 | 6e 20 77 65 20 63 6f 6d |ases whe|n we com|
|00005090| 65 20 68 65 72 65 2e 0d | 0a 20 20 20 20 20 20 2f |e here..|. /|
|000050a0| 2f 20 31 2e 20 4d 61 69 | 6e 53 74 72 65 61 6d 20 |/ 1. Mai|nStream |
|000050b0| 41 63 74 69 76 61 74 69 | 6f 6e 20 62 65 67 69 6e |Activati|on begin|
|000050c0| 6e 69 6e 67 0d 0a 20 20 | 20 20 20 20 2f 2f 20 32 |ning.. | // 2|
|000050d0| 2e 20 44 6f 77 6e 53 74 | 72 65 61 6d 20 41 63 74 |. DownSt|ream Act|
|000050e0| 69 76 61 74 69 6f 6e 20 | 62 65 67 69 6e 6e 69 6e |ivation |beginnin|
|000050f0| 67 0d 0a 20 20 20 20 20 | 20 2f 2f 20 20 20 20 61 |g.. | // a|
|00005100| 2e 20 46 72 6f 6d 20 4d | 61 69 6c 6e 65 77 73 0d |. From M|ailnews.|
|00005110| 0a 20 20 20 20 20 20 2f | 2f 20 20 20 20 62 2e 20 |. /|/ b. |
|00005120| 46 72 6f 6d 20 49 4d 0d | 0a 20 20 20 20 20 20 2f |From IM.|. /|
|00005130| 2f 20 20 20 20 63 2e 20 | 46 72 6f 6d 20 6f 74 68 |/ c. |From oth|
|00005140| 65 72 20 70 6f 69 6e 74 | 73 20 69 6e 20 4e 61 76 |er point|s in Nav|
|00005150| 69 67 61 74 6f 72 0d 0a | 20 20 20 20 20 20 69 66 |igator..| if|
|00005160| 20 28 63 75 72 72 50 61 | 67 65 20 3d 3d 20 22 61 | (currPa|ge == "a|
|00005170| 63 74 69 76 61 74 69 6f | 6e 53 74 61 72 74 57 69 |ctivatio|nStartWi|
|00005180| 6e 64 6f 77 22 20 7c 7c | 20 0d 0a 20 20 20 20 20 |ndow" ||| .. |
|00005190| 20 20 20 20 20 63 75 72 | 72 50 61 67 65 20 3d 3d | cur|rPage ==|
|000051a0| 20 22 69 73 70 50 61 67 | 65 31 22 20 7c 7c 20 0d | "ispPag|e1" || .|
|000051b0| 0a 20 20 20 20 20 20 20 | 20 20 20 67 45 6e 74 72 |. | gEntr|
|000051c0| 79 50 6f 69 6e 74 20 3d | 3d 20 22 64 6f 77 6e 73 |yPoint =|= "downs|
|000051d0| 74 72 65 61 6d 41 63 74 | 69 76 61 74 69 6f 6e 22 |treamAct|ivation"|
|000051e0| 29 20 7b 0d 0a 20 20 20 | 20 20 20 20 20 67 45 6e |) {.. | gEn|
|000051f0| 74 72 79 50 6f 69 6e 74 | 20 3d 20 6e 75 6c 6c 3b |tryPoint| = null;|
|00005200| 0d 0a 20 20 20 20 20 20 | 20 20 76 61 72 20 76 61 |.. | var va|
|00005210| 6c 75 65 20 3d 20 65 78 | 74 72 61 63 74 52 65 74 |lue = ex|tractRet|
|00005220| 75 72 6e 56 61 6c 75 65 | 28 22 72 63 22 2c 20 74 |urnValue|("rc", t|
|00005230| 72 75 65 29 3b 0d 0a 20 | 20 20 20 20 20 20 20 69 |rue);.. | i|
|00005240| 66 20 28 76 61 6c 75 65 | 20 3d 3d 20 30 29 20 7b |f (value| == 0) {|
|00005250| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 67 41 75 74 |.. | gAut|
|00005260| 68 65 6e 74 69 63 61 74 | 69 6f 6e 55 72 6c 20 3d |henticat|ionUrl =|
|00005270| 20 65 78 74 72 61 63 74 | 52 65 74 75 72 6e 56 61 | extract|ReturnVa|
|00005280| 6c 75 65 28 22 61 75 74 | 68 55 72 6c 22 2c 20 74 |lue("aut|hUrl", t|
|00005290| 72 75 65 29 3b 0d 0a 20 | 20 20 20 20 20 20 20 20 |rue);.. | |
|000052a0| 20 67 4e 65 77 41 63 63 | 6f 75 6e 74 55 72 6c 20 | gNewAcc|ountUrl |
|000052b0| 3d 20 65 78 74 72 61 63 | 74 52 65 74 75 72 6e 56 |= extrac|tReturnV|
|000052c0| 61 6c 75 65 28 22 6e 65 | 77 53 6e 55 72 6c 22 2c |alue("ne|wSnUrl",|
|000052d0| 20 74 72 75 65 29 3b 0d | 0a 20 20 20 20 20 20 20 | true);.|. |
|000052e0| 20 20 20 67 52 65 61 64 | 55 72 6c 20 3d 20 65 78 | gRead|Url = ex|
|000052f0| 74 72 61 63 74 52 65 74 | 75 72 6e 56 61 6c 75 65 |tractRet|urnValue|
|00005300| 28 22 72 65 61 64 55 72 | 6c 22 2c 20 74 72 75 65 |("readUr|l", true|
|00005310| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 67 57 |);.. | gW|
|00005320| 72 69 74 65 55 72 6c 20 | 3d 20 65 78 74 72 61 63 |riteUrl |= extrac|
|00005330| 74 52 65 74 75 72 6e 56 | 61 6c 75 65 28 22 77 72 |tReturnV|alue("wr|
|00005340| 69 74 65 55 72 6c 22 2c | 20 74 72 75 65 29 3b 0d |iteUrl",| true);.|
|00005350| 0a 20 20 20 20 20 20 20 | 20 20 20 67 46 6f 72 67 |. | gForg|
|00005360| 6f 74 74 65 6e 50 77 64 | 55 72 6c 20 3d 20 65 78 |ottenPwd|Url = ex|
|00005370| 74 72 61 63 74 52 65 74 | 75 72 6e 56 61 6c 75 65 |tractRet|urnValue|
|00005380| 28 22 66 6f 72 67 6f 74 | 74 65 6e 50 77 64 55 72 |("forgot|tenPwdUr|
|00005390| 6c 22 2c 20 74 72 75 65 | 29 3b 0d 0a 20 20 20 20 |l", true|);.. |
|000053a0| 20 20 20 20 20 20 67 53 | 75 67 67 65 73 74 53 6e | gS|uggestSn|
|000053b0| 55 72 6c 20 3d 20 65 78 | 74 72 61 63 74 52 65 74 |Url = ex|tractRet|
|000053c0| 75 72 6e 56 61 6c 75 65 | 28 22 73 75 67 67 65 73 |urnValue|("sugges|
|000053d0| 74 53 6e 55 72 6c 22 2c | 20 74 72 75 65 29 3b 0d |tSnUrl",| true);.|
|000053e0| 0a 20 20 20 20 20 20 20 | 20 20 20 67 53 65 74 55 |. | gSetU|
|000053f0| 73 65 72 42 72 61 6e 64 | 55 72 6c 20 3d 20 65 78 |serBrand|Url = ex|
|00005400| 74 72 61 63 74 52 65 74 | 75 72 6e 56 61 6c 75 65 |tractRet|urnValue|
|00005410| 28 22 73 65 74 55 73 65 | 72 42 72 61 6e 64 55 72 |("setUse|rBrandUr|
|00005420| 6c 22 2c 20 74 72 75 65 | 29 3b 0d 0a 20 20 20 20 |l", true|);.. |
|00005430| 20 20 20 20 20 20 67 41 | 67 65 53 75 73 70 65 6e | gA|geSuspen|
|00005440| 64 55 72 6c 20 3d 20 65 | 78 74 72 61 63 74 52 65 |dUrl = e|xtractRe|
|00005450| 74 75 72 6e 56 61 6c 75 | 65 28 22 61 67 65 53 75 |turnValu|e("ageSu|
|00005460| 73 70 65 6e 64 55 72 6c | 22 2c 20 74 72 75 65 29 |spendUrl|", true)|
|00005470| 3b 0d 0a 20 20 20 20 20 | 20 20 20 20 20 67 43 72 |;.. | gCr|
|00005480| 65 64 69 74 43 61 72 64 | 56 61 6c 69 64 61 74 69 |editCard|Validati|
|00005490| 6f 6e 55 72 6c 20 3d 20 | 65 78 74 72 61 63 74 52 |onUrl = |extractR|
|000054a0| 65 74 75 72 6e 56 61 6c | 75 65 28 22 63 72 65 64 |eturnVal|ue("cred|
|000054b0| 69 74 43 61 72 64 56 61 | 6c 69 64 61 74 69 6f 6e |itCardVa|lidation|
|000054c0| 55 72 6c 22 2c 20 74 72 | 75 65 29 3b 0d 0a 20 20 |Url", tr|ue);.. |
|000054d0| 20 20 20 20 20 20 20 20 | 67 47 65 74 52 65 67 49 | |gGetRegI|
|000054e0| 6d 61 67 65 55 72 6c 20 | 3d 20 65 78 74 72 61 63 |mageUrl |= extrac|
|000054f0| 74 52 65 74 75 72 6e 56 | 61 6c 75 65 28 22 67 65 |tReturnV|alue("ge|
|00005500| 74 52 65 67 49 6d 61 67 | 65 55 72 6c 22 2c 20 74 |tRegImag|eUrl", t|
|00005510| 72 75 65 29 3b 0d 0a 20 | 20 20 20 20 20 20 20 7d |rue);.. | }|
|00005520| 0d 0a 20 20 20 20 20 20 | 20 20 65 6c 73 65 20 7b |.. | else {|
|00005530| 20 0d 0a 20 20 20 20 20 | 20 20 20 20 20 69 66 20 | .. | if |
|00005540| 28 63 75 72 72 50 61 67 | 65 20 3d 3d 20 22 61 63 |(currPag|e == "ac|
|00005550| 74 69 76 61 74 69 6f 6e | 53 74 61 72 74 57 69 6e |tivation|StartWin|
|00005560| 64 6f 77 22 20 26 26 20 | 21 67 50 69 6e 67 65 64 |dow" && |!gPinged|
|00005570| 46 6f 72 45 78 69 73 74 | 69 6e 67 49 6e 66 6f 20 |ForExist|ingInfo |
|00005580| 26 26 20 21 67 52 65 61 | 64 49 6e 66 6f 29 20 7b |&& !gRea|dInfo) {|
|00005590| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 76 61 |.. | va|
|000055a0| 72 20 70 72 6f 67 72 65 | 73 73 57 69 6e 64 6f 77 |r progre|ssWindow|
|000055b0| 20 3d 20 67 65 74 50 72 | 6f 67 72 65 73 73 44 69 | = getPr|ogressDi|
|000055c0| 61 6c 6f 67 28 63 75 72 | 72 50 61 67 65 29 3b 0d |alog(cur|rPage);.|
|000055d0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 69 66 20 |. | if |
|000055e0| 28 70 72 6f 67 72 65 73 | 73 57 69 6e 64 6f 77 29 |(progres|sWindow)|
|000055f0| 20 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | .. | |
|00005600| 20 70 72 6f 67 72 65 73 | 73 57 69 6e 64 6f 77 2e | progres|sWindow.|
|00005610| 63 6c 6f 73 65 28 29 3b | 0d 0a 20 20 20 20 20 20 |close();|.. |
|00005620| 20 20 20 20 7d 0d 0a 20 | 20 20 20 20 20 20 20 20 | }.. | |
|00005630| 20 65 6c 73 65 20 69 66 | 20 28 63 75 72 72 50 61 | else if| (currPa|
|00005640| 67 65 20 21 3d 20 22 61 | 63 74 69 76 61 74 69 6f |ge != "a|ctivatio|
|00005650| 6e 53 74 61 72 74 57 69 | 6e 64 6f 77 22 29 20 7b |nStartWi|ndow") {|
|00005660| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 67 43 |.. | gC|
|00005670| 6c 6f 73 65 50 72 6f 67 | 72 65 73 73 4d 65 74 65 |loseProg|ressMete|
|00005680| 72 20 3d 20 74 72 75 65 | 3b 0d 0a 20 20 20 20 20 |r = true|;.. |
|00005690| 20 20 20 20 20 20 20 73 | 65 74 41 6c 6c 48 61 6e | s|etAllHan|
|000056a0| 64 6c 65 72 73 46 6f 72 | 50 61 67 65 41 64 76 61 |dlersFor|PageAdva|
|000056b0| 6e 63 65 28 29 3b 0d 0a | 20 20 20 20 20 20 20 20 |nce();..| |
|000056c0| 20 20 20 20 74 72 79 20 | 7b 0d 0a 20 20 20 20 20 | try |{.. |
|000056d0| 20 20 20 20 20 20 20 67 | 43 75 72 72 65 6e 74 45 | g|CurrentE|
|000056e0| 72 72 6f 72 4d 73 67 20 | 3d 20 61 63 74 69 76 61 |rrorMsg |= activa|
|000056f0| 74 69 6f 6e 53 74 72 42 | 75 6e 64 6c 65 2e 47 65 |tionStrB|undle.Ge|
|00005700| 74 53 74 72 69 6e 67 46 | 72 6f 6d 49 44 28 76 61 |tStringF|romID(va|
|00005710| 6c 75 65 29 3b 0d 0a 20 | 20 20 20 20 20 20 20 20 |lue);.. | |
|00005720| 20 20 20 7d 0d 0a 20 20 | 20 20 20 20 20 20 20 20 | }.. | |
|00005730| 20 20 63 61 74 63 68 20 | 28 65 78 29 20 7b 0d 0a | catch |(ex) {..|
|00005740| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 2f | | //|
|00005750| 20 70 6f 73 73 62 69 6c | 79 20 68 69 74 20 61 6e | possbil|y hit an|
|00005760| 20 75 6e 64 65 66 69 6e | 65 64 20 65 72 72 6f 72 | undefin|ed error|
|00005770| 20 63 61 73 65 0d 0a 20 | 20 20 20 20 20 20 20 20 | case.. | |
|00005780| 20 20 20 20 20 67 43 75 | 72 72 65 6e 74 45 72 72 | gCu|rrentErr|
|00005790| 6f 72 4d 73 67 20 3d 20 | 61 63 74 69 76 61 74 69 |orMsg = |activati|
|000057a0| 6f 6e 53 74 72 42 75 6e | 64 6c 65 2e 47 65 74 53 |onStrBun|dle.GetS|
|000057b0| 74 72 69 6e 67 46 72 6f | 6d 4e 61 6d 65 28 22 75 |tringFro|mName("u|
|000057c0| 6e 6b 6e 6f 77 6e 45 72 | 72 6f 72 22 29 3b 0d 0a |nknownEr|ror");..|
|000057d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 7d 0d 0a 0d | | }...|
|000057e0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 64 6f 63 |. | doc|
|000057f0| 75 6d 65 6e 74 2e 64 6f | 63 75 6d 65 6e 74 45 6c |ument.do|cumentEl|
|00005800| 65 6d 65 6e 74 2e 61 64 | 76 61 6e 63 65 28 22 69 |ement.ad|vance("i|
|00005810| 73 70 50 61 67 65 31 30 | 22 29 3b 0d 0a 20 20 20 |spPage10|");.. |
|00005820| 20 20 20 20 20 20 20 7d | 0d 0a 20 20 20 20 20 20 | }|.. |
|00005830| 20 20 7d 0d 0a 0d 0a 20 | 20 20 20 20 20 20 20 2f | }.... | /|
|00005840| 2f 20 53 65 74 20 74 68 | 65 20 6e 65 78 74 20 70 |/ Set th|e next p|
|00005850| 61 67 65 73 20 66 72 6f | 6d 20 68 65 72 65 0d 0a |ages fro|m here..|
|00005860| 20 20 20 20 20 20 20 20 | 73 77 69 74 63 68 20 28 | |switch (|
|00005870| 63 75 72 72 50 61 67 65 | 29 20 7b 0d 0a 20 20 20 |currPage|) {.. |
|00005880| 20 20 20 20 20 20 20 63 | 61 73 65 20 22 61 63 74 | c|ase "act|
|00005890| 69 76 61 74 69 6f 6e 53 | 74 61 72 74 57 69 6e 64 |ivationS|tartWind|
|000058a0| 6f 77 22 20 3a 0d 0a 20 | 20 20 20 20 20 20 20 20 |ow" :.. | |
|000058b0| 20 20 20 2f 2f 20 62 61 | 73 65 64 20 6f 6e 20 77 | // ba|sed on w|
|000058c0| 68 61 74 20 79 6f 75 20 | 66 69 6e 64 20 68 65 72 |hat you |find her|
|000058d0| 65 2c 20 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |e, .. | |
|000058e0| 20 2f 2f 20 79 6f 75 20 | 68 61 76 65 20 74 6f 20 | // you |have to |
|000058f0| 6a 75 6d 70 20 74 6f 20 | 74 68 65 20 72 69 67 68 |jump to |the righ|
|00005900| 74 20 70 61 67 65 20 69 | 6e 20 74 68 65 20 77 69 |t page i|n the wi|
|00005910| 7a 61 72 64 20 73 65 71 | 75 65 6e 63 65 0d 0a 20 |zard seq|uence.. |
|00005920| 20 20 20 20 20 20 20 20 | 20 20 20 2f 2f 20 57 65 | | // We|
|00005930| 20 61 6c 77 61 79 73 20 | 73 74 61 72 74 20 77 69 | always |start wi|
|00005940| 74 68 20 61 6e 20 65 78 | 69 73 74 69 6e 67 20 61 |th an ex|isting a|
|00005950| 63 63 6f 75 6e 74 20 73 | 63 65 6e 61 72 69 6f 20 |ccount s|cenario |
|00005960| 69 6e 20 74 68 65 20 70 | 72 6f 63 65 73 73 0d 0a |in the p|rocess..|
|00005970| 20 20 20 20 20 20 20 20 | 20 20 20 20 2f 2f 20 6f | | // o|
|00005980| 66 20 6d 61 69 6e 73 74 | 72 65 61 6d 20 72 65 67 |f mainst|ream reg|
|00005990| 69 73 74 72 61 74 69 6f | 6e 2e 20 46 6f 72 20 64 |istratio|n. For d|
|000059a0| 6f 77 6e 73 74 72 65 61 | 6d 20 72 65 67 69 73 74 |ownstrea|m regist|
|000059b0| 72 61 74 69 6f 6e 2c 20 | 63 6f 6d 69 6e 67 20 66 |ration, |coming f|
|000059c0| 72 6f 6d 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |rom.. | |
|000059d0| 20 2f 2f 20 6d 65 6e 75 | 69 74 65 6d 20 77 68 69 | // menu|item whi|
|000059e0| 63 68 20 68 61 73 20 6e | 6f 20 77 69 7a 61 72 64 |ch has n|o wizard|
|000059f0| 20 62 61 73 65 2c 20 77 | 65 20 6e 65 65 64 20 74 | base, w|e need t|
|00005a00| 6f 20 73 74 61 72 74 20 | 69 6e 20 6e 65 77 20 61 |o start |in new a|
|00005a10| 63 63 6f 75 6e 74 20 70 | 61 67 65 2e 0d 0a 20 20 |ccount p|age... |
|00005a20| 20 20 20 20 20 20 20 20 | 20 20 69 66 20 28 67 53 | | if (gS|
|00005a30| 74 61 72 74 49 6e 50 61 | 67 65 20 26 26 20 67 53 |tartInPa|ge && gS|
|00005a40| 74 61 72 74 49 6e 50 61 | 67 65 20 3d 3d 20 22 69 |tartInPa|ge == "i|
|00005a50| 73 70 50 61 67 65 34 22 | 29 20 7b 0d 0a 20 20 20 |spPage4"|) {.. |
|00005a60| 20 20 20 20 20 20 20 20 | 20 20 20 69 66 20 28 67 | | if (g|
|00005a70| 43 61 74 65 67 6f 72 79 | 29 20 7b 0d 0a 20 20 20 |Category|) {.. |
|00005a80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 73 77 69 | | swi|
|00005a90| 74 63 68 20 28 67 43 61 | 74 65 67 6f 72 79 29 20 |tch (gCa|tegory) |
|00005aa0| 7b 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |{.. | |
|00005ab0| 20 20 20 20 20 63 61 73 | 65 20 22 67 6c 6f 62 61 | cas|e "globa|
|00005ac0| 6c 48 65 6c 70 3a 72 65 | 67 69 73 74 65 72 4e 65 |lHelp:re|gisterNe|
|00005ad0| 74 73 63 61 70 65 22 20 | 3a 0d 0a 20 20 20 20 20 |tscape" |:.. |
|00005ae0| 20 20 20 20 20 20 20 20 | 20 73 65 74 4e 65 77 41 | | setNewA|
|00005af0| 63 63 6f 75 6e 74 47 6c | 6f 62 61 6c 73 28 29 3b |ccountGl|obals();|
|00005b00| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00005b10| 77 69 6e 64 6f 77 2e 6f | 70 65 6e 44 69 61 6c 6f |window.o|penDialo|
|00005b20| 67 28 22 63 68 72 6f 6d | 65 3a 2f 2f 63 6f 6d 6d |g("chrom|e://comm|
|00005b30| 75 6e 69 63 61 74 6f 72 | 2f 63 6f 6e 74 65 6e 74 |unicator|/content|
|00005b40| 2f 70 72 6f 66 69 6c 65 | 2f 6e 65 77 61 63 74 69 |/profile|/newacti|
|00005b50| 76 61 74 69 6f 6e 2e 78 | 75 6c 22 2c 0d 0a 20 20 |vation.x|ul",.. |
|00005b60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005b70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 22 41 | | "A|
|00005b80| 63 74 69 76 61 74 69 6f | 6e 22 2c 20 22 63 68 72 |ctivatio|n", "chr|
|00005b90| 6f 6d 65 2c 74 69 74 6c | 65 62 61 72 2c 72 65 73 |ome,titl|ebar,res|
|00005ba0| 69 7a 61 62 6c 65 3d 6e | 6f 2c 63 65 6e 74 65 72 |izable=n|o,center|
|00005bb0| 73 63 72 65 65 6e 2c 64 | 69 61 6c 6f 67 3d 6e 6f |screen,d|ialog=no|
|00005bc0| 22 2c 20 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |", .. | |
|00005bd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005be0| 20 20 20 20 20 7b 70 61 | 67 65 3a 67 53 74 61 72 | {pa|ge:gStar|
|00005bf0| 74 49 6e 50 61 67 65 2c | 20 6f 72 69 67 69 6e 3a |tInPage,| origin:|
|00005c00| 63 75 72 72 50 61 67 65 | 2c 20 6e 65 77 61 63 63 |currPage|, newacc|
|00005c10| 74 75 72 6c 3a 67 4e 65 | 77 41 63 63 6f 75 6e 74 |turl:gNe|wAccount|
|00005c20| 55 72 6c 2c 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |Url,.. | |
|00005c30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005c40| 20 20 20 20 20 20 20 61 | 75 74 68 75 72 6c 3a 67 | a|uthurl:g|
|00005c50| 41 75 74 68 65 6e 74 69 | 63 61 74 69 6f 6e 55 72 |Authenti|cationUr|
|00005c60| 6c 2c 20 72 65 61 64 75 | 72 6c 3a 67 52 65 61 64 |l, readu|rl:gRead|
|00005c70| 55 72 6c 2c 20 77 72 69 | 74 65 75 72 6c 3a 67 57 |Url, wri|teurl:gW|
|00005c80| 72 69 74 65 55 72 6c 2c | 20 0d 0a 20 20 20 20 20 |riteUrl,| .. |
|00005c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 66 6f 72 67 | | forg|
|00005cb0| 6f 74 70 77 64 75 72 6c | 3a 67 46 6f 72 67 6f 74 |otpwdurl|:gForgot|
|00005cc0| 74 65 6e 50 77 64 55 72 | 6c 2c 73 75 67 67 65 73 |tenPwdUr|l,sugges|
|00005cd0| 74 73 6e 75 72 6c 3a 67 | 53 75 67 67 65 73 74 53 |tsnurl:g|SuggestS|
|00005ce0| 6e 55 72 6c 2c 0d 0a 20 | 20 20 20 20 20 20 20 20 |nUrl,.. | |
|00005cf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005d00| 20 20 20 20 20 20 20 20 | 73 65 74 62 72 61 6e 64 | |setbrand|
|00005d10| 75 72 6c 3a 67 53 65 74 | 55 73 65 72 42 72 61 6e |url:gSet|UserBran|
|00005d20| 64 55 72 6c 2c 61 67 65 | 73 75 73 70 65 6e 64 75 |dUrl,age|suspendu|
|00005d30| 72 6c 3a 67 41 67 65 53 | 75 73 70 65 6e 64 55 72 |rl:gAgeS|uspendUr|
|00005d40| 6c 2c 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |l,.. | |
|00005d50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005d60| 20 20 20 20 20 63 72 65 | 64 69 74 76 61 6c 69 64 | cre|ditvalid|
|00005d70| 75 72 6c 3a 67 43 72 65 | 64 69 74 43 61 72 64 56 |url:gCre|ditCardV|
|00005d80| 61 6c 69 64 61 74 69 6f | 6e 55 72 6c 2c 67 46 69 |alidatio|nUrl,gFi|
|00005d90| 6e 61 6c 53 69 64 65 42 | 61 72 50 61 6e 65 6c 3a |nalSideB|arPanel:|
|00005da0| 22 73 65 61 72 63 68 22 | 2c 0d 0a 20 20 20 20 20 |"search"|,.. |
|00005db0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005dc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 67 65 74 72 | | getr|
|00005dd0| 65 67 69 6d 61 67 65 75 | 72 6c 3a 67 47 65 74 52 |egimageu|rl:gGetR|
|00005de0| 65 67 49 6d 61 67 65 55 | 72 6c 7d 2c 20 74 68 69 |egImageU|rl}, thi|
|00005df0| 73 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |s);.. | |
|00005e00| 20 20 20 20 20 20 20 20 | 20 62 72 65 61 6b 3b 0d | | break;.|
|00005e10| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00005e20| 20 20 20 63 61 73 65 20 | 22 6d 65 73 73 65 6e 67 | case |"messeng|
|00005e30| 65 72 3a 67 65 74 46 72 | 65 65 41 63 63 6f 75 6e |er:getFr|eeAccoun|
|00005e40| 74 22 20 3a 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |t" :.. | |
|00005e50| 20 20 20 20 20 20 20 20 | 20 20 73 65 74 4e 65 77 | | setNew|
|00005e60| 41 63 63 6f 75 6e 74 47 | 6c 6f 62 61 6c 73 28 29 |AccountG|lobals()|
|00005e70| 3b 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;.. | |
|00005e80| 20 20 20 20 20 20 20 77 | 69 6e 64 6f 77 2e 6f 70 | w|indow.op|
|00005e90| 65 6e 44 69 61 6c 6f 67 | 28 22 63 68 72 6f 6d 65 |enDialog|("chrome|
|00005ea0| 3a 2f 2f 6d 65 73 73 65 | 6e 67 65 72 2f 63 6f 6e |://messe|nger/con|
|00005eb0| 74 65 6e 74 2f 41 63 63 | 6f 75 6e 74 57 69 7a 61 |tent/Acc|ountWiza|
|00005ec0| 72 64 2e 78 75 6c 22 2c | 0d 0a 20 20 20 20 20 20 |rd.xul",|.. |
|00005ed0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005ee0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005ef0| 22 41 63 63 6f 75 6e 74 | 57 69 7a 61 72 64 22 2c |"Account|Wizard",|
|00005f00| 20 22 63 68 72 6f 6d 65 | 2c 74 69 74 6c 65 62 61 | "chrome|,titleba|
|00005f10| 72 2c 72 65 73 69 7a 61 | 62 6c 65 2c 63 65 6e 74 |r,resiza|ble,cent|
|00005f20| 65 72 73 63 72 65 65 6e | 22 2c 20 0d 0a 20 20 20 |erscreen|", .. |
|00005f30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005f40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005f50| 20 20 20 7b 70 61 67 65 | 3a 67 53 74 61 72 74 49 | {page|:gStartI|
|00005f60| 6e 50 61 67 65 2c 20 6f | 72 69 67 69 6e 3a 63 75 |nPage, o|rigin:cu|
|00005f70| 72 72 50 61 67 65 2c 20 | 6e 65 77 61 63 63 74 75 |rrPage, |newacctu|
|00005f80| 72 6c 3a 67 4e 65 77 41 | 63 63 6f 75 6e 74 55 72 |rl:gNewA|ccountUr|
|00005f90| 6c 2c 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |l,.. | |
|00005fa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005fb0| 20 20 20 20 20 20 20 20 | 20 20 20 61 75 74 68 75 | | authu|
|00005fc0| 72 6c 3a 67 41 75 74 68 | 65 6e 74 69 63 61 74 69 |rl:gAuth|enticati|
|00005fd0| 6f 6e 55 72 6c 2c 20 72 | 65 61 64 75 72 6c 3a 67 |onUrl, r|eadurl:g|
|00005fe0| 52 65 61 64 55 72 6c 2c | 20 77 72 69 74 65 75 72 |ReadUrl,| writeur|
|00005ff0| 6c 3a 67 57 72 69 74 65 | 55 72 6c 2c 20 0d 0a 20 |l:gWrite|Url, .. |
|00006000| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006010| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006020| 20 20 20 20 20 20 66 6f | 72 67 6f 74 70 77 64 75 | fo|rgotpwdu|
|00006030| 72 6c 3a 67 46 6f 72 67 | 6f 74 74 65 6e 50 77 64 |rl:gForg|ottenPwd|
|00006040| 55 72 6c 2c 73 75 67 67 | 65 73 74 73 6e 75 72 6c |Url,sugg|estsnurl|
|00006050| 3a 67 53 75 67 67 65 73 | 74 53 6e 55 72 6c 2c 73 |:gSugges|tSnUrl,s|
|00006060| 65 74 62 72 61 6e 64 75 | 72 6c 3a 67 53 65 74 55 |etbrandu|rl:gSetU|
|00006070| 73 65 72 42 72 61 6e 64 | 55 72 6c 2c 0d 0a 20 20 |serBrand|Url,.. |
|00006080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000060a0| 20 20 20 20 20 61 67 65 | 73 75 73 70 65 6e 64 75 | age|suspendu|
|000060b0| 72 6c 3a 67 41 67 65 53 | 75 73 70 65 6e 64 55 72 |rl:gAgeS|uspendUr|
|000060c0| 6c 2c 63 72 65 64 69 74 | 76 61 6c 69 64 75 72 6c |l,credit|validurl|
|000060d0| 3a 67 43 72 65 64 69 74 | 43 61 72 64 56 61 6c 69 |:gCredit|CardVali|
|000060e0| 64 61 74 69 6f 6e 55 72 | 6c 2c 0d 0a 20 20 20 20 |dationUr|l,.. |
|000060f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006110| 20 20 20 67 65 74 72 65 | 67 69 6d 61 67 65 75 72 | getre|gimageur|
|00006120| 6c 3a 67 47 65 74 52 65 | 67 49 6d 61 67 65 55 72 |l:gGetRe|gImageUr|
|00006130| 6c 7d 2c 20 74 68 69 73 | 29 3b 0d 0a 20 20 20 20 |l}, this|);.. |
|00006140| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006150| 62 72 65 61 6b 3b 0d 0a | 20 20 20 20 20 20 20 20 |break;..| |
|00006160| 20 20 20 20 20 20 20 20 | 20 20 64 65 66 61 75 6c | | defaul|
|00006170| 74 20 3a 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |t :.. | |
|00006180| 20 20 20 20 20 20 20 20 | 20 62 72 65 61 6b 3b 0d | | break;.|
|00006190| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000061a0| 20 7d 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | }.. | |
|000061b0| 20 20 7d 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 | }.. | |
|000061c0| 20 7d 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | }.. | |
|000061d0| 65 6c 73 65 20 7b 0d 0a | 20 20 20 20 20 20 20 20 |else {..| |
|000061e0| 20 20 20 20 69 66 20 28 | 22 73 65 74 45 78 69 73 | if (|"setExis|
|000061f0| 74 69 6e 67 41 63 63 6f | 75 6e 74 47 6c 6f 62 61 |tingAcco|untGloba|
|00006200| 6c 73 22 20 69 6e 20 74 | 68 69 73 29 20 0d 0a 20 |ls" in t|his) .. |
|00006210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 73 65 74 | | set|
|00006220| 45 78 69 73 74 69 6e 67 | 41 63 63 6f 75 6e 74 47 |Existing|AccountG|
|00006230| 6c 6f 62 61 6c 73 28 29 | 3b 0d 0a 20 20 20 20 20 |lobals()|;.. |
|00006240| 20 20 20 20 20 20 20 69 | 66 28 22 67 50 69 6e 67 | i|f("gPing|
|00006250| 65 64 46 6f 72 45 78 69 | 73 74 69 6e 67 49 6e 66 |edForExi|stingInf|
|00006260| 6f 22 20 69 6e 20 74 68 | 69 73 20 20 26 26 20 21 |o" in th|is && !|
|00006270| 67 50 69 6e 67 65 64 46 | 6f 72 45 78 69 73 74 69 |gPingedF|orExisti|
|00006280| 6e 67 49 6e 66 6f 29 20 | 20 7b 0d 0a 20 20 20 20 |ngInfo) | {.. |
|00006290| 20 20 20 20 20 20 20 20 | 20 20 67 50 69 6e 67 65 | | gPinge|
|000062a0| 64 46 6f 72 45 78 69 73 | 74 69 6e 67 49 6e 66 6f |dForExis|tingInfo|
|000062b0| 20 3d 20 74 72 75 65 3b | 0d 0a 20 20 20 20 20 20 | = true;|.. |
|000062c0| 20 20 20 20 20 20 20 20 | 76 61 72 20 63 68 61 72 | |var char|
|000062d0| 73 65 74 20 3d 20 61 63 | 74 69 76 61 74 69 6f 6e |set = ac|tivation|
|000062e0| 53 74 72 42 75 6e 64 6c | 65 2e 47 65 74 53 74 72 |StrBundl|e.GetStr|
|000062f0| 69 6e 67 46 72 6f 6d 4e | 61 6d 65 28 22 63 68 61 |ingFromN|ame("cha|
|00006300| 72 73 65 74 22 29 3b 0d | 0a 20 20 20 20 20 20 20 |rset");.|. |
|00006310| 20 20 20 20 20 20 20 70 | 6f 73 74 5f 64 61 74 61 | p|ost_data|
|00006320| 5f 74 6f 5f 73 65 72 76 | 65 72 28 67 41 75 74 68 |_to_serv|er(gAuth|
|00006330| 65 6e 74 69 63 61 74 69 | 6f 6e 55 72 6c 2c 20 6e |enticati|onUrl, n|
|00006340| 75 6c 6c 2c 20 6b 50 6f | 73 74 4d 65 74 68 6f 64 |ull, kPo|stMethod|
|00006350| 2c 20 63 68 61 72 73 65 | 74 29 3b 0d 0a 20 20 20 |, charse|t);.. |
|00006360| 20 20 20 20 20 20 20 20 | 20 7d 0d 0a 20 20 20 20 | | }.. |
|00006370| 20 20 20 20 20 20 20 20 | 65 6c 73 65 20 69 66 20 | |else if |
|00006380| 28 22 67 52 65 61 64 49 | 6e 66 6f 22 20 69 6e 20 |("gReadI|nfo" in |
|00006390| 74 68 69 73 20 26 26 20 | 21 67 52 65 61 64 49 6e |this && |!gReadIn|
|000063a0| 66 6f 29 20 7b 0d 0a 20 | 20 20 20 20 20 20 20 20 |fo) {.. | |
|000063b0| 20 20 20 20 20 67 52 65 | 61 64 49 6e 66 6f 20 3d | gRe|adInfo =|
|000063c0| 20 74 72 75 65 3b 0d 0a | 20 20 20 20 20 20 20 20 | true;..| |
|000063d0| 20 20 20 20 20 20 76 61 | 72 20 63 68 61 72 73 65 | va|r charse|
|000063e0| 74 20 3d 20 61 63 74 69 | 76 61 74 69 6f 6e 53 74 |t = acti|vationSt|
|000063f0| 72 42 75 6e 64 6c 65 2e | 47 65 74 53 74 72 69 6e |rBundle.|GetStrin|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.