1(function () { 2 var city_id = readCookie('TOP_WEATHER_AREA'); 3 city_id = (city_id ? city_id : 'unselected'); 4 var ratsCustomObj = '{\'weather_area\' : \'' + city_id + '\'}'; 5 var ratCustomParameter = document.getElementById('ratCustomParameters'); 6 if (ratCustomParameter) { 7 ratCustomParameter.value = ratsCustomObj; 8 } 9 10 function readCookie(name) { 11 var nameEQ = name + '='; 12 var ca = document.cookie.split(';'); 13 for (var i = 0; i < ca.length; i++) { 14 var c = ca[i]; 15 while (c.charAt(0) == ' ') { 16 c = c.substring(1, c.length); 17 } 18 if (c.indexOf(nameEQ) == 0) { 19 return c.substring(nameEQ.length, c.length); 20 } 21 } 22 return null; 23 } 24})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.