onebox 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/.rspec +1 -0
  4. data/.rubocop.yml +476 -0
  5. data/.ruby-gemset +1 -0
  6. data/.ruby-version +1 -0
  7. data/.travis.yml +3 -0
  8. data/Gemfile +4 -0
  9. data/LICENSE.txt +22 -0
  10. data/README.md +92 -0
  11. data/Rakefile +22 -0
  12. data/lib/onebox.rb +33 -0
  13. data/lib/onebox/engine.rb +93 -0
  14. data/lib/onebox/engine/amazon_onebox.rb +25 -0
  15. data/lib/onebox/engine/bliptv_onebox.rb +26 -0
  16. data/lib/onebox/engine/clikthrough_onebox.rb +23 -0
  17. data/lib/onebox/engine/college_humor_onebox.rb +26 -0
  18. data/lib/onebox/engine/dailymotion_onebox.rb +26 -0
  19. data/lib/onebox/engine/dotsub_onebox.rb +25 -0
  20. data/lib/onebox/engine/example_onebox.rb +25 -0
  21. data/lib/onebox/engine/flickr_onebox.rb +25 -0
  22. data/lib/onebox/engine/funny_or_die_onebox.rb +26 -0
  23. data/lib/onebox/engine/html.rb +11 -0
  24. data/lib/onebox/engine/hulu_onebox.rb +26 -0
  25. data/lib/onebox/engine/nfb_onebox.rb +25 -0
  26. data/lib/onebox/engine/open_graph.rb +11 -0
  27. data/lib/onebox/engine/qik_onebox.rb +23 -0
  28. data/lib/onebox/engine/revision3_onebox.rb +26 -0
  29. data/lib/onebox/engine/slideshare_onebox.rb +25 -0
  30. data/lib/onebox/engine/sound_cloud_onebox.rb +25 -0
  31. data/lib/onebox/engine/stack_exchange_onebox.rb +23 -0
  32. data/lib/onebox/engine/ted_onebox.rb +25 -0
  33. data/lib/onebox/engine/viddler_onebox.rb +26 -0
  34. data/lib/onebox/engine/vimeo_onebox.rb +26 -0
  35. data/lib/onebox/engine/wikipedia_onebox.rb +24 -0
  36. data/lib/onebox/engine/yfrog_onebox.rb +25 -0
  37. data/lib/onebox/matcher.rb +13 -0
  38. data/lib/onebox/preview.rb +31 -0
  39. data/lib/onebox/version.rb +3 -0
  40. data/onebox.gemspec +36 -0
  41. data/spec/fixtures/amazon.response +3098 -0
  42. data/spec/fixtures/android.response +138 -0
  43. data/spec/fixtures/apple.response +391 -0
  44. data/spec/fixtures/bliptv.response +724 -0
  45. data/spec/fixtures/clickthrough.response +1472 -0
  46. data/spec/fixtures/clikthrough.response +1472 -0
  47. data/spec/fixtures/collegehumor.response +1272 -0
  48. data/spec/fixtures/dailymotion.response +575 -0
  49. data/spec/fixtures/dotsub.response +1257 -0
  50. data/spec/fixtures/example.response +50 -0
  51. data/spec/fixtures/flickr.response +1292 -0
  52. data/spec/fixtures/funnyordie.response +2010 -0
  53. data/spec/fixtures/gist.response +282 -0
  54. data/spec/fixtures/github_blob.response +706 -0
  55. data/spec/fixtures/github_commit.response +881 -0
  56. data/spec/fixtures/github_pullrequest.response +1619 -0
  57. data/spec/fixtures/hulu.response +339 -0
  58. data/spec/fixtures/image.response +0 -0
  59. data/spec/fixtures/imgur.response +892 -0
  60. data/spec/fixtures/kinomap.response +299 -0
  61. data/spec/fixtures/nfb.response +810 -0
  62. data/spec/fixtures/opengraph.response +27 -0
  63. data/spec/fixtures/qik.response +371 -0
  64. data/spec/fixtures/revision3.response +985 -0
  65. data/spec/fixtures/rottentomatoes_fresh.response +3275 -0
  66. data/spec/fixtures/rottentomatoes_incomplete.response +2313 -0
  67. data/spec/fixtures/rottentomatoes_rotten.response +3549 -0
  68. data/spec/fixtures/slideshare.response +1745 -0
  69. data/spec/fixtures/soundcloud.response +1409 -0
  70. data/spec/fixtures/stackexchange.response +1889 -0
  71. data/spec/fixtures/ted.response +1341 -0
  72. data/spec/fixtures/twitter.response +1712 -0
  73. data/spec/fixtures/viddler.response +442 -0
  74. data/spec/fixtures/video.response +0 -0
  75. data/spec/fixtures/vimeo.response +571 -0
  76. data/spec/fixtures/wikipedia.response +1236 -0
  77. data/spec/fixtures/wikipedia_redirected.response +899 -0
  78. data/spec/fixtures/yfrog.response +464 -0
  79. data/spec/lib/onebox/engine/amazon_spec.rb +34 -0
  80. data/spec/lib/onebox/engine/bliptv_spec.rb +34 -0
  81. data/spec/lib/onebox/engine/clikthrough_spec.rb +26 -0
  82. data/spec/lib/onebox/engine/college_humor_spec.rb +34 -0
  83. data/spec/lib/onebox/engine/dailymotion_spec.rb +36 -0
  84. data/spec/lib/onebox/engine/dotsub_spec.rb +36 -0
  85. data/spec/lib/onebox/engine/example_spec.rb +18 -0
  86. data/spec/lib/onebox/engine/flickr_spec.rb +30 -0
  87. data/spec/lib/onebox/engine/funny_or_die_spec.rb +34 -0
  88. data/spec/lib/onebox/engine/hulu_spec.rb +34 -0
  89. data/spec/lib/onebox/engine/nfb_spec.rb +35 -0
  90. data/spec/lib/onebox/engine/qik_spec.rb +35 -0
  91. data/spec/lib/onebox/engine/revision3_spec.rb +36 -0
  92. data/spec/lib/onebox/engine/slideshare_spec.rb +30 -0
  93. data/spec/lib/onebox/engine/sound_cloud_spec.rb +36 -0
  94. data/spec/lib/onebox/engine/stack_exchange_spec.rb +27 -0
  95. data/spec/lib/onebox/engine/ted_spec.rb +30 -0
  96. data/spec/lib/onebox/engine/viddler_spec.rb +36 -0
  97. data/spec/lib/onebox/engine/vimeo_spec.rb +34 -0
  98. data/spec/lib/onebox/engine/wikipedia_spec.rb +30 -0
  99. data/spec/lib/onebox/engine/yfrog_spec.rb +30 -0
  100. data/spec/lib/onebox/engine_spec.rb +78 -0
  101. data/spec/lib/onebox/matcher_spec.rb +20 -0
  102. data/spec/lib/onebox/preview_spec.rb +21 -0
  103. data/spec/lib/onebox_spec.rb +49 -0
  104. data/spec/spec_helper.rb +26 -0
  105. data/spec/support/html_spec_helper.rb +17 -0
  106. data/templates/amazon.handlebars +9 -0
  107. data/templates/bliptv.handlebars +10 -0
  108. data/templates/clickthrough.handlebars +8 -0
  109. data/templates/clikthrough.handlebars +8 -0
  110. data/templates/collegehumor.handlebars +9 -0
  111. data/templates/dailymotion.handlebars +9 -0
  112. data/templates/dotsub.handlebars +9 -0
  113. data/templates/flickr.handlebars +8 -0
  114. data/templates/funnyordie.handlebars +9 -0
  115. data/templates/hulu.handlebars +9 -0
  116. data/templates/nfb.handlebars +8 -0
  117. data/templates/qik.handlebars +7 -0
  118. data/templates/revision3.handlebars +9 -0
  119. data/templates/slideshare.handlebars +8 -0
  120. data/templates/soundcloud.handlebars +9 -0
  121. data/templates/stackexchange.handlebars +7 -0
  122. data/templates/ted.handlebars +8 -0
  123. data/templates/viddler.handlebars +9 -0
  124. data/templates/vimeo.handlebars +9 -0
  125. data/templates/wikipedia.handlebars +8 -0
  126. data/templates/yfrog.handlebars +8 -0
  127. metadata +447 -0
@@ -0,0 +1,1341 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+
6
+ <script type="text/javascript">var NREUMQ=NREUMQ||[];NREUMQ.push(["mark","firstbyte",new Date().getTime()]);</script><script>
7
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
8
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
9
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
10
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
11
+ ga('create', 'UA-40781755-2', 'ted.com');
12
+ ga('send', 'pageview');
13
+ </script>
14
+
15
+ <link rel="shortcut icon" href="http://assets.tedcdn.com/favicon.ico">
16
+
17
+ <meta name="title" content="Eli Beer: The fastest ambulance? A motorcycle | Video on TED.com" />
18
+ <meta name="description" content="As a young EMT on a Jerusalem ambulance, Eli Beer realized that, stuck in brutal urban traffic, they often arrived too late to help. So he organized a group of volunteer EMTs -- many on foot -- ready to drop everything and dash to save lives in their neighborhood. Today, United Hatzlah uses a smartphone app and a fleet of “ambucycles” to help nearby patients until an ambulance arrives. With an average response time of 3 minutes, last year, they treated 207,000 people in Israel. And the idea is going global." />
19
+ <meta name="keywords" content="TED,Talks,health,health care,medicine,peace" />
20
+ <meta name="medium" content="video" />
21
+ <meta name="apple-itunes-app" content="app-id=376183339,app-argument=http://www.ted.com/talks/eli_beer_the_fastest_ambulance_a_motorcycle.html" />
22
+ <meta name="robots" content="index, follow" />
23
+ <title>Eli Beer: The fastest ambulance? A motorcycle | Video on TED.com</title>
24
+ <link rel="stylesheet" type="text/css" media="screen" href="//assets.tedcdn.com/css/global.css?de8e579a-prod" />
25
+ <link rel="stylesheet" type="text/css" media="screen" href="//assets.tedcdn.com/css/interior.css?6d5c43aa-prod" />
26
+ <link rel="stylesheet" type="text/css" media="screen" href="//assets.tedcdn.com/css/jquery/jquery-ui-custom.css?ae4a8c29-prod" />
27
+ <link rel="stylesheet" type="text/css" media="screen" href="//assets.tedcdn.com/css/view-template.css?158862c7-prod" />
28
+ <link rel="stylesheet" type="text/css" media="screen" href="//assets.tedcdn.com/css/talks.css?6adaabeb-prod" />
29
+ <meta property="og:title" content="Eli Beer: The fastest ambulance? A motorcycle | Video on TED.com" />
30
+ <meta property="og:description" content="As a young EMT on a Jerusalem ambulance, Eli Beer realized that, stuck in brutal urban traffic, they often arrived too late to help. So he organized a group of volunteer EMTs -- many on foot -- ready to drop everything and dash to save lives in their neighborhood. Today, United Hatzlah uses a smartphone app and a fleet of “ambucycles” to help nearby patients until an ambulance arrives. With an average response time of 3 minutes, last year, they treated 207,000 people in Israel. And the idea is going global." />
31
+ <meta property="og:image" content="http://images.ted.com/images/ted/aa8d0403aec3466d031e3e1c1605637d84d6a07d_389x292.jpg" />
32
+ <meta property="og:url" content="http://www.ted.com/talks/eli_beer_the_fastest_ambulance_a_motorcycle.html" />
33
+ <meta property="og:type" content="video.other" />
34
+ <meta property="video:tag" content="TED" />
35
+ <meta property="video:tag" content="Talks" />
36
+ <meta property="video:tag" content="health" />
37
+ <meta property="video:tag" content="health care" />
38
+ <meta property="video:tag" content="medicine" />
39
+ <meta property="video:tag" content="peace" />
40
+ <meta property="video:duration" content="644" />
41
+ <meta property="video:release_date" content="1375196581" />
42
+ <meta property="twitter:card" content="summary" />
43
+ <meta property="twitter:site" content="@tedtalks" />
44
+ <meta property="twitter:title" content="Eli Beer: The fastest ambulance? A motorcycle | Video on TED.com" />
45
+ <meta property="twitter:description" content="As a young EMT on a Jerusalem ambulance, Eli Beer realized that, stuck in brutal urban traffic, they often arrived too late to help. So he organized a group of volunteer EMTs -- many on foot -- ready to drop everything and dash to save lives in their neighborhood. Today, United Hatzlah uses a smartphone app and a fleet of “ambucycles” to help nearby patients until an ambulance arrives. With an average response time of 3 minutes, last year, they treated 207,000 people in Israel. And the idea is going global." />
46
+ <meta property="twitter:image:src" content="http://images.ted.com/images/ted/aa8d0403aec3466d031e3e1c1605637d84d6a07d_389x292.jpg" />
47
+ <meta property="twitter:app:name:iphone" content="TED Talks" />
48
+ <meta property="twitter:app:id:iphone" content="376183339" />
49
+ <meta property="twitter:app:url:iphone" content="http://www.ted.com/talks/eli_beer_the_fastest_ambulance_a_motorcycle.html" />
50
+ <meta property="twitter:app:name:ipad" content="TED Talks" />
51
+ <meta property="twitter:app:id:ipad" content="376183339" />
52
+ <meta property="twitter:app:url:ipad" content="http://www.ted.com/talks/eli_beer_the_fastest_ambulance_a_motorcycle.html" />
53
+ <meta property="fb:app_id" content="201021956610141" />
54
+
55
+ <!--[if lt IE 7]>
56
+ <link rel="stylesheet" type="text/css" media="screen" href="//assets.tedcdn.com/css/ie.css?9a486566-prod" />
57
+ <![endif]-->
58
+
59
+ <script type="text/javascript">
60
+
61
+ ted = window.ted = window.ted || {};
62
+ ted.baseUrl = (window.location.protocol === "https:" ? "" : "//assets.tedcdn.com");
63
+ ted.loggedIn = false;
64
+
65
+ </script>
66
+ <script type="text/javascript">//<![CDATA[
67
+ var djConfig = {
68
+ isDebug: false,
69
+ baseRelativePath: '/js/dojo/'
70
+ };
71
+ //]]></script>
72
+ <script type="text/javascript" src="//assets.tedcdn.com/js/core.min.js?c0cec9b7-prod"></script>
73
+ <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
74
+ <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
75
+ <script type="text/javascript" src="//assets.tedcdn.com/js/library.min.js?f3c8bd1a-prod"></script>
76
+ <script type="text/javascript" src="//assets.tedcdn.com/js/talks.min.js?ec9b872d-prod"></script>
77
+ <link rel="image_src" href="http://images.ted.com/images/ted/aa8d0403aec3466d031e3e1c1605637d84d6a07d_389x292.jpg" /><link rel="alternate" type="application/json+oembed" href="http://www.ted.com/talks/oembed.json?url=http://www.ted.com/talks/eli_beer_the_fastest_ambulance_a_motorcycle.html" title="oEmbed Profile" />
78
+ <link rel="alternate" type="application/xml+oembed" href="http://www.ted.com/talks/oembed.xml?url=http://www.ted.com/talks/eli_beer_the_fastest_ambulance_a_motorcycle.html" title="oEmbed Profile" />
79
+
80
+ <link rel="canonical" href="http://www.ted.com/talks/eli_beer_the_fastest_ambulance_a_motorcycle.html" />
81
+ <link rel="alternate" href="http://feeds.feedburner.com/tedtalks_video" type="application/rss+xml" title="TEDTalks (Video)" /><script type="text/javascript">//<![CDATA[
82
+
83
+ var _gaq = _gaq || [];
84
+ var pluginUrl =
85
+ '//www.google-analytics.com/plugins/ga/inpage_linkid.js';
86
+ _gaq.push(['_require', 'inpage_linkid', pluginUrl]);
87
+ _gaq.push(['_setAccount', 'UA-170299-1']);
88
+ _gaq.push(['_setDomainName', '.ted.com']);
89
+
90
+
91
+ _gaq.push(['_trackPageview']);
92
+
93
+ chain.wait(function () {
94
+ _gaq.push(['_setCustomVar', 2, 'views_per_session', viewCounter.getViews(), 2]);
95
+ });
96
+ //]]></script>
97
+ </head>
98
+ <body id="pagetype" class="signed-out">
99
+
100
+ <div id="fb-root"></div>
101
+ <script>
102
+ window.fbAsyncInit = function() {
103
+ FB.init({
104
+ appId : '201021956610141',
105
+ channelUrl : '//www.ted.com/channel.html',
106
+ status : true,
107
+ cookie : true,
108
+ xfbml : true
109
+ });
110
+ };
111
+
112
+ // Load FB's JS SDK
113
+ (function(d, debug){
114
+ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
115
+ if (d.getElementById(id)) {return;}
116
+ js = d.createElement('script'); js.id = id; js.async = true;
117
+ js.src = "//connect.facebook.net/en_US/all" + (debug ? "/debug" : "") + ".js";
118
+ ref.parentNode.insertBefore(js, ref);
119
+ }(document, /*debug*/ false));
120
+ </script>
121
+
122
+ <div id="epidermis">
123
+ <div id="container">
124
+
125
+ <div id="header" role="banner">
126
+ <div id="auth_nav" class="message_layer clearfix">
127
+ <div class="notices clearfix">
128
+ <ul class="account">
129
+ <li><a target="_self" id="sign-in-top" href="https://auth.ted.com/session/new">Sign In</a></li>
130
+ <li class="last"><a target="_self" id="register-top" href="https://auth.ted.com/users/new?referer=http://www.ted.com/profiles/edit">Register</a></li> </ul>
131
+ <script>
132
+ chain.wait(function () {
133
+ jQuery('#sign-in-top').GA_trackEvent(
134
+ 'click', 'session', 'sign-in', 'top_nav'
135
+ );
136
+ jQuery('#register-top').GA_trackEvent(
137
+ 'click', 'session', 'register', 'top_nav'
138
+ );
139
+ });
140
+ </script>
141
+
142
+ </div>
143
+ </div>
144
+ <div class="nav clearfix">
145
+ <a id="logo" href="/"><img src="http://assets.tedcdn.com/images/ted_logo.gif" alt="Ted Logo" height="53" width="280" /></a> <div class="main-nav" role="navigation">
146
+ <ul>
147
+ <li><a class="selected" href="/talks">Talks</a></li>
148
+ <li><a href="/registration">TED Conferences</a></li>
149
+ <li><a href="/conversations">TED Conversations</a></li>
150
+ <li><a href="/pages/about">About TED</a></li>
151
+
152
+ <li><a href="/speakers">Speakers</a></li>
153
+ <li><a href="/tedx">TEDx Events</a></li>
154
+ <li><a href="/profiles">TED Community</a></li>
155
+ <li><a href="http://blog.ted.com/">TED Blog</a></li>
156
+
157
+ <li><a href="/playlists">Playlists <img class="new" alt="(New feature)" src="http://assets.tedcdn.com/images/new.gif"/></a></li>
158
+ <li><a href="/prize">TED Prize</a></li>
159
+ <li>
160
+ <a href="http://ed.ted.com/" target="_blank">TED-Ed
161
+ <img class="ext" alt="(Opens in new window)" src="http://assets.tedcdn.com/images/icon_external_link_sm.gif" />
162
+ </a>
163
+ </li>
164
+ <li><a href="/initiatives">TED Initiatives</a></li>
165
+
166
+ <li><a href="/OpenTranslationProject">Translations</a></li>
167
+ <li><a href="/fellows">TED Fellows</a></li>
168
+ </ul>
169
+ </div> <div id="search">
170
+ <form action="/search" method="get" role="search">
171
+ <input type="hidden" name="cat" value="ss_all" />
172
+ <input class="text translate" type="text translate" data-default-value="Search" value="" name="q" />
173
+ <input class="button" type="submit" value="submit" />
174
+ </form>
175
+ </div>
176
+ </div>
177
+ </div>
178
+
179
+ <div class="" role="main">
180
+
181
+ <script type="text/javascript">//<![CDATA[
182
+ // This is a wrapper method which the player/DFP calls so that we can trigger an event.
183
+ // triggers sponsor_popover or sponsor_ad_error
184
+ function onPageAd(data) {
185
+ $(document).trigger(data.event, data.data)
186
+ }
187
+ $(document).bind('sponsor_popover', function(event, payload) {
188
+ $('#adSpace').sponsor_popover({payload: payload});
189
+ });
190
+ // this happens because the trafficked ad is not json. Assume it's HTML and deliver it on-page.
191
+ $(document).bind('sponsor_ad_error', function(event, payload) {
192
+ $('#adSpace').html(payload.response);
193
+ });
194
+ //]]></script>
195
+
196
+
197
+ <div id="body" class="viewTemplate viewTalks">
198
+ <div class="subscribe-banner" id="subscribe-banner">
199
+ <div class="subscribe-banner__intro">New <strong>TED Talks</strong> are released every weekday. Be the first to know!</div>
200
+
201
+ <form action="/newsletter/signup" class="subscribe-banner__form" method="post" novalidate>
202
+ <input type="email" name="newsletterSignup[email_address]" value="" class="subscribe-banner__input" data-default-value="Enter your email for TED updates" id="newsletterSignup_email_address" /><ul class="checkbox_list"><li><input name="newsletterSignup[subscription_list][]" type="checkbox" value="daily" id="newsletterSignup_subscription_list_daily" checked="checked" />&nbsp;<label for="newsletterSignup_subscription_list_daily">Daily</label></li>
203
+ <li><input name="newsletterSignup[subscription_list][]" type="checkbox" value="weekly" id="newsletterSignup_subscription_list_weekly" />&nbsp;<label for="newsletterSignup_subscription_list_weekly">Weekly</label></li></ul>
204
+ <input type="image" class="subscribe hover" value="Subscribe" src="http://assets.tedcdn.com/images/blank.gif">
205
+ </form>
206
+
207
+ <div class="subscribe-banner__message subscribe-banner__message--suggest">
208
+ Did you mean <span class="subscribe-banner__message--suggest__email"></span>?
209
+ </div>
210
+
211
+ <div class="subscribe-banner__message subscribe-banner__message--error">
212
+ Please check your email address and try again.
213
+ </div>
214
+
215
+ <div class="subscribe-banner__message subscribe-banner__message--list_error">
216
+ Please select either daily, weekly, or both and try again.
217
+ </div>
218
+
219
+ <div class="subscribe-banner__message subscribe-banner__message--success">
220
+ Thank you for signing up for <strong>TED Talks</strong>
221
+ updates! Please check your inbox for more details.
222
+ </div>
223
+
224
+ <div class="subscribe-banner__links">
225
+ <a class="subscribe subscribe-banner__link" href="http://www.ted.com/pages/198" target="_blank" id="takeover_rss">
226
+ <img alt="RSS feeds" src="http://assets.tedcdn.com/images/reboot/icon-rss.png">
227
+ </a>
228
+ <a class="subscribe subscribe-banner__link" href="http://twitter.com/tedtalks" target="_blank" id="takeover_twitter">
229
+ <img alt="Twitter" src="http://assets.tedcdn.com/images/reboot/icon-twitter.png">
230
+ </a>
231
+ <a class="subscribe subscribe-banner__link" href="http://www.facebook.com/TED" target="_blank" id="takeover_facebook">
232
+ <img alt="Facebook" src="http://assets.tedcdn.com/images/reboot/icon-facebook.png">
233
+ </a>
234
+ <span class="subscribe-banner__link">Follow TED</span>
235
+ </div>
236
+
237
+ <a class="subscribe-banner__dismiss" id="takeove_dismiss" href="#">Dismiss this message</a>
238
+ </div>
239
+
240
+
241
+ <script type="text/javascript">
242
+ $('#takeover_rss').GA_trackEvent('click', 'subscribe', 'rss', 'talks_takeover');
243
+ $('#takeover_twitter').GA_trackEvent('click', 'subscribe', 'twitter', 'talks_takeover');
244
+ $('#takeover_facebook').GA_trackEvent('click', 'subscribe', 'facebook', 'talks_takeover');
245
+ $('#takeover_dismiss').GA_trackEvent('click', 'takeover', 'dismiss', 'email_sub_campaign');
246
+ </script>
247
+
248
+ <h2 class="crumbs"><a class="grey" href="/talks">Talks</a> | <span id="talklabel" class="partnerTalk useColor">TED Partner Series</span>
249
+ </h2>
250
+ <h1 lang="en">
251
+ <span id="altHeadline" class="notranslate">Eli Beer: The fastest ambulance? A motorcycle</span>
252
+ </h1>
253
+
254
+ <div class="talk-meta"><span><strong>Filmed</strong> Apr 2013 &bull; <strong>Posted</strong> Jul 2013</span> &bull; <span class="event-name">TEDMED 2013</span></div>
255
+
256
+ <img src="http://images.ted.com/images/ted/aa8d0403aec3466d031e3e1c1605637d84d6a07d_389x292.jpg" alt="TEDMED 2013" width="389" height="292" style="left:-389px;opacity:0;position:absolute;top:-292px;">
257
+
258
+ <div id="maincontent" class="clearfix">
259
+ <div class="leftColumn">
260
+
261
+
262
+ <div id="videoHolder" class="screenSizeStandardToggle">
263
+ <div id="videoPlayer">
264
+ <noscript id="noScriptRegion">
265
+ <div id="unableToPlayReasons">
266
+ <p>
267
+ <strong>It appears that we are unable to play this video in your browser
268
+ for one of the following reasons:</strong>
269
+ <ul>
270
+ <li>you have JavaScript disabled</li>
271
+ <li>your device does not support HTML5 video</li>
272
+ <li>
273
+ you have an old version of the Adobe Flash Player.
274
+ <a id="flash-player-download" href="http://get.adobe.com/flashplayer/">Download the latest Flash player</a>
275
+ to view this video.
276
+ </li>
277
+ </ul>
278
+ </p><br />
279
+ <p>
280
+ If you are on a mobile device, you may be able to directly
281
+ <a id="no-flash-video-download" href="http://download.ted.com/talks/EliBeer_2013P.mp4?apikey=TEDDOWNLOAD">download the video</a> to play.
282
+ </p>
283
+ </div>
284
+ </noscript>
285
+ </div>
286
+ </div>
287
+
288
+ <script type="text/javascript">var talkDetails = {"id":1799,"isMobile":false,"isAutoplay":true,"isViewthrough":false,"newPreroll":null,"currentLanguageCode":"en","currentLanguageName":"English","nativeLanguageCode":"en","absoluteUrl":"http:\/\/www.ted.com\/talks\/eli_beer_the_fastest_ambulance_a_motorcycle.html","posterUrl":"http:\/\/images.ted.com\/images\/ted\/aa8d0403aec3466d031e3e1c1605637d84d6a07d_800x600.jpg","htmlStreams":[{"id":"standard","file":"http:\/\/download.ted.com\/talks\/EliBeer_2013P.mp4?apikey=TEDHTML5"},{"id":"high","file":"http:\/\/download.ted.com\/talks\/EliBeer_2013P-480p.mp4?apikey=TEDHTML5"}],"analyticsCategory":"videoplayer","playerVersion":"20130724_debug","flashVars":{"playerZone":"%7B%22adSite%22%3A%22tconf.ted%22%2C%22adZone%22%3A%22talk%22%2C%22adSize%22%3A%228x8%22%2C%22adPartner%22%3A%22%22%2C%22ignoreCompanionAd%22%3Afalse%2C%22openLinksInNewWindow%22%3Afalse%2C%22analyticsCategory%22%3A%22videoplayer%22%2C%22metricsApiKey%22%3A%22talk_page%22%2C%22metricsServiceName%22%3A%22playlist%22%7D","serviceHost":"http:\/\/www.ted.com","language":"%7B%22LanguageCode%22%3A%22en%22%2C%22OldLanguageCode%22%3A%22eng%22%2C%22Name%22%3A%22English%22%2C%22Description%22%3Anull%2C%22CommunityUrl%22%3Anull%2C%22TranslationCount%22%3A2189%2C%22DotsubOnly%22%3Afalse%2C%22CreatedAt%22%3A%222009-05-12+22%3A17%3A26%22%2C%22UpdatedAt%22%3A%222013-08-02+05%3A00%3A10%22%2C%22IsRtl%22%3Afalse%2C%22Iso6391%22%3A%22en%22%2C%22Iso6393%22%3A%22eng%22%2C%22HostnamePrefix%22%3Anull%2C%22AppleLocale%22%3Anull%7D","screenSizes":"%5B%7B%22width%22%3A560%2C%22height%22%3A315%2C%22analyticsLabel%22%3A%22small%22%2C%22cssClass%22%3A%22screenSizeStandardToggle%22%7D%2C%7B%22width%22%3Anull%2C%22height%22%3Anull%2C%22analyticsLabel%22%3A%22full%22%2C%22cssClass%22%3A%22screenSizeFullToggle%22%7D%5D","playlist":"%7B%22id%22%3A0%2C%22talks%22%3A%5B%7B%22talkId%22%3A1799%2C%22thumbnails%22%3A%5B%7B%22size%22%3A%2274x56%22%2C%22url%22%3A%22http%3A%5C%2F%5C%2Fimages.ted.com%5C%2Fimages%5C%2Fted%5C%2Faa8d0403aec3466d031e3e1c1605637d84d6a07d_74x56.jpg%22%7D%2C%7B%22size%22%3A%22113x85%22%2C%22url%22%3A%22http%3A%5C%2F%5C%2Fimages.ted.com%5C%2Fimages%5C%2Fted%5C%2Faa8d0403aec3466d031e3e1c1605637d84d6a07d_113x85.jpg%22%7D%5D%2C%22title%22%3A%22Eli+Beer%3A+The+fastest+ambulance%3F+A+motorcycle%22%2C%22nativeLanguage%22%3A%22en%22%2C%22isSubtitleRequired%22%3Afalse%2C%22adURL%22%3A%22http%3A%5C%2F%5C%2Fad.doubleclick.net%5C%2Fpfadx%5C%2Ftconf.ted%5C%2Ftalk%3Bsz%3D8x8%3Btalk%3Deli_beer_the_fastest_ambulance_a_motorcycle%3Byear%3D2013%3Btag%3Dhealth%2Chealth%2Bcare%2Cmedicine%2Cpeace%3Bevent%3DTEDMED%2B2013%3Bdcmt%3Dtext%5C%2Fxml%22%2C%22duration%22%3A644%2C%22introDuration%22%3A11.82%2C%22adDuration%22%3A%223.33%22%2C%22streamer%22%3A%22rtmp%3A%5C%2F%5C%2Ftedfs.fplive.net%5C%2Fted%22%2C%22resource%22%3A%5B%7B%22bitrate%22%3A1500%2C%22file%22%3A%22mp4%3Atalk%5C%2Fstream%5C%2F2013P%5C%2FBlank%5C%2FEliBeer_2013P-1500k.mp4%22%2C%22name%22%3A%221500k%22%2C%22width%22%3A1280%2C%22height%22%3A720%7D%2C%7B%22bitrate%22%3A950%2C%22file%22%3A%22mp4%3Atalk%5C%2Fstream%5C%2F2013P%5C%2FBlank%5C%2FEliBeer_2013P-950k.mp4%22%2C%22name%22%3A%22950k%22%2C%22width%22%3A854%2C%22height%22%3A480%7D%2C%7B%22bitrate%22%3A600%2C%22file%22%3A%22mp4%3Atalk%5C%2Fstream%5C%2F2013P%5C%2FBlank%5C%2FEliBeer_2013P-600k.mp4%22%2C%22name%22%3A%22600k%22%2C%22width%22%3A640%2C%22height%22%3A360%7D%2C%7B%22bitrate%22%3A450%2C%22file%22%3A%22mp4%3Atalk%5C%2Fstream%5C%2F2013P%5C%2FBlank%5C%2FEliBeer_2013P-450k.mp4%22%2C%22name%22%3A%22450k%22%2C%22width%22%3A512%2C%22height%22%3A288%7D%2C%7B%22bitrate%22%3A320%2C%22file%22%3A%22mp4%3Atalk%5C%2Fstream%5C%2F2013P%5C%2FBlank%5C%2FEliBeer_2013P-320k.mp4%22%2C%22name%22%3A%22320k%22%2C%22width%22%3A512%2C%22height%22%3A288%7D%2C%7B%22bitrate%22%3A180%2C%22file%22%3A%22mp4%3Atalk%5C%2Fstream%5C%2F2013P%5C%2FBlank%5C%2FEliBeer_2013P-180k.mp4%22%2C%22name%22%3A%22180k%22%2C%22width%22%3A512%2C%22height%22%3A288%7D%2C%7B%22bitrate%22%3A64%2C%22file%22%3A%22mp4%3Atalk%5C%2Fstream%5C%2F2013P%5C%2FBlank%5C%2FEliBeer_2013P-64k.mp4%22%2C%22name%22%3A%2264k%22%2C%22width%22%3A398%2C%22height%22%3A224%7D%5D%7D%5D%7D"},"duration":644,"mediaSlug":"EliBeer_2013P","mediaPad":11.82}</script>
289
+
290
+
291
+
292
+ <div class="talk-wrapper">
293
+ <div class="talk-tools clearfix">
294
+ <ul>
295
+ <li><a class="talk-tool-btn embed" href="" id="embed_button"><span class="talk-tool-icon"></span><span>Embed</span></a></li>
296
+ <li><a class="talk-tool-btn download" href="" id="downloadTalk"><span class="talk-tool-icon"></span><span>Download</span></a></li>
297
+ <li> <a id="toggle_favorite_button" class="talk-tool-btn favorite" title="Favorite" ><span class="talk-tool-icon"></span><span id="favoriteWord">Favorite</span><span id="favoritedWord">Favorited</span></a>
298
+ <script type="text/javascript">
299
+ jQuery(document).ready(function() {
300
+ jQuery('#toggle_favorite_button').favorite_button({
301
+ favorited: false,
302
+ post_data: {
303
+ id:1799,
304
+ type:'talks'
305
+ }
306
+ });
307
+ });
308
+ </script>
309
+ </li>
310
+ <li><a class="talk-tool-btn rate" href="" id="ratings_button"><span class="talk-tool-icon"></span><span>Rate</span></a></li>
311
+ </ul>
312
+ <select name="languageCode" id="languageCode"><option value="">Show transcript</option>
313
+ <option value="en">English</option>
314
+ </select> </div>
315
+ </div>
316
+
317
+ <div id="transcript" style="display:none" data-languagecode="en" class="notranslate">
318
+ <p class="transcript-instruction">
319
+ </p>
320
+ </div>
321
+ <div id="panel-transcript" style="display: none;">
322
+ <div id="panel-transcript-inset">
323
+ <div class="transcript-info">
324
+ <p id="transcriptAttribution" style="display:none">
325
+ <span id="transcriptAttributionText"></span>
326
+ <a id="transcriptTranslator" href=""></a> &nbsp;&bull;&nbsp;
327
+ Reviewed by <a id="transcriptReviewer" href=""></a>
328
+ </p>
329
+ <p>Click on any phrase to play the video at that point.</p>
330
+ <a id="transcript-close" class="transcript-close" href="">Close</a>
331
+ </div>
332
+ <div class="transcript-container">
333
+ <img id="loadingTranscriptAnim" src="http://assets.tedcdn.com/images/ajax-loader.gif" alt="Loading..." />
334
+ <div id="transcriptText">
335
+ <div class="notranslate">
336
+ <p>
337
+ </p><p> <a href="#396" class="transcriptLink" rel="nofollow">This is an ambucycle.</a>
338
+ <a href="#3373" class="transcriptLink" rel="nofollow">This is the fastest way to reach any medical emergency.</a>
339
+ <a href="#8412" class="transcriptLink" rel="nofollow">It has everything an ambulance has except for a bed.</a>
340
+ <a href="#12914" class="transcriptLink" rel="nofollow">You see the defibrillator. You see the equipment.</a>
341
+ </p><p> <a href="#16670" class="transcriptLink" rel="nofollow">We all saw the tragedy that happened in Boston.</a>
342
+ <a href="#19836" class="transcriptLink" rel="nofollow">When I was looking at these pictures,</a>
343
+ <a href="#21916" class="transcriptLink" rel="nofollow">it brought me back many years to my past</a>
344
+ <a href="#24906" class="transcriptLink" rel="nofollow">when I was a child.</a>
345
+ <a href="#26476" class="transcriptLink" rel="nofollow">I grew up in a small neighborhood in Jerusalem.</a>
346
+ <a href="#29554" class="transcriptLink" rel="nofollow">When I was six years old, I was walking back from school</a>
347
+ <a href="#33645" class="transcriptLink" rel="nofollow">on a Friday afternoon with my older brother.</a>
348
+ <a href="#37380" class="transcriptLink" rel="nofollow">We were passing by a bus stop.</a>
349
+ <a href="#39632" class="transcriptLink" rel="nofollow">We saw a bus blow up in front of our eyes.</a>
350
+ <a href="#43675" class="transcriptLink" rel="nofollow">The bus was on fire, and many people were hurt and killed.</a>
351
+ <a href="#48720" class="transcriptLink" rel="nofollow">I remembered an old man</a>
352
+ <a href="#50652" class="transcriptLink" rel="nofollow">yelling to us and crying to help us get him up.</a>
353
+ <a href="#54120" class="transcriptLink" rel="nofollow">He just needed someone helping him.</a>
354
+ <a href="#56583" class="transcriptLink" rel="nofollow">We were so scared and we just ran away.</a>
355
+ </p><p> <a href="#60117" class="transcriptLink" rel="nofollow">Growing up, I decided I wanted to become a doctor and save lives.</a>
356
+ <a href="#63907" class="transcriptLink" rel="nofollow">Maybe that was because of what I saw when I was a child.</a>
357
+ <a href="#66908" class="transcriptLink" rel="nofollow">When I was 15, I took an EMT course,</a>
358
+ <a href="#70200" class="transcriptLink" rel="nofollow">and I went to volunteer on an ambulance.</a>
359
+ <a href="#73260" class="transcriptLink" rel="nofollow">For two years, I volunteered on an ambulance in Jerusalem.</a>
360
+ <a href="#76677" class="transcriptLink" rel="nofollow">I helped many people,</a>
361
+ <a href="#78529" class="transcriptLink" rel="nofollow">but whenever someone really needed help,</a>
362
+ <a href="#81444" class="transcriptLink" rel="nofollow">I never got there in time. We never got there.</a>
363
+ <a href="#83786" class="transcriptLink" rel="nofollow">The traffic is so bad. The distance, and everything.</a>
364
+ <a href="#86295" class="transcriptLink" rel="nofollow">We never got there when somebody really needed us.</a>
365
+ </p><p> <a href="#89120" class="transcriptLink" rel="nofollow">One day, we received a call about a seven-year-old child</a>
366
+ <a href="#91676" class="transcriptLink" rel="nofollow">choking from a hot dog.</a>
367
+ <a href="#93394" class="transcriptLink" rel="nofollow">Traffic was horrific, and we were coming from</a>
368
+ <a href="#95471" class="transcriptLink" rel="nofollow">the other side of town in the north part of Jerusalem.</a>
369
+ <a href="#99172" class="transcriptLink" rel="nofollow">When we got there, 20 minutes later,</a>
370
+ <a href="#101458" class="transcriptLink" rel="nofollow">we started CPR on the kid.</a>
371
+ <a href="#103976" class="transcriptLink" rel="nofollow">A doctor comes in from a block away,</a>
372
+ <a href="#107460" class="transcriptLink" rel="nofollow">stop us, checks the kid, and tells us to stop CPR.</a>
373
+ <a href="#112656" class="transcriptLink" rel="nofollow">That second he declared this child dead.</a>
374
+ </p><p> <a href="#116413" class="transcriptLink" rel="nofollow">At that moment, I understood</a>
375
+ <a href="#119410" class="transcriptLink" rel="nofollow">that this child died for nothing.</a>
376
+ <a href="#122281" class="transcriptLink" rel="nofollow">If this doctor, who lived one block away from there,</a>
377
+ <a href="#125836" class="transcriptLink" rel="nofollow">would have come 20 minutes earlier,</a>
378
+ <a href="#127524" class="transcriptLink" rel="nofollow">not have to wait until that siren he heard before</a>
379
+ <a href="#130553" class="transcriptLink" rel="nofollow">coming from the ambulance,</a>
380
+ <a href="#131839" class="transcriptLink" rel="nofollow">if he would have heard about it way before,</a>
381
+ <a href="#134773" class="transcriptLink" rel="nofollow">he would have saved this child.</a>
382
+ <a href="#136506" class="transcriptLink" rel="nofollow">He could have run from a block away.</a>
383
+ <a href="#138637" class="transcriptLink" rel="nofollow">He could have saved this child.</a>
384
+ </p><p> <a href="#140324" class="transcriptLink" rel="nofollow">I said to myself, there must be a better way.</a>
385
+ <a href="#143009" class="transcriptLink" rel="nofollow">Together with 15 of my friends --</a>
386
+ <a href="#144958" class="transcriptLink" rel="nofollow">we were all EMTs —</a>
387
+ <a href="#146729" class="transcriptLink" rel="nofollow">we decided, let's protect our neighborhood,</a>
388
+ <a href="#148623" class="transcriptLink" rel="nofollow">so when something like that happens again,</a>
389
+ <a href="#150401" class="transcriptLink" rel="nofollow">we will be there running to the scene a lot before the ambulance.</a>
390
+ <a href="#154239" class="transcriptLink" rel="nofollow">So I went over to the manager of the ambulance company</a>
391
+ <a href="#157212" class="transcriptLink" rel="nofollow">and I told him, "Please, whenever you have a call</a>
392
+ <a href="#159396" class="transcriptLink" rel="nofollow">coming into our neighborhood,</a>
393
+ <a href="#161231" class="transcriptLink" rel="nofollow">we have 15 great guys who are willing</a>
394
+ <a href="#163136" class="transcriptLink" rel="nofollow">to stop everything they're doing and run and save lives.</a>
395
+ <a href="#165274" class="transcriptLink" rel="nofollow">Just alert us by beeper.</a>
396
+ <a href="#167255" class="transcriptLink" rel="nofollow">We'll buy these beepers, just tell your dispatch</a>
397
+ <a href="#169596" class="transcriptLink" rel="nofollow">to send us the beeper, and we will run and save lives."</a>
398
+ </p><p> <a href="#173507" class="transcriptLink" rel="nofollow">Well, he was laughing. I was 17 years old. I was a kid.</a>
399
+ <a href="#180484" class="transcriptLink" rel="nofollow">And he said to me — I remember this like yesterday —</a>
400
+ <a href="#183870" class="transcriptLink" rel="nofollow">he was a great guy, but he said to me,</a>
401
+ <a href="#186227" class="transcriptLink" rel="nofollow">"Kid, go to school, or go open a falafel stand.</a>
402
+ <a href="#190663" class="transcriptLink" rel="nofollow">We're not really interested in these kinds of new adventures.</a>
403
+ <a href="#194664" class="transcriptLink" rel="nofollow">We're not interested in your help." And he threw me out of the room.</a>
404
+ <a href="#198279" class="transcriptLink" rel="nofollow">"I don't need your help," he said.</a>
405
+ </p><p> <a href="#200938" class="transcriptLink" rel="nofollow">I was a very stubborn kid.</a>
406
+ <a href="#204517" class="transcriptLink" rel="nofollow">As you see now, I'm walking around like crazy, meshugenah.</a>
407
+ </p><p> <a href="#207935" class="transcriptLink" rel="nofollow">(Laughter) (Applause)</a>
408
+ </p><p> <a href="#212907" class="transcriptLink" rel="nofollow">So I decided to use the Israeli very famous technique</a>
409
+ <a href="#216960" class="transcriptLink" rel="nofollow">you've probably all heard of, chutzpah. (Laughter)</a>
410
+ <a href="#220615" class="transcriptLink" rel="nofollow">And the next day, I went and I bought two police scanners,</a>
411
+ <a href="#225299" class="transcriptLink" rel="nofollow">and I said, "The hell with you, if you don't want</a>
412
+ <a href="#226913" class="transcriptLink" rel="nofollow">to give me information, I'll get the information myself."</a>
413
+ <a href="#229864" class="transcriptLink" rel="nofollow">And we did turns, who's going to listen to the radio scanners.</a>
414
+ </p><p> <a href="#233129" class="transcriptLink" rel="nofollow">The next day, while I was listening to the scanners,</a>
415
+ <a href="#235898" class="transcriptLink" rel="nofollow">I heard about a call coming in of a 70-year-old man</a>
416
+ <a href="#239214" class="transcriptLink" rel="nofollow">hurt by a car only one block away from me</a>
417
+ <a href="#242824" class="transcriptLink" rel="nofollow">on the main street of my neighborhood.</a>
418
+ <a href="#245515" class="transcriptLink" rel="nofollow">I ran there by foot. I had no medical equipment.</a>
419
+ <a href="#248218" class="transcriptLink" rel="nofollow">When I got there, the 70-year-old man</a>
420
+ <a href="#251168" class="transcriptLink" rel="nofollow">was lying on the floor, blood was gushing out of his neck.</a>
421
+ <a href="#254082" class="transcriptLink" rel="nofollow">He was on Coumadin.</a>
422
+ <a href="#255295" class="transcriptLink" rel="nofollow">I knew I had to stop his bleeding or else he would die.</a>
423
+ <a href="#260289" class="transcriptLink" rel="nofollow">I took off my yarmulke, because I had no medical equipment,</a>
424
+ <a href="#263232" class="transcriptLink" rel="nofollow">and with a lot of pressure, I stopped his bleeding.</a>
425
+ <a href="#265626" class="transcriptLink" rel="nofollow">He was bleeding from his neck.</a>
426
+ <a href="#267200" class="transcriptLink" rel="nofollow">When the ambulance arrived 15 minutes later,</a>
427
+ <a href="#270657" class="transcriptLink" rel="nofollow">I gave them over a patient who was alive.</a>
428
+ </p><p> <a href="#273244" class="transcriptLink" rel="nofollow">(Applause)</a>
429
+ </p><p> <a href="#281224" class="transcriptLink" rel="nofollow">When I went to visit him two days later,</a>
430
+ <a href="#283386" class="transcriptLink" rel="nofollow">he gave me a hug and was crying</a>
431
+ <a href="#285721" class="transcriptLink" rel="nofollow">and thanking me for saving his life.</a>
432
+ <a href="#288743" class="transcriptLink" rel="nofollow">At that moment, when I realized this is the first person</a>
433
+ <a href="#291764" class="transcriptLink" rel="nofollow">I ever saved in my life after two years volunteering in an ambulance,</a>
434
+ <a href="#294952" class="transcriptLink" rel="nofollow">I knew this is my life's mission.</a>
435
+ </p><p> <a href="#297766" class="transcriptLink" rel="nofollow">So today, 22 years later, we have United Hatzalah.</a>
436
+ </p><p> <a href="#301931" class="transcriptLink" rel="nofollow">(Applause)</a>
437
+ </p><p> <a href="#308321" class="transcriptLink" rel="nofollow">"Hatzalah" means "rescue," for all of you who don't know Hebrew.</a>
438
+ <a href="#311234" class="transcriptLink" rel="nofollow">I forgot I'm not in Israel.</a>
439
+ <a href="#313345" class="transcriptLink" rel="nofollow">So we have thousands of volunteers</a>
440
+ <a href="#316280" class="transcriptLink" rel="nofollow">who are passionate about saving lives,</a>
441
+ <a href="#319199" class="transcriptLink" rel="nofollow">and they're spread all around, so whenever a call comes in,</a>
442
+ <a href="#321407" class="transcriptLink" rel="nofollow">they just stop everything and go and run and save a life.</a>
443
+ <a href="#326429" class="transcriptLink" rel="nofollow">Our average response time today</a>
444
+ <a href="#328986" class="transcriptLink" rel="nofollow">went down to less than three minutes in Israel.</a>
445
+ </p><p> <a href="#332700" class="transcriptLink" rel="nofollow">(Applause)</a>
446
+ </p><p> <a href="#336346" class="transcriptLink" rel="nofollow">I'm talking about heart attacks,</a>
447
+ <a href="#337832" class="transcriptLink" rel="nofollow">I'm talking about car accidents,</a>
448
+ <a href="#339526" class="transcriptLink" rel="nofollow">God forbid bomb attacks, shootings, whatever it is,</a>
449
+ <a href="#342400" class="transcriptLink" rel="nofollow">even a woman 3 o'clock in the morning</a>
450
+ <a href="#344339" class="transcriptLink" rel="nofollow">falling in her home and needs someone to help her.</a>
451
+ <a href="#346711" class="transcriptLink" rel="nofollow">Three minutes, we'll have a guy with his pajamas</a>
452
+ <a href="#349108" class="transcriptLink" rel="nofollow">running to her house and helping her get up.</a>
453
+ </p><p> <a href="#352757" class="transcriptLink" rel="nofollow">The reasons why we're so successful are because of three things.</a>
454
+ </p><p> <a href="#355673" class="transcriptLink" rel="nofollow">Thousands of passionate volunteers</a>
455
+ <a href="#357651" class="transcriptLink" rel="nofollow">who will leave everything they do</a>
456
+ <a href="#359371" class="transcriptLink" rel="nofollow">and run to help people they don't even know.</a>
457
+ <a href="#362282" class="transcriptLink" rel="nofollow">We're not there to replace ambulances.</a>
458
+ <a href="#364625" class="transcriptLink" rel="nofollow">We're just there</a>
459
+ <a href="#366229" class="transcriptLink" rel="nofollow">to get the gap between the ambulance call until they arrive.</a>
460
+ <a href="#372279" class="transcriptLink" rel="nofollow">And we save people that otherwise would not be saved.</a>
461
+ </p><p> <a href="#377166" class="transcriptLink" rel="nofollow">The second reason is because of our technology.</a>
462
+ <a href="#380525" class="transcriptLink" rel="nofollow">You know, Israelis are good in technology.</a>
463
+ <a href="#382485" class="transcriptLink" rel="nofollow">Every one of us has on his phone, no matter what kind of phone,</a>
464
+ <a href="#385782" class="transcriptLink" rel="nofollow">a GPS technology done by NowForce,</a>
465
+ <a href="#388858" class="transcriptLink" rel="nofollow">and whenever a call comes in,</a>
466
+ <a href="#390305" class="transcriptLink" rel="nofollow">the closest five volunteers get the call,</a>
467
+ <a href="#392480" class="transcriptLink" rel="nofollow">and they actually get there really quick,</a>
468
+ <a href="#395378" class="transcriptLink" rel="nofollow">and navigated by a traffic navigator to get there and not waste time.</a>
469
+ <a href="#399102" class="transcriptLink" rel="nofollow">And this is a great technology we use all over the country</a>
470
+ <a href="#401301" class="transcriptLink" rel="nofollow">and reduce the response time.</a>
471
+ </p><p> <a href="#402891" class="transcriptLink" rel="nofollow">And the third thing are these ambucycles.</a>
472
+ <a href="#405027" class="transcriptLink" rel="nofollow">These ambucycles are an ambulance on two wheels.</a>
473
+ <a href="#408336" class="transcriptLink" rel="nofollow">We don't transfer people, but we stabilize them,</a>
474
+ <a href="#410357" class="transcriptLink" rel="nofollow">and we save their lives.</a>
475
+ <a href="#411887" class="transcriptLink" rel="nofollow">They never get stuck in traffic. They could even go on a sidewalk.</a>
476
+ <a href="#414664" class="transcriptLink" rel="nofollow">They never, literally, get stuck in traffic.</a>
477
+ <a href="#417419" class="transcriptLink" rel="nofollow">That's why we get there so fast.</a>
478
+ </p><p> <a href="#419224" class="transcriptLink" rel="nofollow">A few years after I started this organization,</a>
479
+ <a href="#421706" class="transcriptLink" rel="nofollow">in a Jewish community,</a>
480
+ <a href="#423451" class="transcriptLink" rel="nofollow">two Muslims from east Jerusalem called me up.</a>
481
+ <a href="#426254" class="transcriptLink" rel="nofollow">They ask me to meet. They wanted to meet with me.</a>
482
+ <a href="#428952" class="transcriptLink" rel="nofollow">Muhammad Asli and Murad Alyan.</a>
483
+ <a href="#431443" class="transcriptLink" rel="nofollow">When Muhammad told me his personal story,</a>
484
+ <a href="#433025" class="transcriptLink" rel="nofollow">how his father, 55 years old, collapsed at home,</a>
485
+ <a href="#436275" class="transcriptLink" rel="nofollow">had a cardiac arrest,</a>
486
+ <a href="#437531" class="transcriptLink" rel="nofollow">and it took over an hour for an ambulance arrive,</a>
487
+ <a href="#439951" class="transcriptLink" rel="nofollow">and he saw his father die in front of his eyes,</a>
488
+ <a href="#441734" class="transcriptLink" rel="nofollow">he asked me, "Please start this in east Jerusalem."</a>
489
+ </p><p> <a href="#445009" class="transcriptLink" rel="nofollow">I said to myself, I saw so much tragedy, so much hate,</a>
490
+ <a href="#448834" class="transcriptLink" rel="nofollow">and it's not about saving Jews. It's not about saving Muslims.</a>
491
+ <a href="#452118" class="transcriptLink" rel="nofollow">It's not about saving Christians. It's about saving people.</a>
492
+ <a href="#455690" class="transcriptLink" rel="nofollow">So I went ahead, full force --</a>
493
+ <a href="#458103" class="transcriptLink" rel="nofollow">(Applause) —</a>
494
+ <a href="#462694" class="transcriptLink" rel="nofollow">and I started United Hatzalah in east Jerusalem,</a>
495
+ <a href="#466361" class="transcriptLink" rel="nofollow">and that's why the names United</a>
496
+ <a href="#468180" class="transcriptLink" rel="nofollow">and Hatzalah match so well.</a>
497
+ <a href="#470260" class="transcriptLink" rel="nofollow">We started hand in hand saving Jews and Arabs.</a>
498
+ <a href="#474112" class="transcriptLink" rel="nofollow">Arabs were saving Jews. Jews were saving Arabs.</a>
499
+ <a href="#476229" class="transcriptLink" rel="nofollow">Something special happened.</a>
500
+ <a href="#478376" class="transcriptLink" rel="nofollow">Arabs and Jews, they don't always get along together,</a>
501
+ <a href="#481041" class="transcriptLink" rel="nofollow">but here in this situation,</a>
502
+ <a href="#482252" class="transcriptLink" rel="nofollow">the communities, literally,</a>
503
+ <a href="#484144" class="transcriptLink" rel="nofollow">it's an unbelievable situation that happened,</a>
504
+ <a href="#486225" class="transcriptLink" rel="nofollow">the diversities, all of a sudden they had a common interest:</a>
505
+ <a href="#488819" class="transcriptLink" rel="nofollow">Let's save lives together.</a>
506
+ <a href="#490347" class="transcriptLink" rel="nofollow">Settlers were saving Arabs and Arabs were saving settlers.</a>
507
+ <a href="#493045" class="transcriptLink" rel="nofollow">It's an unbelievable concept that could work</a>
508
+ <a href="#494855" class="transcriptLink" rel="nofollow">only when you have such a great cause.</a>
509
+ <a href="#498008" class="transcriptLink" rel="nofollow">And these are all volunteers.</a>
510
+ <a href="#499881" class="transcriptLink" rel="nofollow">No one is getting money.</a>
511
+ <a href="#501000" class="transcriptLink" rel="nofollow">They're all doing it for the purpose of saving lives.</a>
512
+ </p><p> <a href="#504876" class="transcriptLink" rel="nofollow">When my own father collapsed a few years ago</a>
513
+ <a href="#507161" class="transcriptLink" rel="nofollow">from a cardiac arrest, one of the first volunteers</a>
514
+ <a href="#509298" class="transcriptLink" rel="nofollow">to arrive to save my father</a>
515
+ <a href="#511331" class="transcriptLink" rel="nofollow">was one of these Muslim volunteers from east Jerusalem</a>
516
+ <a href="#513581" class="transcriptLink" rel="nofollow">who was in the first course to join Hatzalah.</a>
517
+ <a href="#517473" class="transcriptLink" rel="nofollow">And he saved my father.</a>
518
+ <a href="#518549" class="transcriptLink" rel="nofollow">Could you imagine how I felt in that moment?</a>
519
+ </p><p> <a href="#523056" class="transcriptLink" rel="nofollow">When I started this organization, I was 17 years old.</a>
520
+ <a href="#526165" class="transcriptLink" rel="nofollow">I never imagined that one day I'd be speaking at TEDMED.</a>
521
+ <a href="#529575" class="transcriptLink" rel="nofollow">I never even knew what TEDMED was then.</a>
522
+ <a href="#531374" class="transcriptLink" rel="nofollow">I don't think it existed, but I never imagined,</a>
523
+ <a href="#534601" class="transcriptLink" rel="nofollow">I never imagined that it's going to go all around,</a>
524
+ <a href="#536676" class="transcriptLink" rel="nofollow">it's going to spread around,</a>
525
+ <a href="#537758" class="transcriptLink" rel="nofollow">and this last year we started in Panama and Brazil.</a>
526
+ <a href="#541156" class="transcriptLink" rel="nofollow">All I need is a partner who is a little meshugenah like me,</a>
527
+ <a href="#544538" class="transcriptLink" rel="nofollow">passionate about saving lives, and willing to do it.</a>
528
+ <a href="#547928" class="transcriptLink" rel="nofollow">And I'm actually starting it in India very soon</a>
529
+ <a href="#551437" class="transcriptLink" rel="nofollow">with a friend who I met in Harvard just a while back.</a>
530
+ <a href="#555090" class="transcriptLink" rel="nofollow">Hatzalah actually started in Brooklyn by a Hasidic Jew</a>
531
+ <a href="#558958" class="transcriptLink" rel="nofollow">years before us in Williamsburg,</a>
532
+ <a href="#561236" class="transcriptLink" rel="nofollow">and now it's all over the Jewish community in New York,</a>
533
+ <a href="#563959" class="transcriptLink" rel="nofollow">even Australia and Mexico and many other Jewish communities.</a>
534
+ <a href="#567219" class="transcriptLink" rel="nofollow">But it could spread everywhere.</a>
535
+ <a href="#568813" class="transcriptLink" rel="nofollow">It's very easy to adopt.</a>
536
+ <a href="#571369" class="transcriptLink" rel="nofollow">You even saw these volunteers in New York</a>
537
+ <a href="#573645" class="transcriptLink" rel="nofollow">saving lives in the World Trade Center.</a>
538
+ <a href="#576761" class="transcriptLink" rel="nofollow">Last year alone, we treated in Israel 207,000 people.</a>
539
+ <a href="#580306" class="transcriptLink" rel="nofollow">Forty-two thousand of them were life-threatening situations.</a>
540
+ <a href="#585029" class="transcriptLink" rel="nofollow">And we made a difference.</a>
541
+ <a href="#587206" class="transcriptLink" rel="nofollow">I guess you could call this a lifesaving flash mob,</a>
542
+ <a href="#589954" class="transcriptLink" rel="nofollow">and it works.</a>
543
+ </p><p> <a href="#592377" class="transcriptLink" rel="nofollow">When I look all around here,</a>
544
+ <a href="#594824" class="transcriptLink" rel="nofollow">I see lots of people who would go an extra mile,</a>
545
+ <a href="#598215" class="transcriptLink" rel="nofollow">run an extra mile to save other people,</a>
546
+ <a href="#600936" class="transcriptLink" rel="nofollow">no matter who they are, no matter what religion,</a>
547
+ <a href="#603673" class="transcriptLink" rel="nofollow">no matter who, where they come from.</a>
548
+ <a href="#606589" class="transcriptLink" rel="nofollow">We all want to be heroes.</a>
549
+ <a href="#608374" class="transcriptLink" rel="nofollow">We just need a good idea, motivation</a>
550
+ <a href="#611760" class="transcriptLink" rel="nofollow">and lots of chutzpah,</a>
551
+ <a href="#613595" class="transcriptLink" rel="nofollow">and we could save millions of people</a>
552
+ <a href="#615760" class="transcriptLink" rel="nofollow">that otherwise would not be saved.</a>
553
+ </p><p> <a href="#617932" class="transcriptLink" rel="nofollow">Thank you very much.</a>
554
+ </p><p> <a href="#619617" class="transcriptLink" rel="nofollow">(Applause)</a>
555
+ </p>
556
+ </div>
557
+ </div>
558
+ </div>
559
+ </div>
560
+ </div>
561
+
562
+
563
+
564
+
565
+ <div id="share_and_save" class="share-data share-tools abtest test1 clearfix" data-id="1799" data-model="talks" data-title="Eli Beer: The fastest ambulance? A motorcycle" data-url="http://www.ted.com/talks/eli_beer_the_fastest_ambulance_a_motorcycle.html" data-slug="eli_beer_the_fastest_ambulance_a_motorcycle">
566
+
567
+ <span class="inst">Share this talk</span>
568
+
569
+ <ul class="share-icons" id="share_talk_tools">
570
+ <li><a class="share-facebook" href="" data-service="facebook" title="Facebook">Facebook</a></li>
571
+ <li><a class="share-twitter" href="" data-service="twitter" title="Twitter">Twitter</a></li>
572
+ <li><a class="share-linkedin" href="" data-service="linkedin" title="LinkedIn">LinkedIn</a></li>
573
+ <li><a class="share-email" href="" data-service="email" title="Email">Email</a></li>
574
+ <li><a class="share-more" href=""><span>More</span></a></li>
575
+ </ul>
576
+
577
+
578
+ <div id="share_drop" style="display: none;">
579
+ <div class="share-drop-inset">
580
+ <ul class="share-icons">
581
+ <li><a class="share-stumbleupon" href="" data-service="stumbleupon" title="Stumbleupon">Stumbleupon</a></li>
582
+ <li><a class="share-delicious" href="" data-service="delicious" title="Delicious">Delicious</a></li>
583
+ <li><a class="share-googleplus" href="" data-service="googleplus" title="Google +1">Google +1</a></li>
584
+ <li><a class="share-reddit" href="" data-service="reddit" title="Reddit">Reddit</a></li>
585
+ </ul>
586
+ <div class="clearfix"></div>
587
+
588
+ <div class="rule">
589
+ <h4>URL</h4>
590
+ <input type="text" value="http://on.ted.com/Ambucycle" readonly="readonly" />
591
+ </div>
592
+ </div>
593
+ </div>
594
+ </div>
595
+
596
+
597
+ <style>
598
+ #embed_dialog {
599
+ display:none;
600
+ }
601
+ #embed_dialog p {
602
+ width:450px;
603
+ }
604
+ #embed_dialog p label {
605
+ font-weight: bold;
606
+ float: left;
607
+ width: 120px;
608
+ }
609
+ #embed_dialog p input[type="text"] {
610
+ width: 300px;
611
+ }
612
+ #video_options {
613
+ margin-bottom: 5px;
614
+ }
615
+ .video-size-picker {
616
+ background-color: #f2f2f2;
617
+ color: #666666;
618
+ float: left;
619
+ text-align: center;
620
+ margin-right: 5px;
621
+ cursor: pointer;
622
+ }
623
+ .video-size-picker:hover {
624
+ background-color: #CCCCCC;
625
+ }
626
+ .video-size-picker.selected {
627
+ border: 1px black dashed;
628
+ }
629
+ .video-size-picker.regular {
630
+ height: 50px;
631
+ width: 89px;
632
+ line-height: 50px;
633
+ }
634
+ .video-size-picker.medium {
635
+ height: 60px;
636
+ width: 106px;
637
+ line-height: 60px;
638
+ }
639
+ .video-size-picker.large {
640
+ height: 70px;
641
+ width: 124px;
642
+ line-height: 70px;
643
+ }
644
+ #subtitle_options {
645
+ padding-top: 10px;
646
+ clear: both;
647
+ }
648
+ </style>
649
+ <div id="embed_dialog" title="Embed">
650
+ <div style="margin:auto">
651
+ <p>You can share this video by copying this HTML to your clipboard and pasting into your blog or web page.<span id="embedSubtitle" style="display:none"> This video will play with <span id="embedSubtitleLanguage"></span> subtitles.</span></p>
652
+ <p><label>Embed this video</label><input id="embedthisvideo" type="text" value="&lt;iframe src=&quot;http://embed.ted.com/talks/eli_beer_the_fastest_ambulance_a_motorcycle.html&quot; width=&quot;560&quot; height=&quot;315&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; webkitAllowFullScreen mozallowfullscreen allowFullScreen&gt;&lt;/iframe&gt;" readonly="readonly" size="40" /></p>
653
+ <p><label>WordPress</label><input id="wordpresscom" type="text" value="[ted id=1799]" readonly="readonly" size="40" /></p>
654
+ <p><label>Link to this talk</label><input id="linktothistalk" type="text" value="http://www.ted.com/talks/eli_beer_the_fastest_ambulance_a_motorcycle.html" readonly="readonly" size="40" />
655
+ <div id="video_options">
656
+ <div class="video-size-picker regular" data-width="560" data-height="315">560 x 315</div>
657
+ <div class="video-size-picker medium" data-width="640" data-height="360">640 x 360</div>
658
+ <div class="video-size-picker large" data-width="853" data-height="480">853 x 480</div>
659
+ <div id="subtitle_options">
660
+ <strong>Subtitles:</strong>
661
+ <select name="subtitles_language_select" id="subtitles_language_select"><option value="">None</option>
662
+ <option value="en" selected="selected">English</option>
663
+ </select> </div>
664
+ </div>
665
+
666
+ </div>
667
+ </div>
668
+
669
+ <div id="download_dialog" title="Download this talk!">Loading &hellip;</div>
670
+
671
+
672
+ <div id="rating_dialog">
673
+ <div id="talkRatingDiv">
674
+ <p>You either have JavaScript turned off or have an old version of the Adobe Flash Player. To view this rating widget you
675
+ need to <a href="http://get.adobe.com/flashplayer/">get the latest Flash player</a>.
676
+ <br />
677
+ If your browser allows only "trusted sites" to execute Javascript, you should add the "googleapis.com" domain to your whitelist to allow our Flash detection to work properly.
678
+ </p>
679
+ </div>
680
+ </div>
681
+
682
+ <div id="conversations" class="start">
683
+ <h2>TED Conversations</h2>
684
+
685
+
686
+
687
+ </div>
688
+ <div id="conversation">
689
+ <div id="discussion" class="silverBorderPanel">
690
+ <div class="clearfix">
691
+ <div class="clearfix" style="background:url('http://assets.tedcdn.com/images/border_dotted.gif') repeat-x scroll left bottom transparent; margin-bottom:10px; padding-bottom:10px;">
692
+ <h3>Comment on this Talk</h3>
693
+ <span style="float:right; font-size:12px;">
694
+ <span class="notranslate nostyle">73</span>
695
+ total comments </span>
696
+ </div>
697
+ <div class="commentAddForm clearfix secondary">
698
+ <div class="formItemLine signed-out">
699
+ <p class="signin">
700
+ <a class="auth_status" data-width="920" data-height="600" href="https://auth.ted.com/session/new?referer=http://www.ted.com/session/approved">Sign in to add comments</a> or
701
+ <a class="auth_status" data-width="920" data-height="600" href="https://auth.ted.com/users/new?referer=http://www.ted.com/session/approved">Join (It's free and fast!)</a> </p>
702
+ </div>
703
+ <div class="signed-in">
704
+ <label class="formItemLabel"></label>
705
+ <p><span class="attributed">This comment will be attributed to <a href="#" class="username-profile-link notranslate"></a>.</span> <em>Not <span class="username-profile-link notranslate"></span>? <a title="Sign Out" href="https://auth.ted.com/session/logout">Sign Out</a>.</em></p>
706
+ <form method="post" action="">
707
+
708
+ <textarea name="newComment" cols="" rows=""></textarea>
709
+
710
+ <span class="button primary">
711
+ <span>
712
+ <input class="submit" type="submit" name="submit" value="Submit"/>
713
+ </span>
714
+ </span>
715
+
716
+
717
+ <p class="charactersUsed">Characters remaining: <em>2000</em></p>
718
+
719
+
720
+ </form>
721
+ </div>
722
+ </div> </div>
723
+ <div class="clearfix">
724
+ <label for="sort-comments" class="info">Sort By:</label>
725
+ <select name="sort-comments" id="sort-comments" class="sort-comments"><option value="newest" selected="selected">Newest first</option>
726
+ <option value="original">Oldest first</option>
727
+ <option value="rated">Top rated</option>
728
+ <option value="activity">Recently updated</option>
729
+ <option value="replies">Most replies</option>
730
+ </select> <img class="sortLoader" src="http://assets.tedcdn.com/images/ajax-loader.gif" alt="progress indicator" />
731
+ </div>
732
+ <div class="comment-container">
733
+ </div>
734
+ <script type="text/javascript">//<![CDATA[
735
+ jQuery(function($) {
736
+ var conversation = $('#conversation');
737
+ conversation.ted_comment_loader({
738
+ forum: 21521,
739
+ preloaded: 0,
740
+ up_vote: 'Great contribution!'
741
+ });
742
+ $('.closingForm').ted_comment_editor({ajax: false});
743
+ });
744
+ //]]></script>
745
+ <div class="commentAddForm clearfix secondary">
746
+ <div class="formItemLine signed-out">
747
+ <p class="signin">
748
+ <a class="auth_status" data-width="920" data-height="600" href="https://auth.ted.com/session/new?referer=http://www.ted.com/session/approved">Sign in to add comments</a> or
749
+ <a class="auth_status" data-width="920" data-height="600" href="https://auth.ted.com/users/new?referer=http://www.ted.com/session/approved">Join (It's free and fast!)</a> </p>
750
+ </div>
751
+ <div class="signed-in">
752
+ <label class="formItemLabel"></label>
753
+ <p><span class="attributed">This comment will be attributed to <a href="#" class="username-profile-link notranslate"></a>.</span> <em>Not <span class="username-profile-link notranslate"></span>? <a title="Sign Out" href="https://auth.ted.com/session/logout">Sign Out</a>.</em></p>
754
+ <form method="post" action="">
755
+
756
+ <textarea name="newComment" cols="" rows=""></textarea>
757
+
758
+ <span class="button primary">
759
+ <span>
760
+ <input class="submit" type="submit" name="submit" value="Submit"/>
761
+ </span>
762
+ </span>
763
+
764
+
765
+ <p class="charactersUsed">Characters remaining: <em>2000</em></p>
766
+
767
+
768
+ </form>
769
+ </div>
770
+ </div> </div>
771
+ </div>
772
+
773
+ </div> <!-- end left column -->
774
+
775
+ <div class="about">
776
+
777
+
778
+ <div id="facebookLike" class="fb-like" data-href="http://www.ted.com/talks/eli_beer_the_fastest_ambulance_a_motorcycle.html?source=facebook-like" data-send="false" data-layout="button_count" data-width="90" data-show-faces="false"></div>
779
+ <div id="viewCounter" style="padding-left: 8px;">
780
+ <span style="font-size: 14px; font-weight: bold;"><a id="viewsHelp" title="This number represents video views on TED.com and in the TED embed player. Across all platforms (YouTube, downloads, etc.), total views typically double that number."><span class="notranslate nostyle">65,855</span> Views</a></span>
781
+ </div>
782
+
783
+
784
+ <div class="talk-intro">
785
+ <p id="tagline" lang="en" class="notranslate">
786
+ As a young EMT on a Jerusalem ambulance, Eli Beer realized that, stuck in brutal urban traffic, they often arrived too late to help. So he organized a group of volunteer EMTs -- many on foot -- ready to drop everything and dash to save lives in their neighborhood. Today, United Hatzlah uses a smartphone app and a fleet of “ambucycles” to help nearby patients until an ambulance arrives. With an average response time of 3 minutes, last year, they treated 207,000 people in Israel. And the idea is going global. </p>
787
+ <p>
788
+ Eli Beer, the founder and president of United Hatzalah, has re-imagined first response by training EMT volunteers to respond to local calls and keep people alive until official help arrives. <a target="_blank" title="Eli Beer's bio" href="/speakers/eli_beer.html">Full bio »</a> </p>
789
+ <div id="attributionText">
790
+
791
+ </div>
792
+ </div>
793
+
794
+ <div id="adSpace"></div>
795
+
796
+
797
+
798
+ <style type="text/css">
799
+ .contentPod.debatePod .content {
800
+ padding: 5px 0 0 0;
801
+ }
802
+ .contentPod.debatePod .content .talkMedallion {
803
+ font-size: 10px;
804
+ }
805
+
806
+ .contentPod.debatePod .debateLinks {
807
+ padding: 8px;
808
+ }
809
+
810
+ .contentPod.wtdnPod .content {
811
+ padding: 5px 0 0 0;
812
+ }
813
+
814
+ .contentPod.wtdnPod .content .talkMedallion {
815
+ font-size: 11px;
816
+ height: 115px;
817
+ }
818
+
819
+ .contentPod.wtdnPod .content .tallWtdn {
820
+ font-size: 11px;
821
+ height: 130px;
822
+ }
823
+
824
+ .wtdntext {
825
+ padding: 10px;
826
+ }
827
+
828
+ </style>
829
+
830
+
831
+ <div class="contentPod">
832
+ <div class="header">
833
+ <h3>Related playlists <span class="badge-new">New</span>
834
+ <span class="more-link"><a href="/playlists">View more &raquo;</a></span>
835
+ </h3>
836
+ </div>
837
+ <div class="content relatedPlaylists">
838
+
839
+ <ul class="playlist-medallion">
840
+ <li>
841
+ <div class="playlist-item">
842
+ <div class="thumb">
843
+ <a onclick="$.GA_trackEvent('talk page', 'related playlists click', 'position=1|playlist id=70|title=What doctors worry about')" href="/playlists/70/what_doctors_worry_about.html"><img alt="What doctors worry about" src="http://assets.tedcdn.com/images/playlists/what_doctors_worry_about_146x146.jpg" /></a> <span class="icon-badge notranslate" title="8 talks">
844
+ <em>8</em>
845
+ </span>
846
+ </div>
847
+ <div class="info">
848
+ <h5>
849
+ <a onclick="$.GA_trackEvent('talk page', 'related playlists click', 'position=1|playlist id=70|title=What doctors worry about')" href="/playlists/70/what_doctors_worry_about.html">What doctors worry about</a> </h5>
850
+ <span class="attrib">
851
+ Curated by TED </span>
852
+ <span class="desc">
853
+ We worry about what our doctors will tell us -- and so do they. Doctors, scientists and medical researchers weigh in on health care and better... </span>
854
+
855
+
856
+ </div>
857
+ </div>
858
+ </li><li>
859
+ <div class="playlist-item">
860
+ <div class="thumb">
861
+ <a onclick="$.GA_trackEvent('talk page', 'related playlists click', 'position=2|playlist id=69|title=War stories')" href="/playlists/69/war_stories.html"><img alt="War stories" src="http://assets.tedcdn.com/images/playlists/war_stories_146x146.jpg" /></a> <span class="icon-badge notranslate" title="11 talks">
862
+ <em>11</em>
863
+ </span>
864
+ </div>
865
+ <div class="info">
866
+ <h5>
867
+ <a onclick="$.GA_trackEvent('talk page', 'related playlists click', 'position=2|playlist id=69|title=War stories')" href="/playlists/69/war_stories.html">War stories</a> </h5>
868
+ <span class="attrib">
869
+ Curated by TED </span>
870
+ <span class="desc">
871
+ We need to talk about war. These powerful, crucial talks come from soldiers, politicians, journalists and others who've seen the reality of war... </span>
872
+
873
+
874
+ </div>
875
+ </div>
876
+ </li><li>
877
+ <div class="playlist-item">
878
+ <div class="thumb">
879
+ <a onclick="$.GA_trackEvent('talk page', 'related playlists click', 'position=3|playlist id=55|title=The joy of eating')" href="/playlists/55/the_joy_of_eating.html"><img alt="The joy of eating" src="http://assets.tedcdn.com/images/playlists/the_joy_of_eating_146x146.jpg" /></a> <span class="icon-badge notranslate" title="5 talks">
880
+ <em>5</em>
881
+ </span>
882
+ </div>
883
+ <div class="info">
884
+ <h5>
885
+ <a onclick="$.GA_trackEvent('talk page', 'related playlists click', 'position=3|playlist id=55|title=The joy of eating')" href="/playlists/55/the_joy_of_eating.html">The joy of eating</a> </h5>
886
+ <span class="attrib">
887
+ Curated by TED </span>
888
+ <span class="desc">
889
+ What can compare to the pleasures of the palate? These talks from chefs, cookbook writers and passionate foodies celebrate all things edible. </span>
890
+
891
+
892
+ </div>
893
+ </div>
894
+ </li> </ul>
895
+
896
+ </div>
897
+ </div>
898
+
899
+ <div class="contentPod">
900
+ <div class="header">
901
+ <h3>What to Watch Next</h3>
902
+ </div>
903
+ <div class="content relatedTalks">
904
+ <dl class="talkMedallion mini clearfix">
905
+ <dt class="thumbnail">
906
+ <a title="Daniel Kraft: Medicine's future? There's an app for that" class="image position-1" style="background:url(http://images.ted.com/images/ted/c95178fd819125c136730ce0403b140181f4eb82_113x85.jpg) no-repeat;height:85px;width:113px;display:block;" href="/talks/daniel_kraft_medicine_s_future.html"><img class="play_icon" src="//assets.tedcdn.com/images/play_icon.gif" alt="Play_icon" /></a> </dt>
907
+ <dd>
908
+ <h4 class="notranslate">
909
+ <a title="Daniel Kraft: Medicine's future? There's an app for that" class="position-1" href="/talks/daniel_kraft_medicine_s_future.html">Daniel Kraft: Medicine's future? There's an app for that</a> </h4>
910
+ <p class="metadata timings"><span class="notranslate">18:21</span> Posted: Jun 2011</p>
911
+ <p class="metadata">Views <strong class="notranslate">583,949</strong> | Comments <strong class="notranslate">110</strong></p>
912
+ </dd>
913
+ </dl>
914
+ <dl class="talkMedallion mini clearfix">
915
+ <dt class="thumbnail">
916
+ <a title="Chris Gerdes: The future race car -- 150mph, and no driver" class="image position-2" style="background:url(http://images.ted.com/images/ted/15e9b94b9856ac969692bfc5515bd7754e26977b_113x85.jpg) no-repeat;height:85px;width:113px;display:block;" href="/talks/chris_gerdes_the_future_race_car_150mph_and_no_driver.html"><img class="play_icon" src="//assets.tedcdn.com/images/play_icon.gif" alt="Play_icon" /></a> </dt>
917
+ <dd>
918
+ <h4 class="notranslate">
919
+ <a title="Chris Gerdes: The future race car -- 150mph, and no driver" class="position-2" href="/talks/chris_gerdes_the_future_race_car_150mph_and_no_driver.html">Chris Gerdes: The future race car -- 150mph, and no driver</a> </h4>
920
+ <p class="metadata timings"><span class="notranslate">10:47</span> Posted: Jul 2012</p>
921
+ <p class="metadata">Views <strong class="notranslate">305,860</strong> | Comments <strong class="notranslate">97</strong></p>
922
+ </dd>
923
+ </dl>
924
+ <dl class="talkMedallion mini clearfix">
925
+ <dt class="thumbnail">
926
+ <a title="Ronny Edry: Israel and Iran: A love story?" class="image position-3" style="background:url(http://images.ted.com/images/ted/1cd8ab3b6e94be6d86ee94b2fa52c271abd140a9_113x85.jpg) no-repeat;height:85px;width:113px;display:block;" href="/talks/israel_and_iran_a_love_story.html"><img class="play_icon" src="//assets.tedcdn.com/images/play_icon.gif" alt="Play_icon" /></a> </dt>
927
+ <dd>
928
+ <h4 class="notranslate">
929
+ <a title="Ronny Edry: Israel and Iran: A love story?" class="position-3" href="/talks/israel_and_iran_a_love_story.html">Ronny Edry: Israel and Iran: A love story?</a> </h4>
930
+ <p class="metadata timings"><span class="notranslate">14:57</span> Posted: Dec 2012</p>
931
+ <p class="metadata">Views <strong class="notranslate">1,286,359</strong> | Comments <strong class="notranslate">718</strong></p>
932
+ </dd>
933
+ </dl>
934
+ <script type="text/javascript">//<![CDATA[
935
+ jQuery(function($) {
936
+ var category = 'WTWN Clicks';
937
+ $('dl.talkMedallion dt a, dl.talkMedallion h4 a').click(function(event) {
938
+ var anchor = $(this);
939
+ var position = anchor.attr('class').split('-')[1];
940
+ var is_image = anchor.hasClass('image');
941
+ var action = 'WTWN:Pos ' + position + ':' + (
942
+ is_image ? 'Play' : 'Text'
943
+ );
944
+ var label = ('WTWN:' + anchor.attr('title')).replace(/"/, '');
945
+ $.GA_trackEvent(category, action, label);
946
+ });
947
+ });
948
+ //]]></script>
949
+ </div>
950
+ </div>
951
+ <div id="subscriptions" class="subscribe contentPod">
952
+ <div class="header">
953
+ <h3>Stay updated</h3>
954
+ </div>
955
+ <div class="content">
956
+ <form method="post" data-service="newsletter"
957
+ action="/newsletter/signup"
958
+ id="talks-newsletter-signup">
959
+ <p>Be the first to know about new TEDTalks.</p>
960
+
961
+ <div class="subscribe-input clearfix">
962
+ <input type="text" name="newsletterSignup[email_address]" value="" class="formTextInput email" data-default-value="Enter email address for TED updates" id="newsletterSignup_email_address" /> </div>
963
+
964
+ <div class="subscribe-controls clearfix">
965
+ <input type="image" class="subscribe hover translate" value="Subscribe" src="http://assets.tedcdn.com/images/blank.gif">
966
+ <script>
967
+ $('#newsletterSignup_email_address').clear_field(); </script>
968
+ <ul class="checkbox_list"><li><input name="newsletterSignup[subscription_list][]" type="checkbox" value="daily" id="newsletterSignup_subscription_list_daily" checked="checked" />&nbsp;<label for="newsletterSignup_subscription_list_daily">Daily</label></li>
969
+ <li><input name="newsletterSignup[subscription_list][]" type="checkbox" value="weekly" id="newsletterSignup_subscription_list_weekly" />&nbsp;<label for="newsletterSignup_subscription_list_weekly">Weekly</label></li></ul> </div>
970
+ </form>
971
+
972
+ <h4 class="follow-subhead" style="margin: 0 0 .3em">Follow TED</h4>
973
+ <div class="follow-links clearfix">
974
+ <a class="subscribe" data-service="facebook" title="TED on Facebook" href="http://www.facebook.com/TED" target="_blank">
975
+ <img alt="TED on Facebook" src="http://assets.tedcdn.com/images/reboot/icon-facebook.png" />
976
+ </a>
977
+ <a class="subscribe" data-service="twitter" title="TED on Twitter" href="https://twitter.com/#!/tedtalks" target="_blank">
978
+ <img alt="TED on Twitter" src="http://assets.tedcdn.com/images/reboot/icon-twitter.png" />
979
+ </a>
980
+ <a class="subscribe" data-service="rss" title="TED RSS feeds" href="http://www.ted.com/pages/198" target="_blank">
981
+ <img alt="TED video RSS" src="http://assets.tedcdn.com/images/reboot/icon-rss.png" />
982
+ </a>
983
+ </div>
984
+ </div>
985
+ </div>
986
+ <script type="text/javascript">//<![CDATA[
987
+ jQuery(function($) {
988
+ var form = $('#talks-newsletter-signup');
989
+ form.find('input.email').clear_field();
990
+
991
+ form.submit(trackSubscription);
992
+ $('#subscriptions .subscribe').click(trackSubscription);
993
+ function trackSubscription(event) {
994
+ $.GA_trackEvent('subscribe', $(this).data('service'), 'talks');
995
+ }
996
+ });
997
+ //]]></script>
998
+
999
+ <div style="background: #F7F5F3; padding: 7px; margin-bottom: 10px">
1000
+ <script type="text/javascript" language="JavaScript">//<![CDATA[
1001
+ if (typeof dc_ord=='undefined') {dc_ord=Math.random()*100000000000000000;}
1002
+ document.write('<scr' + 'ipt language="JavaScript" src="//ad.doubleclick.net/adj/tconf.ted/sidebar;sz=304x243;tile=1;ord=' + dc_ord + '?" type="text/javascript"></scr' + 'ipt>');
1003
+ //]]></script> </div>
1004
+
1005
+
1006
+ <div class="contentPod">
1007
+ <div class="header">
1008
+ <h3>What Your Friends are Watching</h3>
1009
+ </div>
1010
+ <div class="content content-fbActivity">
1011
+ <iframe src="//www.facebook.com/plugins/activity.php?href=http%3A%2F%2Fwww.ted.com&app_id=201021956610141&appId=201021956610141&action=like&filter=%2Ftalks&width=324&height=300&header=false&colorscheme=light&linktarget=_blank&border_color=%23f7f5f3&font=arial&recommendations=false&ref=talk" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
1012
+ </div>
1013
+ </div>
1014
+ <div class="contentPod">
1015
+ <div class="header">
1016
+ <h3>Related Topics</h3>
1017
+ </div>
1018
+ <div class="related content">
1019
+ <dl>
1020
+ <dd class="clearfix tags notranslate">
1021
+ <ul><li><a href="/topics/health">Health</a></li><li><a href="/topics/health+care">Health care</a></li></ul><ul><li><a href="/topics/medicine">Medicine</a></li><li><a href="/topics/peace">Peace</a></li></ul></dd>
1022
+ <script type="text/javascript">//<![CDATA[
1023
+ jQuery(function($) {
1024
+ $('dd.tags li a').click(function(event) {
1025
+ $.GA_trackEvent('Talk Page', 'related tags click', $(this).html().toLowerCase());
1026
+ });
1027
+ });
1028
+ //]]></script>
1029
+ </dl>
1030
+ </div>
1031
+ </div>
1032
+
1033
+
1034
+ <!-- Creative Commons -->
1035
+ <div class="contentPod">
1036
+ <div class="content creativeCommons">
1037
+ <img src="http://assets.tedcdn.com/images/icon_cc.gif" alt="Creative Commons"/>
1038
+ <h3>We want you to share our Talks!</h3>
1039
+ <p>Just follow the <a title="guidelines" href="/pages/talk_usage_policy">guidelines</a> outlined under our Creative Commons <a title="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/">license</a>.</p>
1040
+ </div>
1041
+ </div>
1042
+
1043
+ </div> <!-- end right column -->
1044
+
1045
+ </div>
1046
+
1047
+ </div>
1048
+ <div id="utility"></div><!-- for tooltips and AJAX sign-in -->
1049
+
1050
+ </div>
1051
+ </div>
1052
+ </div>
1053
+
1054
+
1055
+ <div id="footer">
1056
+ <div id="footer-inner">
1057
+ <div id="footer-copy">
1058
+ <a title="TED.com" id="footer-logo" href="/">TED</a> <p role="contentinfo">&copy; TED Conferences, LLC</p>
1059
+
1060
+ </div>
1061
+
1062
+ <ul id="footer-links" role="navigation">
1063
+ <li><a href="http://support.ted.com">Help</a></li>
1064
+ <li><a href="http://partners.ted.com">Advertising/partnership</a></li>
1065
+ <li><a href="/pages/jobs">Jobs</a></li>
1066
+ <li><a href="/termsofuse">Terms of Use</a></li>
1067
+ <li><a href="/privacy">Privacy Policy</a></li>
1068
+ <li><a href="http://support.ted.com/customer/portal/emails/new">Contact</a></li>
1069
+ </ul>
1070
+
1071
+ <div id="subscribe">
1072
+ <form action="/newsletter/signup" method="post" name="form_newsletter_signup" id="form_newsletter_signup">
1073
+ <p>
1074
+ <input type="text" name="newsletterSignup[email_address]" value="" data-default-value="Sign up for TED email updates" id="newsletterSignup_email_address" />
1075
+ <input id="newsletterSignup_submit" type="submit" value="Subscribe" class="translate" onclick="$.GA_trackEvent('subscribe', 'newsletter', 'talks');">
1076
+
1077
+ <script>chain.wait(function () {
1078
+ $('#newsletterSignup_email_address').clear_field(); })</script>
1079
+ </p>
1080
+ <p>
1081
+ <ul class="checkbox_list"><li><input name="newsletterSignup[subscription_list][]" type="checkbox" value="daily" id="newsletterSignup_subscription_list_daily" checked="checked" />&nbsp;<label for="newsletterSignup_subscription_list_daily">Daily</label></li>
1082
+ <li><input name="newsletterSignup[subscription_list][]" type="checkbox" value="weekly" id="newsletterSignup_subscription_list_weekly" />&nbsp;<label for="newsletterSignup_subscription_list_weekly">Weekly</label></li></ul> </p>
1083
+ </form>
1084
+ </div>
1085
+
1086
+
1087
+ </div>
1088
+ </div><!-- /#footer -->
1089
+
1090
+ <script type="text/javascript">//<![CDATA[
1091
+ var _sf_async_config={uid:11161,domain:"ted.com"};
1092
+
1093
+ (function(){
1094
+ function loadChartbeat() {
1095
+ window._sf_endpt=(new Date()).getTime();
1096
+ var e = document.createElement('script');
1097
+ e.setAttribute('language', 'javascript');
1098
+ e.setAttribute('type', 'text/javascript');
1099
+ e.setAttribute('src',
1100
+ (("https:" == document.location.protocol) ? "https://s3.amazonaws.com/" : "http://") +
1101
+ "static.chartbeat.com/js/chartbeat.js");
1102
+ document.body.appendChild(e);
1103
+ }
1104
+ var oldonload = window.onload;
1105
+ window.onload = (typeof window.onload != 'function') ?
1106
+ loadChartbeat : function() { oldonload(); loadChartbeat(); };
1107
+ })();
1108
+ //]]></script><!-- START Nielsen Online SiteCensus V6.0 -->
1109
+ <!-- COPYRIGHT 2010 Nielsen Online -->
1110
+ <script type="text/javascript">//<![CDATA[
1111
+ (function () {
1112
+ var d = new Image(1, 1);
1113
+ d.onerror = d.onload = function () {
1114
+ d.onerror = d.onload = null;
1115
+ };
1116
+ d.src = [
1117
+ "//secure-us.imrworldwide.com/cgi-bin/m?ci=us-703652h&amp;cg=0&amp;cc=1&amp;si=",
1118
+ escape(window.location.href),
1119
+ "&rp=", escape(document.referrer), "&amp;ts=compact&amp;rnd=",
1120
+ (new Date()).getTime()
1121
+ ].join('');
1122
+ })();
1123
+ //]]></script>
1124
+ <noscript>
1125
+ <div><img src="https://secure-us.imrworldwide.com/cgi-bin/m?ci=us-703652h&amp;cg=0&amp;cc=1&amp;ts=noscript"
1126
+ width="1" height="1" alt="" /></div>
1127
+ </noscript>
1128
+ <!-- END Nielsen Online SiteCensus V6.0 -->
1129
+ <!-- Begin comScore Tag -->
1130
+ <script type="text/javascript">
1131
+ var _comscore = _comscore || [];
1132
+ _comscore.push({ c1: "2", c2: "7341760" });
1133
+ (function() {
1134
+ var s = document.createElement("script"), el = document.getElementsByTagName("script")[0]; s.async = true;
1135
+ s.src = (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js";
1136
+ el.parentNode.insertBefore(s, el);
1137
+ })();
1138
+ function comscoreVideoView(id) {
1139
+ COMSCORE.beacon({ c1: "1", c2: "7341760", c5:"02", c6:id });
1140
+ }
1141
+ function comscorePostrollView() {
1142
+ COMSCORE.beacon({ c1: "1", c2: "7341760", c5:"10" });
1143
+ }
1144
+ </script>
1145
+ <noscript><img src="https://sb.scorecardresearch.com/p?c1=2&amp;c2=7341760&amp;cv=2.0&amp;cj=1" /></noscript>
1146
+ <!-- End comScore Tag --><script type="text/javascript">//<![CDATA[
1147
+ (function() {
1148
+ var ga = document.createElement('script');
1149
+ ga.type = 'text/javascript';
1150
+ ga.async = true;
1151
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/u/ga.js';
1152
+ var s = document.getElementsByTagName('script')[0];
1153
+ s.parentNode.insertBefore(ga, s);
1154
+ })();
1155
+ //]]></script>
1156
+ <script type="text/javascript">//<![CDATA[
1157
+ $(function() {
1158
+ // prepare the page for ajax_login
1159
+ $(document).ajax_login({
1160
+ profileID: 0,
1161
+ login_uri: 'https://auth.ted.com/session/new?referer=http://www.ted.com/session/approved',
1162
+ sign_up_uri: 'https://auth.ted.com/users/new?referer=http://www.ted.com/session/approved',
1163
+ height: '600',
1164
+ width: '920'
1165
+ });
1166
+
1167
+ $("a.auth_status").click(function(e) {
1168
+ $(document).ajax_login('show_window', $(this).attr("href"), $(this).attr('data-width'), $(this).attr('data-height'));
1169
+ e.stopPropagation();
1170
+ return false;
1171
+ });
1172
+ }); $(function() {
1173
+ });
1174
+ talks.initPlayback();
1175
+ talks.initPlaybackFlash();
1176
+ talks.initTranscript();
1177
+ $(function() {
1178
+ $('div p a.transcriptLink').live('click', function(e) {
1179
+ e.preventDefault();
1180
+ var timecode = $(this).attr('href').replace(/#/, '');
1181
+ transcriptSeek(timecode, "Eli Beer: The fastest ambulance? A motorcycle");
1182
+ });
1183
+ });
1184
+ $(function() {
1185
+ $.setupSharing({
1186
+ container: $('#share_and_save')
1187
+ });
1188
+ $(document).on('shareURL', function(event, url) {
1189
+ $('#share_and_save').data('url', url);
1190
+ });
1191
+ $.loadAsyncScript('http://s7.addthis.com/js/250/addthis_widget.js#pub=tedtalks');
1192
+
1193
+ //setup twitter box
1194
+ $('#share_field')
1195
+ [window.location.href.match(/qtwh=true/) ? 'hide' : 'clear_field']()
1196
+ // .clear_field()
1197
+ .change(function(event) {
1198
+ $(this).closest('.share-data').data('twitter-text', this.value);
1199
+ });
1200
+ $('#twitter-post').submit(function(event) {
1201
+ event.preventDefault();
1202
+ $('#share_and_save .twitter').click();
1203
+ });
1204
+
1205
+ $('#share_and_save .share-email').click(function() {
1206
+ $.post('/talks/addemailed', {id: 1799}, function() {}, 'json');
1207
+ });
1208
+
1209
+ if (window.FB) {
1210
+ slug = $('#share_and_save').data('slug');
1211
+ FB.Event.subscribe('edge.create', function(targetUrl) {
1212
+ _gaq.push(['_trackSocial', 'facebook', 'like', slug]);
1213
+ });
1214
+ }
1215
+ });
1216
+ $('.share-more').bind('click',function(event) {
1217
+ event.preventDefault();
1218
+
1219
+ // position it
1220
+ pos = $('#share_talk_tools').position();
1221
+ $('#share_drop').css({'left':pos.left+20,'top':pos.top+36}).toggle().find('input').selectall_field();
1222
+
1223
+ // toggle class
1224
+ $(this).toggleClass('open');
1225
+ });
1226
+ var selectedVideoSize;
1227
+ $(function() {
1228
+ selectedVideoSize = $('.video-size-picker.regular');
1229
+ selectedVideoSize.addClass('selected');
1230
+
1231
+ var embed_dialog = $('#embed_dialog').ted_dialog({
1232
+ width: 500,
1233
+ height: 350
1234
+ });
1235
+ var embed_button = $('#embed_button').click(function(event) {
1236
+ event.preventDefault();
1237
+ event.stopPropagation();
1238
+ embed_dialog.dialog('open');
1239
+ updateShareCodes();
1240
+ });
1241
+ embed_dialog.find('input[type=text]').selectall_field();
1242
+
1243
+ $('.video-size-picker').click(function(event) {
1244
+ selectedVideoSize = $(this);
1245
+ $('.video-size-picker.selected').removeClass('selected');
1246
+ selectedVideoSize.addClass('selected');
1247
+ updateShareCodes();
1248
+ });
1249
+
1250
+ $('#subtitles_language_select').change(function(event) {
1251
+ currentLanguageCode = $(this).val();
1252
+ currentLanguageName = $(this).find('option:selected').text();
1253
+ updateShareCodes();
1254
+ });
1255
+ });
1256
+
1257
+ function updateShareCodes() {
1258
+ var embedCode = $('#embedthisvideo').val();
1259
+ if ('undefined' != typeof embedCode) {
1260
+ embedCode = embedCode.replace( /width="\d*"/, 'width="' + selectedVideoSize.data('width') + '"');
1261
+ embedCode = embedCode.replace( /height="\d*"/, 'height="' + selectedVideoSize.data('height') + '"');
1262
+ if ('undefined' != typeof currentLanguageCode) {
1263
+ var shareURL = $('#linktothistalk').val();
1264
+ var langPattern = /\/talks(\/lang\/[a-z]{2,3}(-[a-z]{2,4})?)?/;
1265
+ var replacement = '/talks';
1266
+ if ( ('' == currentLanguageCode) || (nativeLanguageCode == currentLanguageCode) ) {
1267
+ $('#wordpresscom').val('[ted id=1799]');
1268
+ $('#linktothistalk').val(shareURL.replace(langPattern, replacement));
1269
+ $('#embedthisvideo').val(embedCode.replace(langPattern, replacement));
1270
+ $('#embedSubtitle').hide();
1271
+ } else {
1272
+ replacement += '/lang/'+currentLanguageCode;
1273
+ $('#wordpresscom').val('[ted id=1799 lang='+currentLanguageCode+']');
1274
+ $('#linktothistalk').val(shareURL.replace(langPattern, replacement));
1275
+ $('#embedthisvideo').val(embedCode.replace(langPattern, replacement));
1276
+ $('#embedSubtitleLanguage').html(currentLanguageName);
1277
+ $('#embedSubtitle').show();
1278
+ }
1279
+ }
1280
+ }
1281
+ }
1282
+ $(function() {
1283
+ $('#rating_dialog').ted_dialog({title: 'Rate this Talk!', height: 347});
1284
+ $('#ratings_button').click(function(event) {
1285
+ if (!$('#rating_dialog').data('initialized')) {
1286
+ startRatings();
1287
+ }
1288
+ $('#rating_dialog').dialog('open');
1289
+ return false;
1290
+ });
1291
+ });
1292
+ function startRatings() {
1293
+ var flashVars = {
1294
+ ti:"1799",
1295
+ sh:"http://www.ted.com"
1296
+ };
1297
+ var params = {
1298
+ wmode:"opaque",
1299
+ scale:"noscale",
1300
+ align:"middle",
1301
+ allowScriptAccess:"always",
1302
+ bgColor:"#fefefe"
1303
+ };
1304
+ var attributes = {
1305
+ id:"talkRatingSWF",
1306
+ name:"talkRatingSWF"
1307
+ };
1308
+ swfobject.embedSWF("http://video.ted.com/assets/player/swf/TalkRater.swf", "talkRatingDiv", "415", "260", "9.0.124", "/swf/playerProductInstall.swf", flashVars, params,attributes);
1309
+ jQuery('#rating_dialog').data('initialized', true);
1310
+ }
1311
+ $('#ratings_button').click(function(event) {
1312
+ $.GA_trackEvent('videoplayer', 'Rating - View', '');
1313
+ });
1314
+ $('#ratings_save_button').click(function(event) {
1315
+ $.GA_trackEvent('videoplayer', 'Rating - Save', '');
1316
+ });
1317
+ $(function() {
1318
+ // prepare the page for ajax_login
1319
+ $(document).ajax_login({
1320
+ profileID: 0,
1321
+ login_uri: 'https://auth.ted.com/session/new?referer=http://www.ted.com/session/approved',
1322
+ sign_up_uri: 'https://auth.ted.com/users/new?referer=http://www.ted.com/session/approved',
1323
+ height: '600',
1324
+ width: '920'
1325
+ });
1326
+
1327
+ $("a.auth_status").click(function(e) {
1328
+ $(document).ajax_login('show_window', $(this).attr("href"), $(this).attr('data-width'), $(this).attr('data-height'));
1329
+ e.stopPropagation();
1330
+ return false;
1331
+ });
1332
+ }); $(function() {
1333
+ $("#viewsHelp").tooltip({
1334
+ showURL: false,
1335
+ extraClass: "tip"
1336
+ });
1337
+ });
1338
+ talks.initMedia();
1339
+ //]]></script>
1340
+ <script type="text/javascript">if(!NREUMQ.f){NREUMQ.f=function(){NREUMQ.push(["load",new Date().getTime()]);var e=document.createElement("script");e.type="text/javascript";e.src=(("http:"===document.location.protocol)?"http:":"https:")+"//"+"rpm-images.newrelic.com/42/eum/rum.js";document.body.appendChild(e);if(NREUMQ.a)NREUMQ.a();};NREUMQ.a=window.onload;window.onload=NREUMQ.f;};NREUMQ.push(["nrfj","beacon-3.newrelic.com","ae33628222","1155844","NVxSNxYEDEUEAUBfXwwWZRENSgtYAQdMGEAKSQ==",0,388,new Date().getTime(),"","","","",""]);</script></body>
1341
+ </html>