var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); //let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); function getDomainName(hostName) { return hostName.substring(hostName.lastIndexOf(".", hostName.lastIndexOf(".") - 1)); } function readCookie(cookie_name) { // Reads a cookie value. Returns cookie value or null, if cookie_name is not set cookie_name += "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i].replace(/^\s+|\s+$/g,""); if (c.indexOf(cookie_name) == 0) return c.substring(cookie_name.length,c.length); } return null; } function createCookie(name,value,days) { var domain = ".pbs.org"; if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; if(window.location.hostname != ""){ domain = getDomainName(window.location.hostname); } document.cookie = name+"="+value+expires+"; path=/; domain=" + domain; } function localize_classic(url) { var xmlhttp, jResponse; if (window.XDomainRequest) // ie8 { xmlhttp = new XDomainRequest(); xmlhttp.onload = function() { jResponse = JSON.parse(xmlhttp.responseText); if ( jResponse["cookie"] ) { createCookie('pbsol.sta_extended', escape(jResponse['cookie']), 365); } }; xmlhttp.open("GET",url,false); xmlhttp.send(); } else { if (window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest(); } else { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState==4 && xmlhttp.status==200){ jResponse = JSON.parse(xmlhttp.response); if ( jResponse["cookie"] ) { createCookie('pbsol.sta_extended', escape(jResponse['cookie']), 365); } } } xmlhttp.open("GET",url,false); xmlhttp.send(); } } var url = "http://web.archive.org./web/20150925020347/http://localization.services.pbs.org/localize/auto/cookie/"; var is_localized = readCookie('pbsol.sta_extended'); if(is_localized == null) { localize_classic(url); } } /* FILE ARCHIVED ON 02:03:47 Sep 25, 2015 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 04:19:49 Nov 13, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.703 exclusion.robots: 0.026 exclusion.robots.policy: 0.015 esindex: 0.011 cdx.remote: 96.069 LoadShardBlock: 157.269 (6) PetaboxLoader3.datanode: 304.56 (8) load_resource: 780.499 (2) PetaboxLoader3.resolve: 565.821 (2) */