1 <?cs 2 # Other, non-visible things needed at the end of the page, 3 # because not every page needs footer content, but does need other stuff 4 ?> 5 </div> <!-- end body-content --> <?cs # normally opened by header.cs ?> 6 7 <?cs if:carousel ?> 8 <script type="text/javascript"> 9 $('.slideshow-container').dacSlideshow({ 10 btnPrev: '.slideshow-prev', 11 btnNext: '.slideshow-next', 12 btnPause: '#pauseButton' 13 }); 14 </script> 15 <?cs /if ?> 16 <?cs if:tabbedList ?> 17 <script type="text/javascript"> 18 $(".feed").dacTabbedList({ 19 nav_id: '.feed-nav', 20 frame_id: '.feed-frame' 21 }); 22 </script> 23 <?cs /if ?> 24 25 <script src="https://developer.android.com/ytblogger_lists_unified.js" defer></script> 26 <script src="/jd_lists_unified_en.js?v=17" defer></script> 27 <script src="/reference/lists.js?v=17" defer></script> 28 <script src="/reference/gcm_lists.js?v=17" defer></script> 29 <script src="/reference/gms_lists.js?v=17" defer></script> 30 <script> 31 // Load localized metadata. function(lang)32 (function(lang) { 33 if (lang === 'en') { return; } 34 35 // Write it to the document so it gets evaluated before DOMContentReady. 36 document.write('<script src="/jd_lists_unified_' + lang + '.js?v=14" defer></' + 'script>'); 37 })(getLangPref()) 38 </script> 39