Wed Nov 08 2017
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
<!-- 
<script> 
(function(){

	function show_fitbrains_promo(){


		/****************************************
		CONTROL FITBRAINS RTO DELAY HERE
		****************************************/
		var delay_in_seconds = 1;
		
		// make sure jquery is there
		if(window.$){
		
			$('#peter-promo').hide(); // avoiding collisions with other promo just in case

			// the rto html and css
			var fb_html = ''
				+'<style type="text/css">'
				+'body{'
				+'	margin: 0px;'
				+'	font-size:20px;'
				+'	font-family:sans-serif;'
				+'	color:#333;'
				+'}'


				+'#fitbrains_promo{'
				+'	position: relative;'
				+'	height: 500px;'
				+'	background-color: #333;'
				+'	background-image: url("http://www.rosettastone.com/lp/globals/img/rto/fitbrains_2016/fitbrains_bg_desktop.jpg");'
				+'	background-size: 100% 100%;'
				+'	font-size: 0px;'
				+'	color: #fff;'
				+'	line-height: 1.3;'

				+'	font-family: gothambook, sans-serif;'
				+'	display: none;'
				+'}'

				+'#fitbrains_promo > div {'
				+'	display: inline-block;'
				+'	vertical-align: top;'
				+'	width: 36%;'
				+'	/*border: 1px solid orange;*/'
				+'	height: 100%;'
				+'	font-size: 20px;'
				+'	box-sizing: border-box;'
				+'}'

				+'#fitbrains_promo .fbrains_iphone{'
				+'	width: 28%;'
				+'	text-align: center;'
				+'	height: auto;'
				+'	vertical-align: bottom;'
				+'	padding-bottom: 20px;'
				+'}'

				+'.fbrains_iphone > img{'
				+'	width: 100%;'
				+'	max-width: 280px;'
				+'}'

				+'#fitbrains_promo a{'
				+'	text-transform: uppercase;'
				+'	text-decoration: none;'
				+'	color: #fff;'
				+'	display: inline-block;'
				+'	padding: 12px 0px;'
				+'	width: 150px;'
				+'	border-radius: 5px;'
				+'	border: 2px solid #fff;'
				+'	font-size: 16px;'
				+'	text-align: center;'
				+'	margin: 5px 0px;'
				+'}'
				+'#fitbrains_promo a:hover{'
				+'	background: #fff;'
				+'	color: #333;'
				+'}'

				+'#fitbrains_promo .fb_trynow{'
				+'	background: #ee5f2a;'
				+'	border: 2px solid #ee5f2a;'
				+'}'
				+'#fitbrains_promo .fb_trynow:hover{'
				+'	border: 2px solid #f74;'
				+'	background: #f74;'
				+'	color: #fff;'
				+'}'

				+'.fbrains_blurb_container{'
				+'	padding-left: 4%;'
				+'	padding-top: 20px;'
				+'}'

				+'.fbrains_new_improved{'
				+'	color: #fede49;'
				+'	font-weight: 700;'
				+'}'

				+'.fbrains_blurb{'
				+'	line-height: 1.5;'
				+'	font-size: 16px;'
				+'	margin: 10px 0px;'
				+'}'

				+'.fbrains_logo{'
				+'	max-width: 100%;'
				+'	position: relative;'
				+'	left: -10px;'
				+'}'

				+'#fitbrains_promo .fbrains_train{'
				+'	font-size: 14px;'
				+'	padding-top: 300px;'
				+'}'

				+'.fbrains_rs_logo{'
				+'	width: 100px;'
				+'	padding-bottom: 5px;'
				+'}'

				+'#fbrains_promo_close{'
				+'	position: absolute;'
				+'	top: 20px;'
				+'	right: 20px;'
				+'	cursor: pointer;'
				+'}'

				+'#fbrains_promo_close *{'
				+'	stroke:#333; stroke-width:1; stroke-linecap:round; fill:transparent;'
				+'}'



				+'@media (max-width:830px) {'
				+'	.fbrains_blurb{'
				+'		line-height: 1.3;'
				+'		font-size: 15px;'
				+'	}'
				+'}'

				+'</style>'

				+'</head>'
				+'<body>'

				+'<div id="fitbrains_promo">'
				+'	<svg id="fbrains_promo_close" width="30" height="30" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg">'
				+'		<circle cx="5" cy="5" r="4.5"></circle>'
				+'		<line x1="3.5" y1="3.5" x2="6.5" y2="6.5"></line>'
				+'		<line x1="3.5" y1="6.5" x2="6.5" y2="3.5"></line>'
				+'	</svg>'
				+'	<div class="fbrains_blurb_container">'
				+'		<img class="fbrains_rs_logo" src="http://m.rosettastone.com/assets/bg-logo.png" alt="">'
				+'		<div class="fbrains_new_improved">New &amp; Improved</div>'
				+'		<img class="fbrains_logo" src="http://www.rosettastone.com/lp/globals/img/rto/fitbrains_2016/fbrains_logo.png" alt="fit brains">'
				+'		<div class="fbrains_blurb">'
				+'			Stimulate your cognitive skills (memory, speed, focus) and your emotional intelligence with the all-new version of our brain training app and online program.'
				+'		</div>'
				+'		<div>'
				+'			<a target="_blank" class="fb_trynow" href="https://www.fitbrains.com/landing/freetrial/">Try Now</a>'
				+'			<a target="_blank" href="https://www.fitbrains.com/landing/freetrial/">Learn More</a>'
				+'		</div>'
				+'	</div>'
				+'	<div class="fbrains_iphone"><img src="http://www.rosettastone.com/lp/globals/img/rto/fitbrains_2016/fitbrains_iphone.png"></div>'
				+'	<div class="fbrains_train">'
				+'		Train Your Brain<br>with Science-Based Games'
				+'	</div>'
				+'</div>';

			
			// add rto to body
			$('body').prepend(fb_html);

			// show rto
			setTimeout(function(){
				$('#fitbrains_promo').slideDown();
			}, delay_in_seconds * 1000);

			// click x to close
			document.getElementById('fbrains_promo_close').onclick = function(){
				$('#fitbrains_promo').slideUp();
			};
		}
	}

	show_fitbrains_promo();

})();
</script>
-->