- 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
<style id="lang_select_styles">
div.topbar {
background-color: white;
}
.topbar_buttons {
border-left: 1px solid #EBEBEB;
}
#lang-menu {
padding-top: 4rem;
padding-bottom: 4rem;
text-align: justify;
background-image: url(//www.rosettastone.com/lp/assets/sbsrtest0930/desktop-masthead.png);
background-size: cover;
background-position: right center;
background-repeat: no-repeat;
}
#simp_container {
width: 65em;
max-width: 90%;
margin: 0 auto;
display: flex;
flex-flow: column nowrap;
justify-content: flex-start;
position: relative;
}
#simp_container label span {
text-align: left;
color: white;
font-size: 1vw;
margin-top: 2em;
padding-bottom: .25em;
letter-spacing: .02em;
}
#lang-menu #simp_container button {
-webkit-appearance: none;
background: #2b2b2b;
border: none;
border-radius: 5px;
padding: 1em 2.5em;
color: white;
text-transform: uppercase;
font-family: GothamMedium;
font-size: 1.05em;
cursor: pointer;
min-width: 17.5em;
transition-property: all;
transition-duration: 333ms;
transform: translateZ(0);
}
#lang-menu #simp_container button svg * {
stroke: white;
fill: white;
}
#lang-menu #simp_container button:hover, #lang-menu #simp_container button:focus, #lang-menu #simp_container button.hangfocus {
transition-property: all;
transition-duration: 333ms;
color: white;
background: #302F31;
transform: translateZ(0);
}
#simp_container h2 {
font-family: GothamThin;
font-size: 2em;
font-size: 2vw;
color: white;
text-align: left;
}
#simp_container h2 strong {
font-family: GothamBook;
}
#simp_container p {
font-family: GothamThin;
font-size: 1em;
font-size: 1.5vw;
max-width: 30em;
color: white;
text-align: left;
margin-top: 1.5em;
line-height: 1.25;
}
#simp_selectmenu {
visibility: visible;
position: absolute;
width: 70.2em;
left: 0em;
top: 23.6em;
background: #3E3D3F;
color: white;
padding: 2em;
z-index: 100;
box-sizing: border-box;
max-width: 98vw;
border-radius: 5px;
transform: scale(.8) translateY(-20%);
opacity: 0;
will-change: transform, opacity;
}
#simp_selectmenu.show {
transition-property: opacity, transform;
transition-duration: 200ms, 300ms;
transition-timing-function: ease-out, ease-in;
opacity: 1;
transform: scale(1) translateY(-15px);
will-change: unset;
top: 100%;
left: 0px;
}
@media (max-width: 1400px){
#simp_selectmenu {
left: -2.5em;
}
}
#simp_selectmenu ul {
list-style: none;
display: flex;
flex-flow: row wrap;
justify-content: space-around;
position: relative;
}
#simp_selectmenu ul li {
width: 9.8em;
cursor: pointer;
font-weight: 700;
}
#simp_selectmenu ul li a {
text-decoration: none;
color: inherit;
}
#simp_selectmenu ul li small {
font-size: .8em;
}
#simp_selectmenu ul li:nth-child(6n+1){
width: 11em;
}
#simp_selectmenu ul li:nth-child(6n+2){
width: 9em;
}
#simp_selectmenu ul li:nth-child(6n+4){
width: 8em;
}
#simp_selectmenu ul li:nth-child(6n+3){
width: 9.5em;
}
#simp_selectmenu ul li:nth-child(6n+6){
width: 8em;
}
#simp_selectmenu ul li:nth-child(-n+6){
font-family: GothamMedium;
margin-bottom: 1.5em;
}
#simp_selectmenu ul li:nth-child(n+7){
font-weight: 100;
margin: .55em 0;
font-family: GothamLight;
}
#simp_selectmenu ul li:nth-child(6)::after{
content: '';
display: block;
width: 100%;
position: absolute;
top: 2.4em;
left: 0;
border-bottom: 1px solid #667667;
}
@media (max-width: 1000px){
#simp_selectmenu ul li {
width: 50%!important;
text-align: center;
}
#simp_selectmenu ul li:nth-child(6)::after{
top: 8em;
}
}
/* Product Offering */
.oct_2016_blue_bg {
background-color: #ecc200;
background-image: url(//www.rosettastone.com/lp/assets/sbsrtest0930/large-stone-mark.svg);
color: black;
box-shadow: none;
background-position: 90% 30%;
background-repeat: no-repeat;
}
.oct_2016_blue_bg .oct_2016_language_header {
color: inherit;
font-family: GothamBold;
}
.oct_2016_blue_bg .oct_2016_guarantee_line1 {
color: #0078bb;
}
.oct_2016_product_square {
border-radius: 8px;
}
.oct_2016_product_info_square {
text-align: center;
}
.oct_2016_product_square_content {
padding: 0;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
}
.oct_2016_product_square_header{
border-bottom: none;
padding: 1.5em;
background: #f1f1f1;
line-height: 1.2;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
border-bottom: 2px solid #ccc;
}
.oct_2016_product_square_middle {
padding: 0 1.5rem 1.5rem 1.5rem;
}
.js_oct_2016_product.js_24_month .oct_2016_product_square_header {
border-radius: 0;
}
.oct_2016_best_value {
text-transform: uppercase;
font-family: gothambold;
background: #000;
color: #fff;
padding: 15px;
display: block;
margin-bottom: 0;
position: relative;
line-height: 17px;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
.oct_2016_best_value::after, .oct_2016_best_value::before {
content: none;
}
.oct_2016_guarantee_vertical {
margin-right: 0;
}
/* CD Offering */
.oct_2016_gold_bg {
background-color: white;
background-image: url(//www.rosettastone.com/lp/assets/sbsrtest0930/texture-and-blue-background.svg);
background-size: cover;
}
.oct_2016_gold_bg .oct_2016_language_header {
color: white;
font-family: GothamBold;
font-size: 28px;
}
.oct_2016_cd_download:checked + label {
background: #ecc200;
color: #333;
}
.oct_2016_cd_download_container label {
padding: 10px 0;
}
.oct_2016_gold_bg .oct_2016_product_square_header {
display: none;
}
.oct_2016_price_container_square_cddl {
margin-top: 0;
}
.oct_2016_cd_download_container {
margin-bottom: 5px;
}
@media (min-width: 560px) {
.oct_2016_cd_download_buttons {
width: 241px;
border: 2px solid #ecc200;
}
.oct_2016_cd_download_container label {
color: white;
}
}
.oct_2016_guarantee_vertical {
margin-right: 0;
display: none;
}
.oct_2016_gold_bg .oct_2016_msrp_square {
display: inline-block;
}
.oct_2016_gold_bg .oct_2016_big_price_square {
font-size: 31px;
vertical-align: baseline;
color: black;
font-family: gothambook;
display: inline-block;
margin-left: .2em;
}
.oct_2016_gold_bg .oct_2016_msrp_square {
margin-bottom: 0;
vertical-align: middle;
}
.oct_2016_gold_bg .oct_2016_price_container_square_cddl {
display: inline-block;
}
.oct_2016_product_square_middle {
padding: 1.5rem 1.5rem 1.5rem 1.5rem;
}
/* Paring out the demo section */
#tryit {
display: none;
}
/* Bottom section */
.container .counter {
display: none;
}
.container .slide.macworld {
display: none;
}
@media only screen and (min-width: 853px) {
#stats .carousel {
width: 100%;
margin: 0;
}
}
#stats {
background-color: #4c4c4c;
padding: 4em;
background-image: url(//www.rosettastone.com/lp/assets/sbsrtest0930/macworld-faded.svg);
background-size: contain;
background-position: center;
background-repeat: no-repeat;
}
#stats .macworldlogo {
width: auto;
display: block;
margin: 1em auto;
}
.macworldquote {
text-align: center;
color: white;
font-size: 1.5em;
font-family: gothamlight;
margin: 0 auto;
max-width: 50em;
}
.macworldquote strong {
display: block;
}
#footer {
background: #363534;
border-top: solid 0.01px #ecc200;
}
/*** MOBILE ***/
@media only screen and (max-width: 743px){
#lang-menu {
display: block!important;
background-image: url(//www.rosettastone.com/lp/assets/sbsrtest0930/mobile-masthead.png);
background-position: center;
}
#simp_container {
padding: 1em;
}
#simp_container h2 {
font-size: 2em;
}
#simp_container p {
font-size: 1.5em;
}
#simp_container label span#simp_labl {
font-size: 1.5em;
text-align: center;
}
#lang-menu #simp_container button {
margin: 0 auto;
display: block;
font-size: 1.5em;
color: white;
background-color: #222;
padding: 1em .75em;
}
#simp_selectmenu {
left: 0;
width: 100%;
}
#simp_selectmenu.show {
height: 80vh;
overflow-y: scroll;
}
#simp_selectmenu::after {
}
#simp_selectmenu ul li {
width: 90%!important;
font-size: 1.5em;
text-align: center;
}
#simp_selectmenu ul li:nth-child(6)::after {
content: "(scroll ▼ for more)";
text-transform: uppercase;
box-sizing: border-box;
padding-top: .25em;
padding-bottom: .25em;
width: 100%;
text-align: center;
font-size: .8em;
position: relative;
border-bottom: none;
top: 1em;
color: #777;
}
#products-mobile {
display: block;
background: #ecc200;
padding: 1em;
}
.nov_2016_purchase_section {
border-radius: 8px;
}
.nov_2016_product_square_content {
border-top-left-radius: 0;
background: white;
padding-top: 0;
box-shadow: 0px 0px 12px -4px black;
}
.nov_2016_product_square_header {
background-color: #eee;
padding: 1em;
}
.nov_2016_radio_price {
color: black;
font-family: GothamMedium;
}
.nov_2016_big_price_square {
font-size: 75px;
vertical-align: baseline;
color: black;
font-family: gothambook;
}
.cddl_test_link_container {
margin-top: 2em;
}
#stats {
padding: 2em 1em;
background-color: #0098db;
background-size: cover;
background-position: left;
}
.macworldquote {
line-height: 1.2;
font-size: 1.1em;
}
.nov_2016_addtocart_square {
vertical-align: middle;
background: #0098db;
color: #fff;
border-radius: 3px;
padding: 16px;
text-transform: uppercase;
text-decoration: none;
font-size: 16px;
font-family: gothambold;
display: block;
width: 60%;
margin: 0 auto;
margin-bottom: 1em;
}
}
/* defensive: */
div#clock-wrap {
}
</style>
<script async defer>
var closexmarkup = '<svg style="margin-left: .75em;" height=1em id="closex" version=1.1 viewBox="37 24 16 15"width=1em xmlns=http://www.w3.org/2000/svg xmlns:xlink=http://www.w3.org/1999/xlink><title>cancel</title><desc>Created with Sketch.</desc><defs><filter filterUnits=objectBoundingBox height=146.4% id=filter-1 width=113.5% x=-6.8% y=-19.4%><feOffset dx=0 dy=12 in=SourceAlpha result=shadowOffsetOuter1></feOffset><feGaussianBlur in=shadowOffsetOuter1 result=shadowBlurOuter1 stdDeviation=22.5></feGaussianBlur><feColorMatrix in=shadowBlurOuter1 result=shadowMatrixOuter1 type=matrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.318953804 0"></feColorMatrix><feMerge><feMergeNode in=shadowMatrixOuter1></feMergeNode><feMergeNode in=SourceGraphic></feMergeNode></feMerge></filter><path d="M4.52177819,5.00153414 L0.0953552873,9.4588811 C-0.0276182663,9.58271378 -0.0276182663,9.78333215 0.0953552873,9.90716483 C0.156763936,9.96915984 0.237392086,10 0.317863979,10 C0.398492129,10 0.478964022,9.96915984 0.540372671,9.90716483 L5.00007813,5.4163028 L9.45978359,9.90716483 C9.52134849,9.96915984 9.60182038,10 9.68229228,10 C9.76276417,10 9.84339232,9.96915984 9.90480097,9.90716483 C10.0277745,9.78333215 10.0277745,9.58271378 9.90480097,9.4588811 L5.47853432,5.00153414 L9.90776983,0.541040226 C10.0307434,0.41720755 10.0307434,0.216589173 9.90776983,0.0927564965 C9.78479628,-0.0309188322 9.58556975,-0.0309188322 9.46275245,0.0927564965 L5.00023438,4.58676548 L0.537247549,0.0929138442 C0.414273995,-0.0307614844 0.215203719,-0.0307614844 0.0922301652,0.0929138442 C-0.0307433884,0.216746521 -0.0307433884,0.417364897 0.0922301652,0.541197574 L4.52177819,5.00153414 Z"id=path-2></path></defs><g id=Page-1 fill-rule=evenodd fill=none stroke=none stroke-width=1><g id="Spanish-->-List-Expanded"transform="translate(-1126.000000, -481.000000)"fill-rule=nonzero><g id=Text/CTA transform="translate(125.000000, 488.000000)"filter=url(#filter-1)><g id=Language-Dropdown transform="translate(810.000000, 0.000000)"><g id=cancel transform="translate(232.000000, 21.000000)"><g id=Shape><use fill=#313131 fill-rule=evenodd xlink:href=#path-2></use><path d="M3.81711385,5.00154035 L-0.262551781,0.893518124 C-0.579149406,0.574708672 -0.579149406,0.0594027455 -0.262327734,-0.259632175 C0.0561355226,-0.579912811 0.573342191,-0.579912811 0.89201716,-0.259419128 L5.00020954,3.87718439 L9.1079705,-0.259564054 C9.42629033,-0.580107737 9.94382711,-0.580107737 10.2625518,-0.259564054 C10.5791494,0.0592453978 10.5791494,0.574551325 10.2625642,0.893348261 L6.18317398,5.00152793 L10.2595829,9.10656055 C10.5761805,9.42537 10.5761805,9.94067593 10.2600303,10.2590343 C10.1054348,10.415106 9.89735367,10.5 9.68229228,10.5 C9.4673679,10.5 9.25964386,10.415208 9.10500164,10.2594854 L5.00007811,6.12588387 L0.895601991,10.2590343 C0.740991793,10.4151208 0.533054226,10.5 0.317863979,10.5 C0.102802588,10.5 -0.105278495,10.415106 -0.259426659,10.2594854 C-0.576024284,9.94067593 -0.576024284,9.42537 -0.259426659,9.10656055 L3.81711385,5.00154035 Z"stroke=#313131 stroke-width=1></path></g></g></g></g></g></g></svg>';
var triuanglemarkup = '<svg style="margin-left: .75em;" height=1em id="triangledown" version=1.1 viewBox="35 26 25 20"width=1em xmlns=http://www.w3.org/2000/svg xmlns:xlink=http://www.w3.org/1999/xlink><title>Triangle</title><desc>Created with Sketch.</desc><defs><filter filterUnits=objectBoundingBox height=394.0% id=filter-1 width=115.0% x=-7.5% y=-123.0%><feOffset dx=0 dy=12 in=SourceAlpha result=shadowOffsetOuter1></feOffset><feGaussianBlur in=shadowOffsetOuter1 result=shadowBlurOuter1 stdDeviation=22.5></feGaussianBlur><feColorMatrix in=shadowBlurOuter1 result=shadowMatrixOuter1 type=matrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.318953804 0"></feColorMatrix><feMerge><feMergeNode in=shadowMatrixOuter1></feMergeNode><feMergeNode in=SourceGraphic></feMergeNode></feMerge></filter></defs><g id=Page-1 fill=none fill-rule=evenodd stroke=none stroke-width=1><g id="Spanish-->-Button-Hover"transform="translate(-1124.000000, -476.000000)"fill=#313131><g id=Select-a-language transform="translate(0.000000, 447.000000)"><g id=Text/CTA transform="translate(229.000000, 41.000000)"filter=url(#filter-1)><g id=Language-Dropdown transform="translate(706.000000, 0.000000)"><polygon id=Triangle points="237 19 247 32 227 32"transform="translate(237.000000, 25.500000) scale(1, -1) translate(-237.000000, -25.500000) "></polygon></g></g></g></g></g></svg>';
var langmenumarkup = '<div id="simp_container"><h2><strong>The only language software<br>with TruAccent™—</strong>the world’s<br>best speech recongition technology.</h2><p>The most trusted language solution for 25 years is now accessible on any device, from anywhere in the world.</p><label><span id=simp_labl>Choose your next language</span> <button><strong id=simp_langname>Spanish (Latin America)</strong></button></label><div id=simp_selectmenu aria-labelledby=simp_labl role=dialog style=visibility:hidden;position:absolute><ul class=top><li id=esp tabindex=0>Spanish <small>(Latin America)</small><li id=chi tabindex=0>Chinese <small>(Mandarin)</small><li id=eng tabindex=0>English <small>(American)</small><li id=fra tabindex=0>French<li id=deu tabindex=0>German<li id=ita tabindex=0>Italian<li id=ara tabindex=0>Arabic<li id=tgl tabindex=0>Filipino <small>(Tagalog)</small><li id=ind tabindex=-1><a href=/learn-indonesian>Indonesian</a><li id=lat tabindex=-1><a href=/learn-latin>Latin</a><li id=por tabindex=0>Portuguese <small>(Brazil)</small><li id=sve tabindex=0>Swedish<li id=dar tabindex=-1><a href=/learn-dari>Dari</a><li id=grk tabindex=0>Greek<li id=gle tabindex=0>Irish<li id=pas tabindex=-1><a href=/learn-pashto>Pashto</a><li id=rus tabindex=0>Russian<li id=tur tabindex=0>Turkish<li id=ned tabindex=0>Dutch<li id=heb tabindex=0>Hebrew<li id=jpn tabindex=0>Japanese<li id=far tabindex=0>Persian <small>(Farsi)</small><li id=esc tabindex=0>Spanish <small>(Spain)</small><li id=uru tabindex=-1><a href=/learn-urdu>Urdu</a><li id=ebr tabindex=0>English <small>(British)</small><li id=hin tabindex=0>Hindi<li id=kor tabindex=0>Korean<li id=pol tabindex=0>Polish<li id=kis tabindex=-1><a href=/learn-swahili>Swahili</a><li id=vie tabindex=0>Vietnamese</ul></div></div>';
function addTriangle(){
//debugger;
$('#simp_container label button').find('svg').remove();
$('#simp_container label button').append($(triuanglemarkup));
}
function addCloseX(){
//debugger;
$('#simp_container label button').find('svg').remove();
$('#simp_container label button').append($(closexmarkup));
}
$(function(){
//Menu operations
$('#lang-menu').empty();
$('#violator,#masthead').css('display','none');
//$('head').append(styl);
$('#lang-menu').append(langmenumarkup);
//Subscription offering operations
var $offeringcontent = $('.zerofont').children('div:eq(0)').children('div');
//truncate right side
$offeringcontent.eq(1).remove();
//clear all copy but language & "Online Subscription"
$('.oct_2016_product_info_square').children(':not(.oct_2016_language_header,.oct_2016_language_subhead)').remove()
//clear right side content:
$('.meclabs_guarantee_proof').remove();
//remove border from 24 month
$('.js_oct_2016_product.js_24_month').css('border','none');
//Download/CD offering:
//adjust headings
$('.meclabs_cd_title').html('<div class="oct_2016_language_header"> Learn <span class="js_langname_1">a language.</span></div>');
$('.oct_2016_gold_bg .oct_2016_product_square:eq(0)').css('display','none');
//pare down select elements
$('label[for="oct_2016_download"]').text('download');
$('label[for="oct_2016_cd"]').text('cd');
//swap price/description positions
$('.oct_2016_gold_bg .oct_2016_big_price_square').each(function(i,el){ var $el = $(el).parent(); var $span = $el.next(); $el.detach(); $span.after($el);});
//Hide 3-month box when a language with a 5-month option is selected
var $lthreebox = $('.oct_2016_gold_bg .oct_2016_product_square:eq(1)');
$lthreebox.css('display','none');
var $lfivebox = $('.oct_2016_gold_bg .oct_2016_product_square:eq(2)');
$(document).on('lang_change', function(ev, data){
var cddl_count = RSI({cat: data.lang, lvl: 'S5'}).length;
var topbox = ( (cddl_count && cddl_count > 0) ? $lfivebox : $lthreebox );
return $lthreebox.css('display', (topbox == $lfivebox ? 'none' : 'inline-block'));
});
//Bottom area
$('#stats').empty();
$('#stats').append('<img class="macworldlogo" src="//www.rosettastone.com/lp/assets/sbsrtest0930/macworld-logo.svg">');
$('#stats').append('<p class="macworldquote">With its excellent user interface, clear instructions, wide variety of games and challenges…<strong>Rosetta Stone has got it going on.”</strong></p>');
//Mobile changes:
//clean out offering area
$('div.nov_2016_product_info_container').remove();
$('#dropdown-language').remove();
//rearrange button
var $mobbutton = $('.nov_2016_addtocart_square.js_nov_2016_addtocart.js_update_lvl.js_update_media');
$('.nov_2016_msrp_square').after( $mobbutton );
//lang title
$('.nov_2016_select_title').html('Learn <span class="js_langname_1">Spanish</span>');
$('.nov_2016_select_title').css('font-family', 'GothamMedium').css('margin-bottom', '1.5em');
$('#lang-menu button').on('click', function(e){
var $t = $(this);
var $b = $t.find('b');
var show = !($t.hasClass('menushow'));
if(!!show){
$(document).trigger('langmenu_request');
addCloseX();
$t.addClass('menushow');
}
else {
$(document).trigger('langmenu_dismiss');
addTriangle();
$t.removeClass('menushow');
}
return false;
});
$(document).on('langmenu_request', function(e){
var menu = document.getElementById('simp_selectmenu');
menu.style.visibility = 'visible';
setTimeout(function(){ menu.classList.add('show') }, 0);
$('#lang-menu #simp_container button').addClass('hangfocus');
});
$(document).on('langmenu_dismiss', function(e){
var menu = document.getElementById('simp_selectmenu');
menu.style.visibility = 'hidden';
menu.classList.remove('show');
setTimeout(function(){ menu.classList.remove('show') }, 0);
$('#lang-menu button').removeClass('menushow');
addTriangle();
$('#lang-menu #simp_container button').removeClass('hangfocus');
});
$('#lang-menu li').on('click keypress', function(e){
var inhtml = $(this).html();
var thisid = this.id;
!!thisid && $(document).trigger('lang_change', {lang: thisid});
//product_change is for mobile
$(document).trigger('product_change', {
'lang': thisid
});
$('#simp_langname').html(inhtml);
$(document).trigger('langmenu_dismiss');
});
});
//Experience init to Spanish:
var langtostart = _satellite.getQueryParamCaseInsensitive('lang') || 'esp';
$(document).trigger('lang_change', {lang: langtostart});
$(document).trigger('product_change', {
'lang': langtostart
});
addTriangle();
</script>