Fri Dec 18 2020
Copied to clipboard! Copy reply
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286
  • 287
  • 288
  • 289
  • 290
  • 291
  • 292
  • 293
  • 294
  • 295
  • 296
  • 297
  • 298
  • 299
  • 300
  • 301
  • 302
  • 303
  • 304
  • 305
  • 306
  • 307
  • 308
  • 309
  • 310
  • 311
  • 312
  • 313
  • 314
  • 315
  • 316
  • 317
  • 318
  • 319
  • 320
  • 321
  • 322
  • 323
  • 324
  • 325
  • 326
  • 327
  • 328
  • 329
  • 330
  • 331
  • 332
  • 333
  • 334
  • 335
  • 336
  • 337
  • 338
  • 339
  • 340
  • 341
  • 342
  • 343
  • 344
  • 345
  • 346
  • 347
  • 348
  • 349
  • 350
  • 351
  • 352
  • 353
  • 354
  • 355
  • 356
  • 357
  • 358
  • 359
  • 360
  • 361
  • 362
  • 363
  • 364
  • 365
  • 366
  • 367
  • 368
  • 369
  • 370
  • 371
  • 372
  • 373
  • 374
  • 375
  • 376
  • 377
  • 378
  • 379
  • 380
  • 381
  • 382
  • 383
  • 384
  • 385
  • 386
  • 387
  • 388
  • 389
  • 390
  • 391
  • 392
  • 393
  • 394
  • 395
  • 396
  • 397
  • 398
  • 399
  • 400
  • 401
  • 402
  • 403
  • 404
  • 405
  • 406
  • 407
  • 408
  • 409
  • 410
  • 411
  • 412
  • 413
  • 414
  • 415
  • 416
  • 417
  • 418
  • 419
  • 420
  • 421
  • 422
  • 423
  • 424
  • 425
  • 426
  • 427
  • 428
  • 429
  • 430
  • 431
  • 432
  • 433
  • 434
  • 435
  • 436
  • 437
  • 438
  • 439
  • 440
  • 441
  • 442
  • 443
  • 444
  • 445
  • 446
  • 447
  • 448
  • 449
  • 450
  • 451
  • 452
  • 453
  • 454
  • 455
  • 456
  • 457
  • 458
  • 459
  • 460
  • 461
  • 462
  • 463
  • 464
  • 465
  • 466
  • 467
  • 468
  • 469
  • 470
  • 471
  • 472
  • 473
  • 474
  • 475
  • 476
  • 477
  • 478
  • 479
  • 480
  • 481
  • 482
  • 483
  • 484
  • 485
  • 486
  • 487
  • 488
  • 489
  • 490
  • 491
  • 492
  • 493
  • 494
  • 495
  • 496
  • 497
  • 498
  • 499
  • 500
  • 501
  • 502
  • 503
  • 504
  • 505
  • 506
  • 507
  • 508
  • 509
  • 510
  • 511
  • 512
  • 513
  • 514
  • 515
  • 516
  • 517
  • 518
  • 519
  • 520
  • 521
  • 522
  • 523
  • 524
  • 525
  • 526
  • 527
  • 528
  • 529
  • 530
  • 531
  • 532
  • 533
  • 534
  • 535
  • 536
  • 537
  • 538
  • 539
  • 540
  • 541
  • 542
  • 543
  • 544
  • 545
  • 546
  • 547
  • 548
  • 549
  • 550
  • 551
  • 552
  • 553
  • 554
  • 555
  • 556
  • 557
  • 558
  • 559
  • 560
  • 561
  • 562
  • 563
  • 564
  • 565
  • 566
  • 567
  • 568
  • 569
  • 570
  • 571
  • 572
  • 573
  • 574
  • 575
  • 576
  • 577
  • 578
  • 579
  • 580
  • 581
  • 582
  • 583
  • 584
  • 585
  • 586
  • 587
  • 588
  • 589
  • 590
  • 591
  • 592
  • 593
  • 594
  • 595
  • 596
  • 597
  • 598
  • 599
  • 600
  • 601
  • 602
  • 603
  • 604
  • 605
  • 606
  • 607
  • 608
  • 609
  • 610
  • 611
  • 612
  • 613
  • 614
  • 615
  • 616
  • 617
  • 618
  • 619
  • 620
  • 621
  • 622
  • 623
  • 624
  • 625
  • 626
  • 627
  • 628
  • 629
  • 630
  • 631
  • 632
  • 633
  • 634
  • 635
  • 636
  • 637
  • 638
  • 639
  • 640
  • 641
  • 642
  • 643
  • 644
  • 645
  • 646
  • 647
  • 648
  • 649
  • 650
  • 651
  • 652
  • 653
  • 654
  • 655
  • 656
  • 657
  • 658
  • 659
  • 660
  • 661
  • 662
  • 663
  • 664
  • 665
  • 666
  • 667
  • 668
  • 669
  • 670
  • 671
  • 672
  • 673
  • 674
  • 675
  • 676
  • 677
  • 678
  • 679
  • 680
  • 681
  • 682
  • 683
  • 684
  • 685
  • 686
  • 687
  • 688
  • 689
  • 690
  • 691
  • 692
  • 693
  • 694
  • 695
  • 696
  • 697
  • 698
  • 699
  • 700
  • 701
  • 702
  • 703
  • 704
  • 705
  • 706
  • 707
  • 708
  • 709
  • 710
  • 711
  • 712
  • 713
  • 714
  • 715
  • 716
  • 717
  • 718
  • 719
  • 720
  • 721
  • 722
  • 723
  • 724
  • 725
  • 726
  • 727
  • 728
  • 729
  • 730
  • 731
  • 732
  • 733
  • 734
  • 735
  • 736
  • 737
  • 738
  • 739
  • 740
  • 741
  • 742
  • 743
  • 744
  • 745
  • 746
  • 747
  • 748
  • 749
  • 750
  • 751
  • 752
  • 753
  • 754
  • 755
  • 756
  • 757
  • 758
  • 759
  • 760
  • 761
  • 762
  • 763
  • 764
  • 765
  • 766
  • 767
  • 768
  • 769
  • 770
  • 771
  • 772
  • 773
  • 774
  • 775
  • 776
  • 777
  • 778
  • 779
  • 780
  • 781
  • 782
  • 783
  • 784
  • 785
  • 786
  • 787
  • 788
  • 789
  • 790
  • 791
  • 792
  • 793
  • 794
  • 795
  • 796
  • 797
  • 798
  • 799
  • 800
  • 801
  • 802
  • 803
  • 804
  • 805
  • 806
  • 807
  • 808
  • 809
  • 810
  • 811
  • 812
  • 813
  • 814
  • 815
  • 816
  • 817
  • 818
  • 819
  • 820
  • 821
  • 822
  • 823
  • 824
  • 825
  • 826
  • 827
  • 828
  • 829
  • 830
  • 831
  • 832
  • 833
  • 834
  • 835
  • 836
  • 837
  • 838
  • 839
  • 840
  • 841
  • 842
  • 843
  • 844
  • 845
  • 846
  • 847
  • 848
  • 849
  • 850
  • 851
  • 852
  • 853
  • 854
  • 855
  • 856
  • 857
  • 858
  • 859
  • 860
  • 861
  • 862
  • 863
  • 864
  • 865
  • 866
  • 867
  • 868
  • 869
  • 870
  • 871
  • 872
  • 873
  • 874
  • 875
  • 876
  • 877
  • 878
  • 879
  • 880
  • 881
  • 882
  • 883
  • 884
  • 885
  • 886
  • 887
  • 888
  • 889
  • 890
  • 891
  • 892
  • 893
  • 894
  • 895
  • 896
  • 897
  • 898
  • 899
  • 900
  • 901
  • 902
  • 903
  • 904
  • 905
  • 906
  • 907
  • 908
  • 909
  • 910
  • 911
  • 912
  • 913
  • 914
  • 915
  • 916
  • 917
  • 918
  • 919
  • 920
  • 921
  • 922
  • 923
  • 924
  • 925
  • 926
  • 927
  • 928
  • 929
  • 930
  • 931
  • 932
  • 933
  • 934
  • 935
  • 936
  • 937
  • 938
  • 939
  • 940
  • 941
  • 942
  • 943
  • 944
  • 945
  • 946
  • 947
  • 948
  • 949
  • 950
  • 951
  • 952
  • 953
  • 954
  • 955
  • 956
  • 957
  • 958
  • 959
  • 960
  • 961
  • 962
  • 963
  • 964
  • 965
  • 966
  • 967
  • 968
  • 969
  • 970
  • 971
  • 972
  • 973
  • 974
  • 975
  • 976
  • 977
  • 978
  • 979
  • 980
  • 981
  • 982
  • 983
  • 984
  • 985
  • 986
  • 987
  • 988
  • 989
  • 990
  • 991
  • 992
  • 993
  • 994
  • 995
  • 996
  • 997
  • 998
  • 999
  • 1000
  • 1001
  • 1002
  • 1003
  • 1004
  • 1005
  • 1006
  • 1007
  • 1008
  • 1009
  • 1010
  • 1011
  • 1012
  • 1013
  • 1014
  • 1015
  • 1016
  • 1017
  • 1018
  • 1019
  • 1020
  • 1021
  • 1022
  • 1023
  • 1024
  • 1025
  • 1026
  • 1027
  • 1028
  • 1029
  • 1030
  • 1031
  • 1032
  • 1033
  • 1034
  • 1035
  • 1036
  • 1037
  • 1038
  • 1039
  • 1040
  • 1041
  • 1042
  • 1043
  • 1044
  • 1045
  • 1046
  • 1047
  • 1048
  • 1049
  • 1050
  • 1051
  • 1052
  • 1053
  • 1054
  • 1055
  • 1056
  • 1057
  • 1058
  • 1059
  • 1060
  • 1061
  • 1062
  • 1063
  • 1064
  • 1065
  • 1066
  • 1067
  • 1068
  • 1069
  • 1070
  • 1071
  • 1072
  • 1073
  • 1074
  • 1075
  • 1076
  • 1077
  • 1078
  • 1079
  • 1080
  • 1081
  • 1082
  • 1083
  • 1084
  • 1085
  • 1086
  • 1087
  • 1088
  • 1089
  • 1090
  • 1091
  • 1092
  • 1093
  • 1094
  • 1095
  • 1096
  • 1097
  • 1098
  • 1099
  • 1100
  • 1101
  • 1102
  • 1103
  • 1104
  • 1105
  • 1106
  • 1107
  • 1108
  • 1109
  • 1110
  • 1111
  • 1112
  • 1113
  • 1114
  • 1115
  • 1116
  • 1117
  • 1118
  • 1119
  • 1120
  • 1121
  • 1122
  • 1123
  • 1124
  • 1125
  • 1126
  • 1127
  • 1128
  • 1129
  • 1130
  • 1131
  • 1132
  • 1133
  • 1134
  • 1135
  • 1136
  • 1137
  • 1138
  • 1139
  • 1140
  • 1141
  • 1142
  • 1143
  • 1144
  • 1145
  • 1146
  • 1147
  • 1148
  • 1149
  • 1150
  • 1151
  • 1152
  • 1153
  • 1154
  • 1155
  • 1156
  • 1157
  • 1158
  • 1159
  • 1160
  • 1161
  • 1162
  • 1163
  • 1164
  • 1165
  • 1166
  • 1167
  • 1168
  • 1169
  • 1170
  • 1171
  • 1172
  • 1173
  • 1174
  • 1175
  • 1176
  • 1177
  • 1178
  • 1179
  • 1180
  • 1181
  • 1182
  • 1183
  • 1184
  • 1185
  • 1186
  • 1187
  • 1188
  • 1189
  • 1190
  • 1191
  • 1192
  • 1193
  • 1194
  • 1195
  • 1196
  • 1197
  • 1198
  • 1199
  • 1200
  • 1201
  • 1202
  • 1203
  • 1204
  • 1205
  • 1206
  • 1207
  • 1208
  • 1209
  • 1210
  • 1211
  • 1212
  • 1213
  • 1214
  • 1215
  • 1216
  • 1217
  • 1218
  • 1219
  • 1220
  • 1221
  • 1222
  • 1223
  • 1224
  • 1225
  • 1226
  • 1227
  • 1228
  • 1229
  • 1230
  • 1231
  • 1232
  • 1233
  • 1234
  • 1235
  • 1236
  • 1237
  • 1238
  • 1239
  • 1240
  • 1241
  • 1242
  • 1243
  • 1244
  • 1245
  • 1246
  • 1247
  • 1248
  • 1249
  • 1250
  • 1251
  • 1252
  • 1253
  • 1254
  • 1255
  • 1256
  • 1257
  • 1258
  • 1259
  • 1260
  • 1261
  • 1262
  • 1263
  • 1264
  • 1265
  • 1266
  • 1267
  • 1268
  • 1269
  • 1270
  • 1271
  • 1272
  • 1273
  • 1274
  • 1275
  • 1276
  • 1277
  • 1278
  • 1279
  • 1280
  • 1281
  • 1282
  • 1283
  • 1284
  • 1285
  • 1286
  • 1287
  • 1288
  • 1289
  • 1290
  • 1291
  • 1292
  • 1293
  • 1294
  • 1295
  • 1296
  • 1297
  • 1298
  • 1299
  • 1300
  • 1301
  • 1302
  • 1303
  • 1304
  • 1305
  • 1306
  • 1307
  • 1308
  • 1309
  • 1310
  • 1311
  • 1312
  • 1313
  • 1314
  • 1315
  • 1316
  • 1317
  • 1318
  • 1319
  • 1320
  • 1321
  • 1322
  • 1323
  • 1324
  • 1325
  • 1326
  • 1327
  • 1328
  • 1329
  • 1330
  • 1331
  • 1332
  • 1333
  • 1334
  • 1335
  • 1336
  • 1337
  • 1338
  • 1339
  • 1340
  • 1341
  • 1342
  • 1343
  • 1344
  • 1345
  • 1346
  • 1347
  • 1348
  • 1349
  • 1350
  • 1351
  • 1352
  • 1353
  • 1354
  • 1355
  • 1356
  • 1357
  • 1358
  • 1359
  • 1360
  • 1361
  • 1362
  • 1363
  • 1364
  • 1365
  • 1366
  • 1367
  • 1368
  • 1369
  • 1370
  • 1371
  • 1372
  • 1373
  • 1374
  • 1375
  • 1376
  • 1377
  • 1378
  • 1379
  • 1380
  • 1381
  • 1382
  • 1383
  • 1384
  • 1385
  • 1386
  • 1387
  • 1388
  • 1389
  • 1390
  • 1391
  • 1392
  • 1393
  • 1394
  • 1395
  • 1396
  • 1397
  • 1398
  • 1399
  • 1400
  • 1401
  • 1402
  • 1403
  • 1404
  • 1405
  • 1406
  • 1407
  • 1408
  • 1409
  • 1410
  • 1411
  • 1412
  • 1413
  • 1414
  • 1415
  • 1416
  • 1417
  • 1418
  • 1419
  • 1420
  • 1421
  • 1422
  • 1423
  • 1424
  • 1425
  • 1426
  • 1427
  • 1428
  • 1429
  • 1430
  • 1431
  • 1432
  • 1433
  • 1434
  • 1435
  • 1436
  • 1437
  • 1438
  • 1439
  • 1440
  • 1441
  • 1442
  • 1443
  • 1444
  • 1445
  • 1446
  • 1447
  • 1448
  • 1449
  • 1450
  • 1451
  • 1452
  • 1453
  • 1454
  • 1455
  • 1456
  • 1457
  • 1458
  • 1459
  • 1460
  • 1461
  • 1462
  • 1463
  • 1464
  • 1465
  • 1466
  • 1467
  • 1468
  • 1469
  • 1470
  • 1471
  • 1472
  • 1473
  • 1474
  • 1475
  • 1476
  • 1477
  • 1478
  • 1479
  • 1480
  • 1481
  • 1482
  • 1483
  • 1484
  • 1485
  • 1486
  • 1487
  • 1488
  • 1489
  • 1490
  • 1491
  • 1492
  • 1493
  • 1494
  • 1495
  • 1496
  • 1497
  • 1498
  • 1499
  • 1500
  • 1501
  • 1502
  • 1503
  • 1504
  • 1505
  • 1506
  • 1507
  • 1508
  • 1509
  • 1510
  • 1511
  • 1512
  • 1513
  • 1514
  • 1515
  • 1516
  • 1517
  • 1518
  • 1519
  • 1520
  • 1521
  • 1522
  • 1523
  • 1524
  • 1525
  • 1526
  • 1527
  • 1528
  • 1529
  • 1530
  • 1531
  • 1532
  • 1533
  • 1534
  • 1535
  • 1536
  • 1537
  • 1538
#set ($velocity_templates_path = "velocity-templates-theme_SERVLET_CONTEXT_/templates")


<style>


.download_options .windows_req > span{padding-left:0px;}
.ie .os_select{background:transparent !important; border:none !important}
.os_select{
background-color:#ccc;
border:1px solid #ccc;
}
.esp-sub-content{width: 42% !important;}
#recaptcha_area span {
padding:0 !important;
position:relative;
top:-5px;
}
.ie #recaptcha_area span {

}
.recaptcha_audio_cant_hear_link{
    font-size:12px;
}
.ie .recaptcha_audio_cant_hear_link{
    font-size:12px;
}
#failed-code-error-msg a{text-decoration:none;}
.download_options.win-download-opt > span,.download_options.mac-download-opt > span {
    font-family: gothambook;
    font-size: 22px;
    padding-top: 10px;
}

#failed-code-error-msg{
    clear: both;
    color: Red;
    font-family: gothambook;
    font-size: 0.87em;
    margin-top: 10px;
    display:none;
    padding-top:10px;
}
#failed-code-error-msg a{
    color: #4a91e7;
    margin-left:2px;
}
#download_button a{

    color: #fff;
    display: inline-block;
    margin-top: 25px;
text-align:center;
padding:0 10px;
height:60px;
text-decoration:none;

}
.start{
    font-family: Gothammedium;
    font-size: 1.5em;
    text-transform: uppercase;
    color:#fff !important;
    padding-left:0 !important;
}
.now {
    color: #fff !important;
    font-family: GothamBook;
    font-size: 1.3em;
    padding-left: 5px !important;
    padding-top: 0 !important;
    text-transform: uppercase;
}
.download_inactive{
    background-color:#4a90e2;
        cursor:default;
		opacity:0.4;
}
.download_active{
    background-color:#4A90E2;
        cursor:pointer;
}
.window_os,.mac_os{
margin: 15px auto 0;
    text-align: center;
}
 .window_os span{
    background: url("/image/image_gallery?uuid=89f82f97-bdda-457d-897a-dc11315310a7&groupId=10165&t=1415892040707") no-repeat scroll left center transparent;
    color: #767676;
    display: inline-block;
    font-family: gothambook;
    font-size: 1.37em;
    padding: 15px 0 15px 58px;
    text-align: center;
}
 .mac_os span {
    background: url("/image/image_gallery?uuid=3e74be76-c84d-4c21-8976-64113687c842&groupId=10165&t=1415892027457") no-repeat scroll left center transparent;
    color: #767676;
    display: inline-block;
    font-family: gothambook;
    font-size: 1.37em;
    padding: 15px 0 15px 58px;
    text-align: center;
}
#download_button .blue-button{color:#fff;}
.start-now-button {
    margin: 30px auto 0;
    text-align: center;
}
.blue-button {
    background: none repeat scroll 0 0 #4a90e2;
    border: medium none;
    border-radius: 0;
    color: #fff;
    font-family: Gothambook;
    font-size: 1.3em;
    font-weight: normal;
    height: 60px;
    text-align: center;
    text-shadow: none;
    text-transform: uppercase;
    width: 222px;
}
.blue-button .bold-text{font-family:gothamMedium;color:#fff;}
.blue-button:hover{
    background-color:#4a90e2;
    background-image:none;
    color:#fff;
}
input.focus{background-color:#fff;}
.top-links{margin-bottom:48px;}
.top-links ul li {
    color: #4a4a4a;
    display: inline;
    font-family:gothamLight;
    list-style: none outside none;
    margin-right: 15px;
}

.top-links ul li a,.top-links ul li .bold-text{
    color: #4a91e7;
    font-family: gothambook;
    font-size:14px;
    text-decoration: none;
    outline:none;
}
.top-links ul li .bold-text{
    color:#4a4a4a;
        font-weight:bold;
}
#download_wrapper{    
                        //margin-bottom:30px;
margin:0 auto;
width:1280px;
}
.download_container{
            margin: 55px auto 20px;
        }
.download_main_content{
                        clear:both;
            width:100%;
            text-align:center;
            margin-top:20px;

        }
.download_main_content h1{
            color: #4a4a4a;
                        font-family: gothamLight;
                        font-size: 45px;
                        margin-bottom: 15px;
                        text-align: center;
line-height:47px;
        }
.download_main_content p{
            color: #767676;
                        font-family: gothambook;
                        font-size: 1.3em;
                        text-align: left;
                        line-height: 24px;
                        margin:20px auto 0;
                        width:38%;
        }
.download_main_content_link{
    color: #4a91e7;
    font-family: gothambook;
    font-size:14px;
    text-decoration: none;
    padding-right: 10px;
    outline:none;
}
.download_main_content a:hover{text-decoration:none;}
.download_banner{
    
            width: 100%;
            text-align: center;
        }
.download_banner img{
margin:25px 0 5px 0;
}
.download_activation_box{
    padding: 0px 30px 0;
    margin:0 auto;
}
.download_activation_box ul,li{list-style-type:none;}
.download_activation_box li{
    font-family:gothambook;
    font-size:1.5em;
    color:#fff;
    padding:10px 0;
    width:735px;
    margin:0 auto;
}
.download_activation_box li.security-check{margin-top:15px;margin-bottom:15px;}
.download_activation_box li > img{
    float:left;
}
.download_activation_box li:after{
    clear:both;
    content:" ";
    display:block;
}
.download_activation_box li span{color: #767676;padding-left:15px; padding-top: 10px; display:inline-block;line-height: 1.2em;}
.download_activation_box li.download_options > span{padding-top:5px;}
a.download_activation_box_link{
    color: #4a91e7;
    padding-right: 10px;
    text-decoration:none;
    font-weight:lighter;
    color: #4a91e7;
    font-size: 14px;
    outline:none;
}
.download_activation_box_link:hover{
                        color: #35aeff !important;
                        text-decoration:none !important;
                }

.download_activation_code{
    padding:10px 0;
    margin:0 auto 10px;
    width: 735px;
}
.download_activation_code input{margin-bottom:0;background-image:none;border:1px solid #ccc;float:left;}
.download_activation_code_field{
            background: none repeat scroll 0 0 #FFFFFF;
            border: 0 none;
            font-family: "helvetica";
            font-size: 17px;
            font-weight: lighter;
            height: 30px;
            margin-right: 15px;
            padding: 5px 13px;
            text-align: center;
            width: 130px;
        }
.download_activation_code_field_last{
            background: none repeat scroll 0 0 #FFFFFF;
            border: 0 none;
            font-family: "helvetica";
            font-size: 17px;
            font-weight: lighter;
            height: 30px;
            padding: 5px 15px;
            text-align: center;
            width: 130px;
        }

.download_activation_code_field_notification{
            margin-right: 0;
            background: url("/image/image_gallery?uuid=223ec7e7-bd1b-4285-9d69-1a4638003c19&groupId=10165&t=1381974884919") no-repeat scroll 109px 7px #FFFFFF;
            border: 0 none;
            font-family: "helvetica";
            font-size: 17px;
            font-weight: lighter;
            height: 20px;
            padding: 5px 15px;
            text-align: center;
            width: 100px;
        }
.download_activation_code_field_notification_error{
            margin-right: 0;
            background: url("/image/image_gallery?uuid=8673f09b-d60f-480d-9ed3-9cd2054fb570&groupId=10165&t=1381974884925") no-repeat scroll 109px 7px #FFFFFF;
            border: 0 none;
            font-family: "helvetica";
            font-size: 17px;
            font-weight: lighter;
            height: 20px;
            padding: 5px 15px;
            text-align: center;
            width: 100px;
        }
.download_options{
    margin: 10px 0 0;
    float: left;
}
.download_options .windows{
    float:left;
    margin-top: 20px;
    outline:none;
}
.download_options img{
            margin-left:10px;
            float:left;
        }
.download_options a.windows_req, .download_options a.windows_req span{
    display:table;
    height: 22px;
    line-height: 22px;
    color: #4a91e7 !important;
    text-decoration:none !important;
    font-family: gothambook;
    font-size: 14px;
    outline:none;
} 
.download_options a.windows_req span:hover{
                        text-decoration:none !important;
                        color: #35AEFF !important;
                }
.download_options a.windows_req:hover{
                        text-decoration:none !important;
                        color: #35AEFF !important;
                }
.download_options .mac{
    float: left;
    margin-top: 20px;
    outline:none;
}
.download_options a.mac_req, .download_options a.mac_req span{
    padding-left:0px;
    height: 22px;
    line-height: 22px;
    display:table;
    color: #4a91e7 !important;
    text-decoration:none !important;
    font-family: gothambook;
    font-size: 14px;
    outline:none;
}
.download_options a.mac_req:hover{
                        text-decoration:none !important;
                        color: #35AEFF !important;
                }
.download_options a.mac_req span:hover{
                        text-decoration:none !important;
                        color: #35AEFF !important;
                }
.download_button{
            clear:both;
            text-align: center;
            width: 100%;
        }
/* ---------------------------CSS FOR GET ACTIVATION CODE--------------------------- */

#get_activation_code_wrapper{
    width:780px;
    background: none repeat scroll 0 0 #f7f7f7;
    border-top: 8px solid #eac000;
    float:left; 
    display:none;
    top:25px !important;
    position:absolute !important;
}
.get_activation_code_close_btn{
            float:left;
             margin: 20px 0 20px 590px;
        }
.get_activation_code_close_btn a{
            font-family:"effra";
            font-size:14px;
            font-weight:bold;
            text-transform:uppercase;
            background:url("/image/image_gallery?uuid=4c6db442-376d-4cec-9b9c-3e4b2915ca5e&groupId=10165&t=1415892066621") no-repeat scroll right center rgba(0, 0, 0, 0);
            text-decoration:none;
            color:#0074c5;
            padding:28px;
        }
.get_activation_code_content{
            float:left;
            width:100%;
                        margin-top:15px;
        }
.get_activation_code_content h1{
        color: #363636;
        font-family: gothamLight;
        font-size: 2.25em;
        text-align:center;
        margin-top: 36px;
                line-height:1em;
        }
.get_activation_code_column{
            float:left;
            width:100%;
        }
.get_activation_code_column ul,li{list-style-type:none;}
.get_activation_code_column li{
            float:left;
            background:#ececec;
            width:360px;
            margin:20px 0 0px 20px;
            text-align:center;
        }
.get_activation_code_column h2{
            font-family:"effra";
            font-size:24px;
            color:#0074c5;
            text-align:center;
            font-weight:lighter;
            margin:20px 0 0;
        }
.get_activation_code_column li img{
            margin: 20px 0;
        }
.get_activation_code_column li p{
    text-align:left;
    color: #363636;
    font-family: gothamMedium;
    font-size: 1.12em;
    margin:0 80px;
}
.get_activation_code_column li ul li{list-style-type:disc;}
.get_activation_code_column li ul li{
     color: #363636;
    font-family: gothambook;
    font-size: 0.875em;
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    margin-bottom: 0;
    margin-left: 80px;
    margin-top: 10px;
    text-align: left;
    width: auto;
       padding-right:10px;
}
.head-cd-img strong,.head-download-img strong{
    color: #363636;
    font-family: gothamMedium;
    font-size: 1.5em;
    font-weight: normal;
}
.head-download-img img,.head-cd-img img{
    margin:0 !important;
}
span.back-image {
    background: url("/image/image_gallery?uuid=abb57a77-afc4-47be-8c12-fc1c84dfcbe6&groupId=10165&t=1415891210331") no-repeat scroll left bottom transparent;
    display: inline-block;
    padding: 0 0 6px 74px;
    margin-bottom:30px;
}
.specification{clear:both; padding-top:15px;}
.cd-prod,.download-prod{background:transparent !important;}
.specification {
    font-family: gothambook;
    font-size: 0.875em;
    margin: 20px 0 20px 20px;
}
/* ---------------------------CSS FOR DOWNLOAD LIMIT & SYS REQ------------------------- */
#download_popup_wrapper{
            width:460px;
            background:#fff;
            float:left;
            border-radius:5px;
                        margin-bottom:20px;
                        display:none;
        }
#download_popup_wrapper_windows{
    background: none repeat scroll 0 0 #f7f7f7;
    border-radius: 0;
    border-top: 8px solid #eac000;
    display: none;
    float: left;
    margin-bottom: 20px;
    width: 600px;
        top: 13px !important;

        }
#download_popup_wrapper_mac{
    background: none repeat scroll 0 0 #f7f7f7;
    border-radius: 0;
    border-top: 8px solid #eac000;
    display: none;
    float: left;
    margin-bottom: 20px;
    width: 600px;
        top: 13px !important;
        }

#download_popup_wrapper_dn_limit{
            width:460px;
            background:#fff;
            float:left;
            border-radius:5px;
                        margin-bottom:20px;
        }
.download_popup_close_btn{
            float:left;
            margin: 20px 0 20px 335px;
        }
.download_popup_close_btn a{
            font-family:"effra";
            font-size:14px;
            font-weight:bold;
            text-transform:uppercase;
            background:url("/image/image_gallery?uuid=c36feddd-73d8-463f-a143-16591d76fb7c&groupId=10165&t=1381974884954") no-repeat scroll right center rgba(0, 0, 0, 0);
            text-decoration:none;
            color:#0074c5;
            padding:28px;
        }
.download_popup_close_btn a:hover{
            text-decoration:none;
        }
.download_popup_content{
            float:left;
            width:100%;
                        height: 650px;
        }
.download_popup_content h1{
    color: #363636;
    font-family: gothamLight;
    font-size: 2.25em;
    text-align:center;
    margin-top:20px;
    line-height: 40px;
        }
.download_popup_content h2{
            font-family: gothambook;
    font-size: 1.37em;
            color: #767676;
            font-weight:lighter;
            text-align:center;
            
            height:55px;
        }
.download_popup_content p{
            font-family:"effra";
            font-size:14px;
            color:#333333;
            padding: 30px;;
        }
.download_popup_content ul{
            padding:30px;
            margin-left:20px;
        }
.download_popup_content li{
            color: #363636;
    font-family: gothambook;
    font-size: 1.12em;
    padding: 7px 0;
                        list-style-type:none;
        }
.download_popup_content a{
            color:#00a8ff;
            text-decoration:underline;
                        font-family:"effra";
                        font-size:14px;
        }
.ie8 #download_popup_wrapper_windows a.close, .ie8 #download_popup_wrapper_mac a.close, 
.ie8 #get_activation_code_wrapper a.close {
                        background-image: url("/image/image_gallery?uuid=4c6db442-376d-4cec-9b9c-3e4b2915ca5e&groupId=10165&t=1415892066621")  !important;
                        background-repeat:no-repeat;
                        cursor: pointer !important;
                        font-family:"effra" !important;
                    font-size:14px !important;
                    font-weight:bold !important;
                        height: 34px !important;
                        padding-right: 24px !important;
                        padding-top: 15px !important;
                        position: absolute !important;
                        right: 5px !important;
                        top: 10px !important;
                        width: 20px !important;
                        z-index: 999999999 !important;
                    text-decoration:none !important;
                    color:#0074c5 !important;
}
#download_popup_wrapper_windows a.close, #download_popup_wrapper_mac a.close, 
#get_activation_code_wrapper a.close {
                        background: url("/image/image_gallery?uuid=4c6db442-376d-4cec-9b9c-3e4b2915ca5e&groupId=10165&t=1415892066621") no-repeat scroll right center rgba(0, 0, 0, 0) !important;
                        cursor: pointer !important;
                        font-family:"effra" !important;
                    font-size:14px !important;
                    font-weight:bold !important;
                        height: 34px !important;
                        padding-right: 34px !important;
                        padding-top: 15px !important;
                        position: absolute !important;
                        right: 15px !important;
                        top: 0px !important;
                        width: 50px !important;
                        z-index: 999999999 !important;
                    text-decoration:none !important;
                    color:#0074c5 !important;
}


a.close_download {
                        background: url("/image/image_gallery?uuid=4cedc3fb-b4cf-4870-a1b6-14c2b12594e6&groupId=10165&t=1415892251312") no-repeat scroll right center rgba(0, 0, 0, 0) !important;
                        cursor: pointer !important;
                        font-family:"effra" !important;
                    font-size:14px !important;
                    font-weight:bold !important;
                        height: 34px !important;
                        padding-right: 34px !important;
                        padding-top: 15px !important;
                        position: absolute !important;
                        right: 15px !important;
                        top: 0px !important;
                        width: 50px !important;
                        z-index: 999999999 !important;
                    text-decoration:none !important;
                    color:#0074c5 !important;
}
        
#recaptch_content {
    background: none repeat scroll 0 0 #FEFEFE;
    border-radius: 0;
    display: block;
    height: 77px;
    padding: 25px 25px;
    width: 306px;
    margin: 30px auto 0 auto;
}
#recaptch_content h3{
    color: #0074C5;
    font-family: effra;
    font-size: 24px;
    font-weight: bold;
    margin-top: 36px;
    text-align: center;
}   
#recaptch_content p {
    color: #3E3E3E;
    font-family: effra;
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 15px;
    margin-left: 23px;
    padding-top: 10px;
    text-align: center;
    width: 395px;
}
#captch_submit img{
    cursor: pointer;
    padding: 25px 0 0 170px;
}
#recaptch_element{
}
#recaptcha_privacy{
    display:none;
    color: #FF0000;
    float: left;
    margin-left: 7px;
    font-size: 15px;
}
#invalid_captcha{
 display:none;
 color: #FF0000;
 font-size:12px;
}
.blue-button span{
    display: inline-block;
    padding:0 !important;
}
#download_popup_wrapper_windows img{
     padding-right: 10px;
}
.download_activation_box ul{
    width:765px;
    margin:0 auto;
}
.win-download-opt{
    padding-left: 90px !important;
    width: 45% !important;
}
.mac-download-opt{
    width: 43% !important;
}

.eng-support-chat,.esc-support-chat{
    background: none repeat scroll 0 0 #f7f7f7;
    border-radius: 0;
    border-top: 8px solid #eac000;
    display: none;
    float: left;
    margin-bottom: 20px;
    width: 604px;
    height:600px;
}
.eng-support-chat a.close,.esc-support-chat a.close{
 background: url("/image/image_gallery?uuid=ae7772cc-b9ba-4065-8a60-cad5a9cb840b&groupId=10165&t=1415892314362") no-repeat scroll right center rgba(0, 0, 0, 0) !important;
    color: #0074c5 !important;
    cursor: pointer !important;
    font-family: "effra" !important;
    font-size: 14px !important;
    font-weight: bold !important;
    height: 34px !important;
    padding-right: 34px !important;
    padding-top: 15px !important;
    position: absolute !important;
    right: -13px !important;
    text-decoration: none !important;
    top: -30px !important;
    width: 50px !important;
    z-index: 999999999 !important;
}

@media only screen
and (min-width : 640px)
and (max-width : 959px){


#download_wrapper{
    width: 100%;
}
.download_activation_box li{width:620px;}
.download_activation_code_field{
    width:100px;
}
.download_main_content p{width:450px;}
.download_activation_box{padding:30px 10px 0;}
.win-download-opt{padding-left:31px !important;width:50% !important;}
.download_activation_box li.download_options > span{padding-left:6px;}
.download_activation_box ul{width:620px;}
.security-check .title{display:inline-block;width:555px;}
#recaptch_content{margin-top:20px;}
.mac-download-opt{width:45% !important}
.get_activation_code_column li{ width: 280px;margin: 20px 0 0 20px;}
.get_activation_code_column li p{ margin: 0 40px;}
.get_activation_code_column li ul li{margin-left: 40px;}
#get_activation_code_wrapper{width:620px;}
span.back-image{padding: 0 0 0 45px;background-size:32%;margin-bottom:85px;}
.back-image img{margin-bottom: 27px;width: 185px;}
.get_activation_code_content h1{margin-left:15px;margin-right:15px;}

}
@media only screen
and (min-width : 960px)
and (max-width : 1279px){
#download_wrapper{
    width: 100%;
}
.download_main_content p{
width:40%;
}

}
</style>

##parse("$velocity_templates_path/us_consumer_templates/download_activation.vm")
#set ($velocity_templates_path = "velocity-templates-theme_SERVLET_CONTEXT_/templates")
#parse("$velocity_templates_path/init.vm")



<input type="hidden" value="Invalid captcha submission." id="recaptcha-error-msg"></input>
<!-- script type="text/javascript" src="https://www.google.com/recaptcha/api.js?render=explicit"></script -->
<script type="text/javascript"> 


/*var head = document.getElementsByTagName('head')[0];
var js = document.createElement("script");

js.type = "text/javascript";

if (RSUI.util.getCookie("langSelected")=="eng")
{
    js.src = "https://www.google.com/recaptcha/api.js?render=explicit";
	head.appendChild(js);
}
else(RSUI.util.getCookie("langSelected")=="por")
{
    js.src = "https://www.google.com/recaptcha/api.js?render=explicit&hl=pt-BR";
	head.appendChild(js);
}*/

var  callRecaptha=function(){
//$('#recaptch_element').overlay().load();
 grecaptcha.render("recaptch_element", {
          "sitekey" : "$Public_key.data",
		  "theme" : "clean",
		  "callback" : recaptchaCallback,
		  "expired-callback": disableDownload
        });


/*$(window).bind("load", function() {

if(global_lang_code_variable!="por"){
$('#recaptcha_response_field').val('type the text');
        if(navigator.appVersion.match(/MSIE [\d.]+/)){
    var placeholderText = 'type the text';
    $('#recaptcha_response_field').attr("placeholder",placeholderText);
    
    $('#recaptcha_response_field').blur(function(){
        $(this).val() == '' ? $(this).val(placeholderText) : false;
    });
    $('#recaptcha_response_field').focus(function(){
        $(this).val() == placeholderText ? $(this).val('') : false;
    });
}  
} else if(global_lang_code_variable == "por"){
    if(navigator.appVersion.match(/MSIE [\d.]+/)){
        var placeholderText = 'Digite o texto';
       $('#recaptcha_response_field').val(placeholderText);
        $('#recaptcha_response_field').blur(function(){
            $(this).val() == '' ? $(this).val(placeholderText) : false;
        });
        $('#recaptcha_response_field').focus(function(){
            $(this).val() == placeholderText ? $(this).val('') : false;
        });
    }
}

});*/
  $('#recaptch_element').focus();


};







function recaptchaCallback(){
$('#invalid_captcha').css('display','none');
 chLen = $("#code1").val().length + $("#code2").val().length + $("#code3").val().length + $("#code4").val().length + $("#code5").val().length;
      if (chLen == 28) {
    enableDownload();
      }
      else{
    disableDownload();
      }
}
</script>
<script>
var captcha_result = null;
var xmlDoc = null;
var dl_lang = null;
var dl_level = null;
var dl_err_code = null;
var chLen = null;
var selectedlang = RSUI.util.getCookie("langSelected");
function disableDownload(){

    $("#download_button a").removeClass("download_active");
    $("#download_button a").addClass("download_inactive");

}

function enableDownload(){
      
      $("#download_button a").removeClass("download_inactive");
      $("#download_button a").addClass("download_active");
      
}

$(document).ready(function(){



var js = document.createElement("script");  js.type = "text/javascript";  
if (document.location.href.indexOf("por")>1) {     
js.src = "https://www.google.com/recaptcha/api.js?onload=callRecaptha&render=explicit&hl=pt-BR"; 	
 document.body.appendChild(js); } 
else if(document.location.href.indexOf("/descarga-producto")>1){
js.src="https://www.google.com/recaptcha/api.js?onload=callRecaptha&render=explicit&hl=es-419";
document.body.appendChild(js);
}else {     js.src = "https://www.google.com/recaptcha/api.js?onload=callRecaptha&render=explicit"; 	
document.body.appendChild(js); } 

//append query string to 'Start now' button
var hrefattr=window.location.search.replace(/(-win)|(-mac)/,"").replace("?lang=por","")
$("#download_button a").attr("href", $("#download_button a").attr("href")+hrefattr);

//Called after Recaptcha.reload() is finished loading
/*grecaptcha._alias_finish_reset = grecaptcha.finish_reset;
grecaptcha.finish_reset = function (challenge, b, c) {
    //Call original function
    grecaptcha._alias_finish_reset(challenge, b, c);

    disableDownload(); 
    $("#recaptcha_response_field").bind("keyup", function(e) {
    
    if($(this).val().length > 0){
      chLen = $("#code1").val().length + $("#code2").val().length + $("#code3").val().length + $("#code4").val().length + $("#code5").val().length;
      if (chLen == 28) {
    enableDownload();
      }
      else{
    disableDownload();
      }
    }
    else{
    disableDownload();
    }
  });
  
}*/

/*if(navigator.appVersion.match(/MSIE [\d.]+/)){
    var placeholderText = 'type the text';
    /*$('#recaptcha_response_field').val(placeholderText);
    $('#recaptcha_response_field').blur(function(){
        $(this).val() == '' ? $(this).val(placeholderText) : false;
    });
    $('#recaptcha_response_field').focus(function(){
        $(this).val() == placeholderText ? $(this).val('') : false;
    });
}*/


$("input[type='text']").on("focus", function () {
 $(this).select();
 
}); 
$('.download_activation_code_field').bind('contextmenu', function(e) {
    e.preventDefault();
}); 
$('.download_activation_code_field_last').bind('contextmenu', function(e) {
    e.preventDefault();
}); 

/*recaptcha error*/

$(document).ready(function(event){
var langtoset = RSUI.util.getCookie("langSelected");
/*$('#recaptcha_response_field').css({'border-color':'#333','border-width':'1px','border-style':'solid'});
$('#recaptcha_privacy').css('display','none');*/




    if(langtoset == "por"){

    /*$('#recaptcha_response_field').val('Digite o texto')*/
    $('#invalid_captcha').html('Incorreta')
    $('#failed-code-error-msg').html('Por favor, insira o c&oacute;digo de ativa&ccedil;&atilde;o correto. <a href="//support.rosettastone.com/pt" target="_blank">Precisa de ajuda?</a>')
    /*if(navigator.appVersion.match(/MSIE [\d.]+/)){
    var placeholderText = 'Digite o texto';
    $('#recaptcha_response_field').val(placeholderText);
    $('#recaptcha_response_field').blur(function(){
        $(this).val() == '' ? $(this).val(placeholderText) : false;
    });
    $('#recaptcha_response_field').focus(function(){
        $(this).val() == placeholderText ? $(this).val('') : false;
    });
}*/

    }
    else if(langtoset == "eng"){
    /*$('#recaptcha_response_field').val('type the text')*/
    $('#invalid_captcha').val("Please complete the captcha validation to proceed")
    $('#failed-code-error-msg').html('Please enter the correct activation code <a href="//support.rosettastone.com/en" target="_blank">Need Help?</a>')    
    
        /*if(navigator.appVersion.match(/MSIE [\d.]+/)){
    var placeholderText = 'type the text';
    $('#recaptcha_response_field').val(placeholderText);
    $('#recaptcha_response_field').blur(function(){
        $(this).val() == '' ? $(this).val(placeholderText) : false;
    });
    $('#recaptcha_response_field').focus(function(){
        $(this).val() == placeholderText ? $(this).val('') : false;
    });
}*/
    }




if((typeof langtoset ) &&  langtoset != null && langtoset !=''){

     if($('.sel-drop ul li a#'+langtoset +' span').length>0)
          $('#support-langlist').html($('.sel-drop ul li a#'+langtoset +' span').text());
}
});
/*recaptcha error*/


jQuery('#download_popup_wrapper_dn_limit').overlay({
  closeOnClick: false,
  fixed:true,
  mask : {
   color : '#000',
   loadSpeed : 200,
   opacity : 0.7
  },
  onLoad : function() 
  { 
   $("#exposeMask").click(function() 
   {
    if ($("#download_popup_wrapper_dn_limit a.close_download").is(":visible")) 
    {      
     $("#exposeMask").css('display','block');
    }     
     });
  }
 });

$('.download_main_content_link').click(function(){
 $('#get_activation_code_wrapper').overlay().load();
});


var os = null;

$("#code1").bind("keyup", function(e) {
    checkAndAjax(e)
});

$("#code2").bind("keyup", function(e) {
    checkAndAjax(e)
});

$("#code3").bind("keyup", function(e) {
    checkAndAjax(e)
});

$("#code4").bind("keyup", function(e) {
    checkAndAjax(e)
});

$("#code5").bind("keyup", function(e) {
    checkAndAjax(e)
});

function loadCaptcha(){
$('#recaptch_element').focus();


}

var tries = 0;  // denotes how many times a captcha is loaded from google
var tried = 0;  // 0 --> user has not tried captcha. 1--> user had tried captcha before.

function tryLoadingCatcha() {
 $('#recaptch_element').focus();
 tries = tries + 1;
 if ($("#recaptcha_response_field").length > 0 && tried != 1) {
    loadCaptcha();
    tried = 1;
 }
 else if($("#recaptcha_response_field").length == 1 && tried == 1)
 { 
    /* 
    callRecaptha();
    $('.download_activation_code_field').css('border','none');
    $('.download_activation_code_field_last').css('border','none');
    $('#recaptch_element').css('display','block');
    $('#captch_submit').css('display','block');
    
    */
    
 } 
 else {
    if (tries <= 3) {
    setTimeout(tryLoadingCatcha,2000);
    }
 }
 
}

function checkAndAjax(event) {
 chLen = $("#code1").val().length + $("#code2").val().length + $("#code3").val().length + $("#code4").val().length + $("#code5").val().length;
 


 var dl_valid = $("#code5" ).hasClass( "download_activation_code_field_notification");
 var dl_error = $("#code5" ).hasClass( "download_activation_code_field_notification_error");
 
 
     if (chLen == 28) { // The entered code should be numerals or alphabets
	  $('.download_activation_code_field').css({'border':'1px solid #CCCCCC'});
	  $('.download_activation_code_field_last').css({'border':'1px solid #CCCCCC'});
	  $("#failed-code-error-msg").hide();
	  $("#esc-failure-meg").hide();
	  
     
      // the following is to avoid start now button being enabled , when user gives captcha , and then deletes the activation id.
	
      if($("#g-recaptcha-response").val().length === 0){
           disableDownload();  
      }else{
          enableDownload();
        
      }
          if ( (event.which >=48 && event.which<=57) || (event.which >=65 && event.which<=90) || (event.which>=96 && event.which<=105) ) {
        
          tryLoadingCatcha();
          }
    }
    else{ // the following is to avoid start now button being enabled , when user gives captcha , and then deletes the activation id.
        disableDownload();
      }
}
function clear_activationid(){
                    $('.download_activation_code_field').val("");
                    $('.download_activation_code_field_last').val("");
                    $('.download_activation_code_field').css('border','none');
                    $('.download_activation_code_field_last').css('border','none');
}
function checkActivationID() {
var Url = "${rosettaAjaxActivationIdURL}";
    var xmlRequest ='<?xml version="1.0" encoding="UTF-8"?><get_features_from_activation_request><v4_activation_id>'+$('#code1').val()+'-'+$('#code2').val()+'-'+$('#code3').val()+'-'+$('#code4').val()+'-'+$('#code5').val()+'</v4_activation_id></get_features_from_activation_request>';
   
    jQuery.ajax({
                     url: Url,
                     dataType: "xml",
                     contentType: "application/xml",
                     method: "POST",
                     async: false,
         data: { xmlData: xmlRequest },
                     success: function(data) {
                    xmlDoc = eval ( data );
                    var $xml = $( xmlDoc ); 
                    var $lang = $xml.find( "v4_language" ); 
                    var $level = $xml.find( "v4_level" );
                    var $err_code = $xml.find("error_code");
                    dl_lang = $lang.text();
                    dl_level = $level.text();
                    dl_err_code = $err_code.text();
                    if(dl_err_code !=''){
                          
                          $('.download_activation_code_field').css({'border-color':'red','border-width':'1px','border-style':'solid'});
                          $('.download_activation_code_field_last').css({'border-color':'red','border-width':'1px','border-style':'solid'});
                          $("#failed-code-error-msg").show();
                                      if(RSUI.util.getCookie("langSelected")=="esc"){
                                               $("#esc-failure-meg").css("display","block");                           
         
                                               }  
                          grecaptcha.reset();
						  disableDownload();
                          $('#invalid_captcha').css('display','none');
                          
                                                  
                    }
                    else{
                  
                          
                     if(dl_lang != '' && dl_lang != null) {
                        var os_nam = $("input[name='os']:checked").val();
                        if(os_nam == 'windows')
                        {
                        os = '-win'
                        }
                        else {
                        os = '-mac'
                        }
                        if(RSUI.util.getCookie("langSelected")=="esc"){
                        $(".download_button a").attr('href',window.location.protocol+"//"+window.location.host+"/progreso")
                        }
                        $(".download_button a").attr('href', $(".download_button a").attr('href')+"?product="+dl_lang+dl_level/*+os*/);
                      }
                          // page to be redirected to necessary URL
                          document.location.href=jQuery('.download_button a').attr('href');
                          
                    }
                    
    },
      error: function(){
      
     }
});

}
        
$(".os_select").change(function () {
var os_name = $("input[name='os']:checked").val();
    if(os_name == 'windows') {
      os = '-win'
    }
    else {
      os = '-mac'
    }
     
});

jQuery('#get_activation_code_wrapper').overlay({
  closeOnClick: false,
  fixed:true,
  mask : {
   color : '#000',
   loadSpeed : 200,
   opacity : 0.7
  },
  onLoad : function() 
  { 
   $("#exposeMask").click(function() 
   {
    if ($("#get_activation_code_wrapper a.close_download").is(":visible")) 
    {      
     $("#exposeMask").css('display','block');
    }     
     });
  }
 });

$('.download_activation_box_link').click(function(){
 $('#get_activation_code_wrapper').overlay().load();
});
jQuery('#download_popup_wrapper_windows').overlay({
  closeOnClick: false,
  fixed:true,
  mask : {
   color : '#000',
   loadSpeed : 200,
   opacity : 0.7
  },
  onLoad : function() 
  { 
   $("#exposeMask").click(function() 
   {
    if ($("#download_popup_wrapper_windows a.close_download").is(":visible")) 
    {      
     $("#exposeMask").css('display','block');
    }     
     });
  }
 });

$('.windows_req').click(function(){
 $('#download_popup_wrapper_windows').overlay().load();
});
jQuery('#download_popup_wrapper_mac').overlay({
  closeOnClick: false,
  fixed:true,
  mask : {
   color : '#000',
   loadSpeed : 200,
   opacity : 0.7
  },
  onLoad : function() 
  { 
   $("#exposeMask").click(function() 
   {
    if ($("#download_popup_wrapper_mac a.close_download").is(":visible")) 
    {      
     $("#exposeMask").css('display','block');
    }     
     });
  }
 });

$('.mac_req').click(function(){
 $('#download_popup_wrapper_mac').overlay().load();
});

$(".download_button a").click(function(e){
e.preventDefault();
e.stopPropagation();
if($(this).hasClass('download_inactive')){
chLen = $("#code1").val().length + $("#code2").val().length + $("#code3").val().length + $("#code4").val().length + $("#code5").val().length;


	if($("#g-recaptcha-response").val().length === 0){
		if(RSUI.util.getCookie("langSelected")=="esc"){
		$('#invalid_captcha').html('Incorreto');
		$('#invalid_captcha').css('display','block');
		$('#invalid_captcha').css('margin-left','120px');
		
		}
		else if(RSUI.util.getCookie("langSelected")=="por"){
		$('#invalid_captcha').html('Incorreta');
                $('#invalid_captcha').css('display','block');
		$('#invalid_captcha').css('margin-left','120px');
		
		}
		else{
			$('#recaptcha-error-msg').val("Please complete the captcha validation to proceed");
			$('#invalid_captcha').html($('#recaptcha-error-msg').val());
			$('#invalid_captcha').css('display','block');
		}
	}
	 if (chLen < 28) {
	 if(RSUI.util.getCookie("langSelected")=="esc"){
	 $('.download_activation_code_field').css({'border-color':'red','border-width':'1px','border-style':'solid'});
	 $('.download_activation_code_field_last').css({'border-color':'red','border-width':'1px','border-style':'solid'});
     $("#esc-failure-meg").css("display","block");                           
     } 
	 else{
	 
		$('.download_activation_code_field').css({'border-color':'red','border-width':'1px','border-style':'solid'});
		$('.download_activation_code_field_last').css({'border-color':'red','border-width':'1px','border-style':'solid'});
		$("#failed-code-error-msg").show();
		}
	}

}
if($(this).hasClass('download_active')){
        var Url = "${rosettaAjaxCaptchaValidationURL}";
        jQuery.ajax({
                url:Url,
                type: 'POST',
                async:false,
                //dataType: 'jsonp',
                data:{
                    'secret'    :   "$private_key.data",
                    'remoteip'      :   rs.remoteIPAddress,
                    'response'      :   $("#g-recaptcha-response").val()
                },
                success: function(data)
                {
                    captcha_result = JSON.parse(data);
					
                    if(captcha_result.success==true)
                    {
                      checkActivationID();  // checks activation Id and redirects the page, if its is successful
                    }
                    else{
                        grecaptcha.reset();
						$('.download_activation_code_field').css({'border':'1px solid #CCCCCC'});
                        $('.download_activation_code_field_last').css({'border':'1px solid #CCCCCC'});
                        $("#failed-code-error-msg").hide();
						$('#invalid_captcha').html($('#recaptcha-error-msg').val());
						$('#invalid_captcha').css('display','block');
                        
					}
                        
                    
                },
                error:function()
                {
                    captcha_result = false;
                }
            });
   }


});

/*chat now*/
jQuery('.eng-support-chat').overlay({
  fixed:false,
  mask : {
   color : '#000',
   loadSpeed : 200,
   opacity : 0.7
  },
  onLoad : function() 
  { 
   $("#exposeMask").click(function() 
   {
    if ($(".eng-support-chat a.close").is(":visible")) 
    {      
     $("#exposeMask").css('display','block');
    }     
     });
  }
 });

$('#eng-chat-now').click(function(){
 $('.eng-support-chat').overlay().load();
});

jQuery('.esc-support-chat').overlay({
  fixed:false,
  mask : {
   color : '#000',
   loadSpeed : 200,
   opacity : 0.7
  },
  onLoad : function() 
  { 
   $("#exposeMask").click(function() 
   {
    if ($(".esc-support-chat a.close").is(":visible")) 
    {      
     $("#exposeMask").css('display','block');
    }     
     });
  }
 });

$('#esc-chat-now').click(function(){
 $('.esc-support-chat').overlay().load();
 $('#en_chat_frame').attr('src', 'https://rosettastone.secure.force.com/en/chat')
$('#esc_chat_frame').attr('src', 'https://rosettastone.secure.force.com/es-US/chat')
});



});
</script>
$lightbox_captcha_content.data
<div id="download_wrapper">

  <div class="download_container">
    $download-caption.data
    <div class="download_banner">
      <img src="$product-image.data"/>
    </div>
    $activation-details.data
  </div>
</div>
$dl-limit-alert-lb.data
$act-code-info.data
$sys-req-mac.data
$sys-req-win.data
<div class="eng-support-chat" class="overlay">

<iframe name="en_chat_frame" id="en_chat_frame" src="about:blank"  width="600" height="600"></iframe>
</div>
<div class="esc-support-chat" class="overlay">

<iframe name="esc_chat_frame" id="en_chat_frame" src="about:blank"  width="600" height="600"></iframe>

</div>

<script>
$('#code1, #code2, #code3, #code4, #code5').autotab_magic();
$('#code1, #code2, #code3, #code4, #code5' ).autotab_filter({
        format: 'alphanumeric',
    uppercase: true  });

</script>
<style>
.claim-error{display:none;}
.sel-fld {
    background: none repeat scroll 0 0 #d8d8d8;
    border: 1px solid #979797;
    cursor: pointer;
    position: relative;
}
#top-link
{
 float:left;
}
.top-links {   
    margin-top: 49px;}
.top-links ul li {
    color: #4a4a4a;
    display: inline;
    font-family:gothamLight;
    list-style: none outside none;
    margin-right: 15px;
}

.top-links ul li a,.top-links ul li .bold-text{
    color: #4a91e7;
    font-family: gothambook;
    font-size:14px;
    text-decoration: none;
    outline:none;
}
.top-links ul li .bold-text{
    color:#4a4a4a;
        font-weight:bold;
}
.sel-drop {
    background: none repeat scroll 0 0 #fff;
    left: -1px;
    margin-top: 16px;
    position: absolute;
    width: 100.4%;
}
.sel-drop ul {
    list-style: none inside none;
    margin: 0;
    padding: 0;
}
.sel-drop ul li {
    background: none repeat scroll 0 0 #fff;
    border-bottom: 1px solid #979797;
    border-left: 1px solid #979797;
    border-right: 1px solid #979797;
}
.sel-drop ul li a {
    color: inherit;
    font-size: 14px;
    text-decoration: none;
}
.sel-fld span, .sel-drop ul li a {
    display: block;
    text-decoration: none;
}
.sel-fld span {
    color: #383838;
    font-size: 22px;
}
.sel-drop ul li a span {
    padding: 10px;
}
.main-drop.sel-fld {
    background-color: #fff;
    background-image: url("/image/image_gallery?uuid=c7465bf0-ef31-49f7-a59a-d0b92f53f4e0&groupId=10165&t=1414425017760");
    background-position: right top;
    background-repeat: no-repeat;
    border: medium none;
    float: right;
    margin-right:70px;
    margin-top: 45px;
    width: 200px;
}
.main-drop.sel-fld > div{
  padding: 0;
}
.main-drop.sel-fld > div > span{
  background:none;
}
.main-drop .sel-drop ul li {
    border: medium none;
}
.main-drop .sel-drop {
    margin-top: 0;
    left: 0;
}
.main-drop.sel-fld span {
    font-size: 16px;
    padding: 4.7px 5px;
    display: block;
}
.support-lang .espanol-link {
font-size: 16px;
    padding: 4.7px 5px;
  
}
.main-drop .sel-drop ul li a:hover {
    background: #eac000;
}
.red-border{
  border:1px solid #FD0000 !important;
}
.grey-border{
  border:1px solid #cfcfcf !important;
}
.failed-code-error-msg{color:red;}
</style>

<script>
$(window).bind("load", function() {
if(rs.community=="USA-Hispanic"){
$('#support-langlist').html($('#esc').text());

}
if(global_lang_code_variable=="por"){
 $('#support-langlist').html($('.sel-drop ul li a#por span').text());
}
});
</script>